@coti-io/coti-contracts 1.0.4 → 1.0.6
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/contracts/access/DataPrivacyFramework/extensions/DataPrivacyFrameworkMpc.sol +6 -6
- package/contracts/mocks/utils/mpc/CheckedArithmeticWIthOverflowBitTestsContract.sol +309 -0
- package/contracts/utils/mpc/MpcCore.sol +527 -18
- package/contracts/utils/mpc/MpcInterface.sol +1 -2
- package/package.json +1 -1
- package/test/utils/mpc/CheckedArithmetic.test.ts +41 -0
- package/typechain-types/contracts/mocks/utils/mpc/{ArithmeticTestsContract.sol → ArithmeticWithOverflowBitTestsContract.sol}/ArithmeticTestsContract.ts +52 -43
- package/typechain-types/contracts/mocks/utils/mpc/{ArithmeticTestsContract.sol → ArithmeticWithOverflowBitTestsContract.sol}/index.ts +0 -1
- package/typechain-types/contracts/mocks/utils/mpc/{ArithmeticTestsContract.sol/PrecompilesArythmeticTestsContract.ts → CheckedArithmeticWIthOverflowBitTestsContract.sol/CheckedArithmeticWithOverflowBitTestsContract.ts} +73 -60
- package/typechain-types/contracts/mocks/utils/mpc/CheckedArithmeticWIthOverflowBitTestsContract.sol/index.ts +4 -0
- package/typechain-types/contracts/mocks/utils/mpc/index.ts +4 -0
- package/typechain-types/contracts/utils/mpc/MpcInterface.sol/ExtendedOperations.ts +43 -18
- package/typechain-types/factories/contracts/mocks/token/PrivateERC20/PrivateERC20Mock__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/token/PrivateERC721/PrivateERC721URIStorageMock__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/ArithmeticTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/ArithmeticWithOverflowBitTestsContract.sol/ArithmeticTestsContract__factory.ts +387 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/{ArithmeticTestsContract.sol → ArithmeticWithOverflowBitTestsContract.sol}/index.ts +0 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/BitwiseTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/CheckedArithmeticWIthOverflowBitTestsContract.sol/CheckedArithmeticWithOverflowBitTestsContract__factory.ts +397 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/CheckedArithmeticWIthOverflowBitTestsContract.sol/index.ts +4 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison1TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison2TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/MinMaxTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Miscellaneous1TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/MiscellaneousTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/OffboardToUserKeyTestContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/ShiftTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/StringTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferScalarTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_16TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_32TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_8TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowanceScalarTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/index.ts +2 -0
- package/typechain-types/factories/contracts/mocks/wallet/PrivateERC20Wallet/PrivateERC20WalletMock__factory.ts +1 -1
- package/typechain-types/factories/contracts/onboard/AccountOnboard__factory.ts +1 -1
- package/typechain-types/factories/contracts/utils/mpc/MpcCore__factory.ts +1 -1
- package/typechain-types/factories/contracts/utils/mpc/MpcInterface.sol/ExtendedOperations__factory.ts +44 -19
- package/typechain-types/hardhat.d.ts +36 -0
- package/typechain-types/index.ts +2 -0
- package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors.ts +0 -69
- package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors.ts +0 -69
- package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors.ts +0 -69
- package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.ts +0 -6
- package/typechain-types/contracts/GasTest.ts +0 -91
- package/typechain-types/contracts/mocks/utils/mpc/Comparison1Tests.Contract.sol/Comparison1TestsContract.ts +0 -340
- package/typechain-types/contracts/mocks/utils/mpc/Comparison1Tests.Contract.sol/index.ts +0 -4
- package/typechain-types/contracts/mocks/utils/mpc/Miscellaneous2TestsContract.ts +0 -384
- package/typechain-types/contracts/mocks/utils/mpc/OffboardToUserKeyTestsContract.sol/OffboardToUserKeyTestContract.ts +0 -221
- package/typechain-types/contracts/mocks/utils/mpc/OffboardToUserKeyTestsContract.sol/index.ts +0 -4
- package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance64TestsContract.sol/TransferWithAllowance64TestsContract.ts +0 -251
- package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance64TestsContract.sol/TransferWithAllowanceTestsContract.ts +0 -250
- package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance64TestsContract.sol/index.ts +0 -5
- package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance64TestsContract.ts +0 -389
- package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract.sol/TransferWithAllowance64_64TestsContract.ts +0 -391
- package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract.sol/TransferWithAllowance64_8TestsContract.ts +0 -391
- package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract.sol/index.ts +0 -5
- package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract.sol/TransferTestsContract.ts +0 -125
- package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract.sol/TransferWithAllowanceTestsContract.ts +0 -125
- package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract.sol/index.ts +0 -5
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors__factory.ts +0 -127
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors__factory.ts +0 -111
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors__factory.ts +0 -128
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.ts +0 -6
- package/typechain-types/factories/contracts/GasTest__factory.ts +0 -75
- package/typechain-types/factories/contracts/mocks/utils/mpc/ArithmeticTestsContract.sol/ArithmeticTestsContract__factory.ts +0 -387
- package/typechain-types/factories/contracts/mocks/utils/mpc/ArithmeticTestsContract.sol/PrecompilesArythmeticTestsContract__factory.ts +0 -388
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison1Tests.Contract.sol/Comparison1TestsContract__factory.ts +0 -361
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison1Tests.Contract.sol/index.ts +0 -4
- package/typechain-types/factories/contracts/mocks/utils/mpc/Miscellaneous2TestsContract__factory.ts +0 -432
- package/typechain-types/factories/contracts/mocks/utils/mpc/OffboardToUserKeyTestsContract.sol/OffboardToUserKeyTestContract__factory.ts +0 -261
- package/typechain-types/factories/contracts/mocks/utils/mpc/OffboardToUserKeyTestsContract.sol/index.ts +0 -4
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64TestsContract.sol/TransferWithAllowance64TestsContract__factory.ts +0 -294
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64TestsContract.sol/TransferWithAllowanceTestsContract__factory.ts +0 -292
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64TestsContract.sol/index.ts +0 -5
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64TestsContract__factory.ts +0 -720
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract.sol/TransferWithAllowance64_64TestsContract__factory.ts +0 -724
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract.sol/TransferWithAllowance64_8TestsContract__factory.ts +0 -724
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract.sol/index.ts +0 -5
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract.sol/TransferTestsContract__factory.ts +0 -150
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract.sol/TransferWithAllowanceTestsContract__factory.ts +0 -150
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract.sol/index.ts +0 -5
|
@@ -1,720 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import {
|
|
5
|
-
Contract,
|
|
6
|
-
ContractFactory,
|
|
7
|
-
ContractTransactionResponse,
|
|
8
|
-
Interface,
|
|
9
|
-
} from "ethers";
|
|
10
|
-
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
11
|
-
import type { NonPayableOverrides } from "../../../../../common";
|
|
12
|
-
import type {
|
|
13
|
-
TransferWithAllowance64TestsContract,
|
|
14
|
-
TransferWithAllowance64TestsContractInterface,
|
|
15
|
-
} from "../../../../../contracts/mocks/utils/mpc/TransferWithAllowance64TestsContract";
|
|
16
|
-
|
|
17
|
-
const _abi = [
|
|
18
|
-
{
|
|
19
|
-
inputs: [
|
|
20
|
-
{
|
|
21
|
-
components: [
|
|
22
|
-
{
|
|
23
|
-
internalType: "gtUint8",
|
|
24
|
-
name: "a8_s",
|
|
25
|
-
type: "uint256",
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
internalType: "gtUint8",
|
|
29
|
-
name: "b8_s",
|
|
30
|
-
type: "uint256",
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
internalType: "gtUint16",
|
|
34
|
-
name: "a16_s",
|
|
35
|
-
type: "uint256",
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
internalType: "gtUint16",
|
|
39
|
-
name: "b16_s",
|
|
40
|
-
type: "uint256",
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
internalType: "gtUint32",
|
|
44
|
-
name: "a32_s",
|
|
45
|
-
type: "uint256",
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
internalType: "gtUint32",
|
|
49
|
-
name: "b32_s",
|
|
50
|
-
type: "uint256",
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
internalType: "gtUint64",
|
|
54
|
-
name: "a64_s",
|
|
55
|
-
type: "uint256",
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
internalType: "gtUint64",
|
|
59
|
-
name: "b64_s",
|
|
60
|
-
type: "uint256",
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
internalType:
|
|
64
|
-
"struct TransferWithAllowance64TestsContract.AllGTCastingValues",
|
|
65
|
-
name: "allGTCastingValues",
|
|
66
|
-
type: "tuple",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
components: [
|
|
70
|
-
{
|
|
71
|
-
internalType: "gtUint8",
|
|
72
|
-
name: "amount8_s",
|
|
73
|
-
type: "uint256",
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
internalType: "gtUint16",
|
|
77
|
-
name: "amount16_s",
|
|
78
|
-
type: "uint256",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
internalType: "gtUint32",
|
|
82
|
-
name: "amount32_s",
|
|
83
|
-
type: "uint256",
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
internalType: "gtUint64",
|
|
87
|
-
name: "amount64_s",
|
|
88
|
-
type: "uint256",
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
internalType: "uint8",
|
|
92
|
-
name: "amount",
|
|
93
|
-
type: "uint8",
|
|
94
|
-
},
|
|
95
|
-
],
|
|
96
|
-
internalType:
|
|
97
|
-
"struct TransferWithAllowance64TestsContract.AllAmountValues",
|
|
98
|
-
name: "allAmountValues",
|
|
99
|
-
type: "tuple",
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
components: [
|
|
103
|
-
{
|
|
104
|
-
internalType: "gtUint8",
|
|
105
|
-
name: "allowance8_s",
|
|
106
|
-
type: "uint256",
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
internalType: "gtUint16",
|
|
110
|
-
name: "allowance16_s",
|
|
111
|
-
type: "uint256",
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
internalType: "gtUint32",
|
|
115
|
-
name: "allowance32_s",
|
|
116
|
-
type: "uint256",
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
internalType: "gtUint64",
|
|
120
|
-
name: "allowance64_s",
|
|
121
|
-
type: "uint256",
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
internalType: "uint8",
|
|
125
|
-
name: "allowance",
|
|
126
|
-
type: "uint8",
|
|
127
|
-
},
|
|
128
|
-
],
|
|
129
|
-
internalType:
|
|
130
|
-
"struct TransferWithAllowance64TestsContract.AllAllowanceValues",
|
|
131
|
-
name: "allAllowanceValues",
|
|
132
|
-
type: "tuple",
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
internalType: "uint8",
|
|
136
|
-
name: "new_a",
|
|
137
|
-
type: "uint8",
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
internalType: "uint8",
|
|
141
|
-
name: "new_b",
|
|
142
|
-
type: "uint8",
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
internalType: "bool",
|
|
146
|
-
name: "res",
|
|
147
|
-
type: "bool",
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
internalType: "uint8",
|
|
151
|
-
name: "new_allowance",
|
|
152
|
-
type: "uint8",
|
|
153
|
-
},
|
|
154
|
-
],
|
|
155
|
-
name: "computeAndCheckTransfer64_16_8",
|
|
156
|
-
outputs: [],
|
|
157
|
-
stateMutability: "nonpayable",
|
|
158
|
-
type: "function",
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
inputs: [
|
|
162
|
-
{
|
|
163
|
-
components: [
|
|
164
|
-
{
|
|
165
|
-
internalType: "gtUint8",
|
|
166
|
-
name: "a8_s",
|
|
167
|
-
type: "uint256",
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
internalType: "gtUint8",
|
|
171
|
-
name: "b8_s",
|
|
172
|
-
type: "uint256",
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
internalType: "gtUint16",
|
|
176
|
-
name: "a16_s",
|
|
177
|
-
type: "uint256",
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
internalType: "gtUint16",
|
|
181
|
-
name: "b16_s",
|
|
182
|
-
type: "uint256",
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
internalType: "gtUint32",
|
|
186
|
-
name: "a32_s",
|
|
187
|
-
type: "uint256",
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
internalType: "gtUint32",
|
|
191
|
-
name: "b32_s",
|
|
192
|
-
type: "uint256",
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
internalType: "gtUint64",
|
|
196
|
-
name: "a64_s",
|
|
197
|
-
type: "uint256",
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
internalType: "gtUint64",
|
|
201
|
-
name: "b64_s",
|
|
202
|
-
type: "uint256",
|
|
203
|
-
},
|
|
204
|
-
],
|
|
205
|
-
internalType:
|
|
206
|
-
"struct TransferWithAllowance64TestsContract.AllGTCastingValues",
|
|
207
|
-
name: "allGTCastingValues",
|
|
208
|
-
type: "tuple",
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
components: [
|
|
212
|
-
{
|
|
213
|
-
internalType: "gtUint8",
|
|
214
|
-
name: "amount8_s",
|
|
215
|
-
type: "uint256",
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
internalType: "gtUint16",
|
|
219
|
-
name: "amount16_s",
|
|
220
|
-
type: "uint256",
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
internalType: "gtUint32",
|
|
224
|
-
name: "amount32_s",
|
|
225
|
-
type: "uint256",
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
internalType: "gtUint64",
|
|
229
|
-
name: "amount64_s",
|
|
230
|
-
type: "uint256",
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
internalType: "uint8",
|
|
234
|
-
name: "amount",
|
|
235
|
-
type: "uint8",
|
|
236
|
-
},
|
|
237
|
-
],
|
|
238
|
-
internalType:
|
|
239
|
-
"struct TransferWithAllowance64TestsContract.AllAmountValues",
|
|
240
|
-
name: "allAmountValues",
|
|
241
|
-
type: "tuple",
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
components: [
|
|
245
|
-
{
|
|
246
|
-
internalType: "gtUint8",
|
|
247
|
-
name: "allowance8_s",
|
|
248
|
-
type: "uint256",
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
internalType: "gtUint16",
|
|
252
|
-
name: "allowance16_s",
|
|
253
|
-
type: "uint256",
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
internalType: "gtUint32",
|
|
257
|
-
name: "allowance32_s",
|
|
258
|
-
type: "uint256",
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
internalType: "gtUint64",
|
|
262
|
-
name: "allowance64_s",
|
|
263
|
-
type: "uint256",
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
internalType: "uint8",
|
|
267
|
-
name: "allowance",
|
|
268
|
-
type: "uint8",
|
|
269
|
-
},
|
|
270
|
-
],
|
|
271
|
-
internalType:
|
|
272
|
-
"struct TransferWithAllowance64TestsContract.AllAllowanceValues",
|
|
273
|
-
name: "allAllowanceValues",
|
|
274
|
-
type: "tuple",
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
internalType: "uint8",
|
|
278
|
-
name: "new_a",
|
|
279
|
-
type: "uint8",
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
internalType: "uint8",
|
|
283
|
-
name: "new_b",
|
|
284
|
-
type: "uint8",
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
internalType: "bool",
|
|
288
|
-
name: "res",
|
|
289
|
-
type: "bool",
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
internalType: "uint8",
|
|
293
|
-
name: "new_allowance",
|
|
294
|
-
type: "uint8",
|
|
295
|
-
},
|
|
296
|
-
],
|
|
297
|
-
name: "computeAndCheckTransfer64_32_8",
|
|
298
|
-
outputs: [],
|
|
299
|
-
stateMutability: "nonpayable",
|
|
300
|
-
type: "function",
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
inputs: [
|
|
304
|
-
{
|
|
305
|
-
components: [
|
|
306
|
-
{
|
|
307
|
-
internalType: "gtUint8",
|
|
308
|
-
name: "a8_s",
|
|
309
|
-
type: "uint256",
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
internalType: "gtUint8",
|
|
313
|
-
name: "b8_s",
|
|
314
|
-
type: "uint256",
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
internalType: "gtUint16",
|
|
318
|
-
name: "a16_s",
|
|
319
|
-
type: "uint256",
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
internalType: "gtUint16",
|
|
323
|
-
name: "b16_s",
|
|
324
|
-
type: "uint256",
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
internalType: "gtUint32",
|
|
328
|
-
name: "a32_s",
|
|
329
|
-
type: "uint256",
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
internalType: "gtUint32",
|
|
333
|
-
name: "b32_s",
|
|
334
|
-
type: "uint256",
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
internalType: "gtUint64",
|
|
338
|
-
name: "a64_s",
|
|
339
|
-
type: "uint256",
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
internalType: "gtUint64",
|
|
343
|
-
name: "b64_s",
|
|
344
|
-
type: "uint256",
|
|
345
|
-
},
|
|
346
|
-
],
|
|
347
|
-
internalType:
|
|
348
|
-
"struct TransferWithAllowance64TestsContract.AllGTCastingValues",
|
|
349
|
-
name: "allGTCastingValues",
|
|
350
|
-
type: "tuple",
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
components: [
|
|
354
|
-
{
|
|
355
|
-
internalType: "gtUint8",
|
|
356
|
-
name: "amount8_s",
|
|
357
|
-
type: "uint256",
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
internalType: "gtUint16",
|
|
361
|
-
name: "amount16_s",
|
|
362
|
-
type: "uint256",
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
internalType: "gtUint32",
|
|
366
|
-
name: "amount32_s",
|
|
367
|
-
type: "uint256",
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
internalType: "gtUint64",
|
|
371
|
-
name: "amount64_s",
|
|
372
|
-
type: "uint256",
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
internalType: "uint8",
|
|
376
|
-
name: "amount",
|
|
377
|
-
type: "uint8",
|
|
378
|
-
},
|
|
379
|
-
],
|
|
380
|
-
internalType:
|
|
381
|
-
"struct TransferWithAllowance64TestsContract.AllAmountValues",
|
|
382
|
-
name: "allAmountValues",
|
|
383
|
-
type: "tuple",
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
components: [
|
|
387
|
-
{
|
|
388
|
-
internalType: "gtUint8",
|
|
389
|
-
name: "allowance8_s",
|
|
390
|
-
type: "uint256",
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
internalType: "gtUint16",
|
|
394
|
-
name: "allowance16_s",
|
|
395
|
-
type: "uint256",
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
internalType: "gtUint32",
|
|
399
|
-
name: "allowance32_s",
|
|
400
|
-
type: "uint256",
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
internalType: "gtUint64",
|
|
404
|
-
name: "allowance64_s",
|
|
405
|
-
type: "uint256",
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
internalType: "uint8",
|
|
409
|
-
name: "allowance",
|
|
410
|
-
type: "uint8",
|
|
411
|
-
},
|
|
412
|
-
],
|
|
413
|
-
internalType:
|
|
414
|
-
"struct TransferWithAllowance64TestsContract.AllAllowanceValues",
|
|
415
|
-
name: "allAllowanceValues",
|
|
416
|
-
type: "tuple",
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
internalType: "uint8",
|
|
420
|
-
name: "new_a",
|
|
421
|
-
type: "uint8",
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
internalType: "uint8",
|
|
425
|
-
name: "new_b",
|
|
426
|
-
type: "uint8",
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
internalType: "bool",
|
|
430
|
-
name: "res",
|
|
431
|
-
type: "bool",
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
internalType: "uint8",
|
|
435
|
-
name: "new_allowance",
|
|
436
|
-
type: "uint8",
|
|
437
|
-
},
|
|
438
|
-
],
|
|
439
|
-
name: "computeAndCheckTransfer64_64_8",
|
|
440
|
-
outputs: [],
|
|
441
|
-
stateMutability: "nonpayable",
|
|
442
|
-
type: "function",
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
inputs: [
|
|
446
|
-
{
|
|
447
|
-
components: [
|
|
448
|
-
{
|
|
449
|
-
internalType: "gtUint8",
|
|
450
|
-
name: "a8_s",
|
|
451
|
-
type: "uint256",
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
internalType: "gtUint8",
|
|
455
|
-
name: "b8_s",
|
|
456
|
-
type: "uint256",
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
internalType: "gtUint16",
|
|
460
|
-
name: "a16_s",
|
|
461
|
-
type: "uint256",
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
internalType: "gtUint16",
|
|
465
|
-
name: "b16_s",
|
|
466
|
-
type: "uint256",
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
internalType: "gtUint32",
|
|
470
|
-
name: "a32_s",
|
|
471
|
-
type: "uint256",
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
internalType: "gtUint32",
|
|
475
|
-
name: "b32_s",
|
|
476
|
-
type: "uint256",
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
internalType: "gtUint64",
|
|
480
|
-
name: "a64_s",
|
|
481
|
-
type: "uint256",
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
internalType: "gtUint64",
|
|
485
|
-
name: "b64_s",
|
|
486
|
-
type: "uint256",
|
|
487
|
-
},
|
|
488
|
-
],
|
|
489
|
-
internalType:
|
|
490
|
-
"struct TransferWithAllowance64TestsContract.AllGTCastingValues",
|
|
491
|
-
name: "allGTCastingValues",
|
|
492
|
-
type: "tuple",
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
components: [
|
|
496
|
-
{
|
|
497
|
-
internalType: "gtUint8",
|
|
498
|
-
name: "amount8_s",
|
|
499
|
-
type: "uint256",
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
internalType: "gtUint16",
|
|
503
|
-
name: "amount16_s",
|
|
504
|
-
type: "uint256",
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
internalType: "gtUint32",
|
|
508
|
-
name: "amount32_s",
|
|
509
|
-
type: "uint256",
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
internalType: "gtUint64",
|
|
513
|
-
name: "amount64_s",
|
|
514
|
-
type: "uint256",
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
internalType: "uint8",
|
|
518
|
-
name: "amount",
|
|
519
|
-
type: "uint8",
|
|
520
|
-
},
|
|
521
|
-
],
|
|
522
|
-
internalType:
|
|
523
|
-
"struct TransferWithAllowance64TestsContract.AllAmountValues",
|
|
524
|
-
name: "allAmountValues",
|
|
525
|
-
type: "tuple",
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
components: [
|
|
529
|
-
{
|
|
530
|
-
internalType: "gtUint8",
|
|
531
|
-
name: "allowance8_s",
|
|
532
|
-
type: "uint256",
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
internalType: "gtUint16",
|
|
536
|
-
name: "allowance16_s",
|
|
537
|
-
type: "uint256",
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
internalType: "gtUint32",
|
|
541
|
-
name: "allowance32_s",
|
|
542
|
-
type: "uint256",
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
internalType: "gtUint64",
|
|
546
|
-
name: "allowance64_s",
|
|
547
|
-
type: "uint256",
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
internalType: "uint8",
|
|
551
|
-
name: "allowance",
|
|
552
|
-
type: "uint8",
|
|
553
|
-
},
|
|
554
|
-
],
|
|
555
|
-
internalType:
|
|
556
|
-
"struct TransferWithAllowance64TestsContract.AllAllowanceValues",
|
|
557
|
-
name: "allAllowanceValues",
|
|
558
|
-
type: "tuple",
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
internalType: "uint8",
|
|
562
|
-
name: "new_a",
|
|
563
|
-
type: "uint8",
|
|
564
|
-
},
|
|
565
|
-
{
|
|
566
|
-
internalType: "uint8",
|
|
567
|
-
name: "new_b",
|
|
568
|
-
type: "uint8",
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
internalType: "bool",
|
|
572
|
-
name: "res",
|
|
573
|
-
type: "bool",
|
|
574
|
-
},
|
|
575
|
-
{
|
|
576
|
-
internalType: "uint8",
|
|
577
|
-
name: "new_allowance",
|
|
578
|
-
type: "uint8",
|
|
579
|
-
},
|
|
580
|
-
],
|
|
581
|
-
name: "computeAndCheckTransfer64_8_8",
|
|
582
|
-
outputs: [],
|
|
583
|
-
stateMutability: "nonpayable",
|
|
584
|
-
type: "function",
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
inputs: [],
|
|
588
|
-
name: "getResults",
|
|
589
|
-
outputs: [
|
|
590
|
-
{
|
|
591
|
-
internalType: "uint8",
|
|
592
|
-
name: "",
|
|
593
|
-
type: "uint8",
|
|
594
|
-
},
|
|
595
|
-
{
|
|
596
|
-
internalType: "uint8",
|
|
597
|
-
name: "",
|
|
598
|
-
type: "uint8",
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
internalType: "bool",
|
|
602
|
-
name: "",
|
|
603
|
-
type: "bool",
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
internalType: "uint8",
|
|
607
|
-
name: "",
|
|
608
|
-
type: "uint8",
|
|
609
|
-
},
|
|
610
|
-
],
|
|
611
|
-
stateMutability: "view",
|
|
612
|
-
type: "function",
|
|
613
|
-
},
|
|
614
|
-
{
|
|
615
|
-
inputs: [
|
|
616
|
-
{
|
|
617
|
-
internalType: "uint8",
|
|
618
|
-
name: "a",
|
|
619
|
-
type: "uint8",
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
internalType: "uint8",
|
|
623
|
-
name: "b",
|
|
624
|
-
type: "uint8",
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
internalType: "uint8",
|
|
628
|
-
name: "amount",
|
|
629
|
-
type: "uint8",
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
internalType: "uint8",
|
|
633
|
-
name: "allowance",
|
|
634
|
-
type: "uint8",
|
|
635
|
-
},
|
|
636
|
-
],
|
|
637
|
-
name: "transferWithAllowance64Test",
|
|
638
|
-
outputs: [
|
|
639
|
-
{
|
|
640
|
-
internalType: "uint8",
|
|
641
|
-
name: "",
|
|
642
|
-
type: "uint8",
|
|
643
|
-
},
|
|
644
|
-
{
|
|
645
|
-
internalType: "uint8",
|
|
646
|
-
name: "",
|
|
647
|
-
type: "uint8",
|
|
648
|
-
},
|
|
649
|
-
{
|
|
650
|
-
internalType: "bool",
|
|
651
|
-
name: "",
|
|
652
|
-
type: "bool",
|
|
653
|
-
},
|
|
654
|
-
{
|
|
655
|
-
internalType: "uint8",
|
|
656
|
-
name: "",
|
|
657
|
-
type: "uint8",
|
|
658
|
-
},
|
|
659
|
-
],
|
|
660
|
-
stateMutability: "nonpayable",
|
|
661
|
-
type: "function",
|
|
662
|
-
},
|
|
663
|
-
] as const;
|
|
664
|
-
|
|
665
|
-
const _bytecode =
|
|
666
|
-
"0x608060405234801561001057600080fd5b50612661806100206000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c8063505b1e0c11610050578063505b1e0c146100f0578063f4fa211014610103578063f825a8e81461011657600080fd5b806333c92907146100775780634717f97c1461008c5780634b5611de146100dd575b600080fd5b61008a61008536600461246d565b610129565b005b60005460ff80821691610100810482169162010000820481169163010000009004165b6040805160ff9586168152938516602085015291151583830152909216606082015290519081900360800190f35b61008a6100eb36600461246d565b610766565b61008a6100fe36600461246d565b610ccc565b6100af610111366004612559565b611232565b61008a61012436600461246d565b6115f5565b60008060008061014b8b600001518c60e001518c602001518c60000151611b5b565b935093509350935061015c84611c48565b67ffffffffffffffff168860ff1614801561018b575061017b83611c48565b67ffffffffffffffff168760ff16145b80156101a2575061019b82611ceb565b1515861515145b80156101c257506101b281611c48565b67ffffffffffffffff168560ff16145b6102135760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c65640000000060448201526064015b60405180910390fd5b61022f8b60c001518c602001518c602001518c60000151611d7c565b9296509094509250905061024284611c48565b67ffffffffffffffff168860ff16148015610271575061026183611c48565b67ffffffffffffffff168760ff16145b8015610288575061028182611ceb565b1515861515145b80156102a8575061029881611c48565b67ffffffffffffffff168560ff16145b6102f45760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b6103108b604001518c60e001518c602001518c60000151611d9c565b9296509094509250905061032384611c48565b67ffffffffffffffff168860ff16148015610352575061034283611c48565b67ffffffffffffffff168760ff16145b8015610369575061036282611ceb565b1515861515145b8015610389575061037981611c48565b67ffffffffffffffff168560ff16145b6103d55760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b6103f18b60c001518c606001518c602001518c60000151611dbc565b9296509094509250905061040484611c48565b67ffffffffffffffff168860ff16148015610433575061042383611c48565b67ffffffffffffffff168760ff16145b801561044a575061044382611ceb565b1515861515145b801561046a575061045a81611c48565b67ffffffffffffffff168560ff16145b6104b65760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b6104d28b60c001518c60e001518c602001518c60000151611ddc565b929650909450925090506104e584611c48565b67ffffffffffffffff168860ff16148015610514575061050483611c48565b67ffffffffffffffff168760ff16145b801561052b575061052482611ceb565b1515861515145b801561054b575061053b81611c48565b67ffffffffffffffff168560ff16145b6105975760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b6105b38b608001518c60e001518c602001518c60000151611dfc565b929650909450925090506105c684611c48565b67ffffffffffffffff168860ff161480156105f557506105e583611c48565b67ffffffffffffffff168760ff16145b801561060c575061060582611ceb565b1515861515145b801561062c575061061c81611c48565b67ffffffffffffffff168560ff16145b6106785760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b6106948b60c001518c60a001518c602001518c60000151611e1d565b929650909450925090506106a784611c48565b67ffffffffffffffff168860ff161480156106d657506106c683611c48565b67ffffffffffffffff168760ff16145b80156106ed57506106e682611ceb565b1515861515145b801561070d57506106fd81611c48565b67ffffffffffffffff168560ff16145b6107595760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b5050505050505050505050565b6000806000806107888b600001518c60e001518c600001518c60000151611e3e565b935093509350935061079984611c48565b67ffffffffffffffff168860ff161480156107c857506107b883611c48565b67ffffffffffffffff168760ff16145b80156107df57506107d882611ceb565b1515861515145b80156107ff57506107ef81611c48565b67ffffffffffffffff168560ff16145b61084b5760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b6108678b60c001518c602001518c600001518c60000151611e5d565b9296509094509250905061087a84611c48565b67ffffffffffffffff168860ff161480156108a9575061089983611c48565b67ffffffffffffffff168760ff16145b80156108c057506108b982611ceb565b1515861515145b80156108e057506108d081611c48565b67ffffffffffffffff168560ff16145b61092c5760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b6109488b60c001518c60e001518c600001518c60000151611e7c565b9296509094509250905061095b84611c48565b67ffffffffffffffff168860ff1614801561098a575061097a83611c48565b67ffffffffffffffff168760ff16145b80156109a1575061099a82611ceb565b1515861515145b80156109c157506109b181611c48565b67ffffffffffffffff168560ff16145b610a0d5760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b610a298b604001518c60e001518c600001518c60000151611e9b565b92965090945092509050610a3c84611c48565b67ffffffffffffffff168860ff16148015610a6b5750610a5b83611c48565b67ffffffffffffffff168760ff16145b8015610a825750610a7b82611ceb565b1515861515145b8015610aa25750610a9281611c48565b67ffffffffffffffff168560ff16145b610aee5760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b610b0a8b60c001518c606001518c600001518c60000151611ebb565b92965090945092509050610b1d84611c48565b67ffffffffffffffff168860ff16148015610b4c5750610b3c83611c48565b67ffffffffffffffff168760ff16145b8015610b635750610b5c82611ceb565b1515861515145b8015610b835750610b7381611c48565b67ffffffffffffffff168560ff16145b610bcf5760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b610beb8b608001518c60e001518c600001518c60000151611edb565b92965090945092509050610bfe84611c48565b67ffffffffffffffff168860ff16148015610c2d5750610c1d83611c48565b67ffffffffffffffff168760ff16145b8015610c445750610c3d82611ceb565b1515861515145b8015610c645750610c5481611c48565b67ffffffffffffffff168560ff16145b610cb05760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b6106948b60c001518c60a001518c600001518c60000151611efb565b600080600080610cee8b600001518c60e001518c606001518c60000151611f1b565b9350935093509350610cff84611c48565b67ffffffffffffffff168860ff16148015610d2e5750610d1e83611c48565b67ffffffffffffffff168760ff16145b8015610d455750610d3e82611ceb565b1515861515145b8015610d655750610d5581611c48565b67ffffffffffffffff168560ff16145b610db15760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b610dcd8b60c001518c602001518c606001518c60000151611f3a565b92965090945092509050610de084611c48565b67ffffffffffffffff168860ff16148015610e0f5750610dff83611c48565b67ffffffffffffffff168760ff16145b8015610e265750610e1f82611ceb565b1515861515145b8015610e465750610e3681611c48565b67ffffffffffffffff168560ff16145b610e925760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b610eae8b60c001518c60e001518c606001518c60000151611f59565b92965090945092509050610ec184611c48565b67ffffffffffffffff168860ff16148015610ef05750610ee083611c48565b67ffffffffffffffff168760ff16145b8015610f075750610f0082611ceb565b1515861515145b8015610f275750610f1781611c48565b67ffffffffffffffff168560ff16145b610f735760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b610f8f8b604001518c60e001518c606001518c60000151611f78565b92965090945092509050610fa284611c48565b67ffffffffffffffff168860ff16148015610fd15750610fc183611c48565b67ffffffffffffffff168760ff16145b8015610fe85750610fe182611ceb565b1515861515145b80156110085750610ff881611c48565b67ffffffffffffffff168560ff16145b6110545760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b6110708b60c001518c606001518c606001518c60000151611f98565b9296509094509250905061108384611c48565b67ffffffffffffffff168860ff161480156110b257506110a283611c48565b67ffffffffffffffff168760ff16145b80156110c957506110c282611ceb565b1515861515145b80156110e957506110d981611c48565b67ffffffffffffffff168560ff16145b6111355760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b6111518b608001518c60e001518c606001518c60000151611fb8565b9296509094509250905061116484611c48565b67ffffffffffffffff168860ff16148015611193575061118383611c48565b67ffffffffffffffff168760ff16145b80156111aa57506111a382611ceb565b1515861515145b80156111ca57506111ba81611c48565b67ffffffffffffffff168560ff16145b6112165760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b6106948b60c001518c60a001518c606001518c60000151611fd8565b60008060008061128060405180610100016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6112b56040518060a0016040528060008152602001600081526020016000815260200160008152602001600060ff1681525090565b6112ea6040518060a0016040528060008152602001600081526020016000815260200160008152602001600060ff1681525090565b6112f38b611ff8565b83526112fe8a611ff8565b602084015261130f60ff8c16612061565b604084015261132060ff8b16612061565b606084015261133160ff8c166120cb565b608084015261134260ff8b166120cb565b60a084015261135360ff8c16612137565b60c084015261136460ff8b16612137565b60e084015261137289611ff8565b825261138060ff8a16612061565b602083015261139160ff8a166120cb565b60408301526113a260ff8a16612137565b606083015260ff891660808301526113b988611ff8565b81526113c760ff8916612061565b60208201526113d860ff89166120cb565b60408201526113e960ff8916612137565b606082015260ff881660808201528251602084015183518351600093849384938493611417939291906121a7565b9350935093509350611428846121c5565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff92909216919091179055611463836121c5565b600060016101000a81548160ff021916908360ff16021790555061148682611ceb565b6000805491151562010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff9092169190911790556114c5816121c5565b6000805460ff92831663010000009081027fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff831681179384905561152c948c948c948c94938316908316179261010082048316926201000083048116929190910416610766565b60005461155d9088908890889060ff8082169161010081048216916201000082048116916301000000900416610129565b60005461158e9088908890889060ff80821691610100810482169162010000820481169163010000009004166115f5565b6000546115bf9088908890889060ff8082169161010081048216916201000082048116916301000000900416610ccc565b505060005460ff8082169f610100830482169f5062010000830482169e506301000000909204169b509950505050505050505050565b6000806000806116178b600001518c60e001518c604001518c600001516121d5565b935093509350935061162884611c48565b67ffffffffffffffff168860ff16148015611657575061164783611c48565b67ffffffffffffffff168760ff16145b801561166e575061166782611ceb565b1515861515145b801561168e575061167e81611c48565b67ffffffffffffffff168560ff16145b6116da5760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b6116f68b60c001518c602001518c604001518c600001516121f5565b9296509094509250905061170984611c48565b67ffffffffffffffff168860ff16148015611738575061172883611c48565b67ffffffffffffffff168760ff16145b801561174f575061174882611ceb565b1515861515145b801561176f575061175f81611c48565b67ffffffffffffffff168560ff16145b6117bb5760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b6117d78b608001518c60e001518c604001518c60000151612215565b929650909450925090506117ea84611c48565b67ffffffffffffffff168860ff16148015611819575061180983611c48565b67ffffffffffffffff168760ff16145b8015611830575061182982611ceb565b1515861515145b8015611850575061184081611c48565b67ffffffffffffffff168560ff16145b61189c5760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b6118b88b60c001518c60a001518c604001518c60000151612235565b929650909450925090506118cb84611c48565b67ffffffffffffffff168860ff161480156118fa57506118ea83611c48565b67ffffffffffffffff168760ff16145b8015611911575061190a82611ceb565b1515861515145b8015611931575061192181611c48565b67ffffffffffffffff168560ff16145b61197d5760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b6119998b604001518c60e001518c604001518c60000151612255565b929650909450925090506119ac84611c48565b67ffffffffffffffff168860ff161480156119db57506119cb83611c48565b67ffffffffffffffff168760ff16145b80156119f257506119eb82611ceb565b1515861515145b8015611a125750611a0281611c48565b67ffffffffffffffff168560ff16145b611a5e5760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b611a7a8b60c001518c606001518c604001518c60000151612276565b92965090945092509050611a8d84611c48565b67ffffffffffffffff168860ff16148015611abc5750611aac83611c48565b67ffffffffffffffff168760ff16145b8015611ad35750611acc82611ceb565b1515861515145b8015611af35750611ae381611c48565b67ffffffffffffffff168560ff16145b611b3f5760405162461bcd60e51b815260206004820152601c60248201527f7472616e73666572546573743a2063617374203634206661696c656400000000604482015260640161020a565b6106948b60c001518c60e001518c604001518c60000151612297565b600080808080808080606463c2ff267a611b7b60016004600282876122b3565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681527fffffffffff0000000000000000000000000000000000000000000000000000009091166004820152602481018f9052604481018e9052606481018d9052608481018c905260a4016080604051808303816000875af1158015611c0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c3291906125ad565b929f919e509c50909a5098505050505050505050565b60006064630cfed56160045b60f81b846040518363ffffffff1660e01b8152600401611ca29291907fff00000000000000000000000000000000000000000000000000000000000000929092168252602082015260400190565b6020604051808303816000875af1158015611cc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce59190612612565b92915050565b6040517f0cfed56100000000000000000000000000000000000000000000000000000000815260006004820181905260248201839052908190606490630cfed561906044016020604051808303816000875af1158015611d4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d739190612612565b15159392505050565b600080808080808080606463c2ff267a611b7b60046001600281876122b3565b600080808080808080606463c2ff267a611b7b60026004816001876122b3565b600080808080808080606463c2ff267a611b7b60046002806001876122b3565b600080808080808080606463c2ff267a611b7b60048060026001876122b3565b600080808080808080606463c2ff267a611b7b6003600460026001876122b3565b600080808080808080606463c2ff267a611b7b6004600360026001876122b3565b600080808080808080606463c2ff267a611b7b600160048180876122b3565b600080808080808080606463c2ff267a611b7b600460018080876122b3565b600080808080808080606463c2ff267a611b7b600480600180876122b3565b600080808080808080606463c2ff267a611b7b60026004600180876122b3565b600080808080808080606463c2ff267a611b7b60046002600180876122b3565b600080808080808080606463c2ff267a611b7b60036004600180876122b3565b600080808080808080606463c2ff267a611b7b60046003600180876122b3565b600080808080808080606463c2ff267a611b7b600160048082876122b3565b600080808080808080606463c2ff267a611b7b600460018181876122b3565b600080808080808080606463c2ff267a611b7b600480806001876122b3565b600080808080808080606463c2ff267a611b7b60026004806001876122b3565b600080808080808080606463c2ff267a611b7b60046002816001876122b3565b600080808080808080606463c2ff267a611b7b60036004806001876122b3565b600080808080808080606463c2ff267a611b7b60046003816001876122b3565b6040517fd9b60b600000000000000000000000000000000000000000000000000000000081527f0100000000000000000000000000000000000000000000000000000000000000600482015260ff8216602482015260009060649063d9b60b6090604401611ca2565b6040517fd9b60b600000000000000000000000000000000000000000000000000000000081527f0200000000000000000000000000000000000000000000000000000000000000600482015261ffff8216602482015260009060649063d9b60b6090604401611ca2565b6040517fd9b60b600000000000000000000000000000000000000000000000000000000081527f0300000000000000000000000000000000000000000000000000000000000000600482015263ffffffff8216602482015260009060649063d9b60b6090604401611ca2565b6040517fd9b60b600000000000000000000000000000000000000000000000000000000081527f0400000000000000000000000000000000000000000000000000000000000000600482015267ffffffffffffffff8216602482015260009060649063d9b60b6090604401611ca2565b600080808080808080606463c2ff267a611b7b6001808080876122b3565b60006064630cfed5616001611c54565b600080808080808080606463c2ff267a611b7b60016004600382876122b3565b600080808080808080606463c2ff267a611b7b60046001600381876122b3565b600080808080808080606463c2ff267a611b7b60036004816001876122b3565b600080808080808080606463c2ff267a611b7b60046003806001876122b3565b600080808080808080606463c2ff267a611b7b6002600460036001876122b3565b600080808080808080606463c2ff267a611b7b6004600260036001876122b3565b600080808080808080606463c2ff267a611b7b60048060036001875b60008160028111156122c7576122c76125e3565b60ff1660088460048111156122de576122de6125e3565b61ffff16901b61ffff1660108660048111156122fc576122fc6125e3565b62ffffff16901b62ffffff16601888600481111561231c5761231c6125e3565b63ffffffff16901b63ffffffff1660208a600481111561233e5761233e6125e3565b64ffffffffff16901b1717171760d81b9695505050505050565b604051610100810167ffffffffffffffff811182821017156123a3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405290565b803560ff811681146123ba57600080fd5b919050565b600060a082840312156123d157600080fd5b60405160a0810181811067ffffffffffffffff8211171561241b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b806040525080915082358152602083013560208201526040830135604082015260608301356060820152612451608084016123a9565b60808201525092915050565b803580151581146123ba57600080fd5b60008060008060008060008789036102c081121561248a57600080fd5b6101008082121561249a57600080fd5b6124a2612358565b91508935825260208a0135602083015260408a0135604083015260608a0135606083015260808a0135608083015260a08a013560a083015260c08a013560c083015260e08a013560e08301528198506124fd8b828c016123bf565b9750505061250f896101a08a016123bf565b945061251e61024089016123a9565b935061252d61026089016123a9565b925061253c610280890161245d565b915061254b6102a089016123a9565b905092959891949750929550565b6000806000806080858703121561256f57600080fd5b612578856123a9565b9350612586602086016123a9565b9250612594604086016123a9565b91506125a2606086016123a9565b905092959194509250565b600080600080608085870312156125c357600080fd5b505082516020840151604085015160609095015191969095509092509050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60006020828403121561262457600080fd5b505191905056fea2646970667358221220629a526b04438bc344e4a7a94999e255b8583a02c5eeed3f346690599b55ecdb64736f6c63430008140033";
|
|
667
|
-
|
|
668
|
-
type TransferWithAllowance64TestsContractConstructorParams =
|
|
669
|
-
| [signer?: Signer]
|
|
670
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
671
|
-
|
|
672
|
-
const isSuperArgs = (
|
|
673
|
-
xs: TransferWithAllowance64TestsContractConstructorParams
|
|
674
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
675
|
-
|
|
676
|
-
export class TransferWithAllowance64TestsContract__factory extends ContractFactory {
|
|
677
|
-
constructor(...args: TransferWithAllowance64TestsContractConstructorParams) {
|
|
678
|
-
if (isSuperArgs(args)) {
|
|
679
|
-
super(...args);
|
|
680
|
-
} else {
|
|
681
|
-
super(_abi, _bytecode, args[0]);
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
override getDeployTransaction(
|
|
686
|
-
overrides?: NonPayableOverrides & { from?: string }
|
|
687
|
-
): Promise<ContractDeployTransaction> {
|
|
688
|
-
return super.getDeployTransaction(overrides || {});
|
|
689
|
-
}
|
|
690
|
-
override deploy(overrides?: NonPayableOverrides & { from?: string }) {
|
|
691
|
-
return super.deploy(overrides || {}) as Promise<
|
|
692
|
-
TransferWithAllowance64TestsContract & {
|
|
693
|
-
deploymentTransaction(): ContractTransactionResponse;
|
|
694
|
-
}
|
|
695
|
-
>;
|
|
696
|
-
}
|
|
697
|
-
override connect(
|
|
698
|
-
runner: ContractRunner | null
|
|
699
|
-
): TransferWithAllowance64TestsContract__factory {
|
|
700
|
-
return super.connect(
|
|
701
|
-
runner
|
|
702
|
-
) as TransferWithAllowance64TestsContract__factory;
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
static readonly bytecode = _bytecode;
|
|
706
|
-
static readonly abi = _abi;
|
|
707
|
-
static createInterface(): TransferWithAllowance64TestsContractInterface {
|
|
708
|
-
return new Interface(_abi) as TransferWithAllowance64TestsContractInterface;
|
|
709
|
-
}
|
|
710
|
-
static connect(
|
|
711
|
-
address: string,
|
|
712
|
-
runner?: ContractRunner | null
|
|
713
|
-
): TransferWithAllowance64TestsContract {
|
|
714
|
-
return new Contract(
|
|
715
|
-
address,
|
|
716
|
-
_abi,
|
|
717
|
-
runner
|
|
718
|
-
) as unknown as TransferWithAllowance64TestsContract;
|
|
719
|
-
}
|
|
720
|
-
}
|