Signer class

Annotations
  • @sealed

Constructors

Signer.dcoDecode(List wire)
Signer.sseDecode(int ptr, int externalSizeOnNative)

Properties

hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
Whether the underlying Arc is disposed.
no setterinherited
move bool?
no getterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createSignedContract({required Contract contract, dynamic hint}) Contract
createSignedOrder({required Order order, dynamic hint}) Order
dispose() → void
Dispose the underlying Arc.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signAutoDeleveraging({required AutoDeleveraging tx, dynamic hint}) String
signChangePubkeyWithCreate2DataAuth({required ChangePubKey tx, required String creatorAddress, required String saltArg, required String codeHash, dynamic hint}) String
signChangePubkeyWithEthEcdsaAuth({required ChangePubKey tx, dynamic hint}) String
signChangePubkeyWithOnchain({required ChangePubKey tx, dynamic hint}) String
signContractMatching({required ContractMatching tx, dynamic hint}) String
signForcedExit({required ForcedExit tx, dynamic hint}) String
signFunding({required Funding tx, dynamic hint}) String
signLiquidation({required Liquidation tx, dynamic hint}) String
signOrderMatching({required OrderMatching tx, dynamic hint}) String
signTransfer({required Transfer tx, required String tokenSymbol, String? chainId, String? addr, dynamic hint}) String
signWithdraw({required Withdraw tx, required String tokenSymbol, String? chainId, String? addr, dynamic hint}) String
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

ethSigner({required String ethPrivateKey, dynamic hint}) Signer
starknetSigner({required String ethPrivateKey, required String starknetChainId, required String starknetAddr, dynamic hint}) Signer