
The data structures defined by this contract.
-
{ "name": "account", "base": "", "fields": [ { "name": "balance", "type": "asset" } ] }
Action parameter in addprotocol
{ "name": "addprotocol", "base": "", "fields": [ { "name": "protocol_name", "type": "string" }, { "name": "description", "type": "string" }, { "name": "difficulty", "type": "float32" }, { "name": "meta", "type": "string" } ] }
Action parameter in addvalprot
{ "name": "addvalprot", "base": "", "fields": [ { "name": "validator", "type": "name" }, { "name": "protocol_type", "type": "uint64" }, { "name": "weight", "type": "float32" } ] }
-
{ "name": "config", "base": "", "fields": [ { "name": "registrar", "type": "name" }, { "name": "boidtoken_c", "type": "name" }, { "name": "id", "type": "uint64" }, { "name": "min_weight", "type": "float32" }, { "name": "payout_account", "type": "name" }, { "name": "payout_multiplier", "type": "float32" } ] }
-
{ "name": "delconfig", "base": "", "fields": [] }
-
{ "name": "deldevice", "base": "", "fields": [ { "name": "protocol_type", "type": "uint64" }, { "name": "device_name", "type": "string" } ] }
Action parameter in delprotocol
{ "name": "delprotocol", "base": "", "fields": [ { "name": "protocol_type", "type": "uint64" } ] }
-
{ "name": "delrating", "base": "", "fields": [ { "name": "validator", "type": "name" }, { "name": "device_name", "type": "string" } ] }
Action parameter in delvalidator
{ "name": "delvalidator", "base": "", "fields": [ { "name": "validator", "type": "name" } ] }
-
{ "name": "device", "base": "", "fields": [ { "name": "device_key", "type": "uint64" }, { "name": "device_name", "type": "string" }, { "name": "owner", "type": "name" }, { "name": "collision_modifier", "type": "uint64" }, { "name": "units", "type": "uint64" } ] }
Struct property of power
{ "name": "microseconds", "base": "", "fields": [ { "name": "_count", "type": "int64" } ] }
Action parameter in newprotdiff
{ "name": "newprotdiff", "base": "", "fields": [ { "name": "protocol_type", "type": "uint64" }, { "name": "difficulty", "type": "float32" } ] }
Action parameter in newprotmeta
{ "name": "newprotmeta", "base": "", "fields": [ { "name": "protocol_type", "type": "uint64" }, { "name": "meta", "type": "string" } ] }
-
{ "name": "pair_uint64_float32", "base": "", "fields": [ { "name": "key", "type": "uint64" }, { "name": "value", "type": "float32" } ] }
Struct property of power
{ "name": "pair_uint64_uint64", "base": "", "fields": [ { "name": "key", "type": "uint64" }, { "name": "value", "type": "uint64" } ] }
-
{ "name": "payout", "base": "", "fields": [ { "name": "validator", "type": "name" }, { "name": "registrar_payout", "type": "bool" } ] }
-
{ "name": "power", "base": "", "fields": [ { "name": "ratings", "type": "pair_uint64_float32[]" }, { "name": "units", "type": "pair_uint64_uint64[]" }, { "name": "type", "type": "uint64" }, { "name": "round_start", "type": "microseconds" }, { "name": "round_end", "type": "microseconds" } ] }
-
{ "name": "protocol", "base": "", "fields": [ { "name": "type", "type": "uint64" }, { "name": "protocol_name", "type": "string" }, { "name": "description", "type": "string" }, { "name": "meta", "type": "string" }, { "name": "difficulty", "type": "float32" } ] }
-
{ "name": "regdevice", "base": "", "fields": [ { "name": "owner", "type": "name" }, { "name": "device_name", "type": "string" }, { "name": "protocol_type", "type": "uint64" }, { "name": "registrar_registration", "type": "bool" } ] }
Action parameter in regpayacct
{ "name": "regpayacct", "base": "", "fields": [ { "name": "payout_account", "type": "name" } ] }
Action parameter in regregistrar
{ "name": "regregistrar", "base": "", "fields": [ { "name": "registrar", "type": "name" }, { "name": "tokencontract", "type": "name" } ] }
Action parameter in regvalidator
{ "name": "regvalidator", "base": "", "fields": [ { "name": "validator", "type": "name" } ] }
Action parameter in setminweight
{ "name": "setminweight", "base": "", "fields": [ { "name": "min_weight", "type": "float32" } ] }
Action parameter in setpayoutmul
{ "name": "setpayoutmul", "base": "", "fields": [ { "name": "payout_multiplier", "type": "float32" } ] }
Action parameter in updaterating
{ "name": "updaterating", "base": "", "fields": [ { "name": "validator", "type": "name" }, { "name": "device_name", "type": "string" }, { "name": "round_start", "type": "uint64" }, { "name": "round_end", "type": "uint64" }, { "name": "rating", "type": "float32" }, { "name": "units", "type": "uint64" }, { "name": "protocol_type", "type": "uint64" } ] }
Table row type of validators
{ "name": "validator", "base": "", "fields": [ { "name": "weights", "type": "pair_uint64_float32[]" }, { "name": "account", "type": "name" }, { "name": "total_payout", "type": "asset" }, { "name": "num_validations", "type": "uint64" }, { "name": "num_outliers", "type": "uint64" }, { "name": "num_overwrites", "type": "uint64" }, { "name": "num_unpaid_validations", "type": "uint64" } ] }