@0xsequence/abi 2.3.17 → 2.3.19

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.
@@ -1,135 +0,0 @@
1
- export declare const abi: readonly [{
2
- readonly inputs: readonly [{
3
- readonly internalType: "bytes";
4
- readonly name: "error";
5
- readonly type: "bytes";
6
- }];
7
- readonly name: "ERC1271Revert";
8
- readonly type: "error";
9
- }, {
10
- readonly inputs: readonly [{
11
- readonly internalType: "bytes";
12
- readonly name: "error";
13
- readonly type: "bytes";
14
- }];
15
- readonly name: "ERC6492DeployFailed";
16
- readonly type: "error";
17
- }, {
18
- readonly inputs: readonly [{
19
- readonly internalType: "address";
20
- readonly name: "_signer";
21
- readonly type: "address";
22
- }, {
23
- readonly internalType: "bytes32";
24
- readonly name: "_hash";
25
- readonly type: "bytes32";
26
- }, {
27
- readonly internalType: "bytes";
28
- readonly name: "_signature";
29
- readonly type: "bytes";
30
- }];
31
- readonly name: "isValidSig";
32
- readonly outputs: readonly [{
33
- readonly internalType: "bool";
34
- readonly name: "";
35
- readonly type: "bool";
36
- }];
37
- readonly stateMutability: "nonpayable";
38
- readonly type: "function";
39
- }, {
40
- readonly inputs: readonly [{
41
- readonly internalType: "address";
42
- readonly name: "_signer";
43
- readonly type: "address";
44
- }, {
45
- readonly internalType: "bytes32";
46
- readonly name: "_hash";
47
- readonly type: "bytes32";
48
- }, {
49
- readonly internalType: "bytes";
50
- readonly name: "_signature";
51
- readonly type: "bytes";
52
- }, {
53
- readonly internalType: "bool";
54
- readonly name: "allowSideEffects";
55
- readonly type: "bool";
56
- }, {
57
- readonly internalType: "bool";
58
- readonly name: "deployAlreadyDeployed";
59
- readonly type: "bool";
60
- }];
61
- readonly name: "isValidSigImpl";
62
- readonly outputs: readonly [{
63
- readonly internalType: "bool";
64
- readonly name: "";
65
- readonly type: "bool";
66
- }];
67
- readonly stateMutability: "nonpayable";
68
- readonly type: "function";
69
- }, {
70
- readonly inputs: readonly [{
71
- readonly internalType: "address";
72
- readonly name: "_signer";
73
- readonly type: "address";
74
- }, {
75
- readonly internalType: "bytes32";
76
- readonly name: "_hash";
77
- readonly type: "bytes32";
78
- }, {
79
- readonly internalType: "bytes";
80
- readonly name: "_signature";
81
- readonly type: "bytes";
82
- }];
83
- readonly name: "isValidSigNoThrow";
84
- readonly outputs: readonly [{
85
- readonly internalType: "bool";
86
- readonly name: "";
87
- readonly type: "bool";
88
- }];
89
- readonly stateMutability: "nonpayable";
90
- readonly type: "function";
91
- }, {
92
- readonly inputs: readonly [{
93
- readonly internalType: "address";
94
- readonly name: "_signer";
95
- readonly type: "address";
96
- }, {
97
- readonly internalType: "bytes32";
98
- readonly name: "_hash";
99
- readonly type: "bytes32";
100
- }, {
101
- readonly internalType: "bytes";
102
- readonly name: "_signature";
103
- readonly type: "bytes";
104
- }];
105
- readonly name: "isValidSigWithSideEffects";
106
- readonly outputs: readonly [{
107
- readonly internalType: "bool";
108
- readonly name: "";
109
- readonly type: "bool";
110
- }];
111
- readonly stateMutability: "nonpayable";
112
- readonly type: "function";
113
- }, {
114
- readonly inputs: readonly [{
115
- readonly internalType: "address";
116
- readonly name: "_signer";
117
- readonly type: "address";
118
- }, {
119
- readonly internalType: "bytes32";
120
- readonly name: "_hash";
121
- readonly type: "bytes32";
122
- }, {
123
- readonly internalType: "bytes";
124
- readonly name: "_signature";
125
- readonly type: "bytes";
126
- }];
127
- readonly name: "isValidSigWithSideEffectsNoThrow";
128
- readonly outputs: readonly [{
129
- readonly internalType: "bool";
130
- readonly name: "";
131
- readonly type: "bool";
132
- }];
133
- readonly stateMutability: "nonpayable";
134
- readonly type: "function";
135
- }];
@@ -1,13 +0,0 @@
1
- export declare const abi: readonly [{
2
- readonly type: "function";
3
- readonly name: "deploy";
4
- readonly constant: false;
5
- readonly inputs: readonly [{
6
- readonly type: "address";
7
- }, {
8
- readonly type: "bytes32";
9
- }];
10
- readonly outputs: readonly [];
11
- readonly payable: true;
12
- readonly stateMutability: "payable";
13
- }];
@@ -1,25 +0,0 @@
1
- import * as erc5719 from "./erc5719.js";
2
- import * as erc1271 from "./erc1271.js";
3
- import * as erc6492 from "./erc6492.js";
4
- import * as factory from "./factory.js";
5
- import * as mainModule from "./mainModule.js";
6
- import * as mainModuleUpgradable from "./mainModuleUpgradable.js";
7
- import * as moduleHooks from "./moduleHooks.js";
8
- import * as sequenceUtils from "./sequenceUtils.js";
9
- import * as requireFreshSigner from "./libs/requireFreshSigners.js";
10
- import * as walletProxyHook from "./walletProxyHook.js";
11
- /**
12
- * @deprecated import directly from @0xsequence/abi/* instead, omitting "walletContracts"
13
- */
14
- export declare const walletContracts: {
15
- erc6492: typeof erc6492;
16
- erc5719: typeof erc5719;
17
- erc1271: typeof erc1271;
18
- factory: typeof factory;
19
- mainModule: typeof mainModule;
20
- mainModuleUpgradable: typeof mainModuleUpgradable;
21
- moduleHooks: typeof moduleHooks;
22
- sequenceUtils: typeof sequenceUtils;
23
- requireFreshSigner: typeof requireFreshSigner;
24
- walletProxyHook: typeof walletProxyHook;
25
- };
@@ -1,11 +0,0 @@
1
- export declare const abi: readonly [{
2
- readonly inputs: readonly [{
3
- readonly internalType: "address";
4
- readonly name: "";
5
- readonly type: "address";
6
- }];
7
- readonly name: "requireFreshSigner";
8
- readonly outputs: readonly [];
9
- readonly stateMutability: "nonpayable";
10
- readonly type: "function";
11
- }];
@@ -1,117 +0,0 @@
1
- export declare const abi: readonly [{
2
- readonly type: "function";
3
- readonly name: "nonce";
4
- readonly constant: true;
5
- readonly inputs: readonly [];
6
- readonly outputs: readonly [{
7
- readonly type: "uint256";
8
- }];
9
- readonly payable: false;
10
- readonly stateMutability: "view";
11
- }, {
12
- readonly type: "function";
13
- readonly name: "readNonce";
14
- readonly constant: true;
15
- readonly inputs: readonly [{
16
- readonly type: "uint256";
17
- }];
18
- readonly outputs: readonly [{
19
- readonly type: "uint256";
20
- }];
21
- readonly payable: false;
22
- readonly stateMutability: "view";
23
- }, {
24
- readonly type: "function";
25
- readonly name: "updateImplementation";
26
- readonly constant: false;
27
- readonly inputs: readonly [{
28
- readonly type: "address";
29
- }];
30
- readonly outputs: readonly [];
31
- readonly payable: false;
32
- readonly stateMutability: "nonpayable";
33
- }, {
34
- readonly type: "function";
35
- readonly name: "selfExecute";
36
- readonly constant: false;
37
- readonly inputs: readonly [{
38
- readonly components: readonly [{
39
- readonly type: "bool";
40
- readonly name: "delegateCall";
41
- }, {
42
- readonly type: "bool";
43
- readonly name: "revertOnError";
44
- }, {
45
- readonly type: "uint256";
46
- readonly name: "gasLimit";
47
- }, {
48
- readonly type: "address";
49
- readonly name: "target";
50
- }, {
51
- readonly type: "uint256";
52
- readonly name: "value";
53
- }, {
54
- readonly type: "bytes";
55
- readonly name: "data";
56
- }];
57
- readonly type: "tuple[]";
58
- }];
59
- readonly outputs: readonly [];
60
- readonly payable: false;
61
- readonly stateMutability: "nonpayable";
62
- }, {
63
- readonly type: "function";
64
- readonly name: "execute";
65
- readonly constant: false;
66
- readonly inputs: readonly [{
67
- readonly components: readonly [{
68
- readonly type: "bool";
69
- readonly name: "delegateCall";
70
- }, {
71
- readonly type: "bool";
72
- readonly name: "revertOnError";
73
- }, {
74
- readonly type: "uint256";
75
- readonly name: "gasLimit";
76
- }, {
77
- readonly type: "address";
78
- readonly name: "target";
79
- }, {
80
- readonly type: "uint256";
81
- readonly name: "value";
82
- }, {
83
- readonly type: "bytes";
84
- readonly name: "data";
85
- }];
86
- readonly type: "tuple[]";
87
- }, {
88
- readonly type: "uint256";
89
- }, {
90
- readonly type: "bytes";
91
- }];
92
- readonly outputs: readonly [];
93
- readonly payable: false;
94
- readonly stateMutability: "nonpayable";
95
- }, {
96
- readonly type: "function";
97
- readonly name: "createContract";
98
- readonly inputs: readonly [{
99
- readonly type: "bytes";
100
- }];
101
- readonly payable: true;
102
- readonly stateMutability: "payable";
103
- }, {
104
- readonly type: "function";
105
- readonly name: "setExtraImageHash";
106
- readonly constant: false;
107
- readonly inputs: readonly [{
108
- readonly type: "bytes32";
109
- readonly name: "imageHash";
110
- }, {
111
- readonly type: "uint256";
112
- readonly name: "expiration";
113
- }];
114
- readonly outputs: readonly [];
115
- readonly payable: false;
116
- readonly stateMutability: "nonpayable";
117
- }];
@@ -1,21 +0,0 @@
1
- export declare const abi: readonly [{
2
- readonly type: "function";
3
- readonly name: "updateImageHash";
4
- readonly constant: true;
5
- readonly inputs: readonly [{
6
- readonly type: "bytes32";
7
- }];
8
- readonly outputs: readonly [];
9
- readonly payable: false;
10
- readonly stateMutability: "view";
11
- }, {
12
- readonly type: "function";
13
- readonly name: "imageHash";
14
- readonly constant: true;
15
- readonly inputs: readonly [];
16
- readonly outputs: readonly [{
17
- readonly type: "bytes32";
18
- }];
19
- readonly payable: false;
20
- readonly stateMutability: "view";
21
- }];
@@ -1,188 +0,0 @@
1
- export declare const abi: readonly [{
2
- readonly inputs: readonly [{
3
- readonly internalType: "bytes4";
4
- readonly name: "_signature";
5
- readonly type: "bytes4";
6
- }];
7
- readonly name: "HookAlreadyExists";
8
- readonly type: "error";
9
- }, {
10
- readonly inputs: readonly [{
11
- readonly internalType: "bytes4";
12
- readonly name: "_signature";
13
- readonly type: "bytes4";
14
- }];
15
- readonly name: "HookDoesNotExist";
16
- readonly type: "error";
17
- }, {
18
- readonly inputs: readonly [{
19
- readonly internalType: "address";
20
- readonly name: "_sender";
21
- readonly type: "address";
22
- }, {
23
- readonly internalType: "address";
24
- readonly name: "_self";
25
- readonly type: "address";
26
- }];
27
- readonly name: "OnlySelfAuth";
28
- readonly type: "error";
29
- }, {
30
- readonly anonymous: false;
31
- readonly inputs: readonly [{
32
- readonly indexed: false;
33
- readonly internalType: "bytes4";
34
- readonly name: "_signature";
35
- readonly type: "bytes4";
36
- }, {
37
- readonly indexed: false;
38
- readonly internalType: "address";
39
- readonly name: "_implementation";
40
- readonly type: "address";
41
- }];
42
- readonly name: "DefinedHook";
43
- readonly type: "event";
44
- }, {
45
- readonly stateMutability: "payable";
46
- readonly type: "fallback";
47
- }, {
48
- readonly inputs: readonly [{
49
- readonly internalType: "bytes4";
50
- readonly name: "_signature";
51
- readonly type: "bytes4";
52
- }, {
53
- readonly internalType: "address";
54
- readonly name: "_implementation";
55
- readonly type: "address";
56
- }];
57
- readonly name: "addHook";
58
- readonly outputs: readonly [];
59
- readonly stateMutability: "nonpayable";
60
- readonly type: "function";
61
- }, {
62
- readonly inputs: readonly [{
63
- readonly internalType: "address";
64
- readonly name: "";
65
- readonly type: "address";
66
- }, {
67
- readonly internalType: "address";
68
- readonly name: "";
69
- readonly type: "address";
70
- }, {
71
- readonly internalType: "uint256[]";
72
- readonly name: "";
73
- readonly type: "uint256[]";
74
- }, {
75
- readonly internalType: "uint256[]";
76
- readonly name: "";
77
- readonly type: "uint256[]";
78
- }, {
79
- readonly internalType: "bytes";
80
- readonly name: "";
81
- readonly type: "bytes";
82
- }];
83
- readonly name: "onERC1155BatchReceived";
84
- readonly outputs: readonly [{
85
- readonly internalType: "bytes4";
86
- readonly name: "";
87
- readonly type: "bytes4";
88
- }];
89
- readonly stateMutability: "nonpayable";
90
- readonly type: "function";
91
- }, {
92
- readonly inputs: readonly [{
93
- readonly internalType: "address";
94
- readonly name: "";
95
- readonly type: "address";
96
- }, {
97
- readonly internalType: "address";
98
- readonly name: "";
99
- readonly type: "address";
100
- }, {
101
- readonly internalType: "uint256";
102
- readonly name: "";
103
- readonly type: "uint256";
104
- }, {
105
- readonly internalType: "uint256";
106
- readonly name: "";
107
- readonly type: "uint256";
108
- }, {
109
- readonly internalType: "bytes";
110
- readonly name: "";
111
- readonly type: "bytes";
112
- }];
113
- readonly name: "onERC1155Received";
114
- readonly outputs: readonly [{
115
- readonly internalType: "bytes4";
116
- readonly name: "";
117
- readonly type: "bytes4";
118
- }];
119
- readonly stateMutability: "nonpayable";
120
- readonly type: "function";
121
- }, {
122
- readonly inputs: readonly [{
123
- readonly internalType: "address";
124
- readonly name: "";
125
- readonly type: "address";
126
- }, {
127
- readonly internalType: "address";
128
- readonly name: "";
129
- readonly type: "address";
130
- }, {
131
- readonly internalType: "uint256";
132
- readonly name: "";
133
- readonly type: "uint256";
134
- }, {
135
- readonly internalType: "bytes";
136
- readonly name: "";
137
- readonly type: "bytes";
138
- }];
139
- readonly name: "onERC721Received";
140
- readonly outputs: readonly [{
141
- readonly internalType: "bytes4";
142
- readonly name: "";
143
- readonly type: "bytes4";
144
- }];
145
- readonly stateMutability: "nonpayable";
146
- readonly type: "function";
147
- }, {
148
- readonly inputs: readonly [{
149
- readonly internalType: "bytes4";
150
- readonly name: "_signature";
151
- readonly type: "bytes4";
152
- }];
153
- readonly name: "readHook";
154
- readonly outputs: readonly [{
155
- readonly internalType: "address";
156
- readonly name: "";
157
- readonly type: "address";
158
- }];
159
- readonly stateMutability: "view";
160
- readonly type: "function";
161
- }, {
162
- readonly inputs: readonly [{
163
- readonly internalType: "bytes4";
164
- readonly name: "_signature";
165
- readonly type: "bytes4";
166
- }];
167
- readonly name: "removeHook";
168
- readonly outputs: readonly [];
169
- readonly stateMutability: "nonpayable";
170
- readonly type: "function";
171
- }, {
172
- readonly inputs: readonly [{
173
- readonly internalType: "bytes4";
174
- readonly name: "_interfaceID";
175
- readonly type: "bytes4";
176
- }];
177
- readonly name: "supportsInterface";
178
- readonly outputs: readonly [{
179
- readonly internalType: "bool";
180
- readonly name: "";
181
- readonly type: "bool";
182
- }];
183
- readonly stateMutability: "pure";
184
- readonly type: "function";
185
- }, {
186
- readonly stateMutability: "payable";
187
- readonly type: "receive";
188
- }];