COOPENOMICS  v1
Кооперативная Экономика
Класс eosio::wrap

#include <eosio.wrap.hpp>

Граф наследования:eosio::wrap:

Открытые типы

using exec_action = eosio::action_wrapper<"exec"_n, &wrap::exec >
 

Открытые члены

void exec (ignore< name > executer, ignore< transaction > trx)
 Выполняет транзакцию, обходя обычные проверки авторизации. Подробнее...
 

Подробное описание

The eosio.wrap system contract allows block producers to bypass authorization checks or run privileged actions with 15/21 producer approval and thus simplifies block producers superuser actions. It also makes these actions easier to audit.

It does not give block producers any additional powers or privileges that do not already exist within the EOSIO based blockchains. As it is implemented, in an EOSIO based blockchain, 15/21 block producers can change an account's permissions or modify an account's contract code if they decided it is beneficial for the blockchain and community. However, the current method is opaque and leaves undesirable side effects on specific system accounts, and thus the eosio.wrapcontract solves this matter by providing an easier method of executing important governance actions.

The only action implemented by the eosio.wrap system contract is the exec action. This action allows for execution of a transaction, which is passed to the exec method in the form of a packed transaction in json format via the 'trx' parameter and the executer account that executes the transaction. The same executer account will also be used to pay the RAM and CPU fees needed to execute the transaction.

Определения типов

◆ exec_action

using eosio::wrap::exec_action = eosio::action_wrapper<"exec"_n, &wrap::exec>

Объявления и описания членов классов находятся в файлах: