hara.runtime.solidity.client

+init+

check-node-connection

added in 4.0

(check-node-connection {:keys [node], :as rt})

checks that the node connection is present

contract-fn-name

added in 4.0

(contract-fn-name ptr)

gets the name of a pointer

create-web3-node

added in 4.0

(create-web3-node {:keys [id lang url], :as rt})

creates the node runtime

invoke-ptr-web3

added in 4.0

(invoke-ptr-web3 {:keys [mode], :as rt} ptr args)

invokes the runtime, deploying the contract if not available

invoke-ptr-web3-call

added in 4.0

(invoke-ptr-web3-call rt ptr args)

invokes a deployed method

invoke-ptr-web3-check

added in 4.0

(invoke-ptr-web3-check contract fn-name args)

checks that arguments are correct

raw-eval-web3

added in 4.0

(raw-eval-web3 {:keys [id lang], :as rt} body)

disables raw-eval for solidity

rt-web3

added in 4.0

(rt-web3 {:keys [id lang], :as m})

creates an starts a runtime

rt-web3-string

added in 4.0

(rt-web3-string {:keys [id lang config node]})

gets the runtime string

rt-web3:create

added in 4.0

(rt-web3:create {:keys [id lang], :as m})

creates a runtime

start-web3

added in 4.0

(start-web3 {:keys [id lang config], :as rt})

starts the solidity rt

stop-web3

added in 4.0

(stop-web3 {:keys [id lang bench container], :as rt})

stops the solidity rt