Name | Lookup | Parameters | |
---|---|---|---|
add_asset_and_info | 3c00 | 8 | |
set_signer | 3c01 | 2 | |
adjust_rewards | 3c02 | 2 | |
add_stake | 3c03 | 1 | |
remove_stake | 3c04 | - | |
reclaim_stake | 3c05 | - | |
submit_price | 3c06 | 2 | |
remove_signer | 3c07 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
AssetInfoChange | 3c00 | ["AssetId","Percent","u32","u32","BlockNumber","BalanceOf","BalanceOf"] | |
SignerSet | 3c01 | ["AccountId","AccountId"] | |
StakeAdded | 3c02 | ["AccountId","BalanceOf","BalanceOf"] | |
StakeRemoved | 3c03 | ["AccountId","BalanceOf","BlockNumber"] | |
StakeReclaimed | 3c04 | ["AccountId","BalanceOf"] | |
PriceSubmitted | 3c05 | ["AccountId","AssetId","PriceValue"] | |
UserSlashed | 3c06 | ["AccountId","AssetId","BalanceOf"] | |
OracleRewarded | 3c07 | ["AccountId","AssetId","BalanceOf"] | |
RewardingAdjustment | 3c08 | ["Moment"] | |
AnswerPruned | 3c09 | ["AccountId","PriceValue"] | |
PriceChanged | 3c0a | ["AssetId","PriceValue"] | |
SignerRemoved | 3c0b | ["AccountId","AccountId","BalanceOf"] |
Name | Type | |
---|---|---|
AssetsCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
RewardTrackerStore | {"origin":"PlainType","plain_type":"composable_traits:oracle:RewardTracker","PlainTypeValue":611} | |
SignerToController | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"AccountId","keys_id":0,"value_id":0}} | |
ControllerToSigner | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"AccountId","keys_id":0,"value_id":0}} | |
DeclaredWithdraws | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"pallet_oracle:pallet:Withdraw","keys_id":0,"value_id":612}} | |
OracleStake | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U128","keys_id":0,"value_id":6}} | |
AccumulatedRewardsPerAsset | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"U128","keys_id":126,"value_id":6}} | |
AnswerInTransit | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U128","keys_id":0,"value_id":6}} | |
Prices | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"composable_traits:oracle:Price","keys_id":126,"value_id":613}} | |
PriceHistory | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"Vec<composable_traits:oracle:Price>","keys_id":126,"value_id":614}} | |
PrePrices | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"Vec<pallet_oracle:pallet:PrePrice>","keys_id":126,"value_id":616}} | |
AssetsInfo | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"pallet_oracle:pallet:AssetInfo","keys_id":126,"value_id":619}} |
Name | Type | Value | |
---|---|---|---|
MaxHistory | U32 | 14000000 | |
TwapWindow | U16 | 0300 | |
MaxPrePrices | U32 | 28000000 | |
MsPerBlock | U64 | e02e000000000000 | |
PalletId | [U8; 8] | 706c745f6f726163 |
Name | Docs |
---|---|
Unknown | Unknown |
NoPermission | No Permission |
NoStake | No stake for oracle |
StakeLocked | Stake is locked try again later |
NotEnoughStake | Not enough oracle stake for action |
NotEnoughFunds | Not Enough Funds to complete action |
InvalidAssetId | Invalid asset id |
AlreadySubmitted | Price already submitted |
MaxPrices | Max prices already reached |
PriceNotRequested | Price has not been requested |
UnsetSigner | Signer has not been set |
AlreadySet | Signer has already been set |
UnsetController | No controller has been set |
ControllerUsed | This controller is already in use |
SignerUsed | This signer is already in use |
AvoidPanic | Error avoids a panic |
ExceedMaxAnswers | Max answers have been exceeded |
InvalidMinAnswers | Invalid min answers |
MaxAnswersLessThanMinAnswers | |
ExceedThreshold | Threshold exceeded |
ExceedAssetsCount | Asset count exceeded |
PriceNotFound | Price not found |
ExceedStake | Stake exceeded |
MustSumTo100 | Price weight must sum to 100 |
DepthTooLarge | Too many weighted averages requested |
ArithmeticError | |
BlockIntervalLength | Block interval is less then stale price |
TransferError | There was an error transferring |
MaxHistory | |
MaxPrePrices | |
NoRewardTrackerSet | Rewarding has not started |
AnnualRewardLessThanAlreadyRewarded | Annual rewarding cost too high |