3#include <sysio/action.hpp>
4#include <sysio/binary_extension.hpp>
5#include <sysio/contract.hpp>
6#include <sysio/crypto.hpp>
7#include <sysio/fixed_bytes.hpp>
8#include <sysio/ignore.hpp>
9#include <sysio/print.hpp>
10#include <sysio/privileged.hpp>
11#include <sysio/producer_schedule.hpp>
15 using sysio::binary_extension;
16 using sysio::checksum256;
73 std::vector<key_weight>
keys;
114 struct [[sysio::table(
"abihash"),
sysio::contract("sysio.system")]]
abi_hash {
119 SYSLIB_SERIALIZE(
abi_hash, (owner)(hash) )
128 class [[sysio::contract(
"sysio.system")]]
native :
public sysio::contract {
131 using sysio::contract::contract;
146 void newaccount(
const name& creator,
148 ignore<authority> owner,
149 ignore<authority> active);
176 binary_extension<name> authorized_by ) {
201 binary_extension<name> authorized_by ) {
203 if (permission ==
name(
"auth.ext")) require_recipient(
name(
"auth.msg"));
239 binary_extension<name> authorized_by ) {
266 binary_extension<name> authorized_by ) {
277 void canceldelay( ignore<permission_level> canceling_auth, ignore<checksum256> trx_id ) {}
288 void onerror( ignore<uint128_t> sender_id, ignore<std::vector<char>> sent_trx );
298 void setabi(
const name& account,
const std::vector<char>& abi,
const binary_extension<std::string>& memo );
311 const binary_extension<std::string>& memo ) {}
contains only the public point of an elliptic curve key.
void setcode(const name &account, uint8_t vmtype, uint8_t vmversion, const std::vector< char > &code, const binary_extension< std::string > &memo)
sysio::action_wrapper<"updateauth"_n, &native::updateauth > updateauth_action
sysio::action_wrapper<"canceldelay"_n, &native::canceldelay > canceldelay_action
sysio::action_wrapper<"unlinkauth"_n, &native::unlinkauth > unlinkauth_action
sysio::action_wrapper<"deleteauth"_n, &native::deleteauth > deleteauth_action
void unlinkauth(name account, name code, name type, binary_extension< name > authorized_by)
sysio::action_wrapper<"setcode"_n, &native::setcode > setcode_action
void linkauth(name account, name code, name type, name requirement, binary_extension< name > authorized_by)
sysio::action_wrapper<"setabi"_n, &native::setabi > setabi_action
void deleteauth(name account, name permission, binary_extension< name > authorized_by)
void canceldelay(ignore< permission_level > canceling_auth, ignore< checksum256 > trx_id)
void updateauth(name account, name permission, name parent, authority auth, binary_extension< name > authorized_by)
sysio::action_wrapper<"linkauth"_n, &native::linkauth > linkauth_action
sysio::action_wrapper<"newaccount"_n, &native::newaccount > newaccount_action
void check_auth_change(name contract, name account, const binary_extension< name > &authorized_by)
unsigned __int64 uint64_t
Immutable except for fc::from_variant.
uint64_t primary_key() const
std::vector< wait_weight > waits
std::vector< key_weight > keys
std::vector< permission_level_weight > accounts
permission_level permission