@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.
Files changed (85) hide show
  1. package/contracts/access/DataPrivacyFramework/extensions/DataPrivacyFrameworkMpc.sol +6 -6
  2. package/contracts/mocks/utils/mpc/CheckedArithmeticWIthOverflowBitTestsContract.sol +309 -0
  3. package/contracts/utils/mpc/MpcCore.sol +527 -18
  4. package/contracts/utils/mpc/MpcInterface.sol +1 -2
  5. package/package.json +1 -1
  6. package/test/utils/mpc/CheckedArithmetic.test.ts +41 -0
  7. package/typechain-types/contracts/mocks/utils/mpc/{ArithmeticTestsContract.sol → ArithmeticWithOverflowBitTestsContract.sol}/ArithmeticTestsContract.ts +52 -43
  8. package/typechain-types/contracts/mocks/utils/mpc/{ArithmeticTestsContract.sol → ArithmeticWithOverflowBitTestsContract.sol}/index.ts +0 -1
  9. package/typechain-types/contracts/mocks/utils/mpc/{ArithmeticTestsContract.sol/PrecompilesArythmeticTestsContract.ts → CheckedArithmeticWIthOverflowBitTestsContract.sol/CheckedArithmeticWithOverflowBitTestsContract.ts} +73 -60
  10. package/typechain-types/contracts/mocks/utils/mpc/CheckedArithmeticWIthOverflowBitTestsContract.sol/index.ts +4 -0
  11. package/typechain-types/contracts/mocks/utils/mpc/index.ts +4 -0
  12. package/typechain-types/contracts/utils/mpc/MpcInterface.sol/ExtendedOperations.ts +43 -18
  13. package/typechain-types/factories/contracts/mocks/token/PrivateERC20/PrivateERC20Mock__factory.ts +1 -1
  14. package/typechain-types/factories/contracts/mocks/token/PrivateERC721/PrivateERC721URIStorageMock__factory.ts +1 -1
  15. package/typechain-types/factories/contracts/mocks/utils/mpc/ArithmeticTestsContract__factory.ts +1 -1
  16. package/typechain-types/factories/contracts/mocks/utils/mpc/ArithmeticWithOverflowBitTestsContract.sol/ArithmeticTestsContract__factory.ts +387 -0
  17. package/typechain-types/factories/contracts/mocks/utils/mpc/{ArithmeticTestsContract.sol → ArithmeticWithOverflowBitTestsContract.sol}/index.ts +0 -1
  18. package/typechain-types/factories/contracts/mocks/utils/mpc/BitwiseTestsContract__factory.ts +1 -1
  19. package/typechain-types/factories/contracts/mocks/utils/mpc/CheckedArithmeticWIthOverflowBitTestsContract.sol/CheckedArithmeticWithOverflowBitTestsContract__factory.ts +397 -0
  20. package/typechain-types/factories/contracts/mocks/utils/mpc/CheckedArithmeticWIthOverflowBitTestsContract.sol/index.ts +4 -0
  21. package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison1TestsContract__factory.ts +1 -1
  22. package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison2TestsContract__factory.ts +1 -1
  23. package/typechain-types/factories/contracts/mocks/utils/mpc/MinMaxTestsContract__factory.ts +1 -1
  24. package/typechain-types/factories/contracts/mocks/utils/mpc/Miscellaneous1TestsContract__factory.ts +1 -1
  25. package/typechain-types/factories/contracts/mocks/utils/mpc/MiscellaneousTestsContract__factory.ts +1 -1
  26. package/typechain-types/factories/contracts/mocks/utils/mpc/OffboardToUserKeyTestContract__factory.ts +1 -1
  27. package/typechain-types/factories/contracts/mocks/utils/mpc/ShiftTestsContract__factory.ts +1 -1
  28. package/typechain-types/factories/contracts/mocks/utils/mpc/StringTestsContract__factory.ts +1 -1
  29. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferScalarTestsContract__factory.ts +1 -1
  30. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferTestsContract__factory.ts +1 -1
  31. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_16TestsContract__factory.ts +1 -1
  32. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_32TestsContract__factory.ts +1 -1
  33. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract__factory.ts +1 -1
  34. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_8TestsContract__factory.ts +1 -1
  35. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowanceScalarTestsContract__factory.ts +1 -1
  36. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract__factory.ts +1 -1
  37. package/typechain-types/factories/contracts/mocks/utils/mpc/index.ts +2 -0
  38. package/typechain-types/factories/contracts/mocks/wallet/PrivateERC20Wallet/PrivateERC20WalletMock__factory.ts +1 -1
  39. package/typechain-types/factories/contracts/onboard/AccountOnboard__factory.ts +1 -1
  40. package/typechain-types/factories/contracts/utils/mpc/MpcCore__factory.ts +1 -1
  41. package/typechain-types/factories/contracts/utils/mpc/MpcInterface.sol/ExtendedOperations__factory.ts +44 -19
  42. package/typechain-types/hardhat.d.ts +36 -0
  43. package/typechain-types/index.ts +2 -0
  44. package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors.ts +0 -69
  45. package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors.ts +0 -69
  46. package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors.ts +0 -69
  47. package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.ts +0 -6
  48. package/typechain-types/contracts/GasTest.ts +0 -91
  49. package/typechain-types/contracts/mocks/utils/mpc/Comparison1Tests.Contract.sol/Comparison1TestsContract.ts +0 -340
  50. package/typechain-types/contracts/mocks/utils/mpc/Comparison1Tests.Contract.sol/index.ts +0 -4
  51. package/typechain-types/contracts/mocks/utils/mpc/Miscellaneous2TestsContract.ts +0 -384
  52. package/typechain-types/contracts/mocks/utils/mpc/OffboardToUserKeyTestsContract.sol/OffboardToUserKeyTestContract.ts +0 -221
  53. package/typechain-types/contracts/mocks/utils/mpc/OffboardToUserKeyTestsContract.sol/index.ts +0 -4
  54. package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance64TestsContract.sol/TransferWithAllowance64TestsContract.ts +0 -251
  55. package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance64TestsContract.sol/TransferWithAllowanceTestsContract.ts +0 -250
  56. package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance64TestsContract.sol/index.ts +0 -5
  57. package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance64TestsContract.ts +0 -389
  58. package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract.sol/TransferWithAllowance64_64TestsContract.ts +0 -391
  59. package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract.sol/TransferWithAllowance64_8TestsContract.ts +0 -391
  60. package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract.sol/index.ts +0 -5
  61. package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract.sol/TransferTestsContract.ts +0 -125
  62. package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract.sol/TransferWithAllowanceTestsContract.ts +0 -125
  63. package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract.sol/index.ts +0 -5
  64. package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors__factory.ts +0 -127
  65. package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors__factory.ts +0 -111
  66. package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors__factory.ts +0 -128
  67. package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.ts +0 -6
  68. package/typechain-types/factories/contracts/GasTest__factory.ts +0 -75
  69. package/typechain-types/factories/contracts/mocks/utils/mpc/ArithmeticTestsContract.sol/ArithmeticTestsContract__factory.ts +0 -387
  70. package/typechain-types/factories/contracts/mocks/utils/mpc/ArithmeticTestsContract.sol/PrecompilesArythmeticTestsContract__factory.ts +0 -388
  71. package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison1Tests.Contract.sol/Comparison1TestsContract__factory.ts +0 -361
  72. package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison1Tests.Contract.sol/index.ts +0 -4
  73. package/typechain-types/factories/contracts/mocks/utils/mpc/Miscellaneous2TestsContract__factory.ts +0 -432
  74. package/typechain-types/factories/contracts/mocks/utils/mpc/OffboardToUserKeyTestsContract.sol/OffboardToUserKeyTestContract__factory.ts +0 -261
  75. package/typechain-types/factories/contracts/mocks/utils/mpc/OffboardToUserKeyTestsContract.sol/index.ts +0 -4
  76. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64TestsContract.sol/TransferWithAllowance64TestsContract__factory.ts +0 -294
  77. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64TestsContract.sol/TransferWithAllowanceTestsContract__factory.ts +0 -292
  78. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64TestsContract.sol/index.ts +0 -5
  79. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64TestsContract__factory.ts +0 -720
  80. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract.sol/TransferWithAllowance64_64TestsContract__factory.ts +0 -724
  81. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract.sol/TransferWithAllowance64_8TestsContract__factory.ts +0 -724
  82. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract.sol/index.ts +0 -5
  83. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract.sol/TransferTestsContract__factory.ts +0 -150
  84. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract.sol/TransferWithAllowanceTestsContract__factory.ts +0 -150
  85. package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract.sol/index.ts +0 -5
@@ -1,5 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- export { TransferWithAllowance64_64TestsContract__factory } from "./TransferWithAllowance64_64TestsContract__factory";
5
- export { TransferWithAllowance64_8TestsContract__factory } from "./TransferWithAllowance64_8TestsContract__factory";
@@ -1,150 +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
- TransferTestsContract,
14
- TransferTestsContractInterface,
15
- } from "../../../../../../contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract.sol/TransferTestsContract";
16
-
17
- const _abi = [
18
- {
19
- inputs: [],
20
- name: "getResults",
21
- outputs: [
22
- {
23
- internalType: "uint8",
24
- name: "",
25
- type: "uint8",
26
- },
27
- {
28
- internalType: "uint8",
29
- name: "",
30
- type: "uint8",
31
- },
32
- {
33
- internalType: "bool",
34
- name: "",
35
- type: "bool",
36
- },
37
- {
38
- internalType: "uint8",
39
- name: "",
40
- type: "uint8",
41
- },
42
- ],
43
- stateMutability: "view",
44
- type: "function",
45
- },
46
- {
47
- inputs: [
48
- {
49
- internalType: "uint8",
50
- name: "a",
51
- type: "uint8",
52
- },
53
- {
54
- internalType: "uint8",
55
- name: "b",
56
- type: "uint8",
57
- },
58
- {
59
- internalType: "uint8",
60
- name: "amount",
61
- type: "uint8",
62
- },
63
- {
64
- internalType: "uint8",
65
- name: "allowance",
66
- type: "uint8",
67
- },
68
- ],
69
- name: "transferWithAllowanceTest",
70
- outputs: [
71
- {
72
- internalType: "uint8",
73
- name: "",
74
- type: "uint8",
75
- },
76
- {
77
- internalType: "uint8",
78
- name: "",
79
- type: "uint8",
80
- },
81
- {
82
- internalType: "bool",
83
- name: "",
84
- type: "bool",
85
- },
86
- {
87
- internalType: "uint8",
88
- name: "",
89
- type: "uint8",
90
- },
91
- ],
92
- stateMutability: "nonpayable",
93
- type: "function",
94
- },
95
- ] as const;
96
-
97
- const _bytecode =
98
- "0x608060405234801561001057600080fd5b50610936806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80634717f97c1461003b578063eae36abd1461008c575b600080fd5b60005460ff80821691610100810482169162010000820481169163010000009004165b6040805160ff9586168152938516602085015291151583830152909216606082015290519081900360800190f35b61005e61009a36600461082e565b6000806000806100e860405180610100016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b61011d6040518060a0016040528060008152602001600081526020016000815260200160008152602001600060ff1681525090565b6101526040518060a0016040528060008152602001600081526020016000815260200160008152602001600060ff1681525090565b61015b8b61039c565b83526101668a61039c565b602084015261017760ff8c1661044a565b604084015261018860ff8b1661044a565b606084015261019960ff8c166104b4565b60808401526101aa60ff8b166104b4565b60a08401526101bb60ff8c16610520565b60c08401526101cc60ff8b16610520565b60e08401526101da8961039c565b82526101e860ff8a1661044a565b60208301526101f960ff8a166104b4565b604083015261020a60ff8a16610520565b606083015260ff891660808301526102218861039c565b815261022f60ff891661044a565b602082015261024060ff89166104b4565b604082015261025160ff8916610520565b606082015260ff88166080820152825160208401518351835160009384938493849361027f93929190610590565b93509350935093506102908461067b565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff929092169190911790556102cb8361067b565b600060016101000a81548160ff021916908360ff1602179055506102ee826106e2565b6000805491151562010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff90921691909117905561032d8161067b565b6000805460ff92831663010000009081027fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff83168117938490558416918416919091179d50610100820483169c5062010000820483169b50900416975050505050505050945094509450949050565b6040517fd9b60b600000000000000000000000000000000000000000000000000000000081527f0100000000000000000000000000000000000000000000000000000000000000600482015260ff8216602482015260009060649063d9b60b60906044015b6020604051808303816000875af1158015610420573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044491906108b1565b92915050565b6040517fd9b60b600000000000000000000000000000000000000000000000000000000081527f0200000000000000000000000000000000000000000000000000000000000000600482015261ffff8216602482015260009060649063d9b60b6090604401610401565b6040517fd9b60b600000000000000000000000000000000000000000000000000000000081527f0300000000000000000000000000000000000000000000000000000000000000600482015263ffffffff8216602482015260009060649063d9b60b6090604401610401565b6040517fd9b60b600000000000000000000000000000000000000000000000000000000081527f0400000000000000000000000000000000000000000000000000000000000000600482015267ffffffffffffffff8216602482015260009060649063d9b60b6090604401610401565b600080808080808080606463c2ff267a6105ae600180808087610773565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681527fffffffffff0000000000000000000000000000000000000000000000000000009091166004820152602481018f9052604481018e9052606481018d9052608481018c905260a4016080604051808303816000875af1158015610641573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066591906108ca565b929f919e509c50909a5098505050505050505050565b6040517f0cfed5610000000000000000000000000000000000000000000000000000000081527f0100000000000000000000000000000000000000000000000000000000000000600482015260248101829052600090606490630cfed56190604401610401565b6040517f0cfed56100000000000000000000000000000000000000000000000000000000815260006004820181905260248201839052908190606490630cfed561906044016020604051808303816000875af1158015610746573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a91906108b1565b15159392505050565b600081600281111561078757610787610882565b60ff16600884600481111561079e5761079e610882565b61ffff16901b61ffff1660108660048111156107bc576107bc610882565b62ffffff16901b62ffffff1660188860048111156107dc576107dc610882565b63ffffffff16901b63ffffffff1660208a60048111156107fe576107fe610882565b64ffffffffff16901b1717171760d81b9695505050505050565b803560ff8116811461082957600080fd5b919050565b6000806000806080858703121561084457600080fd5b61084d85610818565b935061085b60208601610818565b925061086960408601610818565b915061087760608601610818565b905092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000602082840312156108c357600080fd5b5051919050565b600080600080608085870312156108e057600080fd5b50508251602084015160408501516060909501519196909550909250905056fea2646970667358221220951dc0b212720d50f6ebc27c403f54899a4385d56a43f08f6e56a7a32995467064736f6c63430008140033";
99
-
100
- type TransferTestsContractConstructorParams =
101
- | [signer?: Signer]
102
- | ConstructorParameters<typeof ContractFactory>;
103
-
104
- const isSuperArgs = (
105
- xs: TransferTestsContractConstructorParams
106
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
107
-
108
- export class TransferTestsContract__factory extends ContractFactory {
109
- constructor(...args: TransferTestsContractConstructorParams) {
110
- if (isSuperArgs(args)) {
111
- super(...args);
112
- } else {
113
- super(_abi, _bytecode, args[0]);
114
- }
115
- }
116
-
117
- override getDeployTransaction(
118
- overrides?: NonPayableOverrides & { from?: string }
119
- ): Promise<ContractDeployTransaction> {
120
- return super.getDeployTransaction(overrides || {});
121
- }
122
- override deploy(overrides?: NonPayableOverrides & { from?: string }) {
123
- return super.deploy(overrides || {}) as Promise<
124
- TransferTestsContract & {
125
- deploymentTransaction(): ContractTransactionResponse;
126
- }
127
- >;
128
- }
129
- override connect(
130
- runner: ContractRunner | null
131
- ): TransferTestsContract__factory {
132
- return super.connect(runner) as TransferTestsContract__factory;
133
- }
134
-
135
- static readonly bytecode = _bytecode;
136
- static readonly abi = _abi;
137
- static createInterface(): TransferTestsContractInterface {
138
- return new Interface(_abi) as TransferTestsContractInterface;
139
- }
140
- static connect(
141
- address: string,
142
- runner?: ContractRunner | null
143
- ): TransferTestsContract {
144
- return new Contract(
145
- address,
146
- _abi,
147
- runner
148
- ) as unknown as TransferTestsContract;
149
- }
150
- }
@@ -1,150 +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
- TransferWithAllowanceTestsContract,
14
- TransferWithAllowanceTestsContractInterface,
15
- } from "../../../../../../contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract.sol/TransferWithAllowanceTestsContract";
16
-
17
- const _abi = [
18
- {
19
- inputs: [],
20
- name: "getResults",
21
- outputs: [
22
- {
23
- internalType: "uint8",
24
- name: "",
25
- type: "uint8",
26
- },
27
- {
28
- internalType: "uint8",
29
- name: "",
30
- type: "uint8",
31
- },
32
- {
33
- internalType: "bool",
34
- name: "",
35
- type: "bool",
36
- },
37
- {
38
- internalType: "uint8",
39
- name: "",
40
- type: "uint8",
41
- },
42
- ],
43
- stateMutability: "view",
44
- type: "function",
45
- },
46
- {
47
- inputs: [
48
- {
49
- internalType: "uint8",
50
- name: "a",
51
- type: "uint8",
52
- },
53
- {
54
- internalType: "uint8",
55
- name: "b",
56
- type: "uint8",
57
- },
58
- {
59
- internalType: "uint8",
60
- name: "amount",
61
- type: "uint8",
62
- },
63
- {
64
- internalType: "uint8",
65
- name: "allowance",
66
- type: "uint8",
67
- },
68
- ],
69
- name: "transferWithAllowanceTest",
70
- outputs: [
71
- {
72
- internalType: "uint8",
73
- name: "",
74
- type: "uint8",
75
- },
76
- {
77
- internalType: "uint8",
78
- name: "",
79
- type: "uint8",
80
- },
81
- {
82
- internalType: "bool",
83
- name: "",
84
- type: "bool",
85
- },
86
- {
87
- internalType: "uint8",
88
- name: "",
89
- type: "uint8",
90
- },
91
- ],
92
- stateMutability: "nonpayable",
93
- type: "function",
94
- },
95
- ] as const;
96
-
97
- const _bytecode =
98
- "0x608060405234801561001057600080fd5b50610936806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80634717f97c1461003b578063eae36abd1461008c575b600080fd5b60005460ff80821691610100810482169162010000820481169163010000009004165b6040805160ff9586168152938516602085015291151583830152909216606082015290519081900360800190f35b61005e61009a36600461082e565b6000806000806100e860405180610100016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b61011d6040518060a0016040528060008152602001600081526020016000815260200160008152602001600060ff1681525090565b6101526040518060a0016040528060008152602001600081526020016000815260200160008152602001600060ff1681525090565b61015b8b61039c565b83526101668a61039c565b602084015261017760ff8c1661044a565b604084015261018860ff8b1661044a565b606084015261019960ff8c166104b4565b60808401526101aa60ff8b166104b4565b60a08401526101bb60ff8c16610520565b60c08401526101cc60ff8b16610520565b60e08401526101da8961039c565b82526101e860ff8a1661044a565b60208301526101f960ff8a166104b4565b604083015261020a60ff8a16610520565b606083015260ff891660808301526102218861039c565b815261022f60ff891661044a565b602082015261024060ff89166104b4565b604082015261025160ff8916610520565b606082015260ff88166080820152825160208401518351835160009384938493849361027f93929190610590565b93509350935093506102908461067b565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff929092169190911790556102cb8361067b565b600060016101000a81548160ff021916908360ff1602179055506102ee826106e2565b6000805491151562010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff90921691909117905561032d8161067b565b6000805460ff92831663010000009081027fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff83168117938490558416918416919091179d50610100820483169c5062010000820483169b50900416975050505050505050945094509450949050565b6040517fd9b60b600000000000000000000000000000000000000000000000000000000081527f0100000000000000000000000000000000000000000000000000000000000000600482015260ff8216602482015260009060649063d9b60b60906044015b6020604051808303816000875af1158015610420573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044491906108b1565b92915050565b6040517fd9b60b600000000000000000000000000000000000000000000000000000000081527f0200000000000000000000000000000000000000000000000000000000000000600482015261ffff8216602482015260009060649063d9b60b6090604401610401565b6040517fd9b60b600000000000000000000000000000000000000000000000000000000081527f0300000000000000000000000000000000000000000000000000000000000000600482015263ffffffff8216602482015260009060649063d9b60b6090604401610401565b6040517fd9b60b600000000000000000000000000000000000000000000000000000000081527f0400000000000000000000000000000000000000000000000000000000000000600482015267ffffffffffffffff8216602482015260009060649063d9b60b6090604401610401565b600080808080808080606463c2ff267a6105ae600180808087610773565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681527fffffffffff0000000000000000000000000000000000000000000000000000009091166004820152602481018f9052604481018e9052606481018d9052608481018c905260a4016080604051808303816000875af1158015610641573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066591906108ca565b929f919e509c50909a5098505050505050505050565b6040517f0cfed5610000000000000000000000000000000000000000000000000000000081527f0100000000000000000000000000000000000000000000000000000000000000600482015260248101829052600090606490630cfed56190604401610401565b6040517f0cfed56100000000000000000000000000000000000000000000000000000000815260006004820181905260248201839052908190606490630cfed561906044016020604051808303816000875af1158015610746573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a91906108b1565b15159392505050565b600081600281111561078757610787610882565b60ff16600884600481111561079e5761079e610882565b61ffff16901b61ffff1660108660048111156107bc576107bc610882565b62ffffff16901b62ffffff1660188860048111156107dc576107dc610882565b63ffffffff16901b63ffffffff1660208a60048111156107fe576107fe610882565b64ffffffffff16901b1717171760d81b9695505050505050565b803560ff8116811461082957600080fd5b919050565b6000806000806080858703121561084457600080fd5b61084d85610818565b935061085b60208601610818565b925061086960408601610818565b915061087760608601610818565b905092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000602082840312156108c357600080fd5b5051919050565b600080600080608085870312156108e057600080fd5b50508251602084015160408501516060909501519196909550909250905056fea26469706673582212201629acc2e307bcf2a0c9f22498849a2bb48fcabbb1d406aeca4a86f190acdf4964736f6c63430008140033";
99
-
100
- type TransferWithAllowanceTestsContractConstructorParams =
101
- | [signer?: Signer]
102
- | ConstructorParameters<typeof ContractFactory>;
103
-
104
- const isSuperArgs = (
105
- xs: TransferWithAllowanceTestsContractConstructorParams
106
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
107
-
108
- export class TransferWithAllowanceTestsContract__factory extends ContractFactory {
109
- constructor(...args: TransferWithAllowanceTestsContractConstructorParams) {
110
- if (isSuperArgs(args)) {
111
- super(...args);
112
- } else {
113
- super(_abi, _bytecode, args[0]);
114
- }
115
- }
116
-
117
- override getDeployTransaction(
118
- overrides?: NonPayableOverrides & { from?: string }
119
- ): Promise<ContractDeployTransaction> {
120
- return super.getDeployTransaction(overrides || {});
121
- }
122
- override deploy(overrides?: NonPayableOverrides & { from?: string }) {
123
- return super.deploy(overrides || {}) as Promise<
124
- TransferWithAllowanceTestsContract & {
125
- deploymentTransaction(): ContractTransactionResponse;
126
- }
127
- >;
128
- }
129
- override connect(
130
- runner: ContractRunner | null
131
- ): TransferWithAllowanceTestsContract__factory {
132
- return super.connect(runner) as TransferWithAllowanceTestsContract__factory;
133
- }
134
-
135
- static readonly bytecode = _bytecode;
136
- static readonly abi = _abi;
137
- static createInterface(): TransferWithAllowanceTestsContractInterface {
138
- return new Interface(_abi) as TransferWithAllowanceTestsContractInterface;
139
- }
140
- static connect(
141
- address: string,
142
- runner?: ContractRunner | null
143
- ): TransferWithAllowanceTestsContract {
144
- return new Contract(
145
- address,
146
- _abi,
147
- runner
148
- ) as unknown as TransferWithAllowanceTestsContract;
149
- }
150
- }
@@ -1,5 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- export { TransferTestsContract__factory } from "./TransferTestsContract__factory";
5
- export { TransferWithAllowanceTestsContract__factory } from "./TransferWithAllowanceTestsContract__factory";