Versions in this module Expand all Collapse all v0 v0.0.2 May 7, 2021 v0.0.1 May 7, 2021 Changes in this version + func RunProgram(testFn func() error) error + type Program struct + func NewProgram() *Program + func (p *Program) AddAll(data []byte) + func (p *Program) Bytecode() []byte + func (p *Program) Call(gas *big.Int, address, value, inOffset, inSize, outOffset, outSize interface{}) + func (p *Program) CallCode(gas *big.Int, address, value, inOffset, inSize, outOffset, outSize interface{}) + func (p *Program) CreateAndCall(code []byte, isCreate2 bool, callOp ops.OpCode) + func (p *Program) Hex() string + func (p *Program) InputAddressToStack(inputOffset uint32) + func (p *Program) Jump(loc interface{}) + func (p *Program) JumpIf(loc interface{}, condition interface{}) + func (p *Program) JumpSub(loc interface{}) + func (p *Program) Jumpdest() uint64 + func (p *Program) Label() uint64 + func (p *Program) MemToStorage(memStart, memSize, startSlot int) + func (p *Program) Mstore(data []byte, memStart uint32) + func (p *Program) Op(op ops.OpCode) + func (p *Program) Push(val interface{}) *Program + func (p *Program) Return(offset, len uint32) + func (p *Program) ReturnData(data []byte) + func (p *Program) Size() int + func (p *Program) Sstore(slot interface{}, value interface{}) + func (p *Program) StaticCall(gas *big.Int, address, inOffset, inSize, outOffset, outSize interface{})