package
0.0.0-20220317225857-23afbe8623dc
Repository: https://github.com/umbracle/greenhouse.git
Documentation: pkg.go.dev

# Constants

ADD performs (u)int256 addition modulo 2**256.
ADDMOD performs (u)int256 addition modulo N.
ADDRESS returns the address of the executing contract.
AND performs 256-bit bitwise and.
BALANCE returns the address balance in wei.
BLOCKHASH returns the hash of the specific block.
BYTE returns the ith byte of (u)int256 x counting from most significant byte.
CALL calls a method in another contract.
CALLCODE calls a method in another contract.
CALLDATACOPY copies the message data.
CALLDATALOAD reads a (u)int256 from message data.
CALLDATASIZE returns the message data length in bytes.
CALLER returns the message caller address.
CALLVALUE returns the message funds in wei.
CHAINID returns the id of the chain.
CODECOPY copies the executing contract bytecode.
CODESIZE returns the length of the executing contract's code in bytes.
COINBASE returns the address of the current block's miner.
CREATE creates a child contract.
CREATE2 creates a child contract with a salt.
DELEGATECALL calls a method in another contract using the storage of the current contract.
DIFFICULTY returns the current block's difficulty.
DIV performs uint256 division.
DUP1 clones the last value on the stack.
DUP16 clones the 16th last value on the stack.
EQ performs (u)int256 equality.
EXP performs uint256 exponentiation modulo 2**256.
EXTCODECOPY copies the contract bytecode.
EXTCODEHASH returns the hash of the specified contract bytecode.
EXTCODESIZE returns the length of the contract bytecode at addr.
GAS returns the remaining gas.
GASLIMIT returns the current block's gas limit.
GASPRICE returns the gas price of the executing transaction, in wei per unit of gas.
GT performs int256 comparison.
ISZERO checks if (u)int256 is zero.
JUMP performs an unconditional jump.
JUMPDEST corresponds to a possible jump destination.
JUMPI performs a conditional jump if condition is truthy.
LOG0 fires an event without topics.
LOG1 fires an event with one topic.
LOG2 fires an event with two topics.
LOG3 fires an event with three topics.
LOG4 fires an event with four topics.
LT performs int256 comparison.
MLOAD reads a (u)int256 from memory.
MOD performs uint256 modulus.
MSIZE returns the size of memory for this contract execution, in bytes.
MSTORE writes a (u)int256 to memory.
MSTORE8 writes a uint8 to memory.
MUL performs (u)int256 multiplication modulo 2**256.
MULMOD performs (u)int256 multiplication modulo N.
NOT performs 256-bit bitwise not.
NUMBER returns the current block's number.
OR performs 256-bit bitwise or.
ORIGIN returns the transaction origin address.
PC returns the program counter.
POP pops a (u)int256 off the stack and discards it.
PUSH1 pushes a 1-byte value onto the stack.
PUSH32 pushes a 32-byte value onto the stack.
RETURN returns from this contract call.
RETURNDATACOPY copies the returned data.
RETURNDATASIZE returns the size of the returned data from the last external call in bytes.
REVERT reverts with return data.
SAR performs an arithmetic shift right.
SDIV performs int256 division.
SELFBALANCE returns the balance of the current account.
SELFDESTRUCT destroys the contract and sends all funds to addr.
SGT performs int256 comparison.
SHA3 performs the keccak256 hash function.
SHL performs a shift left.
SHR performs a logical shift right.
SIGNEXTEND performs sign extends x from (b + 1) * 8 bits to 256 bits.
SLOAD reads a (u)int256 from storage.
SLT performs int256 comparison.
SMOD performs int256 modulus.
SSTORE writes a (u)int256 to storage.
STATICCALL calls a method in another contract.
STOP halts execution of the contract.
SUB performs (u)int256 subtraction modulo 2**256.
SWAP1 swaps the last two values on the stack.
SWAP16 swaps the top of the stack with the 17th last element.
TIMESTAMP returns the current block's Unix timestamp in seconds.
XOR performs 256-bit bitwise xor.

# Variables

No description provided by the author

# Structs

No description provided by the author

# Type aliases

OpCode is the EVM operation code.