@0xsequence/abi 2.3.35 → 3.0.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/.turbo/turbo-build.log +5 -0
- package/CHANGELOG.md +2097 -0
- package/LICENSE +0 -17
- package/README.md +1 -2
- package/dist/index.d.ts +20 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +41 -0
- package/dist/{declarations/src/sale → sale}/erc1155Sale.d.ts +1 -0
- package/dist/sale/erc1155Sale.d.ts.map +1 -0
- package/dist/sale/erc1155Sale.js +355 -0
- package/dist/{declarations/src/sale → sale}/erc721Sale.d.ts +1 -0
- package/dist/sale/erc721Sale.d.ts.map +1 -0
- package/dist/sale/erc721Sale.js +355 -0
- package/dist/{declarations/src/tokens → tokens}/erc1155.d.ts +1 -0
- package/dist/tokens/erc1155.d.ts.map +1 -0
- package/dist/tokens/erc1155.js +425 -0
- package/dist/{declarations/src/saleItems/erc1155SaleItems.d.ts → tokens/erc1155Items.d.ts} +2 -1
- package/dist/tokens/erc1155Items.d.ts.map +1 -0
- package/dist/tokens/erc1155Items.js +381 -0
- package/dist/{declarations/src/tokens → tokens}/erc20.d.ts +1 -0
- package/dist/tokens/erc20.d.ts.map +1 -0
- package/dist/tokens/erc20.js +319 -0
- package/dist/{declarations/src/tokens → tokens}/erc6909.d.ts +1 -0
- package/dist/tokens/erc6909.d.ts.map +1 -0
- package/dist/tokens/erc6909.js +407 -0
- package/dist/{declarations/src/tokens → tokens}/erc721.d.ts +1 -0
- package/dist/tokens/erc721.d.ts.map +1 -0
- package/dist/tokens/erc721.js +444 -0
- package/dist/{declarations/src/saleItems/erc721SaleItems.d.ts → tokens/erc721Items.d.ts} +2 -1
- package/dist/tokens/erc721Items.d.ts.map +1 -0
- package/dist/tokens/erc721Items.js +444 -0
- package/dist/{declarations/src/wallet → wallet}/erc1271.d.ts +1 -0
- package/dist/wallet/erc1271.d.ts.map +1 -0
- package/dist/wallet/erc1271.js +28 -0
- package/dist/{declarations/src/wallet → wallet}/erc5719.d.ts +1 -0
- package/dist/wallet/erc5719.d.ts.map +1 -0
- package/dist/wallet/erc5719.js +22 -0
- package/dist/{declarations/src/wallet → wallet}/erc6492.d.ts +1 -0
- package/dist/wallet/erc6492.d.ts.map +1 -0
- package/dist/wallet/erc6492.js +64 -0
- package/dist/{declarations/src/wallet → wallet}/factory.d.ts +1 -0
- package/dist/wallet/factory.d.ts.map +1 -0
- package/dist/wallet/factory.js +21 -0
- package/dist/{declarations/src/wallet → wallet}/index.d.ts +11 -10
- package/dist/wallet/index.d.ts.map +1 -0
- package/dist/wallet/index.js +61 -0
- package/dist/{declarations/src/wallet → wallet}/libs/requireFreshSigners.d.ts +1 -0
- package/dist/wallet/libs/requireFreshSigners.d.ts.map +1 -0
- package/dist/wallet/libs/requireFreshSigners.js +18 -0
- package/dist/{declarations/src/wallet → wallet}/mainModule.d.ts +1 -0
- package/dist/wallet/mainModule.d.ts.map +1 -0
- package/dist/wallet/mainModule.js +161 -0
- package/dist/{declarations/src/wallet → wallet}/mainModuleUpgradable.d.ts +1 -0
- package/dist/wallet/mainModuleUpgradable.d.ts.map +1 -0
- package/dist/wallet/mainModuleUpgradable.js +31 -0
- package/dist/{declarations/src/wallet → wallet}/moduleHooks.d.ts +1 -0
- package/dist/wallet/moduleHooks.d.ts.map +1 -0
- package/dist/wallet/moduleHooks.js +251 -0
- package/dist/{declarations/src/wallet → wallet}/sequenceUtils.d.ts +1 -0
- package/dist/wallet/sequenceUtils.d.ts.map +1 -0
- package/dist/wallet/sequenceUtils.js +519 -0
- package/dist/{declarations/src/wallet → wallet}/walletProxyHook.d.ts +1 -0
- package/dist/wallet/walletProxyHook.d.ts.map +1 -0
- package/dist/wallet/walletProxyHook.js +12 -0
- package/package.json +19 -13
- package/src/index.ts +2 -3
- package/src/sale/erc1155Sale.ts +67 -67
- package/src/sale/erc721Sale.ts +67 -67
- package/src/tokens/erc1155.ts +97 -97
- package/src/{saleItems/erc1155SaleItems.ts → tokens/erc1155Items.ts} +69 -68
- package/src/tokens/erc20.ts +76 -76
- package/src/tokens/erc6909.ts +95 -95
- package/src/tokens/erc721.ts +105 -105
- package/src/{saleItems/erc721SaleItems.ts → tokens/erc721Items.ts} +79 -78
- package/src/wallet/erc1271.ts +8 -8
- package/src/wallet/erc5719.ts +6 -6
- package/src/wallet/erc6492.ts +11 -11
- package/src/wallet/factory.ts +5 -5
- package/src/wallet/index.ts +1 -1
- package/src/wallet/libs/requireFreshSigners.ts +4 -4
- package/src/wallet/mainModule.ts +41 -41
- package/src/wallet/mainModuleUpgradable.ts +7 -7
- package/src/wallet/moduleHooks.ts +60 -60
- package/src/wallet/sequenceUtils.ts +123 -123
- package/src/wallet/walletProxyHook.ts +2 -2
- package/tsconfig.json +10 -0
- package/dist/0xsequence-abi.cjs.d.ts +0 -2
- package/dist/0xsequence-abi.cjs.dev.js +0 -4638
- package/dist/0xsequence-abi.cjs.js +0 -7
- package/dist/0xsequence-abi.cjs.prod.js +0 -4638
- package/dist/0xsequence-abi.esm.js +0 -4616
- package/dist/declarations/src/index.d.ts +0 -19
package/src/wallet/mainModule.ts
CHANGED
|
@@ -6,11 +6,11 @@ export const abi = [
|
|
|
6
6
|
inputs: [],
|
|
7
7
|
outputs: [
|
|
8
8
|
{
|
|
9
|
-
type: 'uint256'
|
|
10
|
-
}
|
|
9
|
+
type: 'uint256',
|
|
10
|
+
},
|
|
11
11
|
],
|
|
12
12
|
payable: false,
|
|
13
|
-
stateMutability: 'view'
|
|
13
|
+
stateMutability: 'view',
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
type: 'function',
|
|
@@ -18,16 +18,16 @@ export const abi = [
|
|
|
18
18
|
constant: true,
|
|
19
19
|
inputs: [
|
|
20
20
|
{
|
|
21
|
-
type: 'uint256'
|
|
22
|
-
}
|
|
21
|
+
type: 'uint256',
|
|
22
|
+
},
|
|
23
23
|
],
|
|
24
24
|
outputs: [
|
|
25
25
|
{
|
|
26
|
-
type: 'uint256'
|
|
27
|
-
}
|
|
26
|
+
type: 'uint256',
|
|
27
|
+
},
|
|
28
28
|
],
|
|
29
29
|
payable: false,
|
|
30
|
-
stateMutability: 'view'
|
|
30
|
+
stateMutability: 'view',
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
type: 'function',
|
|
@@ -35,12 +35,12 @@ export const abi = [
|
|
|
35
35
|
constant: false,
|
|
36
36
|
inputs: [
|
|
37
37
|
{
|
|
38
|
-
type: 'address'
|
|
39
|
-
}
|
|
38
|
+
type: 'address',
|
|
39
|
+
},
|
|
40
40
|
],
|
|
41
41
|
outputs: [],
|
|
42
42
|
payable: false,
|
|
43
|
-
stateMutability: 'nonpayable'
|
|
43
|
+
stateMutability: 'nonpayable',
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
type: 'function',
|
|
@@ -51,35 +51,35 @@ export const abi = [
|
|
|
51
51
|
components: [
|
|
52
52
|
{
|
|
53
53
|
type: 'bool',
|
|
54
|
-
name: 'delegateCall'
|
|
54
|
+
name: 'delegateCall',
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
type: 'bool',
|
|
58
|
-
name: 'revertOnError'
|
|
58
|
+
name: 'revertOnError',
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
type: 'uint256',
|
|
62
|
-
name: 'gasLimit'
|
|
62
|
+
name: 'gasLimit',
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
type: 'address',
|
|
66
|
-
name: 'target'
|
|
66
|
+
name: 'target',
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
type: 'uint256',
|
|
70
|
-
name: 'value'
|
|
70
|
+
name: 'value',
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
type: 'bytes',
|
|
74
|
-
name: 'data'
|
|
75
|
-
}
|
|
74
|
+
name: 'data',
|
|
75
|
+
},
|
|
76
76
|
],
|
|
77
|
-
type: 'tuple[]'
|
|
78
|
-
}
|
|
77
|
+
type: 'tuple[]',
|
|
78
|
+
},
|
|
79
79
|
],
|
|
80
80
|
outputs: [],
|
|
81
81
|
payable: false,
|
|
82
|
-
stateMutability: 'nonpayable'
|
|
82
|
+
stateMutability: 'nonpayable',
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
type: 'function',
|
|
@@ -90,52 +90,52 @@ export const abi = [
|
|
|
90
90
|
components: [
|
|
91
91
|
{
|
|
92
92
|
type: 'bool',
|
|
93
|
-
name: 'delegateCall'
|
|
93
|
+
name: 'delegateCall',
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
type: 'bool',
|
|
97
|
-
name: 'revertOnError'
|
|
97
|
+
name: 'revertOnError',
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
type: 'uint256',
|
|
101
|
-
name: 'gasLimit'
|
|
101
|
+
name: 'gasLimit',
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
type: 'address',
|
|
105
|
-
name: 'target'
|
|
105
|
+
name: 'target',
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
type: 'uint256',
|
|
109
|
-
name: 'value'
|
|
109
|
+
name: 'value',
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
type: 'bytes',
|
|
113
|
-
name: 'data'
|
|
114
|
-
}
|
|
113
|
+
name: 'data',
|
|
114
|
+
},
|
|
115
115
|
],
|
|
116
|
-
type: 'tuple[]'
|
|
116
|
+
type: 'tuple[]',
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
|
-
type: 'uint256'
|
|
119
|
+
type: 'uint256',
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
|
-
type: 'bytes'
|
|
123
|
-
}
|
|
122
|
+
type: 'bytes',
|
|
123
|
+
},
|
|
124
124
|
],
|
|
125
125
|
outputs: [],
|
|
126
126
|
payable: false,
|
|
127
|
-
stateMutability: 'nonpayable'
|
|
127
|
+
stateMutability: 'nonpayable',
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
type: 'function',
|
|
131
131
|
name: 'createContract',
|
|
132
132
|
inputs: [
|
|
133
133
|
{
|
|
134
|
-
type: 'bytes'
|
|
135
|
-
}
|
|
134
|
+
type: 'bytes',
|
|
135
|
+
},
|
|
136
136
|
],
|
|
137
137
|
payable: true,
|
|
138
|
-
stateMutability: 'payable'
|
|
138
|
+
stateMutability: 'payable',
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
type: 'function',
|
|
@@ -144,15 +144,15 @@ export const abi = [
|
|
|
144
144
|
inputs: [
|
|
145
145
|
{
|
|
146
146
|
type: 'bytes32',
|
|
147
|
-
name: 'imageHash'
|
|
147
|
+
name: 'imageHash',
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
150
|
type: 'uint256',
|
|
151
|
-
name: 'expiration'
|
|
152
|
-
}
|
|
151
|
+
name: 'expiration',
|
|
152
|
+
},
|
|
153
153
|
],
|
|
154
154
|
outputs: [],
|
|
155
155
|
payable: false,
|
|
156
|
-
stateMutability: 'nonpayable'
|
|
157
|
-
}
|
|
156
|
+
stateMutability: 'nonpayable',
|
|
157
|
+
},
|
|
158
158
|
] as const
|
|
@@ -5,12 +5,12 @@ export const abi = [
|
|
|
5
5
|
constant: true,
|
|
6
6
|
inputs: [
|
|
7
7
|
{
|
|
8
|
-
type: 'bytes32'
|
|
9
|
-
}
|
|
8
|
+
type: 'bytes32',
|
|
9
|
+
},
|
|
10
10
|
],
|
|
11
11
|
outputs: [],
|
|
12
12
|
payable: false,
|
|
13
|
-
stateMutability: 'view'
|
|
13
|
+
stateMutability: 'view',
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
type: 'function',
|
|
@@ -19,10 +19,10 @@ export const abi = [
|
|
|
19
19
|
inputs: [],
|
|
20
20
|
outputs: [
|
|
21
21
|
{
|
|
22
|
-
type: 'bytes32'
|
|
23
|
-
}
|
|
22
|
+
type: 'bytes32',
|
|
23
|
+
},
|
|
24
24
|
],
|
|
25
25
|
payable: false,
|
|
26
|
-
stateMutability: 'view'
|
|
27
|
-
}
|
|
26
|
+
stateMutability: 'view',
|
|
27
|
+
},
|
|
28
28
|
] as const
|
|
@@ -4,38 +4,38 @@ export const abi = [
|
|
|
4
4
|
{
|
|
5
5
|
internalType: 'bytes4',
|
|
6
6
|
name: '_signature',
|
|
7
|
-
type: 'bytes4'
|
|
8
|
-
}
|
|
7
|
+
type: 'bytes4',
|
|
8
|
+
},
|
|
9
9
|
],
|
|
10
10
|
name: 'HookAlreadyExists',
|
|
11
|
-
type: 'error'
|
|
11
|
+
type: 'error',
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
inputs: [
|
|
15
15
|
{
|
|
16
16
|
internalType: 'bytes4',
|
|
17
17
|
name: '_signature',
|
|
18
|
-
type: 'bytes4'
|
|
19
|
-
}
|
|
18
|
+
type: 'bytes4',
|
|
19
|
+
},
|
|
20
20
|
],
|
|
21
21
|
name: 'HookDoesNotExist',
|
|
22
|
-
type: 'error'
|
|
22
|
+
type: 'error',
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
inputs: [
|
|
26
26
|
{
|
|
27
27
|
internalType: 'address',
|
|
28
28
|
name: '_sender',
|
|
29
|
-
type: 'address'
|
|
29
|
+
type: 'address',
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
internalType: 'address',
|
|
33
33
|
name: '_self',
|
|
34
|
-
type: 'address'
|
|
35
|
-
}
|
|
34
|
+
type: 'address',
|
|
35
|
+
},
|
|
36
36
|
],
|
|
37
37
|
name: 'OnlySelfAuth',
|
|
38
|
-
type: 'error'
|
|
38
|
+
type: 'error',
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
anonymous: false,
|
|
@@ -44,205 +44,205 @@ export const abi = [
|
|
|
44
44
|
indexed: false,
|
|
45
45
|
internalType: 'bytes4',
|
|
46
46
|
name: '_signature',
|
|
47
|
-
type: 'bytes4'
|
|
47
|
+
type: 'bytes4',
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
indexed: false,
|
|
51
51
|
internalType: 'address',
|
|
52
52
|
name: '_implementation',
|
|
53
|
-
type: 'address'
|
|
54
|
-
}
|
|
53
|
+
type: 'address',
|
|
54
|
+
},
|
|
55
55
|
],
|
|
56
56
|
name: 'DefinedHook',
|
|
57
|
-
type: 'event'
|
|
57
|
+
type: 'event',
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
stateMutability: 'payable',
|
|
61
|
-
type: 'fallback'
|
|
61
|
+
type: 'fallback',
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
inputs: [
|
|
65
65
|
{
|
|
66
66
|
internalType: 'bytes4',
|
|
67
67
|
name: '_signature',
|
|
68
|
-
type: 'bytes4'
|
|
68
|
+
type: 'bytes4',
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
internalType: 'address',
|
|
72
72
|
name: '_implementation',
|
|
73
|
-
type: 'address'
|
|
74
|
-
}
|
|
73
|
+
type: 'address',
|
|
74
|
+
},
|
|
75
75
|
],
|
|
76
76
|
name: 'addHook',
|
|
77
77
|
outputs: [],
|
|
78
78
|
stateMutability: 'nonpayable',
|
|
79
|
-
type: 'function'
|
|
79
|
+
type: 'function',
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
inputs: [
|
|
83
83
|
{
|
|
84
84
|
internalType: 'address',
|
|
85
85
|
name: '',
|
|
86
|
-
type: 'address'
|
|
86
|
+
type: 'address',
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
internalType: 'address',
|
|
90
90
|
name: '',
|
|
91
|
-
type: 'address'
|
|
91
|
+
type: 'address',
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
internalType: 'uint256[]',
|
|
95
95
|
name: '',
|
|
96
|
-
type: 'uint256[]'
|
|
96
|
+
type: 'uint256[]',
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
99
|
internalType: 'uint256[]',
|
|
100
100
|
name: '',
|
|
101
|
-
type: 'uint256[]'
|
|
101
|
+
type: 'uint256[]',
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
internalType: 'bytes',
|
|
105
105
|
name: '',
|
|
106
|
-
type: 'bytes'
|
|
107
|
-
}
|
|
106
|
+
type: 'bytes',
|
|
107
|
+
},
|
|
108
108
|
],
|
|
109
109
|
name: 'onERC1155BatchReceived',
|
|
110
110
|
outputs: [
|
|
111
111
|
{
|
|
112
112
|
internalType: 'bytes4',
|
|
113
113
|
name: '',
|
|
114
|
-
type: 'bytes4'
|
|
115
|
-
}
|
|
114
|
+
type: 'bytes4',
|
|
115
|
+
},
|
|
116
116
|
],
|
|
117
117
|
stateMutability: 'nonpayable',
|
|
118
|
-
type: 'function'
|
|
118
|
+
type: 'function',
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
121
|
inputs: [
|
|
122
122
|
{
|
|
123
123
|
internalType: 'address',
|
|
124
124
|
name: '',
|
|
125
|
-
type: 'address'
|
|
125
|
+
type: 'address',
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
internalType: 'address',
|
|
129
129
|
name: '',
|
|
130
|
-
type: 'address'
|
|
130
|
+
type: 'address',
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
133
|
internalType: 'uint256',
|
|
134
134
|
name: '',
|
|
135
|
-
type: 'uint256'
|
|
135
|
+
type: 'uint256',
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
internalType: 'uint256',
|
|
139
139
|
name: '',
|
|
140
|
-
type: 'uint256'
|
|
140
|
+
type: 'uint256',
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
internalType: 'bytes',
|
|
144
144
|
name: '',
|
|
145
|
-
type: 'bytes'
|
|
146
|
-
}
|
|
145
|
+
type: 'bytes',
|
|
146
|
+
},
|
|
147
147
|
],
|
|
148
148
|
name: 'onERC1155Received',
|
|
149
149
|
outputs: [
|
|
150
150
|
{
|
|
151
151
|
internalType: 'bytes4',
|
|
152
152
|
name: '',
|
|
153
|
-
type: 'bytes4'
|
|
154
|
-
}
|
|
153
|
+
type: 'bytes4',
|
|
154
|
+
},
|
|
155
155
|
],
|
|
156
156
|
stateMutability: 'nonpayable',
|
|
157
|
-
type: 'function'
|
|
157
|
+
type: 'function',
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
inputs: [
|
|
161
161
|
{
|
|
162
162
|
internalType: 'address',
|
|
163
163
|
name: '',
|
|
164
|
-
type: 'address'
|
|
164
|
+
type: 'address',
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
internalType: 'address',
|
|
168
168
|
name: '',
|
|
169
|
-
type: 'address'
|
|
169
|
+
type: 'address',
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
internalType: 'uint256',
|
|
173
173
|
name: '',
|
|
174
|
-
type: 'uint256'
|
|
174
|
+
type: 'uint256',
|
|
175
175
|
},
|
|
176
176
|
{
|
|
177
177
|
internalType: 'bytes',
|
|
178
178
|
name: '',
|
|
179
|
-
type: 'bytes'
|
|
180
|
-
}
|
|
179
|
+
type: 'bytes',
|
|
180
|
+
},
|
|
181
181
|
],
|
|
182
182
|
name: 'onERC721Received',
|
|
183
183
|
outputs: [
|
|
184
184
|
{
|
|
185
185
|
internalType: 'bytes4',
|
|
186
186
|
name: '',
|
|
187
|
-
type: 'bytes4'
|
|
188
|
-
}
|
|
187
|
+
type: 'bytes4',
|
|
188
|
+
},
|
|
189
189
|
],
|
|
190
190
|
stateMutability: 'nonpayable',
|
|
191
|
-
type: 'function'
|
|
191
|
+
type: 'function',
|
|
192
192
|
},
|
|
193
193
|
{
|
|
194
194
|
inputs: [
|
|
195
195
|
{
|
|
196
196
|
internalType: 'bytes4',
|
|
197
197
|
name: '_signature',
|
|
198
|
-
type: 'bytes4'
|
|
199
|
-
}
|
|
198
|
+
type: 'bytes4',
|
|
199
|
+
},
|
|
200
200
|
],
|
|
201
201
|
name: 'readHook',
|
|
202
202
|
outputs: [
|
|
203
203
|
{
|
|
204
204
|
internalType: 'address',
|
|
205
205
|
name: '',
|
|
206
|
-
type: 'address'
|
|
207
|
-
}
|
|
206
|
+
type: 'address',
|
|
207
|
+
},
|
|
208
208
|
],
|
|
209
209
|
stateMutability: 'view',
|
|
210
|
-
type: 'function'
|
|
210
|
+
type: 'function',
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
213
|
inputs: [
|
|
214
214
|
{
|
|
215
215
|
internalType: 'bytes4',
|
|
216
216
|
name: '_signature',
|
|
217
|
-
type: 'bytes4'
|
|
218
|
-
}
|
|
217
|
+
type: 'bytes4',
|
|
218
|
+
},
|
|
219
219
|
],
|
|
220
220
|
name: 'removeHook',
|
|
221
221
|
outputs: [],
|
|
222
222
|
stateMutability: 'nonpayable',
|
|
223
|
-
type: 'function'
|
|
223
|
+
type: 'function',
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
inputs: [
|
|
227
227
|
{
|
|
228
228
|
internalType: 'bytes4',
|
|
229
229
|
name: '_interfaceID',
|
|
230
|
-
type: 'bytes4'
|
|
231
|
-
}
|
|
230
|
+
type: 'bytes4',
|
|
231
|
+
},
|
|
232
232
|
],
|
|
233
233
|
name: 'supportsInterface',
|
|
234
234
|
outputs: [
|
|
235
235
|
{
|
|
236
236
|
internalType: 'bool',
|
|
237
237
|
name: '',
|
|
238
|
-
type: 'bool'
|
|
239
|
-
}
|
|
238
|
+
type: 'bool',
|
|
239
|
+
},
|
|
240
240
|
],
|
|
241
241
|
stateMutability: 'pure',
|
|
242
|
-
type: 'function'
|
|
242
|
+
type: 'function',
|
|
243
243
|
},
|
|
244
244
|
{
|
|
245
245
|
stateMutability: 'payable',
|
|
246
|
-
type: 'receive'
|
|
247
|
-
}
|
|
246
|
+
type: 'receive',
|
|
247
|
+
},
|
|
248
248
|
] as const
|