OtherOpcodes

opBlockNumber

function opBlockNumber(address _ctxProgram, address) public

opBlockTimestamp

function opBlockTimestamp(address _ctxProgram, address) public

opBlockChainId

function opBlockChainId(address _ctxProgram, address) public

opMsgSender

function opMsgSender(address _ctxProgram, address) public

opMsgValue

function opMsgValue(address _ctxProgram, address) public

opSetLocalBool

function opSetLocalBool(address _ctxProgram, address) public

Sets boolean variable in the application contract. The value of bool variable is taken from DSL code itself

Parameters

Name Type Description
_ctxProgram address ProgramContext contract address
address

opSetUint256

function opSetUint256(address _ctxProgram, address) public

Sets uint256 variable in the application contract. The value of the variable is taken from stack

Parameters

Name Type Description
_ctxProgram address ProgramContext contract address
address

opLoadLocalUint256

function opLoadLocalUint256(address _ctxProgram, address) public

opLoadLocalAddress

function opLoadLocalAddress(address _ctxProgram, address) public

opBool

function opBool(address _ctxProgram, address) public

opUint256

function opUint256(address _ctxProgram, address) public

opSendEth

function opSendEth(address _ctxProgram, address) public

opTransfer

function opTransfer(address _ctxProgram, address) public

Calls IER20 transfer() function and puts to stack 1

Parameters

Name Type Description
_ctxProgram address ProgramContext contract address
address

opTransferVar

function opTransferVar(address _ctxProgram, address) public

opTransferFrom

function opTransferFrom(address _ctxProgram, address) public

opTransferFromVar

function opTransferFromVar(address _ctxProgram, address) public

opBalanceOf

function opBalanceOf(address _ctxProgram, address) public

opAllowance

function opAllowance(address _ctxProgram, address) public

opMint

function opMint(address _ctxProgram, address) public

opBurn

function opBurn(address _ctxProgram, address) public

opAddressGet

function opAddressGet(address _ctxProgram, address) public returns (address)

opLoadLocal

function opLoadLocal(address _ctxProgram, string funcSignature) public

opEnableRecord

function opEnableRecord(address _ctxProgram, address) public