AuthorizedInvocation class Null safety

Represents an authorized invocation.

See Soroban Documentation - Authorization soroban.stellar.org/docs/learn/authorization for more information.

Constructors

AuthorizedInvocation(String contractId, String functionName, {List<XdrSCVal>? args, List<AuthorizedInvocation>? subInvocations})
Constructs an AuthorizedInvocation object for the given contractId and functionName of the contract function to be called.

Properties

args List<XdrSCVal>
The list of arguments to pass to the contract function to be called.
read / write
contractId String
The id of the contract to invoke.
read / write
functionName String
The name of the contract function to invoke.
read / write
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
subInvocations List<AuthorizedInvocation>
The list of sub-invocations to pass to the contract function to be called.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toXdr() XdrAuthorizedInvocation
Returns an XdrAuthorizedInvocation object created from this AuthorizedInvocation object.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromXdr(XdrAuthorizedInvocation xdr) AuthorizedInvocation
Constructs an AuthorizedInvocation from the given xdr.