subscan
Runtime Modules / FuelTanks
Spec Version:
Events
Name
Lookup
Attributes
FuelTankCreated3600["AccountId","FuelTankNameOf","AccountId"]
FuelTankMutated3601["AccountId","TankMutation"]
FuelTankDestroyed3602["AccountId"]
CallDispatched3603["AccountId","AccountId"]
AccountAdded3604["AccountId","AccountId","BalanceOf","BalanceOf","BalanceOf"]
AccountRemoved3605["AccountId","AccountId"]
AccountRuleDataRemoved3606["AccountId","AccountId","RuleSetId","DispatchRuleKind"]
RuleSetInserted3607["AccountId","RuleSetId"]
RuleSetRemoved3608["AccountId","RuleSetId"]
FreezeStateMutated3609["AccountId","Option<RuleSetId>","bool"]
DispatchFailed360a["AccountId","AccountId","DispatchError"]
ConsumptionSet360b["AccountId","Option<AccountId>","RuleSetId","ConsumptionOf"]
MigrationStep360c["u32","u8"]
Storage Functions
Name
Type
Tanks{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"pallet_fuel_tanks:types:FuelTank","keys_id":0,"value_id":736}}
Accounts{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","AccountId"],"value":"pallet_fuel_tanks:types:UserAccount","keys_id":765,"value_id":766}}
Constants
Name
Type
Value
Salt[U8; 8]6566696e69747979
MaxWhitelistedCallersU3264000000
MaxRuleSetsU320a000000
MaxRulesPerSetU320a000000
MaxAccountRuleDataLengthU3280000000
MaxCallFiltersU3214000000
MaxWhitelistedCollectionsU3200010000
MaxCallSizeU32e8030000
MaxUserHistorySizeU3210270000
MaxBatchAccountsU3264000000
MaxFuelTankNameLengthU3220000000
MaxExtrinsicNameLengthU3264000000
MaxPermittedExtrinsicLengthU3264000000
TankCreationDepositU12800007a22c1c8b1220000000000000000
AccountCreationDepositU1280000c16ff28623000000000000000000
ReserveIdentifier[U8; 8]6675656c74616e6b
LevyScaleU32b80b0000
LevyU328017b42c
Error Types
Name
Docs
FuelTankNotFoundFuel Tank not found
FuelTankAlreadyExistsFuel Tank already exists
InsufficientBalanceNot enough funds to perform operation
UsageRestrictedFuel tank cannot be used due to restrictions
FuelTankOutOfFundsFuel tank doesnt have enough funds
RuleSetNotFoundThe rule set does not exist
RuleNotFoundThe rule is missing
NoPermissionUser does not have permission to perform operation
AccountAlreadyExistsThe account already exists
AccountNotFoundThe account was not found
DestroyWithExistingAccountsDestroying fuel tank is not possible while it has existing accounts attached
DestroyUnfrozenTankDestroying fuel tank is not possible while it is not frozen
MaxRuleSetsExceededMax number of rules sets per fuel tank was exceeded
UserRuleDataExceededMaxSizeThe size of the user rule data is greater than the allowed amount
DecodeUserRuleDataFailedThe user rule data could not be decoded
RequiresFrozenTankOrRulesetEither the tank or ruleset must be frozen for this operation
RequiresFrozenTankThe fuel tank must be frozen for this operation
MissingRequiredRuleA rule that is required for this operation does not exist
MissingRequiredRuleUserDataUser data for the required rule does not exist
InvalidRuleSetThe rule set of the fuel tank is misconfigured. This error should never occur.
AccountContainsRuleDataA user cannot remove an account that is storing data for a rule
CannotRemoveRuleThatIsStoringAccountDataA rule cannot be removed from a rule set if it is storing data on any account
DuplicateRuleKindsA fuel tank cannot have more than one rule of the same kind
DepositCalculationErrorProblems calculating the deposit for a call
FuelTankFrozenThe fuel tank is frozen
CallerDoesNotHaveRuleSetTokenBalanceThe user does not have the token required by rule set
NoDataToRemoveThe user does not have any data stored for rule set