Lattice

interface Lattice

Inheritors

Functions

Link copied to clipboard
abstract fun callContract(contractAddress: String, data: String, payload: String = "0x", amount: Long = 0, joule: Long = 0): String

调用合约

Link copied to clipboard
abstract fun callContractWaitReceipt(contractAddress: String, data: String, payload: String = "0x", amount: Long = 0, joule: Long = 0, retryPolicy: RetryPolicy<Throwable> = RetryStrategy.defaultFixedIntervalRetry()): Receipt

调用合约并且等待回执

Link copied to clipboard
abstract fun deployContract(data: String, payload: String = "0x", amount: Long = 0, joule: Long = 0): String

部署合约

Link copied to clipboard
abstract fun deployContractWaitReceipt(data: String, payload: String = "0x", amount: Long = 0, joule: Long = 0, retryPolicy: RetryPolicy<Throwable> = RetryStrategy.defaultFixedIntervalRetry()): Receipt

部署合约并等待回执

Link copied to clipboard
abstract fun preCallContract(contractAddress: String, data: String, payload: String = "0x", amount: Long = 0, joule: Long = 0): Receipt

预调用合约

Link copied to clipboard
abstract fun transfer(linker: String, payload: String = "0x", amount: Long = 0, joule: Long = 0): String

发起转账

Link copied to clipboard
abstract fun transferWaitReceipt(linker: String, payload: String = "0x", amount: Long = 0, joule: Long = 0, retryPolicy: RetryPolicy<Throwable> = RetryStrategy.defaultFixedIntervalRetry()): Receipt

发起转账并等待回执