Name | Lookup | Parameters | |
|---|---|---|---|
| claim_legacy_wallet | 0f00 | 1 | |
| register_address | 0f01 | 3 | |
| add_ask_order | 0f02 | 4 | |
| add_bid_order | 0f03 | 4 | |
| add_offer | 0f04 | 3 | |
| add_deal_order | 0f05 | 2 | |
| lock_deal_order | 0f06 | 1 | |
| fund_deal_order | 0f07 | 2 | |
| register_deal_order | 0f08 | 8 | |
| close_deal_order | 0f09 | 2 | |
| register_funding_transfer | 0f0b | 3 | |
| register_repayment_transfer | 0f0c | 4 | |
| exempt | 0f0d | 1 | |
| persist_task_output | 0f10 | 2 | |
| fail_task | 0f11 | 3 | |
| add_authority | 0f12 | 1 | |
| remove_authority | 0f15 | 1 | |
| register_address_v2 | 0f16 | 3 |
Name | Lookup | Attributes | |
|---|---|---|---|
| AddressRegistered | 0f00 | ["AddressId<Hash>","Address<AccountId>"] | |
| TransferRegistered | 0f01 | ["TransferId<Hash>","Transfer<AccountId, BlockNumber, Hash, Moment>"] | |
| TransferVerified | 0f02 | ["TransferId<Hash>"] | |
| TransferProcessed | 0f03 | ["TransferId<Hash>"] | |
| AskOrderAdded | 0f04 | ["AskOrderId<BlockNumber, Hash>","AskOrder<AccountId, BlockNumber, Hash>"] | |
| BidOrderAdded | 0f05 | ["BidOrderId<BlockNumber, Hash>","BidOrder<AccountId, BlockNumber, Hash>"] | |
| OfferAdded | 0f06 | ["OfferId<BlockNumber, Hash>","Offer<AccountId, BlockNumber, Hash>"] | |
| DealOrderAdded | 0f07 | ["DealOrderId<BlockNumber, Hash>","DealOrder<AccountId, BlockNumber, Hash, Moment>"] | |
| DealOrderFunded | 0f08 | ["DealOrderId<BlockNumber, Hash>"] | |
| DealOrderLocked | 0f09 | ["DealOrderId<BlockNumber, Hash>"] | |
| DealOrderClosed | 0f0a | ["DealOrderId<BlockNumber, Hash>"] | |
| LoanExempted | 0f0b | ["DealOrderId<BlockNumber, Hash>"] | |
| LegacyWalletClaimed | 0f0c | ["AccountId","LegacySighash","Balance"] | |
| TransferFailedVerification | 0f0d | ["TransferId<Hash>","VerificationFailureCause"] | |
| Burned | 0f0e | ["BurnId"] |
Name | Type | |
|---|---|---|
| LegacyWallets | {"origin":"Map","n_map_type":{"hashers":["Twox128"],"key_vec":["[U8; 60]"],"value":"U128","keys_id":89,"value_id":6}} | |
| LegacyBalanceKeeper | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
| DealOrders | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Identity"],"key_vec":["U32","H256"],"value":"pallet_creditcoin:types:DealOrder","keys_id":322,"value_id":86}} | |
| Addresses | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["H256"],"value":"pallet_creditcoin:types:Address","keys_id":61,"value_id":62}} | |
| UsedGuids | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"NULL","keys_id":64,"value_id":58}} | |
| AskOrders | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Identity"],"key_vec":["U32","H256"],"value":"pallet_creditcoin:types:AskOrder","keys_id":322,"value_id":75}} | |
| BidOrders | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Identity"],"key_vec":["U32","H256"],"value":"pallet_creditcoin:types:BidOrder","keys_id":322,"value_id":82}} | |
| Offers | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Identity"],"key_vec":["U32","H256"],"value":"pallet_creditcoin:types:Offer","keys_id":322,"value_id":85}} | |
| Transfers | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_creditcoin:types:transfer:Transfer","keys_id":65,"value_id":66}} | |
| CollectedCoins | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_creditcoin:types:collect_coins:CollectedCoins","keys_id":323,"value_id":324}} | |
| CollectCoinsContract | {"origin":"PlainType","plain_type":"pallet_creditcoin:ocw:tasks:collect_coins:DeployedContract","PlainTypeValue":326} | |
| GATEContract | {"origin":"PlainType","plain_type":"pallet_creditcoin:ocw:tasks:collect_coins:DeployedContract","PlainTypeValue":326} | |
| GATEFaucetAccount | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
| CleanupState | {"origin":"PlainType","plain_type":"pallet_creditcoin:types:cleanup:StorageCleanupState","PlainTypeValue":328} | |
| BurnedFunds | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["U64"],"value":"pallet_creditcoin:types:BurnInfo","keys_id":92,"value_id":332}} | |
| CounterForBurnedFunds | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} |
Name | Type | Value | |
|---|---|---|---|
| UnverifiedTaskTimeout | U32 | 3c000000 | |
| PerBlockCleanupLimit | U32 | 5fa80000 |
Name | Docs |
|---|---|
| AddressAlreadyRegistered | The specified address has already been registered to another account. |
| AddressAlreadyRegisteredByCaller | The specified address has already been registered to this account. |
| NonExistentAddress | The specified address does not exist. |
| NonExistentDealOrder | The specified deal order does not exist. |
| NonExistentAskOrder | The specified ask order does not exist. |
| NonExistentBidOrder | The specified bid order does not exist. |
| NonExistentOffer | The specified offer does not exist. |
| NonExistentTransfer | The specified transfer does not exist. |
| TransferAlreadyRegistered | The transfer has already been registered. |
| CollectCoinsAlreadyRegistered | The coin collection has already been registered. |
| TransferAccountMismatch | The account that registered the transfer doesnot match the account attempting to use the transfer. |
| TransferDealOrderMismatch | The specified deal order ID does not match the transfer deal order ID. |
| TransferAmountMismatch | The amount on the deal order does not match the transfer amount. |
| TransferAlreadyProcessed | The transfer has already been processed and cannot be used. |
| TransferAmountInsufficient | The transfer amount is less than the amount in the loan terms. |
| MalformedTransfer | The transfer is malformed and has a block number greater than thetip. This is an internal error. |
| UnsupportedTransferKind | The specified transfer type is not currently supported bythe blockchain the loan is executed on. |
| InsufficientAuthority | The node does not have sufficient authority to verify a transfer. |
| DuplicateId | The specified ID has already been used. |
| NotAddressOwner | The address cannot be used because the user does not own it. |
| OffchainSignedTxFailed | Failed to send an offchain callback transaction. This is likelyan internal error. |
| NoLocalAcctForSignedTx | The node is an authority but there is no account to create acallback transaction. This is likely an internal error. |
| RepaymentOrderNonZeroGain | |
| AddressBlockchainMismatch | The addresses specified are not on compatible external chains. |
| AlreadyAuthority | The account is already an authority. |
| NotAnAuthority | The account you are trying to remove is not an authority. |
| DuplicateOffer | The offer has already been made. |
| DealNotFunded | The deal cannot be locked because it is not funded yet. |
| DealOrderAlreadyFunded | The deal order is already funded and cannot be funded again. |
| DealOrderAlreadyClosed | The deal order is already closed and cannot be closed again. |
| DealOrderAlreadyLocked | The deal order is already locked and cannot be locked again. |
| DealOrderMustBeLocked | The deal order must be locked before it can be closed. |
| DuplicateDealOrder | The deal order already exists. |
| DealOrderExpired | The deal order has expired and is no longer valid. |
| AskOrderExpired | The ask order has expired and is no longer valid. |
| BidOrderExpired | The bid order has expired and is no longer valid. |
| OfferExpired | The offer order has expired and is no longer valid. |
| AskBidMismatch | The terms of the ask and bid order do not agree. |
| SameOwner | The bid order is owned by the user, a user cannot lend to themself. |
| InvalidSignature | The signature does not match the public key and message. |
| NotBorrower | Only the borrower can perform the action. |
| MalformedDealOrder | The deal order is malformed and has a block number greater than thetip. This is an internal error. |
| NotLender | Only the lender can perform the action. |
| RepaymentOrderUnsupported | Repayment orders are not currently supported. |
| NotLegacyWalletOwner | The legacy wallet is not owned by the user. |
| LegacyWalletNotFound | There is no legacy wallet corresponding to the public key. |
| LegacyBalanceKeeperMissing | There is no legacy balance keeper, so no legacy wallets can be claimed.This is a configuration error and should only occur during local development. |
| GuidAlreadyUsed | The specified guid has already been used and cannot be re-used. |
| InvalidTermLength | The value of the loan term's term length is zero, which is invalid. |
| MalformedExternalAddress | The external address is malformed or otherwise invalid for the platform. |
| AddressFormatNotSupported | The address format was not recognized for the given blockchain and external address. |
| OwnershipNotSatisfied | The address retrieved from the proof-of-ownership signature did not match the external address being registered. |
| CurrencyAlreadyRegistered | The currency has already been registered. |
| EthSignExternalAddressGenerationFailed | A valid external address could not be generated for the specified blockchain and recovered public key |
| EthSignPublicKeyRecoveryFailed | ECDSA public key recovery failed for an ownership proof using EthSign |
| PersonalSignExternalAddressGenerationFailed | A valid external address could not be generated for the specified blockchain and recovered public key |
| PersonalSignPublicKeyRecoveryFailed | ECDSA public key recovery failed for an ownership proof using PersonalSign |
| UnsupportedBlockchain | An unsupported blockchain was specified to register_address_v2 |
| BurnGATEFaucetNotSet | The onchain faucet address for the GATE swap mechanism has not been set using the set_gate_faucet_address extrinsic |
| BurnGATEInsufficientFaucetBalance | The faucet has insufficient funds to complete this swap, please retry when the faucet has been reloaded |
| BurnSettlementError | During a call to burn or burn_all the settlement of the account balances failed |
| BurnInsufficientFunds | A call to burn specified more free funds than the account has access to |