Name | Lookup | Parameters | |
|---|---|---|---|
| create_fundraiser | 2700 | 10 | |
| invest | 2701 | 6 | |
| freeze_fundraiser | 2702 | 2 | |
| unfreeze_fundraiser | 2703 | 2 | |
| modify_fundraiser_window | 2704 | 4 | |
| stop | 2705 | 2 | |
| enable_offchain_funding | 2706 | 3 |
Name | Lookup | Attributes | |
|---|---|---|---|
| FundraiserCreated | 2700 | ["IdentityId","AssetId","AssetId","FundraiserId","FundraiserName","Fundraiser<Moment>"] | |
| Invested | 2701 | ["IdentityId","AssetId","FundraiserId","FundingAsset","Balance","Balance"] | |
| FundraiserFrozen | 2702 | ["IdentityId","AssetId","FundraiserId"] | |
| FundraiserUnfrozen | 2703 | ["IdentityId","AssetId","FundraiserId"] | |
| FundraiserWindowModified | 2704 | ["EventDid","AssetId","FundraiserId","Moment","Option<Moment>","Moment","Option<Moment>"] | |
| FundraiserClosed | 2705 | ["IdentityId","AssetId","FundraiserId"] | |
| FundraiserOffchainFundingEnabled | 2706 | ["IdentityId","AssetId","FundraiserId","Ticker"] |
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} |
Name | Docs |
|---|---|
| Unauthorized | Sender does not have required permissions for the requested operation. |
| Overflow | An arithmetic operation resulted in overflow or underflow. |
| InsufficientTokensRemaining | The fundraiser does not have enough tokens remaining to fulfil the investment. |
| FundraiserNotFound | The specified fundraiser does not exist for the given asset. |
| FundraiserNotLive | The fundraiser is not in a live state (either frozen or stopped). |
| FundraiserClosed | The fundraiser has been permanently closed or stopped. |
| FundraiserExpired | Attempting to interact with a fundraiser after its end time has passed. |
| InvalidVenue | The provided venue is invalid (does not exist, wrong type, or wrong creator). |
| InvalidPriceTiers | One or more price tiers have invalid parameters (zero total, too many tiers, etc.). |
| InvalidOfferingWindow | The fundraiser time window has invalid parameters (start time after end time). |
| MaxPriceExceeded | The calculated price per token exceeds the maximum price specified by the investor. |
| InvestmentAmountTooLow | The investment amount is below the minimum investment threshold for this fundraiser. |
| InvalidSignature | The off-chain receipt signature is invalid or could not be verified. |
| OffchainFundingNotAllowed | Off-chain funding has not been enabled for this fundraiser. |