open-runtime-module-library
open-runtime-module-library copied to clipboard
Substrate Open Runtime Module Library
`feed_values` is free iff - price difference is greater than `DeviationThreshold` - OR last update is older than `HeartbeatThreashold` Otherwise the feed is still valid, just we will charge the...
## The `MultiAsset` representation of NFT. NFT in ORML is represented by `MultiAsset::ConcreteNonFungible`: - `class`: `MultiLocation::X2(Junction::Parachain, Junction::GeneralIndex)`. - The parachain id is the id of reserve parachain. - The general...
Cargo unleash check is disabled on master because it is impossible to make it happen with unpublished upstream deps (Substrate). Maybe restore it after Substrate 4.0 is released by revert...
According to [this](https://github.com/open-web3-stack/open-runtime-module-library/blob/master/tokens/src/lib.rs#L365) line, the `providers` count gets decremented if the account balance gets to zero. I haven't found similar logic in `frame_balances`, so the question is: why is it...
If this macro supports constant k-v definition, it would be nice. ```rust orml_traits::parameter_type_with_key! { pub KV1: |key| => val {}; pub KV2: |key| => val {}; ... pub KVn: |key|...
Did you consider making a type of `metadata` field generic in the NFT pallet? Imagine you are going to store some part of your content in IPFS and another part...
**Changes**: - Add `transfer_all` to currencies - Add test for transfer_all Not fully understand the requirements for # 375, for `tokens` module there has already have `transfer_all` function. **Further steps**:...
Add `transfer_all` to orml-tokens and orml-currencies to allow people to transfer or remaining balances without worry about fees.
Together with my colleagues, we have implemented a pallet for Distributed Key Generation (DKG) and a randomness beacon pallet using keys generated by the DKG. Our work was founded by...
# Weight Meter ## Background It is always critical to ensure the resourced consumed by each block is limited to prevent DOS attack vector. Smart Contracts such as EVM and...