Expand description
Declares gear protocol syscalls for WASM.
Structs§
- Represents type defining concatenated block number with hash. 36 bytes.
- Current version of execution settings.
- Represents type defining concatenated error code with gas. 12 bytes.
- Represents type defining concatenated length with handle. 8 bytes.
- Represents type defining concatenated hash with error code. 36 bytes.
- Represents type defining concatenated reply code with error code. 8 bytes.
- Represents type defining concatenated signal code with length. 8 bytes.
- Represents type defining concatenated two hashes with error code. 68 bytes.
- Type representing converter between gas and value.
- Represents type defining concatenated hash with value. 48 bytes.
- Basic struct for working with integer percentages allowing values greater than 100.
- Represents type defining concatenated two hashes. 64 bytes.
- Represents type defining concatenated two hashes with value. 80 bytes.
Functions§
- Infallible
gr_block_height
get syscall. - Infallible
gr_block_timestamp
get syscall. - Fallible
gr_create_program
send syscall. - Fallible
gr_create_program_wgas
send syscall. - Infallible
gr_debug
info syscall. - Infallible
gr_env_vars
get syscall. It leaves backend with unrecoverable error if incorrect version is passed. - Infallible
gr_exit
control syscall. - Infallible
gr_gas_available
get syscall. - Infallible
gr_leave
control syscall. - Infallible
gr_message_id
get syscall. - Infallible
gr_oom_panic
control syscall. - Infallible
gr_panic
control syscall. - Infallible
gr_program_id
get syscall. - Infallible
gr_random
calculate syscall. - Fallible
gr_read
get syscall. - Fallible
gr_reply
send syscall. - Fallible
gr_reply_code
get syscall. - Fallible
gr_reply_commit
send syscall. - Fallible
gr_reply_commit_wgas
send syscall. - Fallible
gr_reply_deposit
control syscall. - Fallible
gr_reply_input
send syscall. - Fallible
gr_reply_input_wgas
send syscall. - Fallible
gr_reply_push
send syscall. - Fallible
gr_reply_push_input
send syscall. - Fallible
gr_reply_to
get syscall. - Fallible
gr_reply_wgas
send syscall. - Fallible
gr_reservation_reply
send syscall. - Fallible
gr_reservation_reply_commit
send syscall. - Fallible
gr_reservation_send
send syscall. - Fallible
gr_reservation_send_commit
send syscall. - Fallible
gr_reserve_gas
control syscall. - Fallible
gr_send
send syscall. - Fallible
gr_send_commit
send syscall. - Fallible
gr_send_commit_wgas
send syscall. - Fallible
gr_send_init
send syscall. - Fallible
gr_send_input
send syscall. - Fallible
gr_send_input_wgas
send syscall. - Fallible
gr_send_push
send syscall. - Fallible
gr_send_push_input
send syscall. - Fallible
gr_send_wgas
send syscall. - Fallible
gr_signal_code
get syscall. - Fallible
gr_signal_from
get syscall. - Infallible
gr_size
get syscall. - Infallible
gr_source
get syscall. - Fallible
gr_system_reserve_gas
control syscall. - Fallible
gr_unreserve_gas
control syscall. - Infallible
gr_value
get syscall. - Infallible
gr_value_available
get syscall. - Infallible
gr_wait
control syscall. - Infallible
gr_wait_for
control syscall. - Infallible
gr_wait_up_to
control syscall. - Fallible
gr_wake
control syscall.
Type Aliases§
- Represents block count type.
- Represents block number type.
- Represents block number type.
- Represents byte type, which is a start of a buffer.
- Represents error code type.
- Represents gas type.
- Represents handle type.
- Represents hash type.
- Represents length type.
- Represents offset type.
- Represents reply code type.
- Represents signal code type.
- Represents byte type, which is a start of a sized buffer.
- Represents value type.