Stafi
subscan
Runtime Modules / Treasury
Spec Version:
Call Functions
Name
Lookup
Parameters
propose_spend10002
reject_proposal10011
approve_proposal10021
report_awesome10032
retract_tip10041
tip_new10053
tip10062
close_tip10071
Events
Name
Lookup
Attributes
Proposed0c00
Spending0c01
Awarded0c02
Rejected0c03
Burnt0c04
Rollover0c05
Deposit0c06
NewTip0c07
TipClosing0c08
TipClosed0c09
TipRetracted0c0a
Storage Functions
Name
Type
ProposalCount{"origin":"PlainType","plain_type":"ProposalIndex"}
Proposals{"origin":"MapType","map_type":{"key":"ProposalIndex","hasher":"Twox64Concat","value":"Proposal<AccountId, BalanceOf>","isLinked":false}}
Approvals{"origin":"PlainType","plain_type":"Vec<ProposalIndex>"}
Tips{"origin":"MapType","map_type":{"key":"Hash","hasher":"Twox64Concat","value":"OpenTip<AccountId, BalanceOf, BlockNumber, Hash>","isLinked":false}}
Reasons{"origin":"MapType","map_type":{"key":"Hash","hasher":"Identity","value":"Bytes","isLinked":false}}
Constants
Name
Type
Value
ProposalBondPermill0x50c30000
ProposalBondMinimumBalanceOf0x0000c16ff28623000000000000000000
SpendPeriodBlockNumber0x00460500
BurnPermill0x00000000
TipCountdownBlockNumber0x40380000
TipFindersFeePercent0x14
TipReportDepositBaseBalanceOf0x0010a5d4e80000000000000000000000
TipReportDepositPerByteBalanceOf0x00e40b54020000000000000000000000
ModuleIdModuleId0x70792f7472737279
Error Types
Name
Docs
InsufficientProposersBalance Proposer's balance is too low.
InvalidProposalIndex No proposal at that index.
ReasonTooBig The reason given is just too big.
AlreadyKnown The tip was already found/started.
UnknownTip The tip hash is unknown.
NotFinder The account attempting to retract the tip is not the finder of the tip.
StillOpen The tip cannot be claimed/closed because there are not enough tippers yet.
Premature The tip cannot be claimed/closed because it's still in the countdown period.