subscan
Runtime Modules / Creditcoin
Spec Version:
Events
Name
Lookup
Attributes
AddressRegistered0f00["AddressId<Hash>","Address<AccountId>"]
CollectCoinsRegistered0f01["CollectedCoinsId<Hash>","types::UnverifiedCollectedCoins"]
TransferRegistered0f02["TransferId<Hash>","Transfer<AccountId, BlockNumber, Hash, Moment>"]
TransferVerified0f03["TransferId<Hash>"]
CollectedCoinsMinted0f04["types::CollectedCoinsId<Hash>","types::CollectedCoinsStruct<Hash, Balance>"]
TransferProcessed0f05["TransferId<Hash>"]
AskOrderAdded0f06["AskOrderId<BlockNumber, Hash>","AskOrder<AccountId, BlockNumber, Hash>"]
BidOrderAdded0f07["BidOrderId<BlockNumber, Hash>","BidOrder<AccountId, BlockNumber, Hash>"]
OfferAdded0f08["OfferId<BlockNumber, Hash>","Offer<AccountId, BlockNumber, Hash>"]
DealOrderAdded0f09["DealOrderId<BlockNumber, Hash>","DealOrder<AccountId, BlockNumber, Hash, Moment>"]
DealOrderFunded0f0a["DealOrderId<BlockNumber, Hash>"]
DealOrderLocked0f0b["DealOrderId<BlockNumber, Hash>"]
DealOrderClosed0f0c["DealOrderId<BlockNumber, Hash>"]
LoanExempted0f0d["DealOrderId<BlockNumber, Hash>"]
LegacyWalletClaimed0f0e["AccountId","LegacySighash","Balance"]
TransferFailedVerification0f0f["TransferId<Hash>","VerificationFailureCause"]
CollectCoinsFailedVerification0f10["CollectedCoinsId<Hash>","VerificationFailureCause"]
Storage Functions
Name
Type
LegacyWallets{"origin":"Map","n_map_type":{"hashers":["Twox128"],"key_vec":["[U8; 60]"],"value":"U128","keys_id":96,"value_id":6}}
LegacyBalanceKeeper{"origin":"PlainType","plain_type":"[U8; 32]","PlainTypeValue":0}
DealOrders{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Identity"],"key_vec":["U32","H256"],"value":"pallet_creditcoin:types:DealOrder","keys_id":328,"value_id":93}}
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":328,"value_id":82}}
BidOrders{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Identity"],"key_vec":["U32","H256"],"value":"pallet_creditcoin:types:BidOrder","keys_id":328,"value_id":89}}
Offers{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Identity"],"key_vec":["U32","H256"],"value":"pallet_creditcoin:types:Offer","keys_id":328,"value_id":92}}
Transfers{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_creditcoin:types:transfer:Transfer","keys_id":71,"value_id":72}}
CollectedCoins{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_creditcoin:types:collect_coins:CollectedCoins","keys_id":65,"value_id":80}}
CollectCoinsContract{"origin":"PlainType","plain_type":"pallet_creditcoin:ocw:tasks:collect_coins:DeployedContract","PlainTypeValue":67}
GATEContract{"origin":"PlainType","plain_type":"pallet_creditcoin:ocw:tasks:collect_coins:DeployedContract","PlainTypeValue":67}
GATEFaucetAccount{"origin":"PlainType","plain_type":"[U8; 32]","PlainTypeValue":0}
CleanupState{"origin":"PlainType","plain_type":"pallet_creditcoin:types:cleanup:StorageCleanupState","PlainTypeValue":329}
Constants
Name
Type
Value
PerBlockCleanupLimitU325fa80000
Error Types
Name
Docs
AddressAlreadyRegisteredThe specified address has already been registered to another account.
AddressAlreadyRegisteredByCallerThe specified address has already been registered to this account.
NonExistentAddressThe specified address does not exist.
NonExistentDealOrderThe specified deal order does not exist.
NonExistentAskOrderThe specified ask order does not exist.
NonExistentBidOrderThe specified bid order does not exist.
NonExistentOfferThe specified offer does not exist.
NonExistentTransferThe specified transfer does not exist.
TransferAlreadyRegisteredThe transfer has already been registered.
CollectCoinsAlreadyRegisteredThe coin collection has already been registered.
TransferAccountMismatchThe account that registered the transfer doesnot match the account attempting to use the transfer.
TransferDealOrderMismatchThe specified deal order ID does not match the transfer deal order ID.
TransferAmountMismatchThe amount on the deal order does not match the transfer amount.
TransferAlreadyProcessedThe transfer has already been processed and cannot be used.
TransferAmountInsufficientThe transfer amount is less than the amount in the loan terms.
MalformedTransferThe transfer is malformed and has a block number greater than thetip. This is an internal error.
UnsupportedTransferKindThe specified transfer type is not currently supported bythe blockchain the loan is executed on.
InsufficientAuthorityThe node does not have sufficient authority to verify a transfer.
DuplicateIdThe specified ID has already been used.
NotAddressOwnerThe address cannot be used because the user does not own it.
OffchainSignedTxFailedFailed to send an offchain callback transaction. This is likelyan internal error.
NoLocalAcctForSignedTxThe node is an authority but there is no account to create acallback transaction. This is likely an internal error.
RepaymentOrderNonZeroGain
AddressBlockchainMismatchThe addresses specified are not on compatible external chains.
AlreadyAuthorityThe account is already an authority.
NotAnAuthorityThe account you are trying to remove is not an authority.
DuplicateOfferThe offer has already been made.
DealNotFundedThe deal cannot be locked because it is not funded yet.
DealOrderAlreadyFundedThe deal order is already funded and cannot be funded again.
DealOrderAlreadyClosedThe deal order is already closed and cannot be closed again.
DealOrderAlreadyLockedThe deal order is already locked and cannot be locked again.
DealOrderMustBeLockedThe deal order must be locked before it can be closed.
DuplicateDealOrderThe deal order already exists.
DealOrderExpiredThe deal order has expired and is no longer valid.
AskOrderExpiredThe ask order has expired and is no longer valid.
BidOrderExpiredThe bid order has expired and is no longer valid.
OfferExpiredThe offer order has expired and is no longer valid.
AskBidMismatchThe terms of the ask and bid order do not agree.
SameOwnerThe bid order is owned by the user, a user cannot lend to themself.
InvalidSignatureThe signature does not match the public key and message.
NotBorrowerOnly the borrower can perform the action.
MalformedDealOrderThe deal order is malformed and has a block number greater than thetip. This is an internal error.
NotLenderOnly the lender can perform the action.
RepaymentOrderUnsupportedRepayment orders are not currently supported.
NotLegacyWalletOwnerThe legacy wallet is not owned by the user.
LegacyWalletNotFoundThere is no legacy wallet corresponding to the public key.
LegacyBalanceKeeperMissingThere is no legacy balance keeper, so no legacy wallets can be claimed.This is a configuration error and should only occur during local development.
GuidAlreadyUsedThe specified guid has already been used and cannot be re-used.
InvalidTermLengthThe value of the loan term's term length is zero, which is invalid.
MalformedExternalAddressThe external address is malformed or otherwise invalid for the platform.
AddressFormatNotSupportedThe address format was not recognized for the given blockchain and external address.
OwnershipNotSatisfiedThe address retrieved from the proof-of-ownership signature did not match the external address being registered.
CurrencyAlreadyRegisteredThe currency has already been registered.
EthSignExternalAddressGenerationFailedA valid external address could not be generated for the specified blockchain and recovered public key
EthSignPublicKeyRecoveryFailedECDSA public key recovery failed for an ownership proof using EthSign
PersonalSignExternalAddressGenerationFailedA valid external address could not be generated for the specified blockchain and recovered public key
PersonalSignPublicKeyRecoveryFailedECDSA public key recovery failed for an ownership proof using PersonalSign
UnsupportedBlockchainAn unsupported blockchain was specified to register_address_v2
BurnGATEFaucetNotSetThe onchain faucet address for the GATE swap mechanism has not been set using the set_gate_faucet_address extrinsic
BurnGATEInsufficientFaucetBalanceThe faucet has insufficient funds to complete this swap, please retry when the faucet has been reloaded