hara.runtime.solidity.compile-node

rt-get-address

added in 4.0

(rt-get-address & [rt])

gets the address of the signer

rt-get-caller-address

added in 4.0

(rt-get-caller-address & [rt])

gets the caller address

rt-get-caller-private-key

added in 4.0

(rt-get-caller-private-key & [rt])

gets the caller private-key

rt-get-contract

added in 4.0

(rt-get-contract & [address rt])

gets the current contract

rt-get-contract-address

added in 4.0

(rt-get-contract-address & [rt])

gets the current contract address

rt-get-id

added in 4.0

(rt-get-id & [rt])

gets the rt node id

rt-get-node

added in 4.0

(rt-get-node & [rt])

gets the node runtime

rt-set-contract

added in 4.0

(rt-set-contract address m & [rt])

sets the compiled contract

rt:node-eval

added in 4.0

(rt:node-eval form & [rt])

evaluates a form in the node runtime

rt:node-get-balance

added in 4.0

(rt:node-get-balance & [address rt])

gets the current balance

rt:node-get-block-number

added in 4.0

(rt:node-get-block-number & [rt])

gets the current block number

(compile-node/rt:node-get-block-number) => number?

rt:node-past-events

added in 4.0

(rt:node-past-events name & [opts address rt])

gets past events

###_(compile-node/rt:node-past-events) => vector?

rt:node-ping

added in 4.0

(rt:node-ping & [rt])

pings the node

rt:send-wei

added in 4.0

(rt:send-wei to-address amount & [rt])

sends wei to another address

with:measure

macro

added in 4.0

(with:measure & body)

measures balance change before and after call