3#include <sysio/action.hpp>
4#include <sysio/crypto.hpp>
5#include <sysio/sysio.hpp>
6#include <sysio/fixed_bytes.hpp>
7#include <sysio/privileged.hpp>
8#include <sysio/producer_schedule.hpp>
12 using sysio::action_wrapper;
14 using sysio::checksum256;
46 std::vector<key_weight>
keys;
74 class [[sysio::contract(
"sysio.bios")]]
bios :
public sysio::contract {
76 using contract::contract;
92 ignore<authority> owner,
93 ignore<authority> active){}
104 ignore<name> permission,
106 ignore<authority> auth ) {}
116 ignore<name> permission ) {}
137 ignore<name> requirement ) {}
149 ignore<name> type ) {}
158 void canceldelay( ignore<permission_level> canceling_auth, ignore<checksum256> trx_id ) {}
180 void setabi(
name account,
const std::vector<char>& abi );
191 void onerror( ignore<uint128_t> sender_id, ignore<std::vector<char>> sent_trx );
221 void setprods(
const std::vector<sysio::producer_authority>& schedule );
229 void setparams(
const sysio::blockchain_parameters&
params );
238 void reqauth(
name from );
246 void activate(
const sysio::checksum256& feature_digest );
254 void reqactivated(
const sysio::checksum256& feature_digest );
261 SYSLIB_SERIALIZE(
abi_hash, (owner)(hash) )
contains only the public point of an elliptic curve key.
action_wrapper<"updateauth"_n, &bios::updateauth > updateauth_action
void unlinkauth(ignore< name > account, ignore< name > code, ignore< name > type)
void updateauth(ignore< name > account, ignore< name > permission, ignore< name > parent, ignore< authority > auth)
action_wrapper<"setpriv"_n, &bios::setpriv > setpriv_action
action_wrapper<"reqactivated"_n, &bios::reqactivated > reqactivated_action
void newaccount(name creator, name name, ignore< authority > owner, ignore< authority > active)
void canceldelay(ignore< permission_level > canceling_auth, ignore< checksum256 > trx_id)
void linkauth(ignore< name > account, ignore< name > code, ignore< name > type, ignore< name > requirement)
action_wrapper<"canceldelay"_n, &bios::canceldelay > canceldelay_action
action_wrapper<"setalimits"_n, &bios::setalimits > setalimits_action
action_wrapper<"linkauth"_n, &bios::linkauth > linkauth_action
action_wrapper<"newaccount"_n, &bios::newaccount > newaccount_action
action_wrapper<"activate"_n, &bios::activate > activate_action
action_wrapper<"setabi"_n, &bios::setabi > setabi_action
action_wrapper<"setparams"_n, &bios::setparams > setparams_action
void setcode(name account, uint8_t vmtype, uint8_t vmversion, const std::vector< char > &code)
action_wrapper<"setprods"_n, &bios::setprods > setprods_action
void deleteauth(ignore< name > account, ignore< name > permission)
action_wrapper<"reqauth"_n, &bios::reqauth > reqauth_action
action_wrapper<"unlinkauth"_n, &bios::unlinkauth > unlinkauth_action
action_wrapper<"setcode"_n, &bios::setcode > setcode_action
sysio::multi_index< "abihash"_n, abi_hash > abi_hash_table
action_wrapper<"deleteauth"_n, &bios::deleteauth > deleteauth_action
unsigned __int64 uint64_t
Immutable except for fc::from_variant.
std::vector< key_weight > keys
std::vector< permission_level_weight > accounts
std::vector< wait_weight > waits
uint64_t primary_key() const
permission_level permission
account_query_db::get_accounts_by_authorizers_params params