
The data structures defined by this contract.
- { "name": "config", "base": "", "fields": [ { "name": "limit_endorse_height", "type": "uint64" }, { "name": "limit_num_endorsed_blocks", "type": "uint16" }, { "name": "min_validators", "type": "uint16" }, { "name": "xsat_stake_activation_height", "type": "uint64" }, { "name": "consensus_interval_seconds", "type": "uint16" }, { "name": "min_xsat_qualification", "type": "asset" } ] }
Table row type of config
{ "name": "config_row", "base": "", "fields": [ { "name": "limit_endorse_height", "type": "uint64" }, { "name": "limit_num_endorsed_blocks", "type": "uint16" }, { "name": "min_validators", "type": "uint16" }, { "name": "consensus_interval_seconds", "type": "uint16" }, { "name": "xsat_stake_activation_height", "type": "uint64" }, { "name": "min_xsat_qualification", "type": "asset" } ] }- { "name": "endorse", "base": "", "fields": [ { "name": "validator", "type": "name" }, { "name": "height", "type": "uint64" }, { "name": "hash", "type": "checksum256" } ] }
Table row type of endorsements
{ "name": "endorsement_row", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "hash", "type": "checksum256" }, { "name": "requested_validators", "type": "requested_validator_info[]" }, { "name": "provider_validators", "type": "provider_validator_info[]" } ] }- { "name": "erase", "base": "", "fields": [ { "name": "height", "type": "uint64" } ] }
Struct property of endorsement_row
{ "name": "provider_validator_info", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "staking", "type": "uint64" }, { "name": "created_at", "type": "time_point_sec" } ] }Struct property of endorsement_row
{ "name": "requested_validator_info", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "staking", "type": "uint64" } ] }