ProtectedconstructorCreates an instance of the class.
The address to transfer token or the smart contract to call, can be null.
The token amount being transferred in wei units as hexadecimal expression.
Arguments of the smart contract function called as encoded as a hexadecimal expression
Optionalcomment: stringAn optional comment.
Optionalabi: stringAn optional ABI string.
Optional ReadonlyabiAn optional Application Binary Interface (ABI) of the called function of a smart contract.
Optional ReadonlycommentAn optional comment to describe the purpose of the clause.
ReadonlydataReturn the hexadecimal expression of the encoding of the arguments of the called function of a smart contract.
ReadonlytoRepresents the address where:
ReadonlyvalueReturn the hexadecimal expression of the amount of VET or VTHO token in Units.wei to transfer to the destination.
Static ReadonlyNO_Used publicly to tag a transaction not tranferring token amount.
The amount as a fixed-point number.
StaticcallReturn a new clause to call a function of a smart contract.
The address of the smart contract.
The ABI definition of the function to be called.
The arguments for the function.
Optionalamount: VET = ...The amount of VET to be sent with the transaction calling the function.
OptionalclauseOptions: ClauseOptionsOptional clause settings.
A clause object to call the function in a transaction.
StaticdeployReturns a new clause to deploy a smart contract.
The bytecode of the contract to be deployed.
OptionaldeployParams: DeployParamsOptional parameters to pass to the smart contract constructor.
OptionalclauseOptions: ClauseOptionsOptional clause settings.
The clause to deploy the smart contract as part of a transaction.
StatictransferNFTTransfers an NFT from the sender to the recipient.
The address of the NFT contract.
The address of the current owner (sender) of the NFT.
The address of the new owner (recipient) of the NFT.
The unique identifier of the NFT to be transferred.
OptionalclauseOptions: ClauseOptionsOptional clause settings.
The clause object representing the transfer operation as part of a transaction.
StatictransferStatictransferVETReturn a new clause to transfers VET to a specified recipient address.
The address of the recipient.
The amount of VET to transfer.
OptionalclauseOptions: ClauseOptionsOptional clause settings.
StatictransferVTHOToken
This class represent a transaction clause.