Crate rust_chain

Source

Re-exports§

pub use self::transaction::TransactionExtension;
pub use self::transaction::Transaction;
pub use serializer::Encoder;
pub use serializer::Decoder;
pub use serializer::Packer;
pub use db::PrimaryValueInterface;
pub use db::SecondaryValueInterface;
pub use db::Secondary;
pub use db::Iterator;
pub use db::SecondaryIterator;
pub use db::SecondaryValue;
pub use db::TableI64;
pub use db::Idx64Table;
pub use db::Idx128Table;
pub use db::Idx256Table;
pub use db::IdxF64Table;
pub use db::IdxF128Table;
pub use db::IdxTable;
pub use db::IdxTableProxy;
pub use asset::Asset;
pub use asset::Symbol;
pub use crypto::assert_sha256;
pub use crypto::assert_sha1;
pub use crypto::assert_sha512;
pub use crypto::assert_ripemd160;
pub use crypto::sha256;
pub use crypto::sha1;
pub use crypto::sha512;
pub use crypto::ripemd160;
pub use crypto::recover_key;
pub use crypto::assert_recover_key;
pub use name::SAME_PAYER;
pub use name::ACTIVE;
pub use name::OWNER;
pub use name::CODE;
pub use action::PermissionLevel;
pub use action::Action;
pub use binary_extension::BinaryExtension;
pub use chaintester;
pub use eosio_scale_info;
pub use self::structs::*;
pub use intrinsic_abi_types::*;

Modules§

abi
action
asset
binary_extension
borrow
A module for working with borrowed data.
boxed
The Box<T> type for heap allocation.
collections
Collection types.
crypto
db
intrinsic_abi_types
mi
mi_not_generic
name
print
rc
Single-threaded reference-counting pointers. ‘Rc’ stands for ‘Reference Counted’.
serializer
string
A UTF-8–encoded, growable string.
structs
transaction
utils
varint
vec
A contiguous growable array type with heap-allocated contents, written Vec<T>.
vmapi

Macros§

chain_println
eosio_print
format
Creates a String using interpolation of runtime expressions.
name
vec
Creates a Vec containing the arguments.

Structs§

ChainTester

Functions§

action_data_size
cancel_deferred
check
check_permission_authorization
Checks if a permission is authorized by a provided delay and a provided set of keys and permissions
check_transaction_authorization
Checks if a transaction is authorized by a provided set of keys and permissions
current_receiver
current_time
eosio_assert_code
eosio_exit
expiration
get_account_creation_time
get_action
get_active_producers
get_block_num
get_blockchain_parameters
get_context_free_data
get_permission_last_used
get_resource_limits
return resource limits of ram, net, and cpu.
get_sender
has_auth
is_account
is_feature_activated
is_privileged
preactivate_feature
publication_time
read_action_data
read_transaction
require_auth
require_auth2
require_recipient
send_context_free_inline
send_deferred
send_inline
set_action_return_value
set_blockchain_parameters
set_privileged
set_proposed_producers
set_proposed_producers_ex
set_resource_limits
tapos_block_num
tapos_block_prefix
transaction_size

Attribute Macros§

contract