UNPKG

@biconomy/abstractjs

Version:

SDK for Biconomy integration with support for account abstraction, smart accounts, ERC-4337.

69 lines 8.8 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PERMIT_TYPEHASH = exports.SUDO_POLICY_ADDRESS = exports.SPENDING_LIMITS_POLICY_ADDRESS = exports.USAGE_LIMIT_POLICY_ADDRESS = exports.VALUE_LIMIT_POLICY_ADDRESS = exports.TIME_FRAME_POLICY_ADDRESS = exports.UNIVERSAL_ACTION_POLICY_ADDRESS = exports.getUniversalActionPolicy = exports.getOwnableValidator = exports.getValueLimitPolicy = exports.getUsageLimitPolicy = exports.getSpendingLimitsPolicy = exports.getSudoPolicy = exports.getSmartSessionsValidator = exports.getEnableSessionDetails = exports.encodeValidationData = exports.decodeSmartSessionSignature = exports.getSetOwnableValidatorThresholdAction = exports.getRemoveOwnableValidatorOwnerAction = exports.getOwnableValidatorOwners = exports.getAddOwnableValidatorOwnerAction = exports.getOwnableValidatorSignature = exports.getTrustAttestersAction = exports.findTrustedAttesters = exports.isRhinestoneModuleInstalled = exports.getOwnableValidatorThreshold = exports.getOwnableValidatorMockSignature = exports.getAccount = exports.getExecuteOnOwnedAccountAction = exports.getAddOwnableExecutorOwnerAction = exports.encodeSmartSessionSignature = exports.SmartSessionMode = exports.REGISTRY_ADDRESS = exports.RHINESTONE_ATTESTER_ADDRESS = exports.OWNABLE_EXECUTOR_ADDRESS = exports.OWNABLE_VALIDATOR_ADDRESS = exports.SMART_SESSIONS_ADDRESS = exports.DEFAULT_CONFIGURATIONS_BY_NEXUS_VERSION = exports.FORWARDER_ADDRESS = exports.NEXUS_IMPLEMENTATION_ADDRESS = exports.COMPOSABLE_MODULE_ADDRESS = exports.NEXUS_ACCOUNT_FACTORY_ADDRESS = exports.BICONOMY_ATTESTER_ADDRESS_UNTIL_0_1 = exports.BICONOMY_ATTESTER_ADDRESS = exports.MEE_VALIDATOR_ADDRESS = exports.NEXUS_BOOTSTRAP_ADDRESS = exports.ENTRYPOINT_SIMULATIONS_ADDRESS = exports.ENTRY_POINT_ADDRESS = void 0; const tslib_1 = require("tslib"); const module_sdk_1 = require("@rhinestone/module-sdk"); tslib_1.__exportStar(require("./abi/index.js"), exports); tslib_1.__exportStar(require("./tokens/index.js"), exports); tslib_1.__exportStar(require("./protocols/index.js"), exports); exports.ENTRY_POINT_ADDRESS = "0x0000000071727De22E5E9d8BAf0edAc6f37da032"; exports.ENTRYPOINT_SIMULATIONS_ADDRESS = "0x74Cb5e4eE81b86e70f9045036a1C5477de69eE87"; exports.NEXUS_BOOTSTRAP_ADDRESS = "0x00000000D3254452a909E4eeD47455Af7E27C289"; exports.MEE_VALIDATOR_ADDRESS = "0x00000000d12897DDAdC2044614A9677B191A2d95"; exports.BICONOMY_ATTESTER_ADDRESS = "0xF9ff902Cdde729b47A4cDB55EF16DF3683a04EAB"; exports.BICONOMY_ATTESTER_ADDRESS_UNTIL_0_1 = "0xDE8FD2dBcC0CA847d11599AF5964fe2AEa153699"; exports.NEXUS_ACCOUNT_FACTORY_ADDRESS = "0x000000001D1D5004a02bAfAb9de2D6CE5b7B13de"; exports.COMPOSABLE_MODULE_ADDRESS = "0x00000004430bB055dB66eBef6Fe5Ee1DA9668B10"; exports.NEXUS_IMPLEMENTATION_ADDRESS = "0x000000004F43C49e93C970E84001853a70923B03"; exports.FORWARDER_ADDRESS = "0x000000Afe527A978Ecb761008Af475cfF04132a1"; exports.DEFAULT_CONFIGURATIONS_BY_NEXUS_VERSION = { "1.0.2": { accountId: "biconomy.nexus.1.0.2", factoryAddress: "0x000000c3A93d2c5E02Cb053AC675665b1c4217F9", bootStrapAddress: "0x879fa30248eeb693dcCE3eA94a743622170a3658", implementationAddress: "0x000000aC74357BFEa72BBD0781833631F732cf19", k1ValidatorAddress: "0x0000002D6DB27c52E3C11c1Cf24072004AC75cBa", k1FactoryAddress: "0x2828A0E0f36d8d8BeAE95F00E2BbF235e4230fAc", attesters: [module_sdk_1.RHINESTONE_ATTESTER_ADDRESS, exports.BICONOMY_ATTESTER_ADDRESS], registryAddress: module_sdk_1.REGISTRY_ADDRESS } }; var module_sdk_2 = require("@rhinestone/module-sdk"); Object.defineProperty(exports, "SMART_SESSIONS_ADDRESS", { enumerable: true, get: function () { return module_sdk_2.SMART_SESSIONS_ADDRESS; } }); Object.defineProperty(exports, "OWNABLE_VALIDATOR_ADDRESS", { enumerable: true, get: function () { return module_sdk_2.OWNABLE_VALIDATOR_ADDRESS; } }); Object.defineProperty(exports, "OWNABLE_EXECUTOR_ADDRESS", { enumerable: true, get: function () { return module_sdk_2.OWNABLE_EXECUTOR_ADDRESS; } }); Object.defineProperty(exports, "RHINESTONE_ATTESTER_ADDRESS", { enumerable: true, get: function () { return module_sdk_2.RHINESTONE_ATTESTER_ADDRESS; } }); Object.defineProperty(exports, "REGISTRY_ADDRESS", { enumerable: true, get: function () { return module_sdk_2.REGISTRY_ADDRESS; } }); Object.defineProperty(exports, "SmartSessionMode", { enumerable: true, get: function () { return module_sdk_2.SmartSessionMode; } }); Object.defineProperty(exports, "encodeSmartSessionSignature", { enumerable: true, get: function () { return module_sdk_2.encodeSmartSessionSignature; } }); Object.defineProperty(exports, "getAddOwnableExecutorOwnerAction", { enumerable: true, get: function () { return module_sdk_2.getAddOwnableExecutorOwnerAction; } }); Object.defineProperty(exports, "getExecuteOnOwnedAccountAction", { enumerable: true, get: function () { return module_sdk_2.getExecuteOnOwnedAccountAction; } }); Object.defineProperty(exports, "getAccount", { enumerable: true, get: function () { return module_sdk_2.getAccount; } }); Object.defineProperty(exports, "getOwnableValidatorMockSignature", { enumerable: true, get: function () { return module_sdk_2.getOwnableValidatorMockSignature; } }); Object.defineProperty(exports, "getOwnableValidatorThreshold", { enumerable: true, get: function () { return module_sdk_2.getOwnableValidatorThreshold; } }); Object.defineProperty(exports, "isRhinestoneModuleInstalled", { enumerable: true, get: function () { return module_sdk_2.isModuleInstalled; } }); Object.defineProperty(exports, "findTrustedAttesters", { enumerable: true, get: function () { return module_sdk_2.findTrustedAttesters; } }); Object.defineProperty(exports, "getTrustAttestersAction", { enumerable: true, get: function () { return module_sdk_2.getTrustAttestersAction; } }); Object.defineProperty(exports, "getOwnableValidatorSignature", { enumerable: true, get: function () { return module_sdk_2.getOwnableValidatorSignature; } }); Object.defineProperty(exports, "getAddOwnableValidatorOwnerAction", { enumerable: true, get: function () { return module_sdk_2.getAddOwnableValidatorOwnerAction; } }); Object.defineProperty(exports, "getOwnableValidatorOwners", { enumerable: true, get: function () { return module_sdk_2.getOwnableValidatorOwners; } }); Object.defineProperty(exports, "getRemoveOwnableValidatorOwnerAction", { enumerable: true, get: function () { return module_sdk_2.getRemoveOwnableValidatorOwnerAction; } }); Object.defineProperty(exports, "getSetOwnableValidatorThresholdAction", { enumerable: true, get: function () { return module_sdk_2.getSetOwnableValidatorThresholdAction; } }); Object.defineProperty(exports, "decodeSmartSessionSignature", { enumerable: true, get: function () { return module_sdk_2.decodeSmartSessionSignature; } }); Object.defineProperty(exports, "encodeValidationData", { enumerable: true, get: function () { return module_sdk_2.encodeValidationData; } }); Object.defineProperty(exports, "getEnableSessionDetails", { enumerable: true, get: function () { return module_sdk_2.getEnableSessionDetails; } }); Object.defineProperty(exports, "getSmartSessionsValidator", { enumerable: true, get: function () { return module_sdk_2.getSmartSessionsValidator; } }); Object.defineProperty(exports, "getSudoPolicy", { enumerable: true, get: function () { return module_sdk_2.getSudoPolicy; } }); Object.defineProperty(exports, "getSpendingLimitsPolicy", { enumerable: true, get: function () { return module_sdk_2.getSpendingLimitsPolicy; } }); Object.defineProperty(exports, "getUsageLimitPolicy", { enumerable: true, get: function () { return module_sdk_2.getUsageLimitPolicy; } }); Object.defineProperty(exports, "getValueLimitPolicy", { enumerable: true, get: function () { return module_sdk_2.getValueLimitPolicy; } }); Object.defineProperty(exports, "getOwnableValidator", { enumerable: true, get: function () { return module_sdk_2.getOwnableValidator; } }); Object.defineProperty(exports, "getUniversalActionPolicy", { enumerable: true, get: function () { return module_sdk_2.getUniversalActionPolicy; } }); exports.UNIVERSAL_ACTION_POLICY_ADDRESS = module_sdk_1.GLOBAL_CONSTANTS.UNIVERSAL_ACTION_POLICY_ADDRESS; exports.TIME_FRAME_POLICY_ADDRESS = module_sdk_1.GLOBAL_CONSTANTS.TIME_FRAME_POLICY_ADDRESS; exports.VALUE_LIMIT_POLICY_ADDRESS = module_sdk_1.GLOBAL_CONSTANTS.VALUE_LIMIT_POLICY_ADDRESS; exports.USAGE_LIMIT_POLICY_ADDRESS = module_sdk_1.GLOBAL_CONSTANTS.USAGE_LIMIT_POLICY_ADDRESS; exports.SPENDING_LIMITS_POLICY_ADDRESS = module_sdk_1.GLOBAL_CONSTANTS.SPENDING_LIMITS_POLICY_ADDRESS; exports.SUDO_POLICY_ADDRESS = module_sdk_1.GLOBAL_CONSTANTS.SUDO_POLICY_ADDRESS; exports.PERMIT_TYPEHASH = "0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9"; //# sourceMappingURL=index.js.map