
The data structures defined by this contract.
-
{ "name": "Account", "base": "", "fields": [ { "name": "boid_id", "type": "name" }, { "name": "owners", "type": "name[]" }, { "name": "auth", "type": "AccountAuth" }, { "name": "sponsors", "type": "name[]" }, { "name": "stake", "type": "AccountStake" }, { "name": "power", "type": "AccountPower" }, { "name": "team", "type": "AccountTeam" }, { "name": "balance", "type": "uint32" }, { "name": "nft_balance", "type": "uint16" }, { "name": "recoverable", "type": "bool" } ] } Struct property of Account
{ "name": "AccountAuth", "base": "", "fields": [ { "name": "keys", "type": "public_key[]" }, { "name": "nonce", "type": "uint8" } ] }Struct property of AccountPower
{ "name": "AccountBooster", "base": "", "fields": [ { "name": "pwr_multiplier", "type": "uint8" }, { "name": "pwr_add_per_round", "type": "uint16" }, { "name": "expires_round", "type": "uint16" }, { "name": "aggregate_pwr_remaining", "type": "uint32" } ] }Struct property of Account
{ "name": "AccountPower", "base": "", "fields": [ { "name": "last_claimed_round", "type": "uint16" }, { "name": "last_added_round", "type": "uint16" }, { "name": "rating", "type": "uint16" }, { "name": "history", "type": "uint16[]" }, { "name": "boosters", "type": "AccountBooster[]" } ] }Struct property of Account
{ "name": "AccountStake", "base": "", "fields": [ { "name": "unstaking", "type": "TokenUnstake[]" }, { "name": "self_staked", "type": "uint32" }, { "name": "received_delegated_stake", "type": "uint16" } ] }Struct property of Account
{ "name": "AccountTeam", "base": "", "fields": [ { "name": "team_id", "type": "uint8" }, { "name": "last_edit_round", "type": "uint16" }, { "name": "team_tax_mult", "type": "uint8" }, { "name": "team_cumulative_contribution", "type": "uint32" } ] }-
{ "name": "BoincMeta", "base": "", "fields": [ { "name": "protocol_id", "type": "uint64" }, { "name": "url", "type": "string" }, { "name": "teamId", "type": "uint64" }, { "name": "meta", "type": "bytes" } ] } Struct property of PwrConfig
{ "name": "CollateralConfig", "base": "", "fields": [ { "name": "oracle_collateral_deposit_increment", "type": "uint32" }, { "name": "oracle_collateral_minimum", "type": "uint32" } ] }-
{ "name": "Config", "base": "", "fields": [ { "name": "account", "type": "ConfigAccount" }, { "name": "power", "type": "ConfigPower" }, { "name": "mint", "type": "ConfigMint" }, { "name": "team", "type": "ConfigTeam" }, { "name": "stake", "type": "ConfigStake" }, { "name": "time", "type": "ConfigTime" }, { "name": "auth", "type": "ConfigAuth" }, { "name": "nft", "type": "ConfigNft" }, { "name": "paused", "type": "bool" }, { "name": "allow_deposits", "type": "bool" }, { "name": "allow_withdrawals", "type": "bool" }, { "name": "recoveryAccount", "type": "name" } ] } Struct property of Config
{ "name": "ConfigAccount", "base": "", "fields": [ { "name": "invite_price", "type": "uint32" }, { "name": "premium_purchase_price", "type": "uint32" }, { "name": "max_premium_prefix", "type": "uint8" }, { "name": "max_owners", "type": "uint8" }, { "name": "max_boosters", "type": "uint8" }, { "name": "suffix_whitelist", "type": "name[]" }, { "name": "remove_sponsor_price", "type": "uint32" }, { "name": "sponsor_max_invite_codes", "type": "uint8" }, { "name": "invite_code_expire_rounds", "type": "uint16" } ] }Struct property of Config
{ "name": "ConfigAuth", "base": "", "fields": [ { "name": "key_actions_whitelist", "type": "name[]" }, { "name": "key_account_max_stake", "type": "uint32" }, { "name": "key_account_max_balance", "type": "uint32" }, { "name": "account_max_keys", "type": "uint8" }, { "name": "worker_max_bill_per_action", "type": "uint32" } ] }Struct property of Config
{ "name": "ConfigMint", "base": "", "fields": [ { "name": "round_powered_stake_mult", "type": "float32" }, { "name": "round_power_mult", "type": "float32" } ] }-
{ "name": "ConfigNft", "base": "", "fields": [ { "name": "boid_id_maximum_nfts", "type": "uint16" }, { "name": "whitelist_collections", "type": "name[]" } ] } Struct property of Config
{ "name": "ConfigPower", "base": "", "fields": [ { "name": "sponsor_tax_mult", "type": "float32" }, { "name": "powered_stake_mult", "type": "float32" }, { "name": "claim_maximum_elapsed_rounds", "type": "uint16" }, { "name": "soft_max_pwr_add", "type": "uint16" }, { "name": "history_slots_length", "type": "uint8" } ] }Struct property of Config
{ "name": "ConfigStake", "base": "", "fields": [ { "name": "unstake_rounds", "type": "uint8" }, { "name": "extra_stake_min_locked_rounds", "type": "uint8" } ] }Struct property of Config
{ "name": "ConfigTeam", "base": "", "fields": [ { "name": "change_min_rounds", "type": "uint16" }, { "name": "edit_team_min_rounds", "type": "uint16" }, { "name": "team_edit_max_pct_change", "type": "uint16" }, { "name": "buy_team_cost", "type": "uint32" }, { "name": "owner_stake_required", "type": "uint32" }, { "name": "owner_future_stake_lock_rounds_required", "type": "uint16" } ] }Struct property of Config
{ "name": "ConfigTime", "base": "", "fields": [ { "name": "rounds_start_sec_since_epoch", "type": "uint32" }, { "name": "round_length_sec", "type": "uint32" } ] }Struct property of PwrConfig
{ "name": "ConsensusConfig", "base": "", "fields": [ { "name": "min_weight", "type": "uint32" }, { "name": "min_weight_pct", "type": "float32" }, { "name": "merge_deviation_pct", "type": "float32" } ] }-
{ "name": "Oracle", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "weight", "type": "uint8" }, { "name": "collateral", "type": "OracleCollateral" }, { "name": "funds", "type": "OracleFunds" }, { "name": "standby", "type": "bool" }, { "name": "last_standby_toggle_round", "type": "uint16" } ] } Struct property of Oracle
{ "name": "OracleCollateral", "base": "", "fields": [ { "name": "locked", "type": "uint32" }, { "name": "unlocking", "type": "uint32" }, { "name": "slashed", "type": "uint32" }, { "name": "unlock_finished_round", "type": "uint16" }, { "name": "min_unlock_start_round", "type": "uint16" } ] }Struct property of Oracle
{ "name": "OracleFunds", "base": "", "fields": [ { "name": "claimed", "type": "uint32" }, { "name": "unclaimed", "type": "uint32" }, { "name": "withdrawing", "type": "uint32" }, { "name": "withdrawable_after_round", "type": "uint16" } ] }Table row type of oraclestats
{ "name": "OracleStat", "base": "", "fields": [ { "name": "round", "type": "uint16" }, { "name": "weight", "type": "uint8" }, { "name": "reports", "type": "Reports" }, { "name": "processed", "type": "bool" } ] }Struct property of PwrConfig
{ "name": "PaymentConfig", "base": "", "fields": [ { "name": "collateral_pct_pay_per_round_mult", "type": "float32" }, { "name": "round_bonus_pay_reports", "type": "uint32" }, { "name": "round_bonus_pay_proposed", "type": "uint32" }, { "name": "reports_proposed_adjust_pwr", "type": "float32" }, { "name": "num_oracles_adjust_base", "type": "float32" } ] }-
{ "name": "Protocol", "base": "", "fields": [ { "name": "protocol_id", "type": "uint64" }, { "name": "protocol_name", "type": "name" }, { "name": "unitPowerMult", "type": "float32" }, { "name": "active", "type": "bool" } ] } -
{ "name": "PwrConfig", "base": "", "fields": [ { "name": "paused", "type": "bool" }, { "name": "consensus", "type": "ConsensusConfig" }, { "name": "payment", "type": "PaymentConfig" }, { "name": "slashLow", "type": "SlashConfig" }, { "name": "slashMed", "type": "SlashConfig" }, { "name": "slashHigh", "type": "SlashConfig" }, { "name": "waits", "type": "WaitConfig" }, { "name": "collateral", "type": "CollateralConfig" }, { "name": "keep_finalized_stats_rows", "type": "uint32" }, { "name": "standby_toggle_interval_rounds", "type": "uint16" }, { "name": "reports_accumulate_weight_round_pct", "type": "float32" } ] } -
{ "name": "PwrGlobal", "base": "", "fields": [ { "name": "reporting_round", "type": "uint16" }, { "name": "active_oracles", "type": "name[]" }, { "name": "expected_active_oracles", "type": "name[]" }, { "name": "expected_active_weight", "type": "uint16" }, { "name": "active_weight", "type": "uint16" } ] } -
{ "name": "PwrReport", "base": "", "fields": [ { "name": "protocol_id", "type": "uint8" }, { "name": "round", "type": "uint16" }, { "name": "units", "type": "uint32" } ] } -
{ "name": "PwrReportRow", "base": "", "fields": [ { "name": "proposer", "type": "name" }, { "name": "report", "type": "PwrReport" }, { "name": "approvals", "type": "name[]" }, { "name": "approval_weight", "type": "uint16" } ] } Table row type of reported
{ "name": "ReportedRow", "base": "", "fields": [ { "name": "round", "type": "uint16" }, { "name": "protocol_ids", "type": "bytes" } ] }-
{ "name": "Reports", "base": "", "fields": [ { "name": "proposed", "type": "uint32" }, { "name": "reported_or_merged", "type": "uint32" }, { "name": "unreported_unmerged", "type": "uint32" } ] } -
{ "name": "RoundCommit", "base": "", "fields": [ { "name": "round_commit_id", "type": "uint64" }, { "name": "protocol_id", "type": "uint8" }, { "name": "round", "type": "uint16" }, { "name": "boid_id", "type": "name" } ] } Struct property of PwrConfig
{ "name": "SlashConfig", "base": "", "fields": [ { "name": "slash_quantity_static", "type": "uint32" }, { "name": "slash_quantity_collateral_pct", "type": "float32" } ] }Struct property of AccountStake
{ "name": "TokenUnstake", "base": "", "fields": [ { "name": "redeemable_after_round", "type": "uint16" }, { "name": "quantity", "type": "uint32" } ] }Struct property of PwrConfig
{ "name": "WaitConfig", "base": "", "fields": [ { "name": "withdraw_rounds_wait", "type": "uint16" }, { "name": "collateral_unlock_wait_rounds", "type": "uint16" } ] }-
{ "name": "addcommit", "base": "", "fields": [ { "name": "oracle", "type": "name" }, { "name": "commit", "type": "RoundCommit" } ] } -
{ "name": "addreport", "base": "", "fields": [ { "name": "oracle", "type": "name" }, { "name": "report", "type": "PwrReportRow" } ] } Action parameter in boincclear
{ "name": "boincclear", "base": "", "fields": [] }-
{ "name": "boincset", "base": "", "fields": [ { "name": "boincMeta", "type": "BoincMeta" } ] } Action parameter in commitsclean
{ "name": "commitsclean", "base": "", "fields": [ { "name": "scope", "type": "name" }, { "name": "round", "type": "uint16" } ] }Action parameter in commitsclear
{ "name": "commitsclear", "base": "", "fields": [ { "name": "scope", "type": "name" } ] }Action parameter in configclear
{ "name": "configclear", "base": "", "fields": [] }-
{ "name": "configset", "base": "", "fields": [ { "name": "config", "type": "PwrConfig" } ] } Action parameter in finalround
{ "name": "finalround", "base": "", "fields": [] }Action parameter in finishreport
{ "name": "finishreport", "base": "", "fields": [ { "name": "boid_id_scope", "type": "name" }, { "name": "pwrreport_id", "type": "uint64" } ] }Action parameter in globalclear
{ "name": "globalclear", "base": "", "fields": [] }-
{ "name": "globalset", "base": "", "fields": [ { "name": "global", "type": "PwrGlobal" } ] } Action parameter in mergereports
{ "name": "mergereports", "base": "", "fields": [ { "name": "boid_id_scope", "type": "name" }, { "name": "pwrreport_ids", "type": "uint64[]" } ] }Action parameter in oracldeposit
{ "name": "oracldeposit", "base": "", "fields": [ { "name": "oracle", "type": "name" }, { "name": "depositQuantity", "type": "uint32" } ] }Action parameter in oraclesclear
{ "name": "oraclesclear", "base": "", "fields": [] }-
{ "name": "oracleset", "base": "", "fields": [ { "name": "oracle", "type": "name" }, { "name": "weight", "type": "uint8" }, { "name": "adding_collateral", "type": "uint32" } ] } Action parameter in ostatsclean
{ "name": "ostatsclean", "base": "", "fields": [ { "name": "scope", "type": "name" } ] }Action parameter in ostatsclear
{ "name": "ostatsclear", "base": "", "fields": [ { "name": "scope", "type": "name" } ] }-
{ "name": "payoracle", "base": "", "fields": [ { "name": "oracle", "type": "name" }, { "name": "basePay", "type": "uint32" }, { "name": "bonusPay", "type": "uint32" }, { "name": "round", "type": "uint16" }, { "name": "reports", "type": "Reports" } ] } Action parameter in payoutround
{ "name": "payoutround", "base": "", "fields": [ { "name": "oracle", "type": "name" }, { "name": "round", "type": "uint16" } ] }Action parameter in protoclear
{ "name": "protoclear", "base": "", "fields": [] }-
{ "name": "protoset", "base": "", "fields": [ { "name": "protocol", "type": "Protocol" } ] } -
{ "name": "pwrreport", "base": "", "fields": [ { "name": "oracle", "type": "name" }, { "name": "boid_id_scope", "type": "name" }, { "name": "report", "type": "PwrReport" } ] } Action parameter in reportsclean
{ "name": "reportsclean", "base": "", "fields": [ { "name": "scope", "type": "name" } ] }Action parameter in reportsclear
{ "name": "reportsclear", "base": "", "fields": [ { "name": "scope", "type": "name" } ] }Action parameter in reportsent
{ "name": "reportsent", "base": "", "fields": [ { "name": "report", "type": "PwrReportRow" }, { "name": "adding_power", "type": "uint16" }, { "name": "target_boid_id", "type": "name" } ] }Action parameter in reprtedclean
{ "name": "reprtedclean", "base": "", "fields": [ { "name": "scope", "type": "name" } ] }Action parameter in roundcommit
{ "name": "roundcommit", "base": "", "fields": [ { "name": "oracle", "type": "name" }, { "name": "boid_id", "type": "name" }, { "name": "protocol_id", "type": "uint8" }, { "name": "round", "type": "uint16" } ] }Action parameter in setstandby
{ "name": "setstandby", "base": "", "fields": [ { "name": "oracle", "type": "name" }, { "name": "standby", "type": "bool" } ] }-
{ "name": "setweight", "base": "", "fields": [ { "name": "oracle", "type": "name" }, { "name": "weight", "type": "uint8" } ] } -
{ "name": "slashhigh", "base": "", "fields": [ { "name": "oracle", "type": "name" } ] } -
{ "name": "slashlow", "base": "", "fields": [ { "name": "oracle", "type": "name" } ] } -
{ "name": "slashmed", "base": "", "fields": [ { "name": "oracle", "type": "name" } ] } Action parameter in slashoracle
{ "name": "slashoracle", "base": "", "fields": [ { "name": "oracle", "type": "name" }, { "name": "quantity", "type": "uint32" } ] }-
{ "name": "thisround", "base": "", "fields": [] } -
{ "name": "unlock", "base": "", "fields": [ { "name": "oracle", "type": "name" } ] } Action parameter in unlockinit
{ "name": "unlockinit", "base": "", "fields": [ { "name": "oracle", "type": "name" } ] }-
{ "name": "withdraw", "base": "", "fields": [ { "name": "oracle", "type": "name" } ] } Action parameter in withdrawinit
{ "name": "withdrawinit", "base": "", "fields": [ { "name": "oracle", "type": "name" } ] }