Module Name | gbm_Staking | Module Reference | 0cd10b033b |
Deployed in block | 6,266,871 |
Deployed in tx | 99a6 |
Age | 555 days |
Sender | Bank of Memories |
Methods | 16 |
Instances | 1 |
{
"token": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"token_id": "<String with lowercase hex>"
}
None
{
"Enum": [
{
"NewAdmin": {
"new_admin": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
}
}
},
{
"Staked": {
"amount": "<UInt64>",
"pool_id": "<UInt32>",
"sender": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
}
}
},
{
"Unstaked": {
"amount": "<UInt64>",
"pool_id": "<UInt32>",
"recipient": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
}
}
},
{
"HarvestedRewards": {
"amount": "<UInt64>",
"pool_id": "<UInt32>",
"recipient": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
}
}
},
{
"CreatedPool": {
"pool_id": "<UInt32>"
}
}
]
}
{
"block_duration": "<UInt32>",
"reward_tokens_per_block": "<UInt64>",
"rewards_multiplier": "<UInt16>"
}
{
"Enum": [
{
"Unauthorized": []
},
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"ContractPaused": []
},
{
"InvokeContractError": []
},
{
"InvokeTransferError": []
},
{
"FailedUpgradeMissingModule": []
},
{
"FailedUpgradeMissingContract": []
},
{
"FailedUpgradeUnsupportedModuleVersion": []
},
{
"InvalidCountOFValidatorsRequired": []
},
{
"DuplicateWithdrawRequested": []
},
{
"UnstakeAmountIsZero": []
},
{
"StakeIsExpired": []
},
{
"StakeAmountIsZero": []
},
{
"UnknownPool": []
},
{
"UnknownStaker": []
},
{
"UnknownTokenReceived": []
},
{
"FailedToTransfer": []
}
]
}
None
{
"amount": "<String of size at most 74 containing an unsigned integer.>",
"data": "<String with lowercase hex>",
"from": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"token_id": "<String with lowercase hex>"
}
{
"Enum": [
{
"Unauthorized": []
},
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"ContractPaused": []
},
{
"InvokeContractError": []
},
{
"InvokeTransferError": []
},
{
"FailedUpgradeMissingModule": []
},
{
"FailedUpgradeMissingContract": []
},
{
"FailedUpgradeUnsupportedModuleVersion": []
},
{
"InvalidCountOFValidatorsRequired": []
},
{
"DuplicateWithdrawRequested": []
},
{
"UnstakeAmountIsZero": []
},
{
"StakeIsExpired": []
},
{
"StakeAmountIsZero": []
},
{
"UnknownPool": []
},
{
"UnknownStaker": []
},
{
"UnknownTokenReceived": []
},
{
"FailedToTransfer": []
}
]
}
None
{
"amount": "<UInt64>",
"owned_entrypoint_name": "<String>",
"pool_id": "<UInt32>"
}
{
"Enum": [
{
"Unauthorized": []
},
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"ContractPaused": []
},
{
"InvokeContractError": []
},
{
"InvokeTransferError": []
},
{
"FailedUpgradeMissingModule": []
},
{
"FailedUpgradeMissingContract": []
},
{
"FailedUpgradeUnsupportedModuleVersion": []
},
{
"InvalidCountOFValidatorsRequired": []
},
{
"DuplicateWithdrawRequested": []
},
{
"UnstakeAmountIsZero": []
},
{
"StakeIsExpired": []
},
{
"StakeAmountIsZero": []
},
{
"UnknownPool": []
},
{
"UnknownStaker": []
},
{
"UnknownTokenReceived": []
},
{
"FailedToTransfer": []
}
]
}
None
{
"owned_entrypoint_name": "<String>",
"pool_id": "<UInt32>"
}
{
"Enum": [
{
"Unauthorized": []
},
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"ContractPaused": []
},
{
"InvokeContractError": []
},
{
"InvokeTransferError": []
},
{
"FailedUpgradeMissingModule": []
},
{
"FailedUpgradeMissingContract": []
},
{
"FailedUpgradeUnsupportedModuleVersion": []
},
{
"InvalidCountOFValidatorsRequired": []
},
{
"DuplicateWithdrawRequested": []
},
{
"UnstakeAmountIsZero": []
},
{
"StakeIsExpired": []
},
{
"StakeAmountIsZero": []
},
{
"UnknownPool": []
},
{
"UnknownStaker": []
},
{
"UnknownTokenReceived": []
},
{
"FailedToTransfer": []
}
]
}
None
{
"owned_entrypoint_name": "<String>",
"pool_id": "<UInt32>"
}
{
"Enum": [
{
"Unauthorized": []
},
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"ContractPaused": []
},
{
"InvokeContractError": []
},
{
"InvokeTransferError": []
},
{
"FailedUpgradeMissingModule": []
},
{
"FailedUpgradeMissingContract": []
},
{
"FailedUpgradeUnsupportedModuleVersion": []
},
{
"InvalidCountOFValidatorsRequired": []
},
{
"DuplicateWithdrawRequested": []
},
{
"UnstakeAmountIsZero": []
},
{
"StakeIsExpired": []
},
{
"StakeAmountIsZero": []
},
{
"UnknownPool": []
},
{
"UnknownStaker": []
},
{
"UnknownTokenReceived": []
},
{
"FailedToTransfer": []
}
]
}
None
{
"pool_id": "<UInt32>"
}
{
"Enum": [
{
"Unauthorized": []
},
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"ContractPaused": []
},
{
"InvokeContractError": []
},
{
"InvokeTransferError": []
},
{
"FailedUpgradeMissingModule": []
},
{
"FailedUpgradeMissingContract": []
},
{
"FailedUpgradeUnsupportedModuleVersion": []
},
{
"InvalidCountOFValidatorsRequired": []
},
{
"DuplicateWithdrawRequested": []
},
{
"UnstakeAmountIsZero": []
},
{
"StakeIsExpired": []
},
{
"StakeAmountIsZero": []
},
{
"UnknownPool": []
},
{
"UnknownStaker": []
},
{
"UnknownTokenReceived": []
},
{
"FailedToTransfer": []
}
]
}
{
"pool_staked_amount": "<UInt64>",
"user_harvestable_rewards": "<UInt64>",
"user_staked_amount": "<UInt64>"
}
{
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
}
{
"Enum": [
{
"Unauthorized": []
},
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"ContractPaused": []
},
{
"InvokeContractError": []
},
{
"InvokeTransferError": []
},
{
"FailedUpgradeMissingModule": []
},
{
"FailedUpgradeMissingContract": []
},
{
"FailedUpgradeUnsupportedModuleVersion": []
},
{
"InvalidCountOFValidatorsRequired": []
},
{
"DuplicateWithdrawRequested": []
},
{
"UnstakeAmountIsZero": []
},
{
"StakeIsExpired": []
},
{
"StakeAmountIsZero": []
},
{
"UnknownPool": []
},
{
"UnknownStaker": []
},
{
"UnknownTokenReceived": []
},
{
"FailedToTransfer": []
}
]
}
None
{
"paused": "<Bool>"
}
{
"Enum": [
{
"Unauthorized": []
},
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"ContractPaused": []
},
{
"InvokeContractError": []
},
{
"InvokeTransferError": []
},
{
"FailedUpgradeMissingModule": []
},
{
"FailedUpgradeMissingContract": []
},
{
"FailedUpgradeUnsupportedModuleVersion": []
},
{
"InvalidCountOFValidatorsRequired": []
},
{
"DuplicateWithdrawRequested": []
},
{
"UnstakeAmountIsZero": []
},
{
"StakeIsExpired": []
},
{
"StakeAmountIsZero": []
},
{
"UnknownPool": []
},
{
"UnknownStaker": []
},
{
"UnknownTokenReceived": []
},
{
"FailedToTransfer": []
}
]
}
None
None
{
"Enum": [
{
"Unauthorized": []
},
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"ContractPaused": []
},
{
"InvokeContractError": []
},
{
"InvokeTransferError": []
},
{
"FailedUpgradeMissingModule": []
},
{
"FailedUpgradeMissingContract": []
},
{
"FailedUpgradeUnsupportedModuleVersion": []
},
{
"InvalidCountOFValidatorsRequired": []
},
{
"DuplicateWithdrawRequested": []
},
{
"UnstakeAmountIsZero": []
},
{
"StakeIsExpired": []
},
{
"StakeAmountIsZero": []
},
{
"UnknownPool": []
},
{
"UnknownStaker": []
},
{
"UnknownTokenReceived": []
},
{
"FailedToTransfer": []
}
]
}
{
"admin": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"paused": "<Bool>",
"token": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"token_id": "<String with lowercase hex>"
}
[
"<String>"
]
{
"Enum": [
{
"Unauthorized": []
},
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"ContractPaused": []
},
{
"InvokeContractError": []
},
{
"InvokeTransferError": []
},
{
"FailedUpgradeMissingModule": []
},
{
"FailedUpgradeMissingContract": []
},
{
"FailedUpgradeUnsupportedModuleVersion": []
},
{
"InvalidCountOFValidatorsRequired": []
},
{
"DuplicateWithdrawRequested": []
},
{
"UnstakeAmountIsZero": []
},
{
"StakeIsExpired": []
},
{
"StakeAmountIsZero": []
},
{
"UnknownPool": []
},
{
"UnknownStaker": []
},
{
"UnknownTokenReceived": []
},
{
"FailedToTransfer": []
}
]
}
[
{
"Enum": [
{
"NoSupport": []
},
{
"Support": []
},
{
"SupportBy": [
[
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
]
}
]
}
]
{
"id": "<String>",
"implementors": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
{
"Enum": [
{
"Unauthorized": []
},
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"ContractPaused": []
},
{
"InvokeContractError": []
},
{
"InvokeTransferError": []
},
{
"FailedUpgradeMissingModule": []
},
{
"FailedUpgradeMissingContract": []
},
{
"FailedUpgradeUnsupportedModuleVersion": []
},
{
"InvalidCountOFValidatorsRequired": []
},
{
"DuplicateWithdrawRequested": []
},
{
"UnstakeAmountIsZero": []
},
{
"StakeIsExpired": []
},
{
"StakeAmountIsZero": []
},
{
"UnknownPool": []
},
{
"UnknownStaker": []
},
{
"UnknownTokenReceived": []
},
{
"FailedToTransfer": []
}
]
}
None
{
"migrate": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<String>",
"<String with lowercase hex>"
]
]
}
]
},
"module": "<String of size 64 containing lowercase hex characters.>"
}
{
"Enum": [
{
"Unauthorized": []
},
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"ContractPaused": []
},
{
"InvokeContractError": []
},
{
"InvokeTransferError": []
},
{
"FailedUpgradeMissingModule": []
},
{
"FailedUpgradeMissingContract": []
},
{
"FailedUpgradeUnsupportedModuleVersion": []
},
{
"InvalidCountOFValidatorsRequired": []
},
{
"DuplicateWithdrawRequested": []
},
{
"UnstakeAmountIsZero": []
},
{
"StakeIsExpired": []
},
{
"StakeAmountIsZero": []
},
{
"UnknownPool": []
},
{
"UnknownStaker": []
},
{
"UnknownTokenReceived": []
},
{
"FailedToTransfer": []
}
]
}
None
None
None
None
None
None
None
None
None
None
None
None
None