GasPayment
data class GasPayment(var objects: List<ObjectReference>, var owner: Address, var price: ULong, var budget: ULong) : Disposable
Payment information for executing a transaction
BCS
The BCS serialized form for this type is defined by the following ABNF:
gas-payment = (vector object-reference) ; gas coin objects
address ; owner
u64 ; price
u64 ; budget
Constructors
| GasPayment | constructor(objects: List<ObjectReference>, owner: Address, price: ULong, budget: ULong) |
Properties
| Name | Summary |
|---|---|
| budget | var budget: ULong Total budget willing to spend for the execution of a transaction |
| objects | var objects: List<ObjectReference> |
| owner | var owner: Address Owner of the gas objects, either the transaction sender or a sponsor |
| price | var price: ULong Gas unit price to use when charging for computation |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |