Tests a given public key with the generated key from digest and the signature.
@brief Tests a given public key with the generated key from digest and the signature.
Tests if the ripemod160 hash generated from data matches the provided checksum.
@brief Tests if the ripemod160 hash generated from data matches the provided checksum.
Tests if the sha1 hash generated from data matches the provided checksum.
This method is optimized to a NO-OP when in fast evaluation mode.
@brief Tests if the sha1 hash generated from data matches the provided checksum.
Tests if the sha256 hash generated from data matches the provided checksum.
This method is optimized to a NO-OP when in fast evaluation mode.
@brief Tests if the sha256 hash generated from data matches the provided checksum.
Tests if the sha512 hash generated from data matches the provided checksum.
This method is optimized to a NO-OP when in fast evaluation mode.
@brief Tests if the sha512 hash generated from data matches the provided checksum.
Get the current receiver of the action
@brief Get the current receiver of the action
@return the account which specifies the current receiver of the action
Returns the time in microseconds from 1970 of the current block
@brief Get time of the current block (i.e. the block including this action)
@return time in microseconds from 1970 of the current block
Find the table row in a secondary 64-bit integer index table that matches the lowerbound condition for a given secondary key
The table row that matches the lowerbound condition is the first table row in the table with the lowest secondary key that is >= the given key
Find the table row in a secondary 64-bit integer index table that matches the upperbound condition for a given secondary key
The table row that matches the upperbound condition is the first table row in the table with the lowest secondary key that is > the given key
Find the table row in a secondary 128-bit integer index table that matches the lowerbound condition for a given secondary key
The table row that matches the lowerbound condition is the first table row in the table with the lowest secondary key that is >= the given key
Find the table row in a secondary 128-bit integer index table that matches the upperbound condition for a given secondary key
The table row that matches the upperbound condition is the first table row in the table with the lowest secondary key that is > the given key
Find the table row in a secondary 256-bit index table that matches the lowerbound condition for a given secondary key
The table row that matches the lowerbound condition is the first table row in the table with the lowest secondary key that is >= the given key (uses lexicographical ordering on the 256-bit keys)
Find the table row in a secondary 256-bit index table that matches the upperbound condition for a given secondary key
The table row that matches the upperbound condition is the first table row in the table with the lowest secondary key that is > the given key (uses lexicographical ordering on the 256-bit keys)
Find the table row in a secondary double-precision floating-point index table that matches the lowerbound condition for a given secondary key
The table row that matches the lowerbound condition is the first table row in the table with the lowest secondary key that is >= the given key
Find the table row in a secondary double-precision floating-point index table that matches the upperbound condition for a given secondary key
The table row that matches the upperbound condition is the first table row in the table with the lowest secondary key that is > the given key
Find the table row in a secondary quadruple-precision floating-point index table that matches the lowerbound condition for a given secondary key
The table row that matches the lowerbound condition is the first table row in the table with the lowest secondary key that is >= the given key
Store an association of a quadruple-precision floating-point secondary key to a primary key in a secondary quadruple-precision floating-point index table
Update an association for a quadruple-precision floating-point secondary key to a primary key in a secondary quadruple-precision floating-point index table
Find the table row in a secondary quadruple-precision floating-point index table that matches the upperbound condition for a given secondary key
The table row that matches the upperbound condition is the first table row in the table with the lowest secondary key that is > the given key
Find the table row in a primary 64-bit integer index table that matches the lowerbound condition for a given primary key
The table row that matches the lowerbound condition is the first table row in the table with the lowest primary key that is >= the given key
Find the table row in a primary 64-bit integer index table that matches the upperbound condition for a given primary key
The table row that matches the upperbound condition is the first table row in the table with the lowest primary key that is > the given key
Aborts processing of this action and unwinds all pending changes if the test condition is true
@brief Aborts processing of this action and unwinds all pending changes
@param test - 0 to abort, 1 to ignore
Aborts processing of this action and unwinds all pending changes if the test condition is true
@brief Aborts processing of this action and unwinds all pending changes
@param test - 0 to abort, 1 to ignore
@param code - the error code
Aborts processing of this action and unwinds all pending changes if the test condition is true
@brief Aborts processing of this action and unwinds all pending changes
@param test - 0 to abort, 1 to ignore
@param msg - a pointer to the start of string explaining the reason for failure
@param msg_len - length of the string
This method will abort execution of wasm without failing the contract. This is used to bypass all cleanup / destructors that would normally be called.
@brief Aborts execution of wasm without failing the contract
@param code - the exit code
Example:
@brief Retrieve the blolckchain parameters
Retrieve the blolckchain parameters
@param data - output buffer of the blockchain parameters, only retrieved if sufficent size to hold packed data.
@param datalen - size of the data buffer, 0 to report required size.
@return size of the blockchain parameters
@pre data is a valid pointer to a range of memory at least datalen bytes long
@post data is filled with packed blockchain parameters
@brief Get the resource limits of an account
Get the resource limits of an account
@param account - name of the account whose resource limit to get
@param ram_bytes - pointer to int64_t to hold retrieved ram limit in absolute bytes
@param net_weight - pointer to int64_t to hold net limit
@param cpu_weight - pointer to int64_t to hold cpu limit
@brief Check if an account is privileged
Check if an account is privileged
@param account - name of the account to be checked
@return true if the account is privileged
@return false if the account is not privileged
Prints value as double-precision floating point number
@brief Prints value as double-precision floating point number (i.e. double)
@param value of double to be printed
Prints value as a 128 bit signed integer
@brief Prints value as a 128 bit signed integer
@param value is a pointer to the 128 bit signed integer to be printed
Prints value as quadruple-precision floating point number
@brief Prints value as quadruple-precision floating point number (i.e. long double)
@param value is a pointer to the long double to be printed
Prints value as single-precision floating point number
@brief Prints value as single-precision floating point number (i.e. float)
@param value of float to be printed
Prints value as a 128 bit unsigned integer
@brief Prints value as a 128 bit unsigned integer
@param value is a pointer to the 128 bit unsigned integer to be printed
Returns the time in microseconds from 1970 of the publication_time
@brief Get the publication time
@return the time in microseconds from 1970 of the publication_time
Calculates the public key used for a given signature and hash used to create a message.
@brief Calculates the public key used for a given signature and hash used to create a message.
Hashes data using ripemod160 and stores result in memory pointed to by hash.
@brief Hashes data using ripemod160 and stores result in memory pointed to by hash.
@brief Set new active producers
Set new active producers. Producers will only be activated once the block which starts the next round is irrreversible
@param producer_data - pointer to producer schedule packed as bytes
@param producer_data_size - size of the packed producer schedule
@pre producer_data is a valid pointer to a range of memory at least producer_data_size bytes long that contains serialized produced schedule data
@brief Set the blockchain parameters
Set the blockchain parameters
@param data - pointer to blockchain parameters packed as bytes
@param datalen - size of the packed blockchain parameters
@pre data is a valid pointer to a range of memory at least datalen bytes long that contains packed blockchain params data
@brief Set the privileged status of an account
Set the privileged status of an account
@param account - name of the account whose privileged account to be set
@param is_priv - privileged status
Proposes a schedule change, once the block that contains the proposal becomes irreversible, the schedule is promoted to “pending” automatically. Once the block that promotes the schedule is irreversible, the schedule will become “active”
@param producer_data - packed data of produce_keys in the appropriate producer schedule order
@param producer_data_size - size of the data buffer
@brief Set the resource limits of an account
Set the resource limits of an account
@param account - name of the account whose resource limit to be set
@param ram_bytes - ram limit in absolute bytes
@param net_weight - fractionally proportionate net limit of available resources based on (weight / total_weight_of_all_accounts)
@param cpu_weight - fractionally proportionate cpu limit of available resources based on (weight / total_weight_of_all_accounts)
Hashes data using sha256 and stores result in memory pointed to by hash.
@brief Hashes data using sha256 and stores result in memory pointed to by hash.
Hashes data using sha512 and stores result in memory pointed to by hash.
@brief Hashes data using sha512 and stores result in memory pointed to by hash.