@metamask/smart-accounts-kit 0.4.0-beta.0 → 0.4.0-beta.2
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/CHANGELOG.md +49 -1
- package/dist/actions/index.cjs +5 -5
- package/dist/actions/index.d.cts +2 -2
- package/dist/actions/index.d.ts +2 -2
- package/dist/actions/index.mjs +4 -4
- package/dist/{chunk-S2Q5ZC64.cjs → chunk-23YXLKTX.cjs} +58 -59
- package/dist/chunk-23YXLKTX.cjs.map +1 -0
- package/dist/{chunk-W6ZI7GWI.mjs → chunk-33AMUJBJ.mjs} +49 -52
- package/dist/chunk-33AMUJBJ.mjs.map +1 -0
- package/dist/{chunk-TEH426Y4.mjs → chunk-C5ZEEH2Z.mjs} +283 -184
- package/dist/chunk-C5ZEEH2Z.mjs.map +1 -0
- package/dist/{chunk-NTZ57GNF.cjs → chunk-DLD377CN.cjs} +17 -33
- package/dist/chunk-DLD377CN.cjs.map +1 -0
- package/dist/{chunk-5BYJZGRI.mjs → chunk-NOCLGZGB.mjs} +174 -129
- package/dist/chunk-NOCLGZGB.mjs.map +1 -0
- package/dist/{chunk-EHIZB5U7.mjs → chunk-QCULIK3O.mjs} +211 -97
- package/dist/chunk-QCULIK3O.mjs.map +1 -0
- package/dist/{chunk-YWRHYLKB.cjs → chunk-QMRKCB7T.cjs} +204 -159
- package/dist/chunk-QMRKCB7T.cjs.map +1 -0
- package/dist/{chunk-TXN7GX6Y.cjs → chunk-SOFB2MXG.cjs} +207 -93
- package/dist/chunk-SOFB2MXG.cjs.map +1 -0
- package/dist/{chunk-RAXFJGCS.cjs → chunk-UUOH2WAW.cjs} +19 -19
- package/dist/chunk-UUOH2WAW.cjs.map +1 -0
- package/dist/{chunk-AUCZDOTJ.mjs → chunk-WPVSFOQM.mjs} +11 -27
- package/dist/chunk-WPVSFOQM.mjs.map +1 -0
- package/dist/{chunk-4A5RMDDC.mjs → chunk-WV2R7BXP.mjs} +49 -50
- package/dist/chunk-WV2R7BXP.mjs.map +1 -0
- package/dist/{chunk-YTGYVHDF.cjs → chunk-XN36L4RX.cjs} +144 -147
- package/dist/chunk-XN36L4RX.cjs.map +1 -0
- package/dist/{chunk-MIP7KJYH.cjs → chunk-YDLLC6PP.cjs} +252 -153
- package/dist/chunk-YDLLC6PP.cjs.map +1 -0
- package/dist/{chunk-DPWYECSV.mjs → chunk-YTELOQ4I.mjs} +9 -9
- package/dist/chunk-YTELOQ4I.mjs.map +1 -0
- package/dist/contracts/index.cjs +5 -5
- package/dist/contracts/index.d.cts +3 -3
- package/dist/contracts/index.d.ts +3 -3
- package/dist/contracts/index.mjs +4 -4
- package/dist/{delegation-DHjM_pVa.d.ts → delegation-DGUfyX-C.d.ts} +52 -26
- package/dist/{delegation-BnhAvKt4.d.cts → delegation-D_TY-tAq.d.cts} +52 -26
- package/dist/experimental/index.cjs +4 -4
- package/dist/experimental/index.cjs.map +1 -1
- package/dist/experimental/index.d.cts +1 -1
- package/dist/experimental/index.d.ts +1 -1
- package/dist/experimental/index.mjs +5 -5
- package/dist/experimental/index.mjs.map +1 -1
- package/dist/{index-CX3hrztI.d.cts → index-B9bsjGqI.d.ts} +240 -38
- package/dist/{index-D04LO0vH.d.cts → index-CZes99jV.d.cts} +95 -62
- package/dist/{index-i8cod4JY.d.ts → index-DvcKJcXi.d.cts} +240 -38
- package/dist/{index-BlgCQ80b.d.ts → index-FpCh2419.d.ts} +95 -62
- package/dist/index.cjs +26 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -11
- package/dist/index.d.ts +9 -11
- package/dist/index.mjs +17 -15
- package/dist/index.mjs.map +1 -1
- package/dist/{smartAccountsEnvironment-SVknZ_3f.d.cts → smartAccountsEnvironment-BU8kjlEv.d.cts} +1 -1
- package/dist/{smartAccountsEnvironment-BOhrxEnt.d.ts → smartAccountsEnvironment-egxuflDO.d.ts} +1 -1
- package/dist/{types-Bwksz_U6.d.ts → types-BLYWtcR3.d.cts} +49 -31
- package/dist/{types-Bwksz_U6.d.cts → types-BLYWtcR3.d.ts} +49 -31
- package/dist/utils/index.cjs +7 -5
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.cts +3 -4
- package/dist/utils/index.d.ts +3 -4
- package/dist/utils/index.mjs +12 -10
- package/package.json +6 -11
- package/dist/chunk-4A5RMDDC.mjs.map +0 -1
- package/dist/chunk-5BYJZGRI.mjs.map +0 -1
- package/dist/chunk-AUCZDOTJ.mjs.map +0 -1
- package/dist/chunk-DPWYECSV.mjs.map +0 -1
- package/dist/chunk-EHIZB5U7.mjs.map +0 -1
- package/dist/chunk-MIP7KJYH.cjs.map +0 -1
- package/dist/chunk-NTZ57GNF.cjs.map +0 -1
- package/dist/chunk-RAXFJGCS.cjs.map +0 -1
- package/dist/chunk-S2Q5ZC64.cjs.map +0 -1
- package/dist/chunk-TEH426Y4.mjs.map +0 -1
- package/dist/chunk-TXN7GX6Y.cjs.map +0 -1
- package/dist/chunk-W6ZI7GWI.mjs.map +0 -1
- package/dist/chunk-YTGYVHDF.cjs.map +0 -1
- package/dist/chunk-YWRHYLKB.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,52 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.4.0-beta.2]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add `encodeDelegation` and `decodeDelegation` utilities for encoding and decoding single delegations. ([#153](https://github.com/MetaMask/smart-accounts-kit/pull/153))
|
|
15
|
+
- Add DelegationManager validation for EIP-7710 actions (#150) ([#150](https://github.com/metamask/smart-accounts-kit/pull/150))
|
|
16
|
+
- Support for Tempo Mainnet and Tempo Moderato Testnet ([#177](https://github.com/metamask/smart-accounts-kit/pull/177))
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Introduce `PermissionContext` to represent a delegation chain (ABI-encoded `Hex` or decoded `Delegation[]`). ([#140](https://github.com/MetaMask/smart-accounts-kit/pull/140))
|
|
21
|
+
- **Breaking**: Replace usages of raw `Hex` _or_ `Delegation[]` with `PermissionContext`, and rename `permissionsContext` to `permissionContext` (note the singular "permission") where applicable:
|
|
22
|
+
- `SendTransactionWithDelegation`: `permissionsContext: Hex` → `permissionContext: PermissionContext`
|
|
23
|
+
- `SendUserOperationWithDelegation`: within `calls: DelegatedCall`, `permissionsContext: Hex` → `permissionContext: PermissionContext`
|
|
24
|
+
- `redeemDelegations`: parameter `Delegation[]` → `PermissionContext`
|
|
25
|
+
- `encodeDelegations` and `decodeDelegations` now accept `PermissionContext` (if the input is already the expected type, the input is returned)
|
|
26
|
+
- `encode`, `execute`, and `simulate` functions for `DelegationManager.redeemDelegations` from `@metamask/smart-accounts-kit/contracts`: parameter `delegations: Delegation[]` → `delegations: PermissionContext`
|
|
27
|
+
- **Breaking**: ERC-7715 actions now return developer-friendly types: `chainId` as number, token amounts as `bigint`. ([#172](https://github.com/MetaMask/smart-accounts-kit/pull/172))
|
|
28
|
+
- **Breaking**: Rename `getDelegationHashOffchain` to `hashDelegation` for improved clarity. ([#162](https://github.com/MetaMask/smart-accounts-kit/pull/162))
|
|
29
|
+
- **Breaking**: EIP-7715 permission requests nest `isAdjustmentAllowed` inside each permission object per specification. ([#159](https://github.com/MetaMask/smart-accounts-kit/pull/159))
|
|
30
|
+
- **Breaking**: `sendUserOperationWithDelegation` now accepts `dependencies` instead of deprecated `accountMetadata`. ([#157](https://github.com/MetaMask/smart-accounts-kit/pull/157))
|
|
31
|
+
- **Breaking**: Validate that the provided `DelegationManager` address matches the known contract address for the chain in EIP-7710 actions. ([#156](https://github.com/MetaMask/smart-accounts-kit/pull/156))
|
|
32
|
+
- **Breaking**: Default `delegation.salt` and `caveat.args` to `0x00` instead of invalid `0x`. ([#138](https://github.com/MetaMask/smart-accounts-kit/pull/138))
|
|
33
|
+
- Allow scope type to be specified either as `ScopeType` enum, or string literal. ([#133](https://github.com/MetaMask/smart-accounts-kit/pull/133))
|
|
34
|
+
- Allow caveat type to be specified either as `CaveatType` enum, or string literal. ([#179](https://github.com/MetaMask/smart-accounts-kit/pull/179))
|
|
35
|
+
|
|
36
|
+
### Removed
|
|
37
|
+
|
|
38
|
+
- **Breaking**: `encodePermissionContexts` and `decodePermissionContexts` utilities; use `encodeDelegations` and `decodeDelegations` directly. ([#148](https://github.com/MetaMask/smart-accounts-kit/pull/148))
|
|
39
|
+
- **Breaking**: `redeemDelegations` helper and `Redemption` type; use `redeemDelegations` encoding / execution utilities directly. ([#160](https://github.com/MetaMask/smart-accounts-kit/pull/160))
|
|
40
|
+
|
|
41
|
+
### Fixed
|
|
42
|
+
|
|
43
|
+
- Fix delegation storage to throw a proper `Error` instance so stack traces are correct across environments. ([#171](https://github.com/MetaMask/smart-accounts-kit/pull/171))
|
|
44
|
+
- Fix `signDelegation` to correctly await the signer and return the signed signature. ([#168](https://github.com/MetaMask/smart-accounts-kit/pull/168))
|
|
45
|
+
|
|
46
|
+
## [0.4.0-beta.1]
|
|
47
|
+
|
|
48
|
+
### Added
|
|
49
|
+
|
|
50
|
+
- Exports 2 new types: `PermissionRequestParameter` and `Erc7715Client` ([#134](https://github.com/MetaMask/smart-accounts-kit/pull/134))
|
|
51
|
+
|
|
52
|
+
### Fixed
|
|
53
|
+
|
|
54
|
+
- Improve @metamask/delegation-abis tree-shakability ([#131](https://github.com/metamask/smart-accounts-kit/pull/131))
|
|
55
|
+
|
|
10
56
|
## [0.4.0-beta.0]
|
|
11
57
|
|
|
12
58
|
### Added
|
|
@@ -42,7 +88,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
42
88
|
|
|
43
89
|
- Promote readable permissions actions (`requestExecutionPermissions`, `sendTransactionWithDelegation`, and `sendUserOperationWithDelegation`) from experimental ([#91](https://github.com/MetaMask/smart-accounts-kit/pull/91))
|
|
44
90
|
|
|
45
|
-
[Unreleased]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@0.4.0-beta.
|
|
91
|
+
[Unreleased]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@0.4.0-beta.2...HEAD
|
|
92
|
+
[0.4.0-beta.2]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@0.4.0-beta.1...@metamask/smart-accounts-kit@0.4.0-beta.2
|
|
93
|
+
[0.4.0-beta.1]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@0.4.0-beta.0...@metamask/smart-accounts-kit@0.4.0-beta.1
|
|
46
94
|
[0.4.0-beta.0]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@0.3.0...@metamask/smart-accounts-kit@0.4.0-beta.0
|
|
47
95
|
[0.3.0]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@0.2.0...@metamask/smart-accounts-kit@0.3.0
|
|
48
96
|
[0.2.0]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@0.1.0...@metamask/smart-accounts-kit@0.2.0
|
package/dist/actions/index.cjs
CHANGED
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
20
|
-
require('../chunk-
|
|
21
|
-
require('../chunk-
|
|
19
|
+
var _chunkQMRKCB7Tcjs = require('../chunk-QMRKCB7T.cjs');
|
|
20
|
+
require('../chunk-UUOH2WAW.cjs');
|
|
21
|
+
require('../chunk-SOFB2MXG.cjs');
|
|
22
22
|
require('../chunk-VLKX4BR6.cjs');
|
|
23
|
-
require('../chunk-
|
|
23
|
+
require('../chunk-YDLLC6PP.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -39,5 +39,5 @@ require('../chunk-MIP7KJYH.cjs');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
exports.caveatEnforcerActions =
|
|
42
|
+
exports.caveatEnforcerActions = _chunkQMRKCB7Tcjs.caveatEnforcerActions; exports.erc7710BundlerActions = _chunkQMRKCB7Tcjs.erc7710BundlerActions; exports.erc7710WalletActions = _chunkQMRKCB7Tcjs.erc7710WalletActions; exports.erc7715ProviderActions = _chunkQMRKCB7Tcjs.erc7715ProviderActions; exports.getErc20PeriodTransferEnforcerAvailableAmount = _chunkQMRKCB7Tcjs.getErc20PeriodTransferEnforcerAvailableAmount; exports.getErc20StreamingEnforcerAvailableAmount = _chunkQMRKCB7Tcjs.getErc20StreamingEnforcerAvailableAmount; exports.getGrantedExecutionPermissions = _chunkQMRKCB7Tcjs.erc7715GetGrantedExecutionPermissionsAction; exports.getMultiTokenPeriodEnforcerAvailableAmount = _chunkQMRKCB7Tcjs.getMultiTokenPeriodEnforcerAvailableAmount; exports.getNativeTokenPeriodTransferEnforcerAvailableAmount = _chunkQMRKCB7Tcjs.getNativeTokenPeriodTransferEnforcerAvailableAmount; exports.getNativeTokenStreamingEnforcerAvailableAmount = _chunkQMRKCB7Tcjs.getNativeTokenStreamingEnforcerAvailableAmount; exports.getSupportedExecutionPermissions = _chunkQMRKCB7Tcjs.erc7715GetSupportedExecutionPermissionsAction; exports.isValid7702Implementation = _chunkQMRKCB7Tcjs.isValid7702Implementation; exports.requestExecutionPermissions = _chunkQMRKCB7Tcjs.erc7715RequestExecutionPermissionsAction; exports.signDelegation = _chunkQMRKCB7Tcjs.signDelegation; exports.signDelegationActions = _chunkQMRKCB7Tcjs.signDelegationActions; exports.signUserOperation = _chunkQMRKCB7Tcjs.signUserOperation; exports.signUserOperationActions = _chunkQMRKCB7Tcjs.signUserOperationActions;
|
|
43
43
|
//# sourceMappingURL=index.cjs.map
|
package/dist/actions/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { C as CaveatEnforcerParams,
|
|
1
|
+
export { C as CaveatEnforcerParams, O as DelegatedCall, H as Erc20TokenPeriodicPermission, I as Erc20TokenRevocationPermission, F as Erc20TokenStreamPermission, E as Erc7715Client, z as GetGrantedExecutionPermissionsResult, G as GetSupportedExecutionPermissionsResult, M as MetaMaskExtensionClient, u as MetaMaskExtensionSchema, D as NativeTokenPeriodicPermission, N as NativeTokenStreamPermission, P as PeriodTransferResult, w as PermissionRequestParameter, B as PermissionTypes, R as RequestExecutionPermissionsParameters, v as RequestExecutionPermissionsReturnType, K as RpcGetGrantedExecutionPermissionsResult, J as RpcGetSupportedExecutionPermissionsResult, L as RpcSupportedPermissionInfo, m as SignDelegationParameters, n as SignDelegationReturnType, q as SignUserOperationParameters, r as SignUserOperationReturnType, S as StreamingResult, A as SupportedPermissionInfo, c as caveatEnforcerActions, b as erc7710BundlerActions, a as erc7710WalletActions, e as erc7715ProviderActions, g as getErc20PeriodTransferEnforcerAvailableAmount, d as getErc20StreamingEnforcerAvailableAmount, y as getGrantedExecutionPermissions, f as getMultiTokenPeriodEnforcerAvailableAmount, h as getNativeTokenPeriodTransferEnforcerAvailableAmount, j as getNativeTokenStreamingEnforcerAvailableAmount, x as getSupportedExecutionPermissions, k as isValid7702Implementation, t as requestExecutionPermissions, s as signDelegation, l as signDelegationActions, o as signUserOperation, p as signUserOperationActions } from '../index-CZes99jV.cjs';
|
|
2
2
|
import 'viem';
|
|
3
3
|
import '@metamask/7715-permission-types';
|
|
4
4
|
import 'viem/account-abstraction';
|
|
5
|
-
import '../types-
|
|
5
|
+
import '../types-BLYWtcR3.cjs';
|
|
6
6
|
import '@metamask/delegation-abis';
|
|
7
7
|
import 'viem/chains';
|
|
8
8
|
import '../userOp-DKgjzz7B.cjs';
|
package/dist/actions/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { C as CaveatEnforcerParams,
|
|
1
|
+
export { C as CaveatEnforcerParams, O as DelegatedCall, H as Erc20TokenPeriodicPermission, I as Erc20TokenRevocationPermission, F as Erc20TokenStreamPermission, E as Erc7715Client, z as GetGrantedExecutionPermissionsResult, G as GetSupportedExecutionPermissionsResult, M as MetaMaskExtensionClient, u as MetaMaskExtensionSchema, D as NativeTokenPeriodicPermission, N as NativeTokenStreamPermission, P as PeriodTransferResult, w as PermissionRequestParameter, B as PermissionTypes, R as RequestExecutionPermissionsParameters, v as RequestExecutionPermissionsReturnType, K as RpcGetGrantedExecutionPermissionsResult, J as RpcGetSupportedExecutionPermissionsResult, L as RpcSupportedPermissionInfo, m as SignDelegationParameters, n as SignDelegationReturnType, q as SignUserOperationParameters, r as SignUserOperationReturnType, S as StreamingResult, A as SupportedPermissionInfo, c as caveatEnforcerActions, b as erc7710BundlerActions, a as erc7710WalletActions, e as erc7715ProviderActions, g as getErc20PeriodTransferEnforcerAvailableAmount, d as getErc20StreamingEnforcerAvailableAmount, y as getGrantedExecutionPermissions, f as getMultiTokenPeriodEnforcerAvailableAmount, h as getNativeTokenPeriodTransferEnforcerAvailableAmount, j as getNativeTokenStreamingEnforcerAvailableAmount, x as getSupportedExecutionPermissions, k as isValid7702Implementation, t as requestExecutionPermissions, s as signDelegation, l as signDelegationActions, o as signUserOperation, p as signUserOperationActions } from '../index-FpCh2419.js';
|
|
2
2
|
import 'viem';
|
|
3
3
|
import '@metamask/7715-permission-types';
|
|
4
4
|
import 'viem/account-abstraction';
|
|
5
|
-
import '../types-
|
|
5
|
+
import '../types-BLYWtcR3.js';
|
|
6
6
|
import '@metamask/delegation-abis';
|
|
7
7
|
import 'viem/chains';
|
|
8
8
|
import '../userOp-DKgjzz7B.js';
|
package/dist/actions/index.mjs
CHANGED
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
signDelegationActions,
|
|
17
17
|
signUserOperation,
|
|
18
18
|
signUserOperationActions
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-NOCLGZGB.mjs";
|
|
20
|
+
import "../chunk-YTELOQ4I.mjs";
|
|
21
|
+
import "../chunk-QCULIK3O.mjs";
|
|
22
22
|
import "../chunk-TPBFVDVM.mjs";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-C5ZEEH2Z.mjs";
|
|
24
24
|
export {
|
|
25
25
|
caveatEnforcerActions,
|
|
26
26
|
erc7710BundlerActions,
|
|
@@ -4,16 +4,17 @@ var _chunkVLKX4BR6cjs = require('./chunk-VLKX4BR6.cjs');
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkYDLLC6PPcjs = require('./chunk-YDLLC6PP.cjs');
|
|
8
8
|
|
|
9
9
|
// src/DelegationFramework/utils.ts
|
|
10
10
|
var _delegationabis = require('@metamask/delegation-abis');
|
|
11
|
+
var _bytecode = require('@metamask/delegation-abis/bytecode');
|
|
11
12
|
var _viem = require('viem');
|
|
12
13
|
var _actions = require('viem/actions');
|
|
13
14
|
|
|
14
15
|
// src/DelegationFramework/DeleGatorCore/read.ts
|
|
15
16
|
var read_exports = {};
|
|
16
|
-
|
|
17
|
+
_chunkYDLLC6PPcjs.__export.call(void 0, read_exports, {
|
|
17
18
|
getDelegationManager: () => read,
|
|
18
19
|
getDeposit: () => read2,
|
|
19
20
|
getEntryPoint: () => read3,
|
|
@@ -31,7 +32,7 @@ var read = async ({
|
|
|
31
32
|
contractAddress
|
|
32
33
|
}) => await _actions.readContract.call(void 0, client, {
|
|
33
34
|
address: contractAddress,
|
|
34
|
-
abi: _delegationabis.DeleGatorCore
|
|
35
|
+
abi: _delegationabis.DeleGatorCore,
|
|
35
36
|
functionName: "delegationManager"
|
|
36
37
|
});
|
|
37
38
|
|
|
@@ -43,7 +44,7 @@ var read2 = async ({
|
|
|
43
44
|
contractAddress
|
|
44
45
|
}) => await _actions.readContract.call(void 0, client, {
|
|
45
46
|
address: contractAddress,
|
|
46
|
-
abi: _delegationabis.DeleGatorCore
|
|
47
|
+
abi: _delegationabis.DeleGatorCore,
|
|
47
48
|
functionName: "getDeposit"
|
|
48
49
|
});
|
|
49
50
|
|
|
@@ -55,7 +56,7 @@ var read3 = async ({
|
|
|
55
56
|
contractAddress
|
|
56
57
|
}) => await _actions.readContract.call(void 0, client, {
|
|
57
58
|
address: contractAddress,
|
|
58
|
-
abi: _delegationabis.DeleGatorCore
|
|
59
|
+
abi: _delegationabis.DeleGatorCore,
|
|
59
60
|
functionName: "entryPoint"
|
|
60
61
|
});
|
|
61
62
|
|
|
@@ -68,7 +69,7 @@ var read4 = async ({
|
|
|
68
69
|
key
|
|
69
70
|
}) => await _actions.readContract.call(void 0, client, {
|
|
70
71
|
address: contractAddress,
|
|
71
|
-
abi: _delegationabis.DeleGatorCore
|
|
72
|
+
abi: _delegationabis.DeleGatorCore,
|
|
72
73
|
functionName: "getNonce",
|
|
73
74
|
args: key ? [key] : void 0
|
|
74
75
|
});
|
|
@@ -81,7 +82,7 @@ var read5 = async ({
|
|
|
81
82
|
contractAddress
|
|
82
83
|
}) => await _actions.readContract.call(void 0, client, {
|
|
83
84
|
address: contractAddress,
|
|
84
|
-
abi: _delegationabis.DeleGatorCore
|
|
85
|
+
abi: _delegationabis.DeleGatorCore,
|
|
85
86
|
functionName: "getImplementation"
|
|
86
87
|
});
|
|
87
88
|
|
|
@@ -93,7 +94,7 @@ var read6 = async ({
|
|
|
93
94
|
contractAddress
|
|
94
95
|
}) => await _actions.readContract.call(void 0, client, {
|
|
95
96
|
address: contractAddress,
|
|
96
|
-
abi: _delegationabis.DeleGatorCore
|
|
97
|
+
abi: _delegationabis.DeleGatorCore,
|
|
97
98
|
functionName: "getInitializedVersion"
|
|
98
99
|
});
|
|
99
100
|
|
|
@@ -108,7 +109,7 @@ var read7 = async ({
|
|
|
108
109
|
signature
|
|
109
110
|
}) => await _actions.readContract.call(void 0, client, {
|
|
110
111
|
address: contractAddress,
|
|
111
|
-
abi: _delegationabis.DeleGatorCore
|
|
112
|
+
abi: _delegationabis.DeleGatorCore,
|
|
112
113
|
functionName: "isValidSignature",
|
|
113
114
|
args: [hash, signature]
|
|
114
115
|
});
|
|
@@ -117,7 +118,7 @@ var encode = ({
|
|
|
117
118
|
signature
|
|
118
119
|
}) => {
|
|
119
120
|
return _viem.encodeFunctionData.call(void 0, {
|
|
120
|
-
abi: _delegationabis.DeleGatorCore
|
|
121
|
+
abi: _delegationabis.DeleGatorCore,
|
|
121
122
|
functionName: "isValidSignature",
|
|
122
123
|
args: [hash, signature]
|
|
123
124
|
});
|
|
@@ -151,9 +152,9 @@ var encodeProxyCreationCode = ({
|
|
|
151
152
|
implementationAddress,
|
|
152
153
|
initcode
|
|
153
154
|
}) => _viem.encodeDeployData.call(void 0, {
|
|
154
|
-
abi: _delegationabis.ERC1967Proxy
|
|
155
|
+
abi: _delegationabis.ERC1967Proxy,
|
|
155
156
|
args: [implementationAddress, initcode],
|
|
156
|
-
bytecode:
|
|
157
|
+
bytecode: _bytecode.ERC1967Proxy
|
|
157
158
|
});
|
|
158
159
|
|
|
159
160
|
// src/DelegationFramework/HybridDeleGator/methods/initialize.ts
|
|
@@ -168,7 +169,7 @@ var simulate = async ({
|
|
|
168
169
|
}) => {
|
|
169
170
|
return _actions.simulateContract.call(void 0, client, {
|
|
170
171
|
address: hybridDeleGatorAddress,
|
|
171
|
-
abi: _delegationabis.HybridDeleGator
|
|
172
|
+
abi: _delegationabis.HybridDeleGator,
|
|
172
173
|
functionName: "initialize",
|
|
173
174
|
args: [
|
|
174
175
|
eoaOwner,
|
|
@@ -183,7 +184,7 @@ var encode2 = ({
|
|
|
183
184
|
p256Owners
|
|
184
185
|
}) => {
|
|
185
186
|
return _viem.encodeFunctionData.call(void 0, {
|
|
186
|
-
abi: _delegationabis.HybridDeleGator
|
|
187
|
+
abi: _delegationabis.HybridDeleGator,
|
|
187
188
|
functionName: "initialize",
|
|
188
189
|
args: [
|
|
189
190
|
eoaOwner,
|
|
@@ -196,7 +197,7 @@ var encode2 = ({
|
|
|
196
197
|
|
|
197
198
|
// src/DelegationFramework/HybridDeleGator/encode.ts
|
|
198
199
|
var encode_exports = {};
|
|
199
|
-
|
|
200
|
+
_chunkYDLLC6PPcjs.__export.call(void 0, encode_exports, {
|
|
200
201
|
addKey: () => encode3,
|
|
201
202
|
initializeHybridDeleGator: () => encode2,
|
|
202
203
|
reinitializeHybridDeleGator: () => encode4,
|
|
@@ -215,14 +216,14 @@ var simulate2 = async ({
|
|
|
215
216
|
}) => {
|
|
216
217
|
return _actions.simulateContract.call(void 0, client, {
|
|
217
218
|
address: hybridDeleGatorAddress,
|
|
218
|
-
abi: _delegationabis.HybridDeleGator
|
|
219
|
+
abi: _delegationabis.HybridDeleGator,
|
|
219
220
|
functionName: "addKey",
|
|
220
221
|
args: [p256Owner.keyId, p256Owner.x, p256Owner.y]
|
|
221
222
|
});
|
|
222
223
|
};
|
|
223
224
|
var encode3 = ({ p256Owner }) => {
|
|
224
225
|
return _viem.encodeFunctionData.call(void 0, {
|
|
225
|
-
abi: _delegationabis.HybridDeleGator
|
|
226
|
+
abi: _delegationabis.HybridDeleGator,
|
|
226
227
|
functionName: "addKey",
|
|
227
228
|
args: [p256Owner.keyId, p256Owner.x, p256Owner.y]
|
|
228
229
|
});
|
|
@@ -242,7 +243,7 @@ var simulate3 = async ({
|
|
|
242
243
|
}) => {
|
|
243
244
|
return _actions.simulateContract.call(void 0, client, {
|
|
244
245
|
address: hybridDeleGatorAddress,
|
|
245
|
-
abi: _delegationabis.HybridDeleGator
|
|
246
|
+
abi: _delegationabis.HybridDeleGator,
|
|
246
247
|
functionName: "reinitialize",
|
|
247
248
|
args: [
|
|
248
249
|
version,
|
|
@@ -261,7 +262,7 @@ var encode4 = ({
|
|
|
261
262
|
removeExistingP256Owners
|
|
262
263
|
}) => {
|
|
263
264
|
return _viem.encodeFunctionData.call(void 0, {
|
|
264
|
-
abi: _delegationabis.HybridDeleGator
|
|
265
|
+
abi: _delegationabis.HybridDeleGator,
|
|
265
266
|
functionName: "reinitialize",
|
|
266
267
|
args: [
|
|
267
268
|
version,
|
|
@@ -285,14 +286,14 @@ var simulate4 = async ({
|
|
|
285
286
|
}) => {
|
|
286
287
|
return _actions.simulateContract.call(void 0, client, {
|
|
287
288
|
address: hybridDeleGatorAddress,
|
|
288
|
-
abi: _delegationabis.HybridDeleGator
|
|
289
|
+
abi: _delegationabis.HybridDeleGator,
|
|
289
290
|
functionName: "removeKey",
|
|
290
291
|
args: [keyId]
|
|
291
292
|
});
|
|
292
293
|
};
|
|
293
294
|
var encode5 = ({ keyId }) => {
|
|
294
295
|
return _viem.encodeFunctionData.call(void 0, {
|
|
295
|
-
abi: _delegationabis.HybridDeleGator
|
|
296
|
+
abi: _delegationabis.HybridDeleGator,
|
|
296
297
|
functionName: "removeKey",
|
|
297
298
|
args: [keyId]
|
|
298
299
|
});
|
|
@@ -310,7 +311,7 @@ var simulate5 = async ({
|
|
|
310
311
|
}) => {
|
|
311
312
|
return _actions.simulateContract.call(void 0, client, {
|
|
312
313
|
address: hybridDeleGatorAddress,
|
|
313
|
-
abi: _delegationabis.HybridDeleGator
|
|
314
|
+
abi: _delegationabis.HybridDeleGator,
|
|
314
315
|
functionName: "updateSigners",
|
|
315
316
|
args: [
|
|
316
317
|
eoaOwner,
|
|
@@ -325,7 +326,7 @@ var encode6 = ({
|
|
|
325
326
|
p256Owners
|
|
326
327
|
}) => {
|
|
327
328
|
return _viem.encodeFunctionData.call(void 0, {
|
|
328
|
-
abi: _delegationabis.HybridDeleGator
|
|
329
|
+
abi: _delegationabis.HybridDeleGator,
|
|
329
330
|
functionName: "updateSigners",
|
|
330
331
|
args: [
|
|
331
332
|
eoaOwner,
|
|
@@ -348,14 +349,14 @@ var simulate6 = async ({
|
|
|
348
349
|
}) => {
|
|
349
350
|
return _actions.simulateContract.call(void 0, client, {
|
|
350
351
|
address: multiSigDeleGatorAddress,
|
|
351
|
-
abi: _delegationabis.MultiSigDeleGator
|
|
352
|
+
abi: _delegationabis.MultiSigDeleGator,
|
|
352
353
|
functionName: "initialize",
|
|
353
354
|
args: [owners, threshold]
|
|
354
355
|
});
|
|
355
356
|
};
|
|
356
357
|
var encode7 = ({ owners, threshold }) => {
|
|
357
358
|
return _viem.encodeFunctionData.call(void 0, {
|
|
358
|
-
abi: _delegationabis.MultiSigDeleGator
|
|
359
|
+
abi: _delegationabis.MultiSigDeleGator,
|
|
359
360
|
functionName: "initialize",
|
|
360
361
|
args: [owners, threshold]
|
|
361
362
|
});
|
|
@@ -363,7 +364,7 @@ var encode7 = ({ owners, threshold }) => {
|
|
|
363
364
|
|
|
364
365
|
// src/DelegationFramework/MultiSigDeleGator/encode.ts
|
|
365
366
|
var encode_exports2 = {};
|
|
366
|
-
|
|
367
|
+
_chunkYDLLC6PPcjs.__export.call(void 0, encode_exports2, {
|
|
367
368
|
addSigner: () => encode8,
|
|
368
369
|
initializeMultiSigDeleGator: () => encode7,
|
|
369
370
|
reinitializeMultiSigDeleGator: () => encode9,
|
|
@@ -384,14 +385,14 @@ var simulate7 = async ({
|
|
|
384
385
|
}) => {
|
|
385
386
|
return _actions.simulateContract.call(void 0, client, {
|
|
386
387
|
address: multiSigDeleGatorAddress,
|
|
387
|
-
abi: _delegationabis.MultiSigDeleGator
|
|
388
|
+
abi: _delegationabis.MultiSigDeleGator,
|
|
388
389
|
functionName: "addSigner",
|
|
389
390
|
args: [signer]
|
|
390
391
|
});
|
|
391
392
|
};
|
|
392
393
|
var encode8 = ({ signer }) => {
|
|
393
394
|
return _viem.encodeFunctionData.call(void 0, {
|
|
394
|
-
abi: _delegationabis.MultiSigDeleGator
|
|
395
|
+
abi: _delegationabis.MultiSigDeleGator,
|
|
395
396
|
functionName: "addSigner",
|
|
396
397
|
args: [signer]
|
|
397
398
|
});
|
|
@@ -411,7 +412,7 @@ var simulate8 = async ({
|
|
|
411
412
|
}) => {
|
|
412
413
|
return _actions.simulateContract.call(void 0, client, {
|
|
413
414
|
address: multiSigDeleGatorAddress,
|
|
414
|
-
abi: _delegationabis.MultiSigDeleGator
|
|
415
|
+
abi: _delegationabis.MultiSigDeleGator,
|
|
415
416
|
functionName: "reinitialize",
|
|
416
417
|
args: [version, owners, threshold, removeExistingOwners]
|
|
417
418
|
});
|
|
@@ -423,7 +424,7 @@ var encode9 = ({
|
|
|
423
424
|
removeExistingOwners
|
|
424
425
|
}) => {
|
|
425
426
|
return _viem.encodeFunctionData.call(void 0, {
|
|
426
|
-
abi: _delegationabis.MultiSigDeleGator
|
|
427
|
+
abi: _delegationabis.MultiSigDeleGator,
|
|
427
428
|
functionName: "reinitialize",
|
|
428
429
|
args: [version, owners, threshold, removeExistingOwners]
|
|
429
430
|
});
|
|
@@ -440,14 +441,14 @@ var simulate9 = async ({
|
|
|
440
441
|
}) => {
|
|
441
442
|
return _actions.simulateContract.call(void 0, client, {
|
|
442
443
|
address: multiSigDeleGatorAddress,
|
|
443
|
-
abi: _delegationabis.MultiSigDeleGator
|
|
444
|
+
abi: _delegationabis.MultiSigDeleGator,
|
|
444
445
|
functionName: "removeSigner",
|
|
445
446
|
args: [signer]
|
|
446
447
|
});
|
|
447
448
|
};
|
|
448
449
|
var encode10 = ({ signer }) => {
|
|
449
450
|
return _viem.encodeFunctionData.call(void 0, {
|
|
450
|
-
abi: _delegationabis.MultiSigDeleGator
|
|
451
|
+
abi: _delegationabis.MultiSigDeleGator,
|
|
451
452
|
functionName: "removeSigner",
|
|
452
453
|
args: [signer]
|
|
453
454
|
});
|
|
@@ -465,7 +466,7 @@ var simulate10 = async ({
|
|
|
465
466
|
}) => {
|
|
466
467
|
return _actions.simulateContract.call(void 0, client, {
|
|
467
468
|
address: multiSigDeleGatorAddress,
|
|
468
|
-
abi: _delegationabis.MultiSigDeleGator
|
|
469
|
+
abi: _delegationabis.MultiSigDeleGator,
|
|
469
470
|
functionName: "replaceSigner",
|
|
470
471
|
args: [oldSigner, newSigner]
|
|
471
472
|
});
|
|
@@ -475,7 +476,7 @@ var encode11 = ({
|
|
|
475
476
|
newSigner
|
|
476
477
|
}) => {
|
|
477
478
|
return _viem.encodeFunctionData.call(void 0, {
|
|
478
|
-
abi: _delegationabis.MultiSigDeleGator
|
|
479
|
+
abi: _delegationabis.MultiSigDeleGator,
|
|
479
480
|
functionName: "replaceSigner",
|
|
480
481
|
args: [oldSigner, newSigner]
|
|
481
482
|
});
|
|
@@ -494,7 +495,7 @@ var simulate11 = async ({
|
|
|
494
495
|
}) => {
|
|
495
496
|
return _actions.simulateContract.call(void 0, client, {
|
|
496
497
|
address: multiSigDeleGatorAddress,
|
|
497
|
-
abi: _delegationabis.MultiSigDeleGator
|
|
498
|
+
abi: _delegationabis.MultiSigDeleGator,
|
|
498
499
|
functionName: "updateMultiSigParameters",
|
|
499
500
|
args: [owners, threshold, removeExistingOwners]
|
|
500
501
|
});
|
|
@@ -505,7 +506,7 @@ var encode12 = ({
|
|
|
505
506
|
removeExistingOwners
|
|
506
507
|
}) => {
|
|
507
508
|
return _viem.encodeFunctionData.call(void 0, {
|
|
508
|
-
abi: _delegationabis.MultiSigDeleGator
|
|
509
|
+
abi: _delegationabis.MultiSigDeleGator,
|
|
509
510
|
functionName: "updateMultiSigParameters",
|
|
510
511
|
args: [owners, threshold, removeExistingOwners]
|
|
511
512
|
});
|
|
@@ -522,14 +523,14 @@ var simulate12 = async ({
|
|
|
522
523
|
}) => {
|
|
523
524
|
return _actions.simulateContract.call(void 0, client, {
|
|
524
525
|
address: multiSigDeleGatorAddress,
|
|
525
|
-
abi: _delegationabis.MultiSigDeleGator
|
|
526
|
+
abi: _delegationabis.MultiSigDeleGator,
|
|
526
527
|
functionName: "updateThreshold",
|
|
527
528
|
args: [threshold]
|
|
528
529
|
});
|
|
529
530
|
};
|
|
530
531
|
var encode13 = ({ threshold }) => {
|
|
531
532
|
return _viem.encodeFunctionData.call(void 0, {
|
|
532
|
-
abi: _delegationabis.MultiSigDeleGator
|
|
533
|
+
abi: _delegationabis.MultiSigDeleGator,
|
|
533
534
|
functionName: "updateThreshold",
|
|
534
535
|
args: [threshold]
|
|
535
536
|
});
|
|
@@ -547,14 +548,14 @@ var simulate13 = async ({
|
|
|
547
548
|
}) => {
|
|
548
549
|
return _actions.simulateContract.call(void 0, client, {
|
|
549
550
|
address: factoryAddress,
|
|
550
|
-
abi: _delegationabis.SimpleFactory
|
|
551
|
+
abi: _delegationabis.SimpleFactory,
|
|
551
552
|
functionName: "deploy",
|
|
552
553
|
args: [creationCode, salt]
|
|
553
554
|
});
|
|
554
555
|
};
|
|
555
556
|
var encode14 = (creationCode, salt) => {
|
|
556
557
|
return _viem.encodeFunctionData.call(void 0, {
|
|
557
|
-
abi: _delegationabis.SimpleFactory
|
|
558
|
+
abi: _delegationabis.SimpleFactory,
|
|
558
559
|
functionName: "deploy",
|
|
559
560
|
args: [creationCode, salt]
|
|
560
561
|
});
|
|
@@ -576,7 +577,7 @@ var execute = async ({
|
|
|
576
577
|
|
|
577
578
|
// src/DelegationFramework/SimpleFactory/encode.ts
|
|
578
579
|
var encode_exports3 = {};
|
|
579
|
-
|
|
580
|
+
_chunkYDLLC6PPcjs.__export.call(void 0, encode_exports3, {
|
|
580
581
|
create2Deploy: () => encode14
|
|
581
582
|
});
|
|
582
583
|
|
|
@@ -591,7 +592,7 @@ var simulate14 = async ({
|
|
|
591
592
|
}) => {
|
|
592
593
|
return _actions.simulateContract.call(void 0, client, {
|
|
593
594
|
address: contractAddress,
|
|
594
|
-
abi: _delegationabis.DeleGatorCore
|
|
595
|
+
abi: _delegationabis.DeleGatorCore,
|
|
595
596
|
functionName: "execute",
|
|
596
597
|
args: [execution]
|
|
597
598
|
});
|
|
@@ -610,7 +611,7 @@ var execute2 = async ({
|
|
|
610
611
|
};
|
|
611
612
|
var encode15 = ({ execution }) => {
|
|
612
613
|
return _viem.encodeFunctionData.call(void 0, {
|
|
613
|
-
abi: _delegationabis.DeleGatorCore
|
|
614
|
+
abi: _delegationabis.DeleGatorCore,
|
|
614
615
|
functionName: "execute",
|
|
615
616
|
args: [execution]
|
|
616
617
|
});
|
|
@@ -628,7 +629,7 @@ var simulate15 = async ({
|
|
|
628
629
|
}) => {
|
|
629
630
|
return _actions.simulateContract.call(void 0, client, {
|
|
630
631
|
address: contractAddress,
|
|
631
|
-
abi: _delegationabis.DeleGatorCore
|
|
632
|
+
abi: _delegationabis.DeleGatorCore,
|
|
632
633
|
functionName: "execute",
|
|
633
634
|
args: [mode, _chunkVLKX4BR6cjs.encodeExecutionCalldata.call(void 0, executions)]
|
|
634
635
|
});
|
|
@@ -652,7 +653,7 @@ var encode16 = ({
|
|
|
652
653
|
executions
|
|
653
654
|
}) => {
|
|
654
655
|
return _viem.encodeFunctionData.call(void 0, {
|
|
655
|
-
abi: _delegationabis.DeleGatorCore
|
|
656
|
+
abi: _delegationabis.DeleGatorCore,
|
|
656
657
|
functionName: "execute",
|
|
657
658
|
args: [mode, _chunkVLKX4BR6cjs.encodeExecutionCalldata.call(void 0, executions)]
|
|
658
659
|
});
|
|
@@ -660,7 +661,7 @@ var encode16 = ({
|
|
|
660
661
|
|
|
661
662
|
// src/DelegationFramework/DeleGatorCore/encode.ts
|
|
662
663
|
var encode_exports4 = {};
|
|
663
|
-
|
|
664
|
+
_chunkYDLLC6PPcjs.__export.call(void 0, encode_exports4, {
|
|
664
665
|
disableDelegation: () => encode17,
|
|
665
666
|
enableDelegation: () => encode18,
|
|
666
667
|
execute: () => encode15,
|
|
@@ -678,11 +679,10 @@ var simulate16 = async ({
|
|
|
678
679
|
delegationManagerAddress,
|
|
679
680
|
delegation
|
|
680
681
|
}) => {
|
|
681
|
-
const
|
|
682
|
-
const delegationStruct = _chunkMIP7KJYHcjs.toDelegationStruct.call(void 0, delegation);
|
|
682
|
+
const delegationStruct = _chunkYDLLC6PPcjs.toDelegationStruct.call(void 0, delegation);
|
|
683
683
|
return _actions.simulateContract.call(void 0, client, {
|
|
684
684
|
address: delegationManagerAddress,
|
|
685
|
-
abi,
|
|
685
|
+
abi: _delegationabis.DeleGatorCore,
|
|
686
686
|
functionName: "disableDelegation",
|
|
687
687
|
args: [delegationStruct]
|
|
688
688
|
});
|
|
@@ -700,9 +700,9 @@ var execute4 = async ({
|
|
|
700
700
|
return _actions.writeContract.call(void 0, client, request);
|
|
701
701
|
};
|
|
702
702
|
var encode17 = ({ delegation }) => {
|
|
703
|
-
const delegationStruct =
|
|
703
|
+
const delegationStruct = _chunkYDLLC6PPcjs.toDelegationStruct.call(void 0, delegation);
|
|
704
704
|
return _viem.encodeFunctionData.call(void 0, {
|
|
705
|
-
abi: _delegationabis.DeleGatorCore
|
|
705
|
+
abi: _delegationabis.DeleGatorCore,
|
|
706
706
|
functionName: "disableDelegation",
|
|
707
707
|
args: [delegationStruct]
|
|
708
708
|
});
|
|
@@ -717,11 +717,10 @@ var simulate17 = async ({
|
|
|
717
717
|
delegationManagerAddress,
|
|
718
718
|
delegation
|
|
719
719
|
}) => {
|
|
720
|
-
const
|
|
721
|
-
const delegationStruct = _chunkMIP7KJYHcjs.toDelegationStruct.call(void 0, delegation);
|
|
720
|
+
const delegationStruct = _chunkYDLLC6PPcjs.toDelegationStruct.call(void 0, delegation);
|
|
722
721
|
return _actions.simulateContract.call(void 0, client, {
|
|
723
722
|
address: delegationManagerAddress,
|
|
724
|
-
abi,
|
|
723
|
+
abi: _delegationabis.DeleGatorCore,
|
|
725
724
|
functionName: "enableDelegation",
|
|
726
725
|
args: [delegationStruct]
|
|
727
726
|
});
|
|
@@ -739,9 +738,9 @@ var execute5 = async ({
|
|
|
739
738
|
return _actions.writeContract.call(void 0, client, request);
|
|
740
739
|
};
|
|
741
740
|
var encode18 = ({ delegation }) => {
|
|
742
|
-
const delegationStruct =
|
|
741
|
+
const delegationStruct = _chunkYDLLC6PPcjs.toDelegationStruct.call(void 0, delegation);
|
|
743
742
|
return _viem.encodeFunctionData.call(void 0, {
|
|
744
|
-
abi: _delegationabis.DeleGatorCore
|
|
743
|
+
abi: _delegationabis.DeleGatorCore,
|
|
745
744
|
functionName: "enableDelegation",
|
|
746
745
|
args: [delegationStruct]
|
|
747
746
|
});
|
|
@@ -759,7 +758,7 @@ var simulate18 = async ({
|
|
|
759
758
|
}) => {
|
|
760
759
|
return _actions.simulateContract.call(void 0, client, {
|
|
761
760
|
address: contractAddress,
|
|
762
|
-
abi: _delegationabis.DeleGatorCore
|
|
761
|
+
abi: _delegationabis.DeleGatorCore,
|
|
763
762
|
functionName: "upgradeToAndCall",
|
|
764
763
|
args: [implementation, data]
|
|
765
764
|
});
|
|
@@ -783,7 +782,7 @@ var encode19 = ({
|
|
|
783
782
|
data
|
|
784
783
|
}) => {
|
|
785
784
|
return _viem.encodeFunctionData.call(void 0, {
|
|
786
|
-
abi: _delegationabis.DeleGatorCore
|
|
785
|
+
abi: _delegationabis.DeleGatorCore,
|
|
787
786
|
functionName: "upgradeToAndCall",
|
|
788
787
|
args: [implementation, data]
|
|
789
788
|
});
|
|
@@ -828,4 +827,4 @@ var encode19 = ({
|
|
|
828
827
|
|
|
829
828
|
|
|
830
829
|
exports.simulate = simulate2; exports.simulate2 = simulate; exports.encode = encode2; exports.simulate3 = simulate3; exports.simulate4 = simulate4; exports.simulate5 = simulate5; exports.encode_exports = encode_exports; exports.simulate6 = simulate7; exports.simulate7 = simulate6; exports.encode2 = encode7; exports.simulate8 = simulate8; exports.simulate9 = simulate9; exports.simulate10 = simulate10; exports.simulate11 = simulate11; exports.simulate12 = simulate12; exports.encode_exports2 = encode_exports2; exports.simulate13 = simulate13; exports.encode3 = encode14; exports.execute = execute; exports.encode_exports3 = encode_exports3; exports.read_exports = read_exports; exports.isContractDeployed = isContractDeployed; exports.isImplementationExpected = isImplementationExpected; exports.encodeProxyCreationCode = encodeProxyCreationCode; exports.simulate14 = simulate16; exports.execute2 = execute4; exports.simulate15 = simulate17; exports.execute3 = execute5; exports.simulate16 = simulate14; exports.execute4 = execute2; exports.encode4 = encode15; exports.simulate17 = simulate15; exports.execute5 = execute3; exports.encode5 = encode16; exports.simulate18 = simulate18; exports.execute6 = execute6; exports.encode_exports4 = encode_exports4;
|
|
831
|
-
//# sourceMappingURL=chunk-
|
|
830
|
+
//# sourceMappingURL=chunk-23YXLKTX.cjs.map
|