subscan
Runtime Modules / Sto
Spec Version:
Events
Name
Lookup
Attributes
FundraiserCreated2700["IdentityId","AssetId","AssetId","FundraiserId","FundraiserName","Fundraiser<Moment>"]
Invested2701["IdentityId","AssetId","FundraiserId","FundingAsset","Balance","Balance"]
FundraiserFrozen2702["IdentityId","AssetId","FundraiserId"]
FundraiserUnfrozen2703["IdentityId","AssetId","FundraiserId"]
FundraiserWindowModified2704["EventDid","AssetId","FundraiserId","Moment","Option<Moment>","Moment","Option<Moment>"]
FundraiserClosed2705["IdentityId","AssetId","FundraiserId"]
FundraiserOffchainFundingEnabled2706["IdentityId","AssetId","FundraiserId","Ticker"]
Storage Functions
Name
Type
Fundraisers{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["[U8; 16]","U64"],"value":"pallet_sto:Fundraiser","keys_id":701,"value_id":268}}
FundraiserCount{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 16]"],"value":"U64","keys_id":42,"value_id":266}}
FundraiserNames{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["[U8; 16]","U64"],"value":"Vec<U8>","keys_id":701,"value_id":267}}
FundraiserOffchainAsset{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["[U8; 16]","U64"],"value":"[U8; 12]","keys_id":701,"value_id":72}}
StorageVersion{"origin":"PlainType","plain_type":"U8","PlainTypeValue":702}
Error Types
Name
Docs
UnauthorizedSender does not have required permissions for the requested operation.
OverflowAn arithmetic operation resulted in overflow or underflow.
InsufficientTokensRemainingThe fundraiser does not have enough tokens remaining to fulfil the investment.
FundraiserNotFoundThe specified fundraiser does not exist for the given asset.
FundraiserNotLiveThe fundraiser is not in a live state (either frozen or stopped).
FundraiserClosedThe fundraiser has been permanently closed or stopped.
FundraiserExpiredAttempting to interact with a fundraiser after its end time has passed.
InvalidVenueThe provided venue is invalid (does not exist, wrong type, or wrong creator).
InvalidPriceTiersOne or more price tiers have invalid parameters (zero total, too many tiers, etc.).
InvalidOfferingWindowThe fundraiser time window has invalid parameters (start time after end time).
MaxPriceExceededThe calculated price per token exceeds the maximum price specified by the investor.
InvestmentAmountTooLowThe investment amount is below the minimum investment threshold for this fundraiser.
InvalidSignatureThe off-chain receipt signature is invalid or could not be verified.
OffchainFundingNotAllowedOff-chain funding has not been enabled for this fundraiser.