@safe-global/protocol-kit 5.2.0 → 5.2.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/index.cjs +7526 -0
- package/dist/cjs/test-utils/index.cjs +4097 -0
- package/dist/esm/src/index.mjs +7628 -0
- package/dist/esm/test-utils/index.mjs +4194 -0
- package/dist/src/Safe.d.ts +1 -0
- package/dist/src/Safe.d.ts.map +1 -0
- package/dist/src/SafeProvider.d.ts +1 -0
- package/dist/src/SafeProvider.d.ts.map +1 -0
- package/dist/src/contracts/BaseContract.d.ts +1 -0
- package/dist/src/contracts/BaseContract.d.ts.map +1 -0
- package/dist/src/contracts/CompatibilityFallbackHandler/CompatibilityFallbackHandlerBaseContract.d.ts +1 -0
- package/dist/src/contracts/CompatibilityFallbackHandler/CompatibilityFallbackHandlerBaseContract.d.ts.map +1 -0
- package/dist/src/contracts/CompatibilityFallbackHandler/v1.3.0/CompatibilityFallbackHandlerContract_v1_3_0.d.ts +1 -0
- package/dist/src/contracts/CompatibilityFallbackHandler/v1.3.0/CompatibilityFallbackHandlerContract_v1_3_0.d.ts.map +1 -0
- package/dist/src/contracts/CompatibilityFallbackHandler/v1.4.1/CompatibilityFallbackHandlerContract_v1_4_1.d.ts +1 -0
- package/dist/src/contracts/CompatibilityFallbackHandler/v1.4.1/CompatibilityFallbackHandlerContract_v1_4_1.d.ts.map +1 -0
- package/dist/src/contracts/CreateCall/CreateCallBaseContract.d.ts +1 -0
- package/dist/src/contracts/CreateCall/CreateCallBaseContract.d.ts.map +1 -0
- package/dist/src/contracts/CreateCall/v1.3.0/CreateCallContract_v1_3_0.d.ts +1 -0
- package/dist/src/contracts/CreateCall/v1.3.0/CreateCallContract_v1_3_0.d.ts.map +1 -0
- package/dist/src/contracts/CreateCall/v1.4.1/CreateCallContract_v1_4_1.d.ts +1 -0
- package/dist/src/contracts/CreateCall/v1.4.1/CreateCallContract_v1_4_1.d.ts.map +1 -0
- package/dist/src/contracts/MultiSend/MultiSendBaseContract.d.ts +1 -0
- package/dist/src/contracts/MultiSend/MultiSendBaseContract.d.ts.map +1 -0
- package/dist/src/contracts/MultiSend/MultiSendCallOnlyBaseContract.d.ts +1 -0
- package/dist/src/contracts/MultiSend/MultiSendCallOnlyBaseContract.d.ts.map +1 -0
- package/dist/src/contracts/MultiSend/v1.1.1/MultiSendContract_v1_1_1.d.ts +1 -0
- package/dist/src/contracts/MultiSend/v1.1.1/MultiSendContract_v1_1_1.d.ts.map +1 -0
- package/dist/src/contracts/MultiSend/v1.3.0/MultiSendCallOnlyContract_v1_3_0.d.ts +1 -0
- package/dist/src/contracts/MultiSend/v1.3.0/MultiSendCallOnlyContract_v1_3_0.d.ts.map +1 -0
- package/dist/src/contracts/MultiSend/v1.3.0/MultiSendContract_v1_3_0.d.ts +1 -0
- package/dist/src/contracts/MultiSend/v1.3.0/MultiSendContract_v1_3_0.d.ts.map +1 -0
- package/dist/src/contracts/MultiSend/v1.4.1/MultiSendCallOnlyContract_v1_4_1.d.ts +1 -0
- package/dist/src/contracts/MultiSend/v1.4.1/MultiSendCallOnlyContract_v1_4_1.d.ts.map +1 -0
- package/dist/src/contracts/MultiSend/v1.4.1/MultiSendContract_v1_4_1.d.ts +1 -0
- package/dist/src/contracts/MultiSend/v1.4.1/MultiSendContract_v1_4_1.d.ts.map +1 -0
- package/dist/src/contracts/Safe/SafeBaseContract.d.ts +1 -0
- package/dist/src/contracts/Safe/SafeBaseContract.d.ts.map +1 -0
- package/dist/src/contracts/Safe/v1.0.0/SafeContract_v1_0_0.d.ts +1 -0
- package/dist/src/contracts/Safe/v1.0.0/SafeContract_v1_0_0.d.ts.map +1 -0
- package/dist/src/contracts/Safe/v1.1.1/SafeContract_v1_1_1.d.ts +1 -0
- package/dist/src/contracts/Safe/v1.1.1/SafeContract_v1_1_1.d.ts.map +1 -0
- package/dist/src/contracts/Safe/v1.2.0/SafeContract_v1_2_0.d.ts +1 -0
- package/dist/src/contracts/Safe/v1.2.0/SafeContract_v1_2_0.d.ts.map +1 -0
- package/dist/src/contracts/Safe/v1.3.0/SafeContract_v1_3_0.d.ts +1 -0
- package/dist/src/contracts/Safe/v1.3.0/SafeContract_v1_3_0.d.ts.map +1 -0
- package/dist/src/contracts/Safe/v1.4.1/SafeContract_v1_4_1.d.ts +1 -0
- package/dist/src/contracts/Safe/v1.4.1/SafeContract_v1_4_1.d.ts.map +1 -0
- package/dist/src/contracts/SafeProxyFactory/SafeProxyFactoryBaseContract.d.ts +1 -0
- package/dist/src/contracts/SafeProxyFactory/SafeProxyFactoryBaseContract.d.ts.map +1 -0
- package/dist/src/contracts/SafeProxyFactory/v1.0.0/SafeProxyFactoryContract_v1_0_0.d.ts +1 -0
- package/dist/src/contracts/SafeProxyFactory/v1.0.0/SafeProxyFactoryContract_v1_0_0.d.ts.map +1 -0
- package/dist/src/contracts/SafeProxyFactory/v1.1.1/SafeProxyFactoryContract_v1_1_1.d.ts +1 -0
- package/dist/src/contracts/SafeProxyFactory/v1.1.1/SafeProxyFactoryContract_v1_1_1.d.ts.map +1 -0
- package/dist/src/contracts/SafeProxyFactory/v1.3.0/SafeProxyFactoryContract_v1_3_0.d.ts +1 -0
- package/dist/src/contracts/SafeProxyFactory/v1.3.0/SafeProxyFactoryContract_v1_3_0.d.ts.map +1 -0
- package/dist/src/contracts/SafeProxyFactory/v1.4.1/SafeProxyFactoryContract_v1_4_1.d.ts +1 -0
- package/dist/src/contracts/SafeProxyFactory/v1.4.1/SafeProxyFactoryContract_v1_4_1.d.ts.map +1 -0
- package/dist/src/contracts/SafeWebAuthnSharedSigner/SafeWebAuthnSharedSignerBaseContract.d.ts +1 -0
- package/dist/src/contracts/SafeWebAuthnSharedSigner/SafeWebAuthnSharedSignerBaseContract.d.ts.map +1 -0
- package/dist/src/contracts/SafeWebAuthnSharedSigner/v0.2.1/SafeWebAuthnSharedSignerContract_v0_2_1.d.ts +1 -0
- package/dist/src/contracts/SafeWebAuthnSharedSigner/v0.2.1/SafeWebAuthnSharedSignerContract_v0_2_1.d.ts.map +1 -0
- package/dist/src/contracts/SafeWebAuthnSignerFactory/SafeWebAuthnSignerFactoryBaseContract.d.ts +1 -0
- package/dist/src/contracts/SafeWebAuthnSignerFactory/SafeWebAuthnSignerFactoryBaseContract.d.ts.map +1 -0
- package/dist/src/contracts/SafeWebAuthnSignerFactory/v0.2.1/SafeWebAuthnSignerFactoryContract_v0_2_1.d.ts +1 -0
- package/dist/src/contracts/SafeWebAuthnSignerFactory/v0.2.1/SafeWebAuthnSignerFactoryContract_v0_2_1.d.ts.map +1 -0
- package/dist/src/contracts/SignMessageLib/SignMessageLibBaseContract.d.ts +1 -0
- package/dist/src/contracts/SignMessageLib/SignMessageLibBaseContract.d.ts.map +1 -0
- package/dist/src/contracts/SignMessageLib/v1.3.0/SignMessageLibContract_v1_3_0.d.ts +1 -0
- package/dist/src/contracts/SignMessageLib/v1.3.0/SignMessageLibContract_v1_3_0.d.ts.map +1 -0
- package/dist/src/contracts/SignMessageLib/v1.4.1/SignMessageLibContract_v1_4_1.d.ts +1 -0
- package/dist/src/contracts/SignMessageLib/v1.4.1/SignMessageLibContract_v1_4_1.d.ts.map +1 -0
- package/dist/src/contracts/SimulateTxAccessor/SimulateTxAccessorBaseContract.d.ts +1 -0
- package/dist/src/contracts/SimulateTxAccessor/SimulateTxAccessorBaseContract.d.ts.map +1 -0
- package/dist/src/contracts/SimulateTxAccessor/v1.3.0/SimulateTxAccessorContract_v1_3_0.d.ts +1 -0
- package/dist/src/contracts/SimulateTxAccessor/v1.3.0/SimulateTxAccessorContract_v1_3_0.d.ts.map +1 -0
- package/dist/src/contracts/SimulateTxAccessor/v1.4.1/SimulateTxAccessorContract_v1_4_1.d.ts +1 -0
- package/dist/src/contracts/SimulateTxAccessor/v1.4.1/SimulateTxAccessorContract_v1_4_1.d.ts.map +1 -0
- package/dist/src/contracts/config.d.ts +1 -0
- package/dist/src/contracts/config.d.ts.map +1 -0
- package/dist/src/contracts/constants.d.ts +1 -0
- package/dist/src/contracts/constants.d.ts.map +1 -0
- package/dist/src/contracts/contractInstances.d.ts +1 -0
- package/dist/src/contracts/contractInstances.d.ts.map +1 -0
- package/dist/src/contracts/index.d.ts +1 -0
- package/dist/src/contracts/index.d.ts.map +1 -0
- package/dist/src/contracts/safeDeploymentContracts.d.ts +1 -0
- package/dist/src/contracts/safeDeploymentContracts.d.ts.map +1 -0
- package/dist/src/contracts/utils.d.ts +1 -0
- package/dist/src/contracts/utils.d.ts.map +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/managers/contractManager.d.ts +1 -0
- package/dist/src/managers/contractManager.d.ts.map +1 -0
- package/dist/src/managers/fallbackHandlerManager.d.ts +1 -0
- package/dist/src/managers/fallbackHandlerManager.d.ts.map +1 -0
- package/dist/src/managers/guardManager.d.ts +1 -0
- package/dist/src/managers/guardManager.d.ts.map +1 -0
- package/dist/src/managers/moduleManager.d.ts +1 -0
- package/dist/src/managers/moduleManager.d.ts.map +1 -0
- package/dist/src/managers/ownerManager.d.ts +1 -0
- package/dist/src/managers/ownerManager.d.ts.map +1 -0
- package/dist/src/types/contracts.d.ts +1 -0
- package/dist/src/types/contracts.d.ts.map +1 -0
- package/dist/src/types/index.d.ts +1 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/src/types/passkeys.d.ts +1 -0
- package/dist/src/types/passkeys.d.ts.map +1 -0
- package/dist/src/types/safeConfig.d.ts +1 -0
- package/dist/src/types/safeConfig.d.ts.map +1 -0
- package/dist/src/types/safeProvider.d.ts +1 -0
- package/dist/src/types/safeProvider.d.ts.map +1 -0
- package/dist/src/types/signing.d.ts +1 -0
- package/dist/src/types/signing.d.ts.map +1 -0
- package/dist/src/types/transactions.d.ts +1 -0
- package/dist/src/types/transactions.d.ts.map +1 -0
- package/dist/src/utils/address.d.ts +1 -0
- package/dist/src/utils/address.d.ts.map +1 -0
- package/dist/src/utils/block.d.ts +1 -0
- package/dist/src/utils/block.d.ts.map +1 -0
- package/dist/src/utils/constants.d.ts +1 -0
- package/dist/src/utils/constants.d.ts.map +1 -0
- package/dist/src/utils/eip-3770/config.d.ts +1 -0
- package/dist/src/utils/eip-3770/config.d.ts.map +1 -0
- package/dist/src/utils/eip-3770/index.d.ts +1 -0
- package/dist/src/utils/eip-3770/index.d.ts.map +1 -0
- package/dist/src/utils/eip-712/encode.d.ts +1 -0
- package/dist/src/utils/eip-712/encode.d.ts.map +1 -0
- package/dist/src/utils/eip-712/index.d.ts +1 -0
- package/dist/src/utils/eip-712/index.d.ts.map +1 -0
- package/dist/src/utils/erc-20/index.d.ts +1 -0
- package/dist/src/utils/erc-20/index.d.ts.map +1 -0
- package/dist/src/utils/getProtocolKitVersion.d.ts +1 -0
- package/dist/src/utils/getProtocolKitVersion.d.ts.map +1 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/index.d.ts.map +1 -0
- package/dist/src/utils/memoized.d.ts +1 -0
- package/dist/src/utils/memoized.d.ts.map +1 -0
- package/dist/src/utils/messages/SafeMessage.d.ts +1 -0
- package/dist/src/utils/messages/SafeMessage.d.ts.map +1 -0
- package/dist/src/utils/on-chain-tracking/generateOnChainIdentifier.d.ts +1 -0
- package/dist/src/utils/on-chain-tracking/generateOnChainIdentifier.d.ts.map +1 -0
- package/dist/src/utils/passkeys/PasskeyClient.d.ts +1 -0
- package/dist/src/utils/passkeys/PasskeyClient.d.ts.map +1 -0
- package/dist/src/utils/passkeys/createPasskeyDeploymentTransaction.d.ts +1 -0
- package/dist/src/utils/passkeys/createPasskeyDeploymentTransaction.d.ts.map +1 -0
- package/dist/src/utils/passkeys/extractPasskeyData.d.ts +1 -0
- package/dist/src/utils/passkeys/extractPasskeyData.d.ts.map +1 -0
- package/dist/src/utils/passkeys/getPasskeyOwnerAddress.d.ts +1 -0
- package/dist/src/utils/passkeys/getPasskeyOwnerAddress.d.ts.map +1 -0
- package/dist/src/utils/passkeys/index.d.ts +1 -0
- package/dist/src/utils/passkeys/index.d.ts.map +1 -0
- package/dist/src/utils/passkeys/isSharedSigner.d.ts +1 -0
- package/dist/src/utils/passkeys/isSharedSigner.d.ts.map +1 -0
- package/dist/src/utils/provider.d.ts +1 -0
- package/dist/src/utils/provider.d.ts.map +1 -0
- package/dist/src/utils/safeVersions.d.ts +1 -0
- package/dist/src/utils/safeVersions.d.ts.map +1 -0
- package/dist/src/utils/signatures/SafeSignature.d.ts +1 -0
- package/dist/src/utils/signatures/SafeSignature.d.ts.map +1 -0
- package/dist/src/utils/signatures/index.d.ts +1 -0
- package/dist/src/utils/signatures/index.d.ts.map +1 -0
- package/dist/src/utils/signatures/utils.d.ts +1 -0
- package/dist/src/utils/signatures/utils.d.ts.map +1 -0
- package/dist/src/utils/transactions/SafeTransaction.d.ts +1 -0
- package/dist/src/utils/transactions/SafeTransaction.d.ts.map +1 -0
- package/dist/src/utils/transactions/gas.d.ts +1 -0
- package/dist/src/utils/transactions/gas.d.ts.map +1 -0
- package/dist/src/utils/transactions/index.d.ts +1 -0
- package/dist/src/utils/transactions/index.d.ts.map +1 -0
- package/dist/src/utils/transactions/types.d.ts +1 -0
- package/dist/src/utils/transactions/types.d.ts.map +1 -0
- package/dist/src/utils/transactions/utils.d.ts +1 -0
- package/dist/src/utils/transactions/utils.d.ts.map +1 -0
- package/dist/src/utils/types.d.ts +1 -0
- package/dist/src/utils/types.d.ts.map +1 -0
- package/dist/test-utils/index.d.ts +3 -0
- package/dist/test-utils/index.d.ts.map +1 -0
- package/dist/test-utils/passkeys.d.ts +25 -0
- package/dist/test-utils/passkeys.d.ts.map +1 -0
- package/dist/test-utils/webauthnShim.d.ts +150 -0
- package/dist/test-utils/webauthnShim.d.ts.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +21 -5
- package/dist/src/Safe.js +0 -1409
- package/dist/src/Safe.js.map +0 -1
- package/dist/src/SafeProvider.js +0 -265
- package/dist/src/SafeProvider.js.map +0 -1
- package/dist/src/contracts/BaseContract.js +0 -163
- package/dist/src/contracts/BaseContract.js.map +0 -1
- package/dist/src/contracts/CompatibilityFallbackHandler/CompatibilityFallbackHandlerBaseContract.js +0 -40
- package/dist/src/contracts/CompatibilityFallbackHandler/CompatibilityFallbackHandlerBaseContract.js.map +0 -1
- package/dist/src/contracts/CompatibilityFallbackHandler/v1.3.0/CompatibilityFallbackHandlerContract_v1_3_0.js +0 -33
- package/dist/src/contracts/CompatibilityFallbackHandler/v1.3.0/CompatibilityFallbackHandlerContract_v1_3_0.js.map +0 -1
- package/dist/src/contracts/CompatibilityFallbackHandler/v1.4.1/CompatibilityFallbackHandlerContract_v1_4_1.js +0 -33
- package/dist/src/contracts/CompatibilityFallbackHandler/v1.4.1/CompatibilityFallbackHandlerContract_v1_4_1.js.map +0 -1
- package/dist/src/contracts/CreateCall/CreateCallBaseContract.js +0 -40
- package/dist/src/contracts/CreateCall/CreateCallBaseContract.js.map +0 -1
- package/dist/src/contracts/CreateCall/v1.3.0/CreateCallContract_v1_3_0.js +0 -56
- package/dist/src/contracts/CreateCall/v1.3.0/CreateCallContract_v1_3_0.js.map +0 -1
- package/dist/src/contracts/CreateCall/v1.4.1/CreateCallContract_v1_4_1.js +0 -56
- package/dist/src/contracts/CreateCall/v1.4.1/CreateCallContract_v1_4_1.js.map +0 -1
- package/dist/src/contracts/MultiSend/MultiSendBaseContract.js +0 -40
- package/dist/src/contracts/MultiSend/MultiSendBaseContract.js.map +0 -1
- package/dist/src/contracts/MultiSend/MultiSendCallOnlyBaseContract.js +0 -40
- package/dist/src/contracts/MultiSend/MultiSendCallOnlyBaseContract.js.map +0 -1
- package/dist/src/contracts/MultiSend/v1.1.1/MultiSendContract_v1_1_1.js +0 -33
- package/dist/src/contracts/MultiSend/v1.1.1/MultiSendContract_v1_1_1.js.map +0 -1
- package/dist/src/contracts/MultiSend/v1.3.0/MultiSendCallOnlyContract_v1_3_0.js +0 -33
- package/dist/src/contracts/MultiSend/v1.3.0/MultiSendCallOnlyContract_v1_3_0.js.map +0 -1
- package/dist/src/contracts/MultiSend/v1.3.0/MultiSendContract_v1_3_0.js +0 -33
- package/dist/src/contracts/MultiSend/v1.3.0/MultiSendContract_v1_3_0.js.map +0 -1
- package/dist/src/contracts/MultiSend/v1.4.1/MultiSendCallOnlyContract_v1_4_1.js +0 -33
- package/dist/src/contracts/MultiSend/v1.4.1/MultiSendCallOnlyContract_v1_4_1.js.map +0 -1
- package/dist/src/contracts/MultiSend/v1.4.1/MultiSendContract_v1_4_1.js +0 -33
- package/dist/src/contracts/MultiSend/v1.4.1/MultiSendContract_v1_4_1.js.map +0 -1
- package/dist/src/contracts/Safe/SafeBaseContract.js +0 -47
- package/dist/src/contracts/Safe/SafeBaseContract.js.map +0 -1
- package/dist/src/contracts/Safe/v1.0.0/SafeContract_v1_0_0.js +0 -276
- package/dist/src/contracts/Safe/v1.0.0/SafeContract_v1_0_0.js.map +0 -1
- package/dist/src/contracts/Safe/v1.1.1/SafeContract_v1_1_1.js +0 -248
- package/dist/src/contracts/Safe/v1.1.1/SafeContract_v1_1_1.js.map +0 -1
- package/dist/src/contracts/Safe/v1.2.0/SafeContract_v1_2_0.js +0 -253
- package/dist/src/contracts/Safe/v1.2.0/SafeContract_v1_2_0.js.map +0 -1
- package/dist/src/contracts/Safe/v1.3.0/SafeContract_v1_3_0.js +0 -267
- package/dist/src/contracts/Safe/v1.3.0/SafeContract_v1_3_0.js.map +0 -1
- package/dist/src/contracts/Safe/v1.4.1/SafeContract_v1_4_1.js +0 -267
- package/dist/src/contracts/Safe/v1.4.1/SafeContract_v1_4_1.js.map +0 -1
- package/dist/src/contracts/SafeProxyFactory/SafeProxyFactoryBaseContract.js +0 -43
- package/dist/src/contracts/SafeProxyFactory/SafeProxyFactoryBaseContract.js.map +0 -1
- package/dist/src/contracts/SafeProxyFactory/v1.0.0/SafeProxyFactoryContract_v1_0_0.js +0 -63
- package/dist/src/contracts/SafeProxyFactory/v1.0.0/SafeProxyFactoryContract_v1_0_0.js.map +0 -1
- package/dist/src/contracts/SafeProxyFactory/v1.1.1/SafeProxyFactoryContract_v1_1_1.js +0 -79
- package/dist/src/contracts/SafeProxyFactory/v1.1.1/SafeProxyFactoryContract_v1_1_1.js.map +0 -1
- package/dist/src/contracts/SafeProxyFactory/v1.3.0/SafeProxyFactoryContract_v1_3_0.js +0 -79
- package/dist/src/contracts/SafeProxyFactory/v1.3.0/SafeProxyFactoryContract_v1_3_0.js.map +0 -1
- package/dist/src/contracts/SafeProxyFactory/v1.4.1/SafeProxyFactoryContract_v1_4_1.js +0 -72
- package/dist/src/contracts/SafeProxyFactory/v1.4.1/SafeProxyFactoryContract_v1_4_1.js.map +0 -1
- package/dist/src/contracts/SafeWebAuthnSharedSigner/SafeWebAuthnSharedSignerBaseContract.js +0 -39
- package/dist/src/contracts/SafeWebAuthnSharedSigner/SafeWebAuthnSharedSignerBaseContract.js.map +0 -1
- package/dist/src/contracts/SafeWebAuthnSharedSigner/v0.2.1/SafeWebAuthnSharedSignerContract_v0_2_1.js +0 -59
- package/dist/src/contracts/SafeWebAuthnSharedSigner/v0.2.1/SafeWebAuthnSharedSignerContract_v0_2_1.js.map +0 -1
- package/dist/src/contracts/SafeWebAuthnSignerFactory/SafeWebAuthnSignerFactoryBaseContract.js +0 -39
- package/dist/src/contracts/SafeWebAuthnSignerFactory/SafeWebAuthnSignerFactoryBaseContract.js.map +0 -1
- package/dist/src/contracts/SafeWebAuthnSignerFactory/v0.2.1/SafeWebAuthnSignerFactoryContract_v0_2_1.js +0 -52
- package/dist/src/contracts/SafeWebAuthnSignerFactory/v0.2.1/SafeWebAuthnSignerFactoryContract_v0_2_1.js.map +0 -1
- package/dist/src/contracts/SignMessageLib/SignMessageLibBaseContract.js +0 -40
- package/dist/src/contracts/SignMessageLib/SignMessageLibBaseContract.js.map +0 -1
- package/dist/src/contracts/SignMessageLib/v1.3.0/SignMessageLibContract_v1_3_0.js +0 -49
- package/dist/src/contracts/SignMessageLib/v1.3.0/SignMessageLibContract_v1_3_0.js.map +0 -1
- package/dist/src/contracts/SignMessageLib/v1.4.1/SignMessageLibContract_v1_4_1.js +0 -49
- package/dist/src/contracts/SignMessageLib/v1.4.1/SignMessageLibContract_v1_4_1.js.map +0 -1
- package/dist/src/contracts/SimulateTxAccessor/SimulateTxAccessorBaseContract.js +0 -40
- package/dist/src/contracts/SimulateTxAccessor/SimulateTxAccessorBaseContract.js.map +0 -1
- package/dist/src/contracts/SimulateTxAccessor/v1.3.0/SimulateTxAccessorContract_v1_3_0.js +0 -42
- package/dist/src/contracts/SimulateTxAccessor/v1.3.0/SimulateTxAccessorContract_v1_3_0.js.map +0 -1
- package/dist/src/contracts/SimulateTxAccessor/v1.4.1/SimulateTxAccessorContract_v1_4_1.js +0 -42
- package/dist/src/contracts/SimulateTxAccessor/v1.4.1/SimulateTxAccessorContract_v1_4_1.js.map +0 -1
- package/dist/src/contracts/config.js +0 -130
- package/dist/src/contracts/config.js.map +0 -1
- package/dist/src/contracts/constants.js +0 -8
- package/dist/src/contracts/constants.js.map +0 -1
- package/dist/src/contracts/contractInstances.js +0 -222
- package/dist/src/contracts/contractInstances.js.map +0 -1
- package/dist/src/contracts/index.js +0 -19
- package/dist/src/contracts/index.js.map +0 -1
- package/dist/src/contracts/safeDeploymentContracts.js +0 -95
- package/dist/src/contracts/safeDeploymentContracts.js.map +0 -1
- package/dist/src/contracts/utils.js +0 -324
- package/dist/src/contracts/utils.js.map +0 -1
- package/dist/src/index.js +0 -93
- package/dist/src/index.js.map +0 -1
- package/dist/src/managers/contractManager.js +0 -90
- package/dist/src/managers/contractManager.js.map +0 -1
- package/dist/src/managers/fallbackHandlerManager.js +0 -73
- package/dist/src/managers/fallbackHandlerManager.js.map +0 -1
- package/dist/src/managers/guardManager.js +0 -73
- package/dist/src/managers/guardManager.js.map +0 -1
- package/dist/src/managers/moduleManager.js +0 -88
- package/dist/src/managers/moduleManager.js.map +0 -1
- package/dist/src/managers/ownerManager.js +0 -124
- package/dist/src/managers/ownerManager.js.map +0 -1
- package/dist/src/types/contracts.js +0 -3
- package/dist/src/types/contracts.js.map +0 -1
- package/dist/src/types/index.js +0 -23
- package/dist/src/types/index.js.map +0 -1
- package/dist/src/types/passkeys.js +0 -3
- package/dist/src/types/passkeys.js.map +0 -1
- package/dist/src/types/safeConfig.js +0 -3
- package/dist/src/types/safeConfig.js.map +0 -1
- package/dist/src/types/safeProvider.js +0 -3
- package/dist/src/types/safeProvider.js.map +0 -1
- package/dist/src/types/signing.js +0 -12
- package/dist/src/types/signing.js.map +0 -1
- package/dist/src/types/transactions.js +0 -3
- package/dist/src/types/transactions.js.map +0 -1
- package/dist/src/utils/address.js +0 -21
- package/dist/src/utils/address.js.map +0 -1
- package/dist/src/utils/block.js +0 -14
- package/dist/src/utils/block.js.map +0 -1
- package/dist/src/utils/constants.js +0 -8
- package/dist/src/utils/constants.js.map +0 -1
- package/dist/src/utils/eip-3770/config.js +0 -356
- package/dist/src/utils/eip-3770/config.js.map +0 -1
- package/dist/src/utils/eip-3770/index.js +0 -47
- package/dist/src/utils/eip-3770/index.js.map +0 -1
- package/dist/src/utils/eip-712/encode.js +0 -127
- package/dist/src/utils/eip-712/encode.js.map +0 -1
- package/dist/src/utils/eip-712/index.js +0 -105
- package/dist/src/utils/eip-712/index.js.map +0 -1
- package/dist/src/utils/erc-20/index.js +0 -84
- package/dist/src/utils/erc-20/index.js.map +0 -1
- package/dist/src/utils/getProtocolKitVersion.js +0 -6
- package/dist/src/utils/getProtocolKitVersion.js.map +0 -1
- package/dist/src/utils/index.js +0 -24
- package/dist/src/utils/index.js.map +0 -1
- package/dist/src/utils/memoized.js +0 -41
- package/dist/src/utils/memoized.js.map +0 -1
- package/dist/src/utils/messages/SafeMessage.js +0 -20
- package/dist/src/utils/messages/SafeMessage.js.map +0 -1
- package/dist/src/utils/on-chain-tracking/generateOnChainIdentifier.js +0 -46
- package/dist/src/utils/on-chain-tracking/generateOnChainIdentifier.js.map +0 -1
- package/dist/src/utils/passkeys/PasskeyClient.js +0 -171
- package/dist/src/utils/passkeys/PasskeyClient.js.map +0 -1
- package/dist/src/utils/passkeys/createPasskeyDeploymentTransaction.js +0 -35
- package/dist/src/utils/passkeys/createPasskeyDeploymentTransaction.js.map +0 -1
- package/dist/src/utils/passkeys/extractPasskeyData.js +0 -232
- package/dist/src/utils/passkeys/extractPasskeyData.js.map +0 -1
- package/dist/src/utils/passkeys/getPasskeyOwnerAddress.js +0 -31
- package/dist/src/utils/passkeys/getPasskeyOwnerAddress.js.map +0 -1
- package/dist/src/utils/passkeys/index.js +0 -20
- package/dist/src/utils/passkeys/index.js.map +0 -1
- package/dist/src/utils/passkeys/isSharedSigner.js +0 -26
- package/dist/src/utils/passkeys/isSharedSigner.js.map +0 -1
- package/dist/src/utils/provider.js +0 -12
- package/dist/src/utils/provider.js.map +0 -1
- package/dist/src/utils/safeVersions.js +0 -54
- package/dist/src/utils/safeVersions.js.map +0 -1
- package/dist/src/utils/signatures/SafeSignature.js +0 -42
- package/dist/src/utils/signatures/SafeSignature.js.map +0 -1
- package/dist/src/utils/signatures/index.js +0 -19
- package/dist/src/utils/signatures/index.js.map +0 -1
- package/dist/src/utils/signatures/utils.js +0 -174
- package/dist/src/utils/signatures/utils.js.map +0 -1
- package/dist/src/utils/transactions/SafeTransaction.js +0 -20
- package/dist/src/utils/transactions/SafeTransaction.js.map +0 -1
- package/dist/src/utils/transactions/gas.js +0 -398
- package/dist/src/utils/transactions/gas.js.map +0 -1
- package/dist/src/utils/transactions/index.js +0 -21
- package/dist/src/utils/transactions/index.js.map +0 -1
- package/dist/src/utils/transactions/types.js +0 -3
- package/dist/src/utils/transactions/types.js.map +0 -1
- package/dist/src/utils/transactions/utils.js +0 -217
- package/dist/src/utils/transactions/utils.js.map +0 -1
- package/dist/src/utils/types.js +0 -66
- package/dist/src/utils/types.js.map +0 -1
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const actions_1 = require("viem/actions");
|
|
7
|
-
const SafeBaseContract_1 = __importDefault(require("../../../contracts/Safe/SafeBaseContract"));
|
|
8
|
-
const utils_1 = require("../../../contracts/utils");
|
|
9
|
-
const constants_1 = require("../../../utils/constants");
|
|
10
|
-
const types_kit_1 = require("@safe-global/types-kit");
|
|
11
|
-
const types_1 = require("../../../utils/types");
|
|
12
|
-
/**
|
|
13
|
-
* SafeContract_v1_4_1 is the implementation specific to the Safe contract version 1.4.1.
|
|
14
|
-
*
|
|
15
|
-
* This class specializes in handling interactions with the Safe contract version 1.4.1 using Ethers.js v6.
|
|
16
|
-
*
|
|
17
|
-
* @extends SafeBaseContract<SafeContract_v1_4_1_Abi> - Inherits from SafeBaseContract with ABI specific to Safe contract version 1.4.1.
|
|
18
|
-
* @implements SafeContract_v1_4_1_Contract - Implements the interface specific to Safe contract version 1.4.1.
|
|
19
|
-
*/
|
|
20
|
-
class SafeContract_v1_4_1 extends SafeBaseContract_1.default {
|
|
21
|
-
/**
|
|
22
|
-
* Constructs an instance of SafeContract_v1_4_1
|
|
23
|
-
*
|
|
24
|
-
* @param chainId - The chain ID where the contract resides.
|
|
25
|
-
* @param safeProvider - An instance of SafeProvider.
|
|
26
|
-
* @param isL1SafeSingleton - A flag indicating if the contract is a L1 Safe Singleton.
|
|
27
|
-
* @param customContractAddress - Optional custom address for the contract. If not provided, the address is derived from the Safe deployments based on the chainId and safeVersion.
|
|
28
|
-
* @param customContractAbi - Optional custom ABI for the contract. If not provided, the default ABI for version 1.4.1 is used.
|
|
29
|
-
* @param deploymentType - Optional deployment type for the contract. If not provided, the first deployment retrieved from the safe-deployments array will be used.
|
|
30
|
-
*/
|
|
31
|
-
constructor(chainId, safeProvider, isL1SafeSingleton, customContractAddress, customContractAbi, deploymentType) {
|
|
32
|
-
const safeVersion = '1.4.1';
|
|
33
|
-
const defaultAbi = types_kit_1.safe_1_4_1_ContractArtifacts.abi;
|
|
34
|
-
super(chainId, safeProvider, defaultAbi, safeVersion, isL1SafeSingleton, customContractAddress, customContractAbi, deploymentType);
|
|
35
|
-
/**
|
|
36
|
-
* @returns Array[safeContractVersion]
|
|
37
|
-
*/
|
|
38
|
-
this.VERSION = async () => {
|
|
39
|
-
return [await this.read('VERSION')];
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* @param args - Array[owner, txHash]
|
|
43
|
-
* @returns Array[approvedHashes]
|
|
44
|
-
*/
|
|
45
|
-
this.approvedHashes = async (args) => {
|
|
46
|
-
return [await this.read('approvedHashes', args)];
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* Checks whether the signature provided is valid for the provided data, hash and number of required signatures.
|
|
50
|
-
* Will revert otherwise.
|
|
51
|
-
* @param args - Array[dataHash, data, signatures, requiredSignatures]
|
|
52
|
-
* @returns Empty array
|
|
53
|
-
*/
|
|
54
|
-
this.checkNSignatures = async (args) => {
|
|
55
|
-
await this.read('checkNSignatures', args);
|
|
56
|
-
return [];
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* Checks whether the signature provided is valid for the provided data and hash. Will revert otherwise.
|
|
60
|
-
* @param args - Array[dataHash, data, signatures]
|
|
61
|
-
* @returns Empty array
|
|
62
|
-
*/
|
|
63
|
-
this.checkSignatures = async (args) => {
|
|
64
|
-
await this.read('checkSignatures', args);
|
|
65
|
-
return [];
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* @returns Array[domainSeparator]
|
|
69
|
-
*/
|
|
70
|
-
this.domainSeparator = async () => {
|
|
71
|
-
return [await this.read('domainSeparator')];
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* Encodes the data for a transaction to the Safe contract.
|
|
75
|
-
* @param args - Array[to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, _nonce]
|
|
76
|
-
* @returns Array[encodedData]
|
|
77
|
-
*/
|
|
78
|
-
this.encodeTransactionData = async (args) => {
|
|
79
|
-
return [await this.read('encodeTransactionData', args)];
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* Returns array of modules.
|
|
83
|
-
* @param args - Array[start, pageSize]
|
|
84
|
-
* @returns Array[Array[modules], next]
|
|
85
|
-
*/
|
|
86
|
-
this.getModulesPaginated = async (args) => {
|
|
87
|
-
const [array, next] = await this.read('getModulesPaginated', args);
|
|
88
|
-
return [array, next];
|
|
89
|
-
};
|
|
90
|
-
/**
|
|
91
|
-
* Returns the list of Safe owner accounts.
|
|
92
|
-
* @returns Array[Array[owners]]
|
|
93
|
-
*/
|
|
94
|
-
this.getOwners = async () => {
|
|
95
|
-
return [await this.read('getOwners')];
|
|
96
|
-
};
|
|
97
|
-
/**
|
|
98
|
-
* Reads `length` bytes of storage in the currents contract
|
|
99
|
-
* @param args - Array[offset, length]
|
|
100
|
-
* @returns Array[storage]
|
|
101
|
-
*/
|
|
102
|
-
this.getStorageAt = async (args) => {
|
|
103
|
-
return [await this.read('getStorageAt', args)];
|
|
104
|
-
};
|
|
105
|
-
/**
|
|
106
|
-
* Returns the Safe threshold.
|
|
107
|
-
* @returns Array[threshold]
|
|
108
|
-
*/
|
|
109
|
-
this.getThreshold = async () => {
|
|
110
|
-
return [await this.read('getThreshold')];
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* Returns hash to be signed by owners.
|
|
114
|
-
* @param args - Array[to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, _nonce]
|
|
115
|
-
* @returns Array[transactionHash]
|
|
116
|
-
*/
|
|
117
|
-
this.getTransactionHash = async (args) => {
|
|
118
|
-
return [await this.read('getTransactionHash', args)];
|
|
119
|
-
};
|
|
120
|
-
/**
|
|
121
|
-
* Checks if a specific Safe module is enabled for the current Safe.
|
|
122
|
-
* @param args - Array[moduleAddress]
|
|
123
|
-
* @returns Array[isEnabled]
|
|
124
|
-
*/
|
|
125
|
-
this.isModuleEnabled = async (args) => {
|
|
126
|
-
return [await this.read('isModuleEnabled', args)];
|
|
127
|
-
};
|
|
128
|
-
/**
|
|
129
|
-
* Checks if a specific address is an owner of the current Safe.
|
|
130
|
-
* @param args - Array[address]
|
|
131
|
-
* @returns Array[isOwner]
|
|
132
|
-
*/
|
|
133
|
-
this.isOwner = async (args) => {
|
|
134
|
-
return [await this.read('isOwner', args)];
|
|
135
|
-
};
|
|
136
|
-
/**
|
|
137
|
-
* Returns the Safe nonce.
|
|
138
|
-
* @returns Array[nonce]
|
|
139
|
-
*/
|
|
140
|
-
this.nonce = async () => {
|
|
141
|
-
return [await this.read('nonce')];
|
|
142
|
-
};
|
|
143
|
-
/**
|
|
144
|
-
* @param args - Array[messageHash]
|
|
145
|
-
* @returns Array[signedMessages]
|
|
146
|
-
*/
|
|
147
|
-
this.signedMessages = async (args) => {
|
|
148
|
-
return [await this.read('signedMessages', args)];
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Checks whether a given Safe transaction can be executed successfully with no errors.
|
|
153
|
-
* @param safeTransaction - The Safe transaction to check.
|
|
154
|
-
* @param options - Optional transaction options.
|
|
155
|
-
* @returns True, if the given transactions is valid.
|
|
156
|
-
*/
|
|
157
|
-
async isValidTransaction(safeTransaction, options = {}) {
|
|
158
|
-
try {
|
|
159
|
-
const gasLimit = options?.gasLimit ||
|
|
160
|
-
(await this.estimateGas('execTransaction', [
|
|
161
|
-
safeTransaction.data.to,
|
|
162
|
-
BigInt(safeTransaction.data.value),
|
|
163
|
-
(0, types_1.asHex)(safeTransaction.data.data),
|
|
164
|
-
safeTransaction.data.operation,
|
|
165
|
-
BigInt(safeTransaction.data.safeTxGas),
|
|
166
|
-
BigInt(safeTransaction.data.baseGas),
|
|
167
|
-
BigInt(safeTransaction.data.gasPrice),
|
|
168
|
-
safeTransaction.data.gasToken,
|
|
169
|
-
safeTransaction.data.refundReceiver,
|
|
170
|
-
(0, types_1.asHex)(safeTransaction.encodedSignatures())
|
|
171
|
-
], options));
|
|
172
|
-
const converted = this.convertOptions({ ...options, gasLimit });
|
|
173
|
-
const txResult = await (0, actions_1.simulateContract)(this.runner, {
|
|
174
|
-
address: this.contractAddress,
|
|
175
|
-
functionName: 'execTransaction',
|
|
176
|
-
abi: this.contractAbi,
|
|
177
|
-
args: [
|
|
178
|
-
safeTransaction.data.to,
|
|
179
|
-
BigInt(safeTransaction.data.value),
|
|
180
|
-
(0, types_1.asHex)(safeTransaction.data.data),
|
|
181
|
-
safeTransaction.data.operation,
|
|
182
|
-
BigInt(safeTransaction.data.safeTxGas),
|
|
183
|
-
BigInt(safeTransaction.data.baseGas),
|
|
184
|
-
BigInt(safeTransaction.data.gasPrice),
|
|
185
|
-
safeTransaction.data.gasToken,
|
|
186
|
-
safeTransaction.data.refundReceiver,
|
|
187
|
-
(0, types_1.asHex)(safeTransaction.encodedSignatures())
|
|
188
|
-
],
|
|
189
|
-
...converted
|
|
190
|
-
});
|
|
191
|
-
return txResult.result;
|
|
192
|
-
}
|
|
193
|
-
catch (error) {
|
|
194
|
-
return false;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* Executes a transaction.
|
|
199
|
-
* @param safeTransaction - The Safe transaction to execute.
|
|
200
|
-
* @param options - Transaction options.
|
|
201
|
-
* @returns Transaction result.
|
|
202
|
-
*/
|
|
203
|
-
async execTransaction(safeTransaction, options) {
|
|
204
|
-
const gasLimit = options?.gasLimit ||
|
|
205
|
-
(await this.estimateGas('execTransaction', [
|
|
206
|
-
safeTransaction.data.to,
|
|
207
|
-
BigInt(safeTransaction.data.value),
|
|
208
|
-
(0, types_1.asHex)(safeTransaction.data.data),
|
|
209
|
-
safeTransaction.data.operation,
|
|
210
|
-
BigInt(safeTransaction.data.safeTxGas),
|
|
211
|
-
BigInt(safeTransaction.data.baseGas),
|
|
212
|
-
BigInt(safeTransaction.data.gasPrice),
|
|
213
|
-
safeTransaction.data.gasToken,
|
|
214
|
-
safeTransaction.data.refundReceiver,
|
|
215
|
-
(0, types_1.asHex)(safeTransaction.encodedSignatures())
|
|
216
|
-
], options));
|
|
217
|
-
const args = [
|
|
218
|
-
safeTransaction.data.to,
|
|
219
|
-
BigInt(safeTransaction.data.value),
|
|
220
|
-
(0, types_1.asHex)(safeTransaction.data.data),
|
|
221
|
-
safeTransaction.data.operation,
|
|
222
|
-
BigInt(safeTransaction.data.safeTxGas),
|
|
223
|
-
BigInt(safeTransaction.data.baseGas),
|
|
224
|
-
BigInt(safeTransaction.data.gasPrice),
|
|
225
|
-
safeTransaction.data.gasToken,
|
|
226
|
-
safeTransaction.data.refundReceiver,
|
|
227
|
-
(0, types_1.asHex)(safeTransaction.encodedSignatures())
|
|
228
|
-
];
|
|
229
|
-
return (0, utils_1.toTxResult)(this.runner, await this.write('execTransaction', args, { ...options, gasLimit }), options);
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* Returns array of first 10 modules.
|
|
233
|
-
* @returns Array[modules]
|
|
234
|
-
*/
|
|
235
|
-
async getModules() {
|
|
236
|
-
const [modules] = await this.getModulesPaginated([constants_1.SENTINEL_ADDRESS, BigInt(10)]);
|
|
237
|
-
return [modules.map((module) => module)];
|
|
238
|
-
}
|
|
239
|
-
/**
|
|
240
|
-
* Marks a hash as approved. This can be used to validate a hash that is used by a signature.
|
|
241
|
-
* @param hash - The hash that should be marked as approved for signatures that are verified by this contract.
|
|
242
|
-
* @param options - Optional transaction options.
|
|
243
|
-
* @returns Transaction result.
|
|
244
|
-
*/
|
|
245
|
-
async approveHash(hash, options) {
|
|
246
|
-
const gasLimit = options?.gasLimit || (await this.estimateGas('approveHash', [(0, types_1.asHash)(hash)], options));
|
|
247
|
-
return (0, utils_1.toTxResult)(this.runner, await this.write('approveHash', [(0, types_1.asHash)(hash)], { ...options, gasLimit }), options);
|
|
248
|
-
}
|
|
249
|
-
/**
|
|
250
|
-
* Returns the chain id of the Safe contract. (Custom method - not defined in the Safe Contract)
|
|
251
|
-
* @returns Array[chainId]
|
|
252
|
-
*/
|
|
253
|
-
async getChainId() {
|
|
254
|
-
return [await Promise.resolve(this.chainId)];
|
|
255
|
-
}
|
|
256
|
-
/**
|
|
257
|
-
* returns the nonce of the Safe contract.
|
|
258
|
-
*
|
|
259
|
-
* @returns {Promise<bigint>} A promise that resolves to the nonce of the Safe contract.
|
|
260
|
-
*/
|
|
261
|
-
async getNonce() {
|
|
262
|
-
const [nonce] = await this.nonce();
|
|
263
|
-
return nonce;
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
exports.default = SafeContract_v1_4_1;
|
|
267
|
-
//# sourceMappingURL=SafeContract_v1_4_1.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SafeContract_v1_4_1.js","sourceRoot":"","sources":["../../../../../src/contracts/Safe/v1.4.1/SafeContract_v1_4_1.ts"],"names":[],"mappings":";;;;;AAAA,0CAA+C;AAC/C,iHAAwF;AAExF,qEAAsE;AACtE,yEAA4E;AAE5E,sDAQ+B;AAC/B,iEAAqE;AAGrE;;;;;;;GAOG;AACH,MAAM,mBACJ,SAAQ,0BAAyC;IAGjD;;;;;;;;;OASG;IACH,YACE,OAAe,EACf,YAA0B,EAC1B,iBAA2B,EAC3B,qBAA8B,EAC9B,iBAA2C,EAC3C,cAA+B;QAE/B,MAAM,WAAW,GAAG,OAAO,CAAA;QAC3B,MAAM,UAAU,GAAG,wCAA4B,CAAC,GAAG,CAAA;QAEnD,KAAK,CACH,OAAO,EACP,YAAY,EACZ,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,CACf,CAAA;QAGH;;WAEG;QACH,YAAO,GAA4C,KAAK,IAAI,EAAE;YAC5D,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAA;QACrC,CAAC,CAAA;QAED;;;WAGG;QACH,mBAAc,GAAmD,KAAK,EAAE,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;QACd,OAAO,CAAC,MAAM,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;IAC9C,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,QAAQ;QACZ,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,IAAI,CAAC,KAAK,EAAE,CAAA;QAClC,OAAO,KAAK,CAAA;IACd,CAAC;CACF;AAED,kBAAe,mBAAmB,CAAA"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const BaseContract_1 = __importDefault(require("../../contracts/BaseContract"));
|
|
7
|
-
/**
|
|
8
|
-
* Abstract class SafeProxyFactoryBaseContract extends BaseContract to specifically integrate with the SafeProxyFactory contract.
|
|
9
|
-
* It is designed to be instantiated for different versions of the Safe contract.
|
|
10
|
-
*
|
|
11
|
-
* Subclasses of SafeProxyFactoryBaseContract are expected to represent specific versions of the contract.
|
|
12
|
-
*
|
|
13
|
-
* @template SafeProxyFactoryContractAbiType - The ABI type specific to the version of the Safe Proxy Factory contract, extending InterfaceAbi from Ethers.
|
|
14
|
-
* @extends BaseContract<SafeProxyFactoryContractAbiType> - Extends the generic BaseContract.
|
|
15
|
-
*
|
|
16
|
-
* Example subclasses:
|
|
17
|
-
* - SafeProxyFactoryContract_v1_4_1 extends SafeProxyFactoryBaseContract<SafeProxyFactoryContract_v1_4_1_Abi>
|
|
18
|
-
* - SafeProxyFactoryContract_v1_3_0 extends SafeProxyFactoryBaseContract<SafeProxyFactoryContract_v1_3_0_Abi>
|
|
19
|
-
* - SafeProxyFactoryContract_v1_2_0 extends SafeProxyFactoryBaseContract<SafeProxyFactoryContract_v1_2_0_Abi>
|
|
20
|
-
* - SafeProxyFactoryContract_v1_1_1 extends SafeProxyFactoryBaseContract<SafeProxyFactoryContract_v1_1_1_Abi>
|
|
21
|
-
* - SafeProxyFactoryContract_v1_0_0 extends SafeProxyFactoryBaseContract<SafeProxyFactoryContract_v1_0_0_Abi>
|
|
22
|
-
*/
|
|
23
|
-
class SafeProxyFactoryBaseContract extends BaseContract_1.default {
|
|
24
|
-
/**
|
|
25
|
-
* @constructor
|
|
26
|
-
* Constructs an instance of SafeProxyFactoryBaseContract.
|
|
27
|
-
*
|
|
28
|
-
* @param chainId - The chain ID of the contract.
|
|
29
|
-
* @param safeProvider - An instance of SafeProvider.
|
|
30
|
-
* @param defaultAbi - The default ABI for the Safe contract. It should be compatible with the specific version of the contract.
|
|
31
|
-
* @param safeVersion - The version of the Safe contract.
|
|
32
|
-
* @param customContractAddress - Optional custom address for the contract. If not provided, the address is derived from the Safe deployments based on the chainId and safeVersion.
|
|
33
|
-
* @param customContractAbi - Optional custom ABI for the contract. If not provided, the ABI is derived from the Safe deployments or the defaultAbi is used.
|
|
34
|
-
* @param deploymentType - Optional deployment type for the contract. If not provided, the first deployment retrieved from the safe-deployments array will be used.
|
|
35
|
-
*/
|
|
36
|
-
constructor(chainId, safeProvider, defaultAbi, safeVersion, customContractAddress, customContractAbi, deploymentType) {
|
|
37
|
-
const contractName = 'safeProxyFactoryVersion';
|
|
38
|
-
super(contractName, chainId, safeProvider, defaultAbi, safeVersion, customContractAddress, customContractAbi, deploymentType);
|
|
39
|
-
this.contractName = contractName;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.default = SafeProxyFactoryBaseContract;
|
|
43
|
-
//# sourceMappingURL=SafeProxyFactoryBaseContract.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SafeProxyFactoryBaseContract.js","sourceRoot":"","sources":["../../../../src/contracts/SafeProxyFactory/SafeProxyFactoryBaseContract.ts"],"names":[],"mappings":";;;;;AAEA,oGAA2E;AAK3E;;;;;;;;;;;;;;;GAeG;AACH,MAAe,4BAEb,SAAQ,sBAA6C;IAGrD;;;;;;;;;;;OAWG;IACH,YACE,OAAe,EACf,YAA0B,EAC1B,UAA2C,EAC3C,WAAwB,EACxB,qBAA8B,EAC9B,iBAAmD,EACnD,cAA+B;QAE/B,MAAM,YAAY,GAAG,yBAAyB,CAAA;QAE9C,KAAK,CACH,YAAY,EACZ,OAAO,EACP,YAAY,EACZ,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,CACf,CAAA;QAED,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;IAClC,CAAC;CACF;AAED,kBAAe,4BAA4B,CAAA"}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const SafeProxyFactoryBaseContract_1 = __importDefault(require("../../../contracts/SafeProxyFactory/SafeProxyFactoryBaseContract"));
|
|
7
|
-
const types_kit_1 = require("@safe-global/types-kit");
|
|
8
|
-
/**
|
|
9
|
-
* SafeProxyFactoryContract_v1_0_0 is the implementation specific to the Safe Proxy Factory contract version 1.0.0.
|
|
10
|
-
*
|
|
11
|
-
* This class specializes in handling interactions with the Safe Proxy Factory contract version 1.0.0 using Ethers.js v6.
|
|
12
|
-
*
|
|
13
|
-
* @extends SafeProxyFactoryBaseContract<SafeProxyFactoryContract_v1_0_0_Abi> - Inherits from SafeProxyFactoryBaseContract with ABI specific to Safe Proxy Factory contract version 1.0.0.
|
|
14
|
-
* @implements SafeProxyFactoryContract_v1_0_0_Contract - Implements the interface specific to Safe Proxy Factory contract version 1.0.0.
|
|
15
|
-
*/
|
|
16
|
-
class SafeProxyFactoryContract_v1_0_0 extends SafeProxyFactoryBaseContract_1.default {
|
|
17
|
-
/**
|
|
18
|
-
* Constructs an instance of SafeProxyFactoryContract_v1_0_0
|
|
19
|
-
*
|
|
20
|
-
* @param chainId - The chain ID where the contract resides.
|
|
21
|
-
* @param safeProvider - An instance of SafeProvider.
|
|
22
|
-
* @param customContractAddress - Optional custom address for the contract. If not provided, the address is derived from the Safe deployments based on the chainId and safeVersion.
|
|
23
|
-
* @param customContractAbi - Optional custom ABI for the contract. If not provided, the default ABI for version 1.0.0 is used.
|
|
24
|
-
* @param deploymentType - Optional deployment type for the contract. If not provided, the first deployment retrieved from the safe-deployments array will be used.
|
|
25
|
-
*/
|
|
26
|
-
constructor(chainId, safeProvider, customContractAddress, customContractAbi, deploymentType) {
|
|
27
|
-
const safeVersion = '1.0.0';
|
|
28
|
-
const defaultAbi = types_kit_1.safeProxyFactory_1_0_0_ContractArtifacts.abi;
|
|
29
|
-
super(chainId, safeProvider, defaultAbi, safeVersion, customContractAddress, customContractAbi, deploymentType);
|
|
30
|
-
/**
|
|
31
|
-
* Allows to retrieve the creation code used for the Proxy deployment. With this it is easily possible to calculate predicted address.
|
|
32
|
-
* @returns Array[creationCode]
|
|
33
|
-
*/
|
|
34
|
-
this.proxyCreationCode = async () => {
|
|
35
|
-
return [await this.read('proxyCreationCode')];
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* Allows to retrieve the runtime code of a deployed Proxy. This can be used to check that the expected Proxy was deployed.
|
|
39
|
-
* @returns Array[runtimeCode]
|
|
40
|
-
*/
|
|
41
|
-
this.proxyRuntimeCode = async () => {
|
|
42
|
-
return [await this.read('proxyRuntimeCode')];
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Allows to create new proxy contact and execute a message call to the new proxy within one transaction.
|
|
46
|
-
* @param args - Array[masterCopy, data]
|
|
47
|
-
* @returns Array[proxyAddress]
|
|
48
|
-
*/
|
|
49
|
-
this.createProxy = async (args) => {
|
|
50
|
-
return [await this.write('createProxy', args)];
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Allows to create new proxy contract and execute a message call to the new proxy within one transaction.
|
|
54
|
-
* @param args - Array[masterCopy, initializer, saltNonce]
|
|
55
|
-
* @returns Array[proxyAddress]
|
|
56
|
-
*/
|
|
57
|
-
this.createProxyWithNonce = async (args) => {
|
|
58
|
-
return [await this.write('createProxyWithNonce', args)];
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
exports.default = SafeProxyFactoryContract_v1_0_0;
|
|
63
|
-
//# sourceMappingURL=SafeProxyFactoryContract_v1_0_0.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SafeProxyFactoryContract_v1_0_0.js","sourceRoot":"","sources":["../../../../../src/contracts/SafeProxyFactory/v1.0.0/SafeProxyFactoryContract_v1_0_0.ts"],"names":[],"mappings":";;;;;AAAA,qJAA4H;AAG5H,sDAK+B;AAE/B;;;;;;;GAOG;AACH,MAAM,+BACJ,SAAQ,sCAAiE;IAGzE;;;;;;;;OAQG;IACH,YACE,OAAe,EACf,YAA0B,EAC1B,qBAA8B,EAC9B,iBAAuD,EACvD,cAA+B;QAE/B,MAAM,WAAW,GAAG,OAAO,CAAA;QAC3B,MAAM,UAAU,GAAG,oDAAwC,CAAC,GAAG,CAAA;QAE/D,KAAK,CACH,OAAO,EACP,YAAY,EACZ,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,CACf,CAAA;QAGH;;;WAGG;QACH,sBAAiB,GAAkE,KAAK,IAAI,EAAE;YAC5F,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAA;QAC/C,CAAC,CAAA;QAED;;;WAGG;QACH,qBAAgB,GAAiE,KAAK,IAAI,EAAE;YAC1F,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAA;QAC9C,CAAC,CAAA;QAED;;;;WAIG;QACH,gBAAW,GAA4D,KAAK,EAAE,IAAI,EAAE,EAAE;YACpF,OAAO,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC,CAAA;QAChD,CAAC,CAAA;QAED;;;;WAIG;QACH,yBAAoB,GAAqE,KAAK,EAC5F,IAAI,EACJ,EAAE;YACF,OAAO,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,sBAAsB,EAAE,IAAI,CAAC,CAAC,CAAA;QACzD,CAAC,CAAA;IApCD,CAAC;CAqCF;AAED,kBAAe,+BAA+B,CAAA"}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const SafeProxyFactoryBaseContract_1 = __importDefault(require("../../../contracts/SafeProxyFactory/SafeProxyFactoryBaseContract"));
|
|
7
|
-
const types_kit_1 = require("@safe-global/types-kit");
|
|
8
|
-
/**
|
|
9
|
-
* SafeProxyFactoryContract_v1_1_1 is the implementation specific to the Safe Proxy Factory contract version 1.1.1.
|
|
10
|
-
*
|
|
11
|
-
* This class specializes in handling interactions with the Safe Proxy Factory contract version 1.1.1 using Ethers.js v6.
|
|
12
|
-
*
|
|
13
|
-
* @extends SafeProxyFactoryBaseContract<SafeProxyFactoryContract_v1_1_1_Abi> - Inherits from SafeProxyFactoryBaseContract with ABI specific to Safe Proxy Factory contract version 1.1.1.
|
|
14
|
-
* @implements SafeProxyFactoryContract_v1_1_1_Contract - Implements the interface specific to Safe Proxy Factory contract version 1.1.1.
|
|
15
|
-
*/
|
|
16
|
-
class SafeProxyFactoryContract_v1_1_1 extends SafeProxyFactoryBaseContract_1.default {
|
|
17
|
-
/**
|
|
18
|
-
* Constructs an instance of SafeProxyFactoryContract_v1_1_1
|
|
19
|
-
*
|
|
20
|
-
* @param chainId - The chain ID where the contract resides.
|
|
21
|
-
* @param safeProvider - An instance of SafeProvider.
|
|
22
|
-
* @param customContractAddress - Optional custom address for the contract. If not provided, the address is derived from the Safe deployments based on the chainId and safeVersion.
|
|
23
|
-
* @param customContractAbi - Optional custom ABI for the contract. If not provided, the default ABI for version 1.1.1 is used.
|
|
24
|
-
* @param deploymentType - Optional deployment type for the contract. If not provided, the first deployment retrieved from the safe-deployments array will be used.
|
|
25
|
-
*/
|
|
26
|
-
constructor(chainId, safeProvider, customContractAddress, customContractAbi, deploymentType) {
|
|
27
|
-
const safeVersion = '1.1.1';
|
|
28
|
-
const defaultAbi = types_kit_1.safeProxyFactory_1_1_1_ContractArtifacts.abi;
|
|
29
|
-
super(chainId, safeProvider, defaultAbi, safeVersion, customContractAddress, customContractAbi, deploymentType);
|
|
30
|
-
/**
|
|
31
|
-
* Allows to retrieve the creation code used for the Proxy deployment. With this it is easily possible to calculate predicted address.
|
|
32
|
-
* @returns Array[creationCode]
|
|
33
|
-
*/
|
|
34
|
-
this.proxyCreationCode = async () => {
|
|
35
|
-
return [await this.read('proxyCreationCode')];
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* Allows to retrieve the runtime code of a deployed Proxy. This can be used to check that the expected Proxy was deployed.
|
|
39
|
-
* @returns Array[runtimeCode]
|
|
40
|
-
*/
|
|
41
|
-
this.proxyRuntimeCode = async () => {
|
|
42
|
-
return [await this.read('proxyRuntimeCode')];
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Allows to get the address for a new proxy contact created via `createProxyWithNonce`.
|
|
46
|
-
* @param args - Array[masterCopy, initializer, saltNonceBigInt]
|
|
47
|
-
* @returns Array[proxyAddress]
|
|
48
|
-
*/
|
|
49
|
-
this.calculateCreateProxyWithNonceAddress = async (args) => {
|
|
50
|
-
return [await this.write('calculateCreateProxyWithNonceAddress', args)];
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Allows to create new proxy contact and execute a message call to the new proxy within one transaction.
|
|
54
|
-
* @param args - Array[masterCopy, data]
|
|
55
|
-
* @returns Array[proxyAddress]
|
|
56
|
-
*/
|
|
57
|
-
this.createProxy = async (args) => {
|
|
58
|
-
return [await this.write('createProxy', args)];
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
* Allows to create new proxy contract, execute a message call to the new proxy and call a specified callback within one transaction.
|
|
62
|
-
* @param args - Array[masterCopy, initializer, saltNonce, callback]
|
|
63
|
-
* @returns Array[proxyAddress]
|
|
64
|
-
*/
|
|
65
|
-
this.createProxyWithCallback = async (args) => {
|
|
66
|
-
return [await this.write('createProxyWithCallback', args)];
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* Allows to create new proxy contract and execute a message call to the new proxy within one transaction.
|
|
70
|
-
* @param args - Array[masterCopy, initializer, saltNonce]
|
|
71
|
-
* @returns Array[proxyAddress]
|
|
72
|
-
*/
|
|
73
|
-
this.createProxyWithNonce = async (args) => {
|
|
74
|
-
return [await this.write('createProxyWithNonce', args)];
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
exports.default = SafeProxyFactoryContract_v1_1_1;
|
|
79
|
-
//# sourceMappingURL=SafeProxyFactoryContract_v1_1_1.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SafeProxyFactoryContract_v1_1_1.js","sourceRoot":"","sources":["../../../../../src/contracts/SafeProxyFactory/v1.1.1/SafeProxyFactoryContract_v1_1_1.ts"],"names":[],"mappings":";;;;;AAAA,qJAA4H;AAG5H,sDAK+B;AAE/B;;;;;;;GAOG;AACH,MAAM,+BACJ,SAAQ,sCAAiE;IAGzE;;;;;;;;OAQG;IACH,YACE,OAAe,EACf,YAA0B,EAC1B,qBAA8B,EAC9B,iBAAuD,EACvD,cAA+B;QAE/B,MAAM,WAAW,GAAG,OAAO,CAAA;QAC3B,MAAM,UAAU,GAAG,oDAAwC,CAAC,GAAG,CAAA;QAE/D,KAAK,CACH,OAAO,EACP,YAAY,EACZ,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,CACf,CAAA;QAGH;;;WAGG;QACH,sBAAiB,GAAkE,KAAK,IAAI,EAAE;YAC5F,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAA;QAC/C,CAAC,CAAA;QAED;;;WAGG;QACH,qBAAgB,GAAiE,KAAK,IAAI,EAAE;YAC1F,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAA;QAC9C,CAAC,CAAA;QAED;;;;WAIG;QACH,yCAAoC,GAClC,KAAK,EAAE,IAAI,EAAE,EAAE;YACb,OAAO,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,sCAAsC,EAAE,IAAI,CAAC,CAAC,CAAA;QACzE,CAAC,CAAA;QAEH;;;;WAIG;QACH,gBAAW,GAA4D,KAAK,EAAE,IAAI,EAAE,EAAE;YACpF,OAAO,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC,CAAA;QAChD,CAAC,CAAA;QAED;;;;WAIG;QACH,4BAAuB,GACrB,KAAK,EAAE,IAAI,EAAE,EAAE;YACb,OAAO,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,yBAAyB,EAAE,IAAI,CAAC,CAAC,CAAA;QAC5D,CAAC,CAAA;QAEH;;;;WAIG;QACH,yBAAoB,GAAqE,KAAK,EAC5F,IAAI,EACJ,EAAE;YACF,OAAO,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,sBAAsB,EAAE,IAAI,CAAC,CAAC,CAAA;QACzD,CAAC,CAAA;IAxDD,CAAC;CAyDF;AAED,kBAAe,+BAA+B,CAAA"}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const SafeProxyFactoryBaseContract_1 = __importDefault(require("../../../contracts/SafeProxyFactory/SafeProxyFactoryBaseContract"));
|
|
7
|
-
const types_kit_1 = require("@safe-global/types-kit");
|
|
8
|
-
/**
|
|
9
|
-
* SafeProxyFactoryContract_v1_3_0 is the implementation specific to the Safe Proxy Factory contract version 1.3.0.
|
|
10
|
-
*
|
|
11
|
-
* This class specializes in handling interactions with the Safe Proxy Factory contract version 1.3.0 using Ethers.js v6.
|
|
12
|
-
*
|
|
13
|
-
* @extends SafeProxyFactoryBaseContract<SafeProxyFactoryContract_v1_3_0_Abi> - Inherits from SafeProxyFactoryBaseContract with ABI specific to Safe Proxy Factory contract version 1.3.0.
|
|
14
|
-
* @implements SafeProxyFactoryContract_v1_3_0_Contract - Implements the interface specific to Safe Proxy Factory contract version 1.3.0.
|
|
15
|
-
*/
|
|
16
|
-
class SafeProxyFactoryContract_v1_3_0 extends SafeProxyFactoryBaseContract_1.default {
|
|
17
|
-
/**
|
|
18
|
-
* Constructs an instance of SafeProxyFactoryContract_v1_3_0
|
|
19
|
-
*
|
|
20
|
-
* @param chainId - The chain ID where the contract resides.
|
|
21
|
-
* @param safeProvider - An instance of SafeProvider.
|
|
22
|
-
* @param customContractAddress - Optional custom address for the contract. If not provided, the address is derived from the Safe deployments based on the chainId and safeVersion.
|
|
23
|
-
* @param customContractAbi - Optional custom ABI for the contract. If not provided, the default ABI for version 1.3.0 is used.
|
|
24
|
-
* @param deploymentType - Optional deployment type for the contract. If not provided, the first deployment retrieved from the safe-deployments array will be used.
|
|
25
|
-
*/
|
|
26
|
-
constructor(chainId, safeProvider, customContractAddress, customContractAbi, deploymentType) {
|
|
27
|
-
const safeVersion = '1.3.0';
|
|
28
|
-
const defaultAbi = types_kit_1.safeProxyFactory_1_3_0_ContractArtifacts.abi;
|
|
29
|
-
super(chainId, safeProvider, defaultAbi, safeVersion, customContractAddress, customContractAbi, deploymentType);
|
|
30
|
-
/**
|
|
31
|
-
* Allows to retrieve the creation code used for the Proxy deployment. With this it is easily possible to calculate predicted address.
|
|
32
|
-
* @returns Array[creationCode]
|
|
33
|
-
*/
|
|
34
|
-
this.proxyCreationCode = async () => {
|
|
35
|
-
return [await this.read('proxyCreationCode')];
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* Allows to retrieve the runtime code of a deployed Proxy. This can be used to check that the expected Proxy was deployed.
|
|
39
|
-
* @returns Array[runtimeCode]
|
|
40
|
-
*/
|
|
41
|
-
this.proxyRuntimeCode = async () => {
|
|
42
|
-
return [await this.read('proxyRuntimeCode')];
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Allows to get the address for a new proxy contact created via `createProxyWithNonce`.
|
|
46
|
-
* @param args - Array[singleton, initializer, saltNonce]
|
|
47
|
-
* @returns Array[proxyAddress]
|
|
48
|
-
*/
|
|
49
|
-
this.calculateCreateProxyWithNonceAddress = async (args) => {
|
|
50
|
-
return [await this.write('calculateCreateProxyWithNonceAddress', args)];
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Allows to create new proxy contact and execute a message call to the new proxy within one transaction.
|
|
54
|
-
* @param args - Array[singleton, data]
|
|
55
|
-
* @returns Array[proxyAddress]
|
|
56
|
-
*/
|
|
57
|
-
this.createProxy = async (args) => {
|
|
58
|
-
return [await this.write('createProxy', args)];
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
* Allows to create new proxy contract, execute a message call to the new proxy and call a specified callback within one transaction.
|
|
62
|
-
* @param args - Array[singleton, initializer, saltNonce, callback]
|
|
63
|
-
* @returns Array[proxyAddress]
|
|
64
|
-
*/
|
|
65
|
-
this.createProxyWithCallback = async (args) => {
|
|
66
|
-
return [await this.write('createProxyWithCallback', args)];
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* Allows to create new proxy contract and execute a message call to the new proxy within one transaction.
|
|
70
|
-
* @param args - Array[singleton, initializer, saltNonce]
|
|
71
|
-
* @returns Array[proxyAddress]
|
|
72
|
-
*/
|
|
73
|
-
this.createProxyWithNonce = async (args) => {
|
|
74
|
-
return [await this.write('createProxyWithNonce', args)];
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
exports.default = SafeProxyFactoryContract_v1_3_0;
|
|
79
|
-
//# sourceMappingURL=SafeProxyFactoryContract_v1_3_0.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SafeProxyFactoryContract_v1_3_0.js","sourceRoot":"","sources":["../../../../../src/contracts/SafeProxyFactory/v1.3.0/SafeProxyFactoryContract_v1_3_0.ts"],"names":[],"mappings":";;;;;AAAA,qJAA4H;AAG5H,sDAK+B;AAE/B;;;;;;;GAOG;AACH,MAAM,+BACJ,SAAQ,sCAAiE;IAGzE;;;;;;;;OAQG;IACH,YACE,OAAe,EACf,YAA0B,EAC1B,qBAA8B,EAC9B,iBAAuD,EACvD,cAA+B;QAE/B,MAAM,WAAW,GAAG,OAAO,CAAA;QAC3B,MAAM,UAAU,GAAG,oDAAwC,CAAC,GAAG,CAAA;QAE/D,KAAK,CACH,OAAO,EACP,YAAY,EACZ,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,CACf,CAAA;QAGH;;;WAGG;QACH,sBAAiB,GAAkE,KAAK,IAAI,EAAE;YAC5F,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAA;QAC/C,CAAC,CAAA;QAED;;;WAGG;QACH,qBAAgB,GAAiE,KAAK,IAAI,EAAE;YAC1F,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAA;QAC9C,CAAC,CAAA;QAED;;;;WAIG;QACH,yCAAoC,GAClC,KAAK,EAAE,IAAI,EAAE,EAAE;YACb,OAAO,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,sCAAsC,EAAE,IAAI,CAAC,CAAC,CAAA;QACzE,CAAC,CAAA;QAEH;;;;WAIG;QACH,gBAAW,GAA4D,KAAK,EAAE,IAAI,EAAE,EAAE;YACpF,OAAO,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC,CAAA;QAChD,CAAC,CAAA;QAED;;;;WAIG;QACH,4BAAuB,GACrB,KAAK,EAAE,IAAI,EAAE,EAAE;YACb,OAAO,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,yBAAyB,EAAE,IAAI,CAAC,CAAC,CAAA;QAC5D,CAAC,CAAA;QAEH;;;;WAIG;QACH,yBAAoB,GAAqE,KAAK,EAC5F,IAAI,EACJ,EAAE;YACF,OAAO,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,sBAAsB,EAAE,IAAI,CAAC,CAAC,CAAA;QACzD,CAAC,CAAA;IAxDD,CAAC;CAyDF;AAED,kBAAe,+BAA+B,CAAA"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const SafeProxyFactoryBaseContract_1 = __importDefault(require("../../../contracts/SafeProxyFactory/SafeProxyFactoryBaseContract"));
|
|
7
|
-
const types_kit_1 = require("@safe-global/types-kit");
|
|
8
|
-
/**
|
|
9
|
-
* SafeProxyFactoryContract_v1_4_1 is the implementation specific to the Safe Proxy Factory contract version 1.4.1.
|
|
10
|
-
*
|
|
11
|
-
* This class specializes in handling interactions with the Safe Proxy Factory contract version 1.4.1 using Ethers.js v6.
|
|
12
|
-
*
|
|
13
|
-
* @extends SafeProxyFactoryBaseContract<SafeProxyFactoryContract_v1_4_1_Abi> - Inherits from SafeProxyFactoryBaseContract with ABI specific to Safe Proxy Factory contract version 1.4.1.
|
|
14
|
-
* @implements SafeProxyFactoryContract_v1_4_1_Contract - Implements the interface specific to Safe Proxy Factory contract version 1.4.1.
|
|
15
|
-
*/
|
|
16
|
-
class SafeProxyFactoryContract_v1_4_1 extends SafeProxyFactoryBaseContract_1.default {
|
|
17
|
-
/**
|
|
18
|
-
* Constructs an instance of SafeProxyFactoryContract_v1_4_1
|
|
19
|
-
*
|
|
20
|
-
* @param chainId - The chain ID where the contract resides.
|
|
21
|
-
* @param safeProvider - An instance of SafeProvider.
|
|
22
|
-
* @param customContractAddress - Optional custom address for the contract. If not provided, the address is derived from the Safe deployments based on the chainId and safeVersion.
|
|
23
|
-
* @param customContractAbi - Optional custom ABI for the contract. If not provided, the default ABI for version 1.4.1 is used.
|
|
24
|
-
* @param deploymentType - Optional deployment type for the contract. If not provided, the first deployment retrieved from the safe-deployments array will be used.
|
|
25
|
-
*/
|
|
26
|
-
constructor(chainId, safeProvider, customContractAddress, customContractAbi, deploymentType) {
|
|
27
|
-
const safeVersion = '1.4.1';
|
|
28
|
-
const defaultAbi = types_kit_1.safeProxyFactory_1_4_1_ContractArtifacts.abi;
|
|
29
|
-
super(chainId, safeProvider, defaultAbi, safeVersion, customContractAddress, customContractAbi, deploymentType);
|
|
30
|
-
/**
|
|
31
|
-
* Returns the ID of the chain the contract is currently deployed on.
|
|
32
|
-
* @returns Array[chainId]
|
|
33
|
-
*/
|
|
34
|
-
this.getChainId = async () => {
|
|
35
|
-
return [await this.read('getChainId')];
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* Allows to retrieve the creation code used for the Proxy deployment. With this it is easily possible to calculate predicted address.
|
|
39
|
-
* @returns Array[creationCode]
|
|
40
|
-
*/
|
|
41
|
-
this.proxyCreationCode = async () => {
|
|
42
|
-
return [await this.read('proxyCreationCode')];
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Deploys a new chain-specific proxy with singleton and salt. Optionally executes an initializer call to a new proxy.
|
|
46
|
-
* @param args - Array[singleton, initializer, saltNonce]
|
|
47
|
-
* @returns Array[proxy]
|
|
48
|
-
*/
|
|
49
|
-
this.createChainSpecificProxyWithNonce = async (args) => {
|
|
50
|
-
return [await this.write('createChainSpecificProxyWithNonce', args)];
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Deploy a new proxy with singleton and salt.
|
|
54
|
-
* Optionally executes an initializer call to a new proxy and calls a specified callback address.
|
|
55
|
-
* @param args - Array[singleton, initializer, saltNonce, callback]
|
|
56
|
-
* @returns Array[proxy]
|
|
57
|
-
*/
|
|
58
|
-
this.createProxyWithCallback = async (args) => {
|
|
59
|
-
return [await this.write('createProxyWithCallback', args)];
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* Deploys a new proxy with singleton and salt. Optionally executes an initializer call to a new proxy.
|
|
63
|
-
* @param args - Array[singleton, initializer, saltNonce]
|
|
64
|
-
* @returns Array[proxy]
|
|
65
|
-
*/
|
|
66
|
-
this.createProxyWithNonce = async (args) => {
|
|
67
|
-
return [await this.write('createProxyWithNonce', args)];
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
exports.default = SafeProxyFactoryContract_v1_4_1;
|
|
72
|
-
//# sourceMappingURL=SafeProxyFactoryContract_v1_4_1.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SafeProxyFactoryContract_v1_4_1.js","sourceRoot":"","sources":["../../../../../src/contracts/SafeProxyFactory/v1.4.1/SafeProxyFactoryContract_v1_4_1.ts"],"names":[],"mappings":";;;;;AAAA,qJAA4H;AAE5H,sDAK+B;AAG/B;;;;;;;GAOG;AACH,MAAM,+BACJ,SAAQ,sCAAiE;IAGzE;;;;;;;;OAQG;IACH,YACE,OAAe,EACf,YAA0B,EAC1B,qBAA8B,EAC9B,iBAAuD,EACvD,cAA+B;QAE/B,MAAM,WAAW,GAAG,OAAO,CAAA;QAC3B,MAAM,UAAU,GAAG,oDAAwC,CAAC,GAAG,CAAA;QAE/D,KAAK,CACH,OAAO,EACP,YAAY,EACZ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