Expand description
TODO docs
Re-exports§
pub use eosio_cdt_sys as sys;
Macros§
- Prints arbitrary data to the nodeos console
Structs§
- Primary
Table Cursor - Cursor for a primary table index
- Primary
Table Iterator - Iterator for a
PrimaryTableIndex - Secondary
Table Cursor - Cursor for a
SecondaryTableIndex - Secondary
Table Iterator - Iterate over a secondary table index
- Singleton
Index - TODO docs
Enums§
Traits§
- Check
- Into
Native Secondary Key - Trait for types that can be turned into types that are native secondary keys
- Native
Secondary Key - Trait for types that are natively supported by EOSIO to be used as secondary keys
- Primary
Table Index Ext - Trait for functions of a
PrimaryTableIndexthat only apply within a smart contract - Trait for types that can be printed from within EOSIO smart contracts
- Table
Cursor - Table Cursor
- Table
Index - Table index
- Table
Iterator - Table iterator
Functions§
- active_
producers - Gets the top 21 producers
- assert_
ripemd160 - Tests if the RIPEMD160 hash generated from data matches the provided digest.
- assert_
sha1 - Tests if the SHA1 hash generated from data matches the provided digest.
- assert_
sha256 - Tests if the SHA256 hash generated from data matches the provided digest.
- assert_
sha512 - Tests if the SHA512 hash generated from data matches the provided digest.
- cancel_
deferred - Cancels a deferred transaction
- check
- Aborts processing of this action and unwinds all pending changes if the test condition is true
- check_
code - Aborts processing of this action and unwinds all pending changes if the test condition is true
- creation_
time - Returns the creation time of an account
- current_
block_ time - Gets the current time as a block timestamp
- current_
data_ stream - Get a
DataStreamof the current action data - current_
receiver - Get the current receiver of the action.
- current_
time_ point - Returns the time in microseconds from 1970 of the current block as a
TimePoint - current_
time_ point_ sec - Gets the current time as seconds
- eosio_
exit - This method will abort execution of wasm without failing the contract. This is used to bypass all cleanup / destructors that would normally be called.
- expiration
- Gets the expiration time
- get_
blockchain_ parameters - Retrieve the blolckchain parameters
- get_
resource_ limits - Get the resource limits of an account
- has_
auth - Verifies that
namename has auth. - has_
transaction_ authority - Checks if a transaction is authorized by a provided set of keys and permissions
- has_
transaction_ authority_ bytes - Checks if a transaction is authorized by a provided set of keys and permissions
- is_
account - Verifies that
nameis an account. - is_
feature_ activated - is_
privileged - Check if an account is privileged
- permission_
last_ used - Returns the last used time of a permission
- preactivate_
feature - publication
- Gets the publication time
- read_
action_ data - Reads action data
- require_
auth - Verifies that
nameexists in the set of provided auths on a action. Throws if not found. - require_
level - require_
perm - require_
permission - Verifies that
nameexists in the set of provided auths on a action. Throws if not found. - require_
recipient - Add the specified account to set of accounts to be notified
- ripemd160
- Hashes
datausing RIPEMD160. - send_
context_ free_ inline_ action - Sends a context free inline action.
- send_
deferred - Sends a deferred transaction
- send_
deferred_ bytes - Sends a deferred transaction from raw bytes.
- send_
inline_ action - Sends an inline action.
- set_
blockchain_ parameters - Set the blockchain parameters
- set_
privileged - Set the privileged status of an account
- set_
proposed_ producers - Proposes a schedule change
- set_
resource_ limits - Set the resource limits of an account
- sha1
- Hashes
datausing SHA1. - sha256
- Hashes
datausing SHA256. - sha512
- Hashes
datausing SHA512.