Versions in this module Expand all Collapse all v0 v0.4.1 Oct 24, 2022 v0.4.0 Oct 23, 2022 Changes in this version + var POLICY_TYPE_HASH = ctypes.HexToBN("0x2f0026e78543f036f33e26a8f5891b88c58dc1e20cbbfaf0bb53274da6fa568") + var SESSION_TYPE_HASH = ctypes.HexToBN("0x1aa0e1c56b45cf06a54534fa1707c54e520b842feb21d03b7deddb6f1e340c") + var STARKNET_DOMAIN_TYPE_HASH = ctypes.HexToBN("0x13cda234a04d66db62c06b8e3ad5f91bd0c67286c2c7519a826cf49da6ba478") + var STARKNET_MESSAGE = ctypes.UTF8StrToBig("StarkNet Message") + func WithSessionKeyPlugin(pluginClassHash string, token *SessionKeyToken) caigo.AccountOptionFunc + type Policy struct + ContractAddress string + Selector string + type Session struct + Expires *big.Int + Key string + Policies []Policy + type SessionKeyPlugin struct + func (plugin *SessionKeyPlugin) PluginCall(calls []ctypes.FunctionCall) (ctypes.FunctionCall, error) + type SessionKeyToken struct + func SignToken(privateKey, chainId, sessionPublicKey, accountAddress string, ...) (*SessionKeyToken, error) + type SignedSession struct + AccountAddress string + ChainID string + Root string + Signature []*big.Int