TransactionEffectsV1
type TransactionEffectsV1
Version 1 of TransactionEffects
BCS
The BCS serialized form of this type is specified in [`bcs-schema.abnf`](https://github.com/iotaledger/iota-rust-sdk/blob/develop/crates/iota-sdk-types/bcs-schema.abnf\).
type TransactionEffectsV1 struct {
// contains filtered or unexported fields
}
func LiftFromExternalTransactionEffectsV1
func LiftFromExternalTransactionEffectsV1(handle uint64) *TransactionEffectsV1
func NewTransactionEffectsV1
func NewTransactionEffectsV1(status ExecutionStatus, epoch uint64, gasCostSummary GasCostSummary, transactionDigest *TransactionDigest, gasObjectIndex *uint32, eventsDigest **TransactionEventsDigest, dependencies []*TransactionDigest, lamportVersion *Version, changedObjects []ChangedObject, unchangedSharedObjects []UnchangedSharedObject, auxiliaryDataDigest **EffectsAuxDataDigest) *TransactionEffectsV1
func TransactionEffectsV1FromBcs
func TransactionEffectsV1FromBcs(bcs []byte) (*TransactionEffectsV1, error)
Create this type from BCS encoded bytes.
func TransactionEffectsV1FromJson
func TransactionEffectsV1FromJson(json string) (*TransactionEffectsV1, error)
Create this type from a JSON encoded string.
func (*TransactionEffectsV1) AllChangedObjects
func (_self *TransactionEffectsV1) AllChangedObjects() []ChangedObjectWrite
Every object still in the store after this transaction, tagged with how it got there.
func (*TransactionEffectsV1) AllRemovedObjects
func (_self *TransactionEffectsV1) AllRemovedObjects() []RemovedObject
Every object that was in the store before this transaction and is not after it, tagged with why.
func (*TransactionEffectsV1) AuxiliaryDataDigest
func (_self *TransactionEffectsV1) AuxiliaryDataDigest() **EffectsAuxDataDigest
Auxiliary data generated as part of the effects but stored separately.
func (*TransactionEffectsV1) ChangedObjects
func (_self *TransactionEffectsV1) ChangedObjects() []ChangedObject
Objects whose state changed in the object store.
func (*TransactionEffectsV1) Created
func (_self *TransactionEffectsV1) Created() []OwnedObjectReference
Objects newly created by this transaction, paired with their owner.
func (*TransactionEffectsV1) DebugString
func (_self *TransactionEffectsV1) DebugString() string
func (*TransactionEffectsV1) Deleted
func (_self *TransactionEffectsV1) Deleted() []ObjectReference
Objects that existed before this transaction and that it deleted.
func (*TransactionEffectsV1) Dependencies
func (_self *TransactionEffectsV1) Dependencies() []*TransactionDigest
The transactions this one depends on.
func (*TransactionEffectsV1) Destroy
func (object *TransactionEffectsV1) Destroy()
func (*TransactionEffectsV1) Epoch
func (_self *TransactionEffectsV1) Epoch() uint64
The epoch when this transaction was executed.
func (*TransactionEffectsV1) Eq
func (_self *TransactionEffectsV1) Eq(other *TransactionEffectsV1) bool
func (*TransactionEffectsV1) EventsDigest
func (_self *TransactionEffectsV1) EventsDigest() **TransactionEventsDigest
The digest of the events emitted during execution, or `None` if the transaction emitted none.
func (*TransactionEffectsV1) GasCostSummary
func (_self *TransactionEffectsV1) GasCostSummary() GasCostSummary
The gas used by this transaction.
func (*TransactionEffectsV1) GasObject
func (_self *TransactionEffectsV1) GasObject() *OwnedObjectReference
The post-transaction reference and owner of the gas object, or `None` for a system transaction, which pays no gas.
func (*TransactionEffectsV1) GasObjectIndex
func (_self *TransactionEffectsV1) GasObjectIndex() *uint32
The updated gas object, as an index into `changed_objects`. `None` for a system transaction, which pays no gas.
func (*TransactionEffectsV1) InputSharedObjects
func (_self *TransactionEffectsV1) InputSharedObjects() []InputSharedObject
The shared objects this transaction was sequenced against, whether or not it changed them.
func (*TransactionEffectsV1) LamportVersion
func (_self *TransactionEffectsV1) LamportVersion() *Version
The version this transaction assigned to every output object other than packages.
func (*TransactionEffectsV1) ModifiedAtVersions
func (_self *TransactionEffectsV1) ModifiedAtVersions() []ObjectVersion
The id and pre-transaction version of every object that existed before this transaction and was modified by it.
func (*TransactionEffectsV1) Mutated
func (_self *TransactionEffectsV1) Mutated() []OwnedObjectReference
Objects that existed before this transaction and whose contents it updated, at their post-transaction reference and owner.
func (*TransactionEffectsV1) Ne
func (_self *TransactionEffectsV1) Ne(other *TransactionEffectsV1) bool
func (*TransactionEffectsV1) OldObjectMetadata
func (_self *TransactionEffectsV1) OldObjectMetadata() []OwnedObjectReference
The reference and owner, before this transaction, of every object it modified.
func (*TransactionEffectsV1) Status
func (_self *TransactionEffectsV1) Status() ExecutionStatus
The status of the execution.
func (*TransactionEffectsV1) ToBcs
func (_self *TransactionEffectsV1) ToBcs() ([]byte, error)
Convert this type to BCS encoded bytes.
func (*TransactionEffectsV1) ToDisplayString
func (_self *TransactionEffectsV1) ToDisplayString() string
Render this type as human-readable text.
Some types also print this through the binding's native string conversion; this method is the spelling every object type has.
The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.
func (*TransactionEffectsV1) ToJson
func (_self *TransactionEffectsV1) ToJson() (string, error)
Convert this type to a JSON encoded string.
func (*TransactionEffectsV1) TransactionDigest
func (_self *TransactionEffectsV1) TransactionDigest() *TransactionDigest
The transaction digest.
func (*TransactionEffectsV1) UnchangedSharedObjects
func (_self *TransactionEffectsV1) UnchangedSharedObjects() []UnchangedSharedObject
Shared objects this transaction was sequenced against without changing.
func (*TransactionEffectsV1) Unwrapped
func (_self *TransactionEffectsV1) Unwrapped() []OwnedObjectReference
Objects that were wrapped inside another object before this transaction and that it restored to the store.
func (*TransactionEffectsV1) UnwrappedThenDeleted
func (_self *TransactionEffectsV1) UnwrappedThenDeleted() []ObjectReference
Objects unwrapped and then deleted within this same transaction.
func (*TransactionEffectsV1) Wrapped
func (_self *TransactionEffectsV1) Wrapped() []ObjectReference
Objects that this transaction wrapped inside another object.