@flarenetwork/flare-periphery-contract-artifacts 0.1.44-alpha.3 → 0.1.44-alpha.4
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/coston2/artifacts/contracts/IFAssetRedeemComposer.sol/IFAssetRedeemComposer.json +711 -0
- package/coston2/artifacts/contracts/IFAssetRedeemerAccount.sol/IFAssetRedeemerAccount.json +59 -0
- package/coston2/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +335 -32
- package/coston2/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +755 -403
- package/coston2/artifacts/contracts/IOwnableWithTimelock.sol/IOwnableWithTimelock.json +152 -0
- package/coston2/artifacts/contracts/IPauseFacet.sol/IPauseFacet.json +220 -0
- package/coston2/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +9 -82
- package/coston2/artifacts/contracts/IPersonalAccountReaderFacet.sol/IPersonalAccountReaderFacet.json +228 -0
- package/coston2/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +3 -28
- package/dist/coston2/abis.d.ts.map +1 -1
- package/dist/coston2/artifacts/contracts/IFAssetRedeemComposer.sol/IFAssetRedeemComposer.json +711 -0
- package/dist/coston2/artifacts/contracts/IFAssetRedeemerAccount.sol/IFAssetRedeemerAccount.json +59 -0
- package/dist/coston2/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +335 -32
- package/dist/coston2/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +755 -403
- package/dist/coston2/artifacts/contracts/IOwnableWithTimelock.sol/IOwnableWithTimelock.json +152 -0
- package/dist/coston2/artifacts/contracts/IPauseFacet.sol/IPauseFacet.json +220 -0
- package/dist/coston2/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +9 -82
- package/dist/coston2/artifacts/contracts/IPersonalAccountReaderFacet.sol/IPersonalAccountReaderFacet.json +228 -0
- package/dist/coston2/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +3 -28
- package/dist/index.js +12 -6
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/coston2/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +0 -186
- package/coston2/artifacts/contracts/ISwapFacet.sol/ISwapFacet.json +0 -188
- package/dist/coston2/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +0 -186
- package/dist/coston2/artifacts/contracts/ISwapFacet.sol/ISwapFacet.json +0 -188
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flarenetwork/flare-periphery-contract-artifacts",
|
|
3
3
|
"description": "Smart contract artifacts for all Flare chains",
|
|
4
|
-
"version": "0.1.44-alpha.
|
|
4
|
+
"version": "0.1.44-alpha.4",
|
|
5
5
|
"author": "Flare Network",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"keywords": [
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
"test": "jest -c jest.config.js"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"ethers": "^6.7.1"
|
|
31
|
+
"ethers": "^6.7.1",
|
|
32
|
+
"@layerzerolabs/lz-evm-protocol-v2": "^3.0.0"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
34
35
|
"@rollup/plugin-commonjs": "^26.0.1",
|
package/coston2/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json
DELETED
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"inputs": [],
|
|
4
|
-
"name": "EmptyCustomInstruction",
|
|
5
|
-
"type": "error"
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
"inputs": [],
|
|
9
|
-
"name": "TargetAddressZero",
|
|
10
|
-
"type": "error"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"inputs": [
|
|
14
|
-
{
|
|
15
|
-
"internalType": "address",
|
|
16
|
-
"name": "target",
|
|
17
|
-
"type": "address"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"name": "TargetNotAContract",
|
|
21
|
-
"type": "error"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"anonymous": false,
|
|
25
|
-
"inputs": [
|
|
26
|
-
{
|
|
27
|
-
"indexed": true,
|
|
28
|
-
"internalType": "bytes32",
|
|
29
|
-
"name": "customInstructionHash",
|
|
30
|
-
"type": "bytes32"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"name": "CustomInstructionAlreadyRegistered",
|
|
34
|
-
"type": "event"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"anonymous": false,
|
|
38
|
-
"inputs": [
|
|
39
|
-
{
|
|
40
|
-
"indexed": true,
|
|
41
|
-
"internalType": "bytes32",
|
|
42
|
-
"name": "customInstructionHash",
|
|
43
|
-
"type": "bytes32"
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
"name": "CustomInstructionRegistered",
|
|
47
|
-
"type": "event"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"inputs": [
|
|
51
|
-
{
|
|
52
|
-
"components": [
|
|
53
|
-
{
|
|
54
|
-
"internalType": "address",
|
|
55
|
-
"name": "targetContract",
|
|
56
|
-
"type": "address"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"internalType": "uint256",
|
|
60
|
-
"name": "value",
|
|
61
|
-
"type": "uint256"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"internalType": "bytes",
|
|
65
|
-
"name": "data",
|
|
66
|
-
"type": "bytes"
|
|
67
|
-
}
|
|
68
|
-
],
|
|
69
|
-
"internalType": "struct ICustomInstructionsFacet.CustomCall[]",
|
|
70
|
-
"name": "_customInstruction",
|
|
71
|
-
"type": "tuple[]"
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
"name": "encodeCustomInstruction",
|
|
75
|
-
"outputs": [
|
|
76
|
-
{
|
|
77
|
-
"internalType": "bytes32",
|
|
78
|
-
"name": "_customInstructionHash",
|
|
79
|
-
"type": "bytes32"
|
|
80
|
-
}
|
|
81
|
-
],
|
|
82
|
-
"stateMutability": "pure",
|
|
83
|
-
"type": "function"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"inputs": [
|
|
87
|
-
{
|
|
88
|
-
"internalType": "bytes32",
|
|
89
|
-
"name": "_customInstructionHash",
|
|
90
|
-
"type": "bytes32"
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"name": "getCustomInstruction",
|
|
94
|
-
"outputs": [
|
|
95
|
-
{
|
|
96
|
-
"components": [
|
|
97
|
-
{
|
|
98
|
-
"internalType": "address",
|
|
99
|
-
"name": "targetContract",
|
|
100
|
-
"type": "address"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"internalType": "uint256",
|
|
104
|
-
"name": "value",
|
|
105
|
-
"type": "uint256"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"internalType": "bytes",
|
|
109
|
-
"name": "data",
|
|
110
|
-
"type": "bytes"
|
|
111
|
-
}
|
|
112
|
-
],
|
|
113
|
-
"internalType": "struct ICustomInstructionsFacet.CustomCall[]",
|
|
114
|
-
"name": "_customInstruction",
|
|
115
|
-
"type": "tuple[]"
|
|
116
|
-
}
|
|
117
|
-
],
|
|
118
|
-
"stateMutability": "view",
|
|
119
|
-
"type": "function"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"inputs": [
|
|
123
|
-
{
|
|
124
|
-
"internalType": "uint256",
|
|
125
|
-
"name": "_start",
|
|
126
|
-
"type": "uint256"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"internalType": "uint256",
|
|
130
|
-
"name": "_end",
|
|
131
|
-
"type": "uint256"
|
|
132
|
-
}
|
|
133
|
-
],
|
|
134
|
-
"name": "getCustomInstructionHashes",
|
|
135
|
-
"outputs": [
|
|
136
|
-
{
|
|
137
|
-
"internalType": "bytes32[]",
|
|
138
|
-
"name": "_customInstructionHashes",
|
|
139
|
-
"type": "bytes32[]"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"internalType": "uint256",
|
|
143
|
-
"name": "_totalLength",
|
|
144
|
-
"type": "uint256"
|
|
145
|
-
}
|
|
146
|
-
],
|
|
147
|
-
"stateMutability": "view",
|
|
148
|
-
"type": "function"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"inputs": [
|
|
152
|
-
{
|
|
153
|
-
"components": [
|
|
154
|
-
{
|
|
155
|
-
"internalType": "address",
|
|
156
|
-
"name": "targetContract",
|
|
157
|
-
"type": "address"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"internalType": "uint256",
|
|
161
|
-
"name": "value",
|
|
162
|
-
"type": "uint256"
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"internalType": "bytes",
|
|
166
|
-
"name": "data",
|
|
167
|
-
"type": "bytes"
|
|
168
|
-
}
|
|
169
|
-
],
|
|
170
|
-
"internalType": "struct ICustomInstructionsFacet.CustomCall[]",
|
|
171
|
-
"name": "_customInstruction",
|
|
172
|
-
"type": "tuple[]"
|
|
173
|
-
}
|
|
174
|
-
],
|
|
175
|
-
"name": "registerCustomInstruction",
|
|
176
|
-
"outputs": [
|
|
177
|
-
{
|
|
178
|
-
"internalType": "bytes32",
|
|
179
|
-
"name": "_customInstructionHash",
|
|
180
|
-
"type": "bytes32"
|
|
181
|
-
}
|
|
182
|
-
],
|
|
183
|
-
"stateMutability": "nonpayable",
|
|
184
|
-
"type": "function"
|
|
185
|
-
}
|
|
186
|
-
]
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"inputs": [],
|
|
4
|
-
"name": "InvalidFeedId",
|
|
5
|
-
"type": "error"
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
"inputs": [],
|
|
9
|
-
"name": "InvalidMaxSlippagePPM",
|
|
10
|
-
"type": "error"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"inputs": [],
|
|
14
|
-
"name": "InvalidPoolFeeTierPPM",
|
|
15
|
-
"type": "error"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"inputs": [],
|
|
19
|
-
"name": "InvalidStableCoin",
|
|
20
|
-
"type": "error"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"inputs": [],
|
|
24
|
-
"name": "InvalidUniswapV3Router",
|
|
25
|
-
"type": "error"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"anonymous": false,
|
|
29
|
-
"inputs": [
|
|
30
|
-
{
|
|
31
|
-
"indexed": true,
|
|
32
|
-
"internalType": "address",
|
|
33
|
-
"name": "personalAccount",
|
|
34
|
-
"type": "address"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"indexed": true,
|
|
38
|
-
"internalType": "address",
|
|
39
|
-
"name": "tokenIn",
|
|
40
|
-
"type": "address"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"indexed": true,
|
|
44
|
-
"internalType": "address",
|
|
45
|
-
"name": "tokenOut",
|
|
46
|
-
"type": "address"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"indexed": false,
|
|
50
|
-
"internalType": "string",
|
|
51
|
-
"name": "xrplOwner",
|
|
52
|
-
"type": "string"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"indexed": false,
|
|
56
|
-
"internalType": "uint256",
|
|
57
|
-
"name": "amountIn",
|
|
58
|
-
"type": "uint256"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"indexed": false,
|
|
62
|
-
"internalType": "uint256",
|
|
63
|
-
"name": "amountOut",
|
|
64
|
-
"type": "uint256"
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
"name": "SwapExecuted",
|
|
68
|
-
"type": "event"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"anonymous": false,
|
|
72
|
-
"inputs": [
|
|
73
|
-
{
|
|
74
|
-
"indexed": false,
|
|
75
|
-
"internalType": "address",
|
|
76
|
-
"name": "uniswapV3Router",
|
|
77
|
-
"type": "address"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"indexed": false,
|
|
81
|
-
"internalType": "address",
|
|
82
|
-
"name": "stableCoin",
|
|
83
|
-
"type": "address"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"indexed": false,
|
|
87
|
-
"internalType": "uint24",
|
|
88
|
-
"name": "wNatStableCoinPoolFeeTierPPM",
|
|
89
|
-
"type": "uint24"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"indexed": false,
|
|
93
|
-
"internalType": "uint24",
|
|
94
|
-
"name": "stableCoinFXrpPoolFeeTierPPM",
|
|
95
|
-
"type": "uint24"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"indexed": false,
|
|
99
|
-
"internalType": "uint24",
|
|
100
|
-
"name": "maxSlippagePPM",
|
|
101
|
-
"type": "uint24"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"indexed": false,
|
|
105
|
-
"internalType": "bytes21",
|
|
106
|
-
"name": "stableCoinUsdFeedId",
|
|
107
|
-
"type": "bytes21"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"indexed": false,
|
|
111
|
-
"internalType": "bytes21",
|
|
112
|
-
"name": "wNatUsdFeedId",
|
|
113
|
-
"type": "bytes21"
|
|
114
|
-
}
|
|
115
|
-
],
|
|
116
|
-
"name": "SwapParamsSet",
|
|
117
|
-
"type": "event"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"inputs": [],
|
|
121
|
-
"name": "getSwapParams",
|
|
122
|
-
"outputs": [
|
|
123
|
-
{
|
|
124
|
-
"internalType": "address",
|
|
125
|
-
"name": "_uniswapV3Router",
|
|
126
|
-
"type": "address"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"internalType": "address",
|
|
130
|
-
"name": "_stableCoin",
|
|
131
|
-
"type": "address"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"internalType": "uint24",
|
|
135
|
-
"name": "_wNatStableCoinPoolFeeTierPPM",
|
|
136
|
-
"type": "uint24"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"internalType": "uint24",
|
|
140
|
-
"name": "_stableCoinFXrpPoolFeeTierPPM",
|
|
141
|
-
"type": "uint24"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"internalType": "uint24",
|
|
145
|
-
"name": "_maxSlippagePPM",
|
|
146
|
-
"type": "uint24"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"internalType": "bytes21",
|
|
150
|
-
"name": "_stableCoinUsdFeedId",
|
|
151
|
-
"type": "bytes21"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"internalType": "bytes21",
|
|
155
|
-
"name": "_wNatUsdFeedId",
|
|
156
|
-
"type": "bytes21"
|
|
157
|
-
}
|
|
158
|
-
],
|
|
159
|
-
"stateMutability": "view",
|
|
160
|
-
"type": "function"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"inputs": [
|
|
164
|
-
{
|
|
165
|
-
"internalType": "string",
|
|
166
|
-
"name": "_xrplAddress",
|
|
167
|
-
"type": "string"
|
|
168
|
-
}
|
|
169
|
-
],
|
|
170
|
-
"name": "swapStableCoinForFAsset",
|
|
171
|
-
"outputs": [],
|
|
172
|
-
"stateMutability": "nonpayable",
|
|
173
|
-
"type": "function"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"inputs": [
|
|
177
|
-
{
|
|
178
|
-
"internalType": "string",
|
|
179
|
-
"name": "_xrplAddress",
|
|
180
|
-
"type": "string"
|
|
181
|
-
}
|
|
182
|
-
],
|
|
183
|
-
"name": "swapWNatForStableCoin",
|
|
184
|
-
"outputs": [],
|
|
185
|
-
"stateMutability": "nonpayable",
|
|
186
|
-
"type": "function"
|
|
187
|
-
}
|
|
188
|
-
]
|
package/dist/coston2/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json
DELETED
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"inputs": [],
|
|
4
|
-
"name": "EmptyCustomInstruction",
|
|
5
|
-
"type": "error"
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
"inputs": [],
|
|
9
|
-
"name": "TargetAddressZero",
|
|
10
|
-
"type": "error"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"inputs": [
|
|
14
|
-
{
|
|
15
|
-
"internalType": "address",
|
|
16
|
-
"name": "target",
|
|
17
|
-
"type": "address"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"name": "TargetNotAContract",
|
|
21
|
-
"type": "error"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"anonymous": false,
|
|
25
|
-
"inputs": [
|
|
26
|
-
{
|
|
27
|
-
"indexed": true,
|
|
28
|
-
"internalType": "bytes32",
|
|
29
|
-
"name": "customInstructionHash",
|
|
30
|
-
"type": "bytes32"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"name": "CustomInstructionAlreadyRegistered",
|
|
34
|
-
"type": "event"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"anonymous": false,
|
|
38
|
-
"inputs": [
|
|
39
|
-
{
|
|
40
|
-
"indexed": true,
|
|
41
|
-
"internalType": "bytes32",
|
|
42
|
-
"name": "customInstructionHash",
|
|
43
|
-
"type": "bytes32"
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
"name": "CustomInstructionRegistered",
|
|
47
|
-
"type": "event"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"inputs": [
|
|
51
|
-
{
|
|
52
|
-
"components": [
|
|
53
|
-
{
|
|
54
|
-
"internalType": "address",
|
|
55
|
-
"name": "targetContract",
|
|
56
|
-
"type": "address"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"internalType": "uint256",
|
|
60
|
-
"name": "value",
|
|
61
|
-
"type": "uint256"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"internalType": "bytes",
|
|
65
|
-
"name": "data",
|
|
66
|
-
"type": "bytes"
|
|
67
|
-
}
|
|
68
|
-
],
|
|
69
|
-
"internalType": "struct ICustomInstructionsFacet.CustomCall[]",
|
|
70
|
-
"name": "_customInstruction",
|
|
71
|
-
"type": "tuple[]"
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
"name": "encodeCustomInstruction",
|
|
75
|
-
"outputs": [
|
|
76
|
-
{
|
|
77
|
-
"internalType": "bytes32",
|
|
78
|
-
"name": "_customInstructionHash",
|
|
79
|
-
"type": "bytes32"
|
|
80
|
-
}
|
|
81
|
-
],
|
|
82
|
-
"stateMutability": "pure",
|
|
83
|
-
"type": "function"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"inputs": [
|
|
87
|
-
{
|
|
88
|
-
"internalType": "bytes32",
|
|
89
|
-
"name": "_customInstructionHash",
|
|
90
|
-
"type": "bytes32"
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"name": "getCustomInstruction",
|
|
94
|
-
"outputs": [
|
|
95
|
-
{
|
|
96
|
-
"components": [
|
|
97
|
-
{
|
|
98
|
-
"internalType": "address",
|
|
99
|
-
"name": "targetContract",
|
|
100
|
-
"type": "address"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"internalType": "uint256",
|
|
104
|
-
"name": "value",
|
|
105
|
-
"type": "uint256"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"internalType": "bytes",
|
|
109
|
-
"name": "data",
|
|
110
|
-
"type": "bytes"
|
|
111
|
-
}
|
|
112
|
-
],
|
|
113
|
-
"internalType": "struct ICustomInstructionsFacet.CustomCall[]",
|
|
114
|
-
"name": "_customInstruction",
|
|
115
|
-
"type": "tuple[]"
|
|
116
|
-
}
|
|
117
|
-
],
|
|
118
|
-
"stateMutability": "view",
|
|
119
|
-
"type": "function"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"inputs": [
|
|
123
|
-
{
|
|
124
|
-
"internalType": "uint256",
|
|
125
|
-
"name": "_start",
|
|
126
|
-
"type": "uint256"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"internalType": "uint256",
|
|
130
|
-
"name": "_end",
|
|
131
|
-
"type": "uint256"
|
|
132
|
-
}
|
|
133
|
-
],
|
|
134
|
-
"name": "getCustomInstructionHashes",
|
|
135
|
-
"outputs": [
|
|
136
|
-
{
|
|
137
|
-
"internalType": "bytes32[]",
|
|
138
|
-
"name": "_customInstructionHashes",
|
|
139
|
-
"type": "bytes32[]"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"internalType": "uint256",
|
|
143
|
-
"name": "_totalLength",
|
|
144
|
-
"type": "uint256"
|
|
145
|
-
}
|
|
146
|
-
],
|
|
147
|
-
"stateMutability": "view",
|
|
148
|
-
"type": "function"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"inputs": [
|
|
152
|
-
{
|
|
153
|
-
"components": [
|
|
154
|
-
{
|
|
155
|
-
"internalType": "address",
|
|
156
|
-
"name": "targetContract",
|
|
157
|
-
"type": "address"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"internalType": "uint256",
|
|
161
|
-
"name": "value",
|
|
162
|
-
"type": "uint256"
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"internalType": "bytes",
|
|
166
|
-
"name": "data",
|
|
167
|
-
"type": "bytes"
|
|
168
|
-
}
|
|
169
|
-
],
|
|
170
|
-
"internalType": "struct ICustomInstructionsFacet.CustomCall[]",
|
|
171
|
-
"name": "_customInstruction",
|
|
172
|
-
"type": "tuple[]"
|
|
173
|
-
}
|
|
174
|
-
],
|
|
175
|
-
"name": "registerCustomInstruction",
|
|
176
|
-
"outputs": [
|
|
177
|
-
{
|
|
178
|
-
"internalType": "bytes32",
|
|
179
|
-
"name": "_customInstructionHash",
|
|
180
|
-
"type": "bytes32"
|
|
181
|
-
}
|
|
182
|
-
],
|
|
183
|
-
"stateMutability": "nonpayable",
|
|
184
|
-
"type": "function"
|
|
185
|
-
}
|
|
186
|
-
]
|