OZDelegatedSigner class final
A delegated signer using a Soroban address with built-in require_auth
verification.
Delegated signers are Stellar accounts (G-address) or smart contracts
(C-address) that use the native Soroban authorization mechanism. The
OpenZeppelin Smart Account contract calls require_auth_for_args() on the
address to verify authorisation.
Example:
// Account signer
final account = OZDelegatedSigner('GA7QYNF7SOWQ...');
// Contract signer
final contract = OZDelegatedSigner('CBCD1234...');
- Inheritance
-
- Object
- OZSmartAccountSigner
- OZDelegatedSigner
Constructors
- OZDelegatedSigner(String address)
-
Constructs a delegated signer for the given Stellar
address.
Properties
- address → String
-
The Stellar address of the signer
(G-address for accounts, C-address for contracts).
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uniqueKey → String
-
Unique identifier for deduplication.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toScVal(
) → XdrSCVal -
Converts the delegated signer to its on-chain representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override