Properties
SmartWallet
Smart
Wallet
: AnchorProgram<SmartWalletIDL, { smartWallet
: AnchorTypeDef<{ name
: "SmartWallet"; type
: { fields
: [{ name
: "base"; type
: "publicKey" }, { name
: "bump"; type
: "u8" }, { name
: "threshold"; type
: "u64" }, { name
: "minimumDelay"; type
: "i64" }, { name
: "gracePeriod"; type
: "i64" }, { name
: "ownerSetSeqno"; type
: "u32" }, { name
: "numTransactions"; type
: "u64" }, { name
: "owners"; type
: { vec
: "publicKey" } }, { name
: "reserved"; type
: { array
: ["u64", 16] } }]; kind
: "struct" } } & { name
: "SmartWallet" } & never & never, AnchorDefined<SmartWalletIDL, { TXAccountMeta
: AccountMeta; TXInstruction
: SmartWalletInstruction }>>; subaccountInfo
: AnchorTypeDef<never & never & { name
: "SubaccountInfo"; type
: { fields
: [{ name
: "smartWallet"; type
: "publicKey" }, { name
: "subaccountType"; type
: { defined
: "SubaccountType" } }, { name
: "index"; type
: "u64" }]; kind
: "struct" } } & { name
: "SubaccountInfo" }, AnchorDefined<SmartWalletIDL, { TXAccountMeta
: AccountMeta; TXInstruction
: SmartWalletInstruction }>>; transaction
: AnchorTypeDef<never & { name
: "Transaction"; type
: { fields
: [{ name
: "smartWallet"; type
: "publicKey" }, { name
: "index"; type
: "u64" }, { name
: "bump"; type
: "u8" }, { name
: "proposer"; type
: "publicKey" }, { name
: "instructions"; type
: { vec
: { defined
: "TXInstruction" } } }, { name
: "signers"; type
: { vec
: "bool" } }, { name
: "ownerSetSeqno"; type
: "u32" }]; kind
: "struct" } } & { name
: "Transaction" } & never, AnchorDefined<SmartWalletIDL, { TXAccountMeta
: AccountMeta; TXInstruction
: SmartWalletInstruction }>> }, AnchorDefined<SmartWalletIDL, { TXAccountMeta
: AccountMeta; TXInstruction
: SmartWalletInstruction }>, MakeInstructions<[{ accounts
: [{ isMut
: false; isSigner
: true; name
: "base" }, { isMut
: true; isSigner
: false; name
: "smartWallet"; pda
: { seeds
: [{ kind
: "const"; type
: "string"; value
: "GokiSmartWallet" }, { kind
: "account"; path
: "base"; type
: "publicKey" }] } }, { isMut
: true; isSigner
: true; name
: "payer" }, { isMut
: false; isSigner
: false; name
: "systemProgram" }]; args
: [{ name
: "bump"; type
: "u8" }, { name
: "maxOwners"; type
: "u8" }, { name
: "owners"; type
: { vec
: "publicKey" } }, { name
: "threshold"; type
: "u64" }, { name
: "minimumDelay"; type
: "i64" }]; name
: "createSmartWallet" }, { accounts
: [{ isMut
: true; isSigner
: true; name
: "smartWallet" }]; args
: [{ name
: "owners"; type
: { vec
: "publicKey" } }]; name
: "setOwners" }, { accounts
: [{ isMut
: true; isSigner
: true; name
: "smartWallet" }]; args
: [{ name
: "threshold"; type
: "u64" }]; name
: "changeThreshold" }], AnchorDefined<SmartWalletIDL, { TXAccountMeta
: AccountMeta; TXInstruction
: SmartWalletInstruction }>>, MakeInstructions<unknown, AnchorDefined<SmartWalletIDL, { TXAccountMeta
: AccountMeta; TXInstruction
: SmartWalletInstruction }>>>