wallet_backend/wallet

actor class Wallet({ installationId : Nat; packageManager : Principal })

public func setOwner(signature : Blob) : async ()

Change wallet owner after verifying caller's signature with the provided public key.

public func getLimitAmounts() : async { amountAddCheckbox : ?Float; amountAddInput : ?Float }

public func setLimitAmounts(values : { amountAddCheckbox : ?Float; amountAddInput : ?Float }) : async ()

public func getTokens() : async [Token]

public func addToken(token : Token) : async ()

public func removeToken(canisterId : Principal) : async ()

public func addArchiveCanister(symbol : Text, archiveCanisterId : Principal) : async ()

public func isAnonymous() : async Bool