@coti-io/coti-contracts 1.0.9 → 1.2.0
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/.github/workflows/npm-publish.yml +18 -14
- package/README.md +3 -1
- package/contracts/disperse/coinByRatio/FixedRatioCoinDisperser.sol +452 -0
- package/contracts/disperse/coinByRatio/FixedRatioCoinDisperserLeftoverS1.sol +490 -0
- package/contracts/disperse/coinByRatio/FixedRatioCoinDisperserUnlimitedWindow.sol +432 -0
- package/contracts/disperse/disperseToken/MintDisperser.sol +120 -0
- package/contracts/disperse/disperseToken/TokenDisperser.sol +139 -0
- package/contracts/mocks/token/ERC20Mock.sol +19 -0
- package/contracts/mocks/token/PrivateERC20/EncryptedTokenReceiverMock.sol +18 -0
- package/contracts/mocks/token/PrivateERC20/PrivacyBridgeERC20Mock.sol +13 -0
- package/contracts/mocks/token/PrivateERC20/PrivateERC20AuditorSupplyMock.sol +44 -0
- package/contracts/mocks/token/PrivateERC20/PrivateERC20CappedMock.sol +23 -0
- package/contracts/mocks/token/PrivateERC20/PrivateERC20GtCallerMock.sol +29 -0
- package/contracts/mocks/token/PrivateERC20/PrivateERC20Mock.sol +9 -4
- package/contracts/mocks/token/PrivateERC20/PrivateERC20ReentrantReceiverMock.sol +39 -0
- package/contracts/mocks/token/PrivateERC20/PublicReentrantTokenReceiverMock.sol +29 -0
- package/contracts/mocks/token/PrivateERC20/PublicTokenReceiverBoolMock.sol +18 -0
- package/contracts/mocks/token/PrivateERC20/PublicTokenReceiverMock.sol +12 -0
- package/contracts/mocks/utils/mpc/Arithmetic128TestsContract.sol +123 -0
- package/contracts/mocks/utils/mpc/Arithmetic256TestsContract.sol +122 -0
- package/contracts/mocks/utils/mpc/Bitwise128TestsContract.sol +65 -0
- package/contracts/mocks/utils/mpc/Bitwise256TestsContract.sol +65 -0
- package/contracts/mocks/utils/mpc/CheckedArithmetic128WithOverflowBitTestsContract.sol +64 -0
- package/contracts/mocks/utils/mpc/CheckedArithmetic256WithOverflowBitTestsContract.sol +64 -0
- package/contracts/mocks/utils/mpc/Comparison128TestsContract.sol +98 -0
- package/contracts/mocks/utils/mpc/Comparison256TestsContract.sol +98 -0
- package/contracts/mocks/utils/mpc/MinMax128TestsContract.sol +44 -0
- package/contracts/mocks/utils/mpc/MinMax256TestsContract.sol +44 -0
- package/contracts/mocks/utils/mpc/MinimalImplementation.sol +55 -0
- package/contracts/mocks/utils/mpc/MinimalProxy.sol +27 -0
- package/contracts/mocks/utils/mpc/MpcOperations128TestContract.sol +267 -0
- package/contracts/mocks/utils/mpc/MpcOperationsTestContract.sol +334 -0
- package/contracts/mocks/utils/mpc/Mux128TestsContract.sol +24 -0
- package/contracts/mocks/utils/mpc/Mux256TestsContract.sol +24 -0
- package/contracts/mocks/utils/mpc/OnBoard128TestsContract.sol +93 -0
- package/contracts/mocks/utils/mpc/OnBoard256TestsContract.sol +116 -0
- package/contracts/mocks/utils/mpc/PrivacyImplementationV1.sol +157 -0
- package/contracts/mocks/utils/mpc/PrivacyImplementationV2.sol +133 -0
- package/contracts/mocks/utils/mpc/PrivacyProxy.sol +137 -0
- package/contracts/mocks/utils/mpc/Random128TestsContract.sol +32 -0
- package/contracts/mocks/utils/mpc/Random256TestsContract.sol +32 -0
- package/contracts/mocks/utils/mpc/Shift128TestsContract.sol +36 -0
- package/contracts/mocks/utils/mpc/Shift256TestsContract.sol +36 -0
- package/contracts/mocks/utils/mpc/Transfer128TestsContract.sol +29 -0
- package/contracts/mocks/utils/mpc/Transfer256TestsContract.sol +29 -0
- package/contracts/mocks/utils/mpc/TransferWithAllowance128TestsContract.sol +32 -0
- package/contracts/mocks/utils/mpc/TransferWithAllowance256TestsContract.sol +32 -0
- package/contracts/mocks/utils/mpc/ValidateCiphertext128TestsContract.sol +59 -0
- package/contracts/mocks/utils/mpc/ValidateCiphertext256TestsContract.sol +63 -0
- package/contracts/mocks/utils/mpc/ValidateCiphertextTestsContract.sol +99 -0
- package/contracts/mocks/wallet/PrivateERC20Wallet/PrivateERC20WalletMock.sol +7 -6
- package/contracts/node/CotiNodeRewards.sol +199 -0
- package/contracts/node/SoulboundNodeNFT.sol +519 -0
- package/contracts/privacyBridge/PrivacyBridge.sol +318 -0
- package/contracts/privacyBridge/PrivacyBridgeCotiNative.sol +268 -0
- package/contracts/privacyBridge/PrivacyBridgeERC20.sol +251 -0
- package/contracts/privacyBridge/PrivacyBridgeUSDCe.sol +16 -0
- package/contracts/privacyBridge/PrivacyBridgeUSDT.sol +17 -0
- package/contracts/privacyBridge/PrivacyBridgeWADA.sol +17 -0
- package/contracts/privacyBridge/PrivacyBridgeWBTC.sol +17 -0
- package/contracts/privacyBridge/PrivacyBridgeWETH.sol +17 -0
- package/contracts/privacyBridge/PrivacyBridgegCoti.sol +17 -0
- package/contracts/token/PrivateERC20/IPrivateERC20.sol +273 -40
- package/contracts/token/PrivateERC20/ITokenReceiver.sol +17 -0
- package/contracts/token/PrivateERC20/ITokenReceiverEncrypted.sol +20 -0
- package/contracts/token/PrivateERC20/PrivateERC20.sol +861 -152
- package/contracts/token/PrivateERC20/tokens/PrivateBridgedUSDC.sol +17 -0
- package/contracts/token/PrivateERC20/tokens/PrivateCOTI.sol +13 -0
- package/contracts/token/PrivateERC20/tokens/PrivateCOTITreasuryGovernanceToken.sol +17 -0
- package/contracts/token/PrivateERC20/tokens/PrivateTetherUSD.sol +17 -0
- package/contracts/token/PrivateERC20/tokens/PrivateWrappedADA.sol +17 -0
- package/contracts/token/PrivateERC20/tokens/PrivateWrappedBTC.sol +17 -0
- package/contracts/token/PrivateERC20/tokens/PrivateWrappedEther.sol +13 -0
- package/contracts/utils/mpc/MpcCore.sol +10891 -2449
- package/contracts/utils/mpc/MpcInterface.sol +7 -2
- package/hardhat/gasPriceBump.ts +60 -0
- package/hardhat.config.ts +60 -12
- package/package.json +21 -3
- package/scripts/deploySoulboundNodeNFT.ts +57 -0
- package/test/token/PrivateERC20/PrivacyBridge.fees.test.ts +327 -0
- package/test/token/PrivateERC20/PrivateERC20.test.ts +1109 -268
- package/test/utils/mpc/Bitwise128.test.ts +92 -0
- package/test/utils/mpc/Bitwise256.test.ts +101 -0
- package/test/utils/mpc/BuildInputText128.test.ts +398 -0
- package/test/utils/mpc/CheckedArithmetic128.test.ts +45 -0
- package/test/utils/mpc/CheckedArithmetic256.test.ts +45 -0
- package/test/utils/mpc/Comparison128.test.ts +48 -0
- package/test/utils/mpc/Comparison256.test.ts +48 -0
- package/test/utils/mpc/InvalidCiphertext.test.ts +179 -0
- package/test/utils/mpc/InvalidCiphertext128.test.ts +179 -0
- package/test/utils/mpc/InvalidCiphertext256.test.ts +201 -0
- package/test/utils/mpc/InvalidTransfer128.test.ts +166 -0
- package/test/utils/mpc/InvalidTransfer256.test.ts +158 -0
- package/test/utils/mpc/MinMax128.test.ts +44 -0
- package/test/utils/mpc/MinMax256.test.ts +44 -0
- package/test/utils/mpc/MinimalProxyDemo.test.ts +280 -0
- package/test/utils/mpc/MpcOperations.test.ts +589 -0
- package/test/utils/mpc/MpcOperations128.test.ts +632 -0
- package/test/utils/mpc/Mux128.test.ts +41 -0
- package/test/utils/mpc/Mux256.test.ts +41 -0
- package/test/utils/mpc/NegativeCases.test.ts +478 -0
- package/test/utils/mpc/NegativeCases128.test.ts +237 -0
- package/test/utils/mpc/NegativeCases256.test.ts +236 -0
- package/test/utils/mpc/OnBoard128.test.ts +90 -0
- package/test/utils/mpc/OnBoard256.test.ts +114 -0
- package/test/utils/mpc/Precompile128.test.ts +51 -0
- package/test/utils/mpc/Precompile256.test.ts +115 -0
- package/test/utils/mpc/ProxyValidation.test.ts +199 -0
- package/test/utils/mpc/Random128.test.ts +47 -0
- package/test/utils/mpc/Random256.test.ts +47 -0
- package/test/utils/mpc/Shift128.test.ts +41 -0
- package/test/utils/mpc/Shift256.test.ts +41 -0
- package/test/utils/mpc/Transfer128.test.ts +46 -0
- package/test/utils/mpc/Transfer256.test.ts +46 -0
- package/test/utils/mpc/TransferWithAllowance128.test.ts +48 -0
- package/test/utils/mpc/TransferWithAllowance256.test.ts +48 -0
- package/test/utils/mpc/UpgradeablePrivacyProxy.test.ts +307 -0
- package/test/utils/mpc/ValidateCiphertext.test.ts +221 -0
- package/test/utils/mpc/ValidateCiphertext256.test.ts +161 -0
- package/test/utils/mpc/ValidateCiphertext256Decryption.test.ts +383 -0
- package/test/utils/mpc/WalletEncryptionFailures.test.ts +494 -0
- package/test/utils/privateErc20Helpers.ts +97 -0
- package/typechain-types/@openzeppelin/contracts/access/Ownable.ts +153 -0
- package/typechain-types/@openzeppelin/contracts/access/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/index.ts +2 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.ts +262 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.ts +143 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/index.ts +6 -0
- package/typechain-types/@openzeppelin/contracts/token/index.ts +2 -0
- package/typechain-types/contracts/disperse/coinByRatio/FixedRatioCoinDisperser.ts +679 -0
- package/typechain-types/contracts/disperse/coinByRatio/index.ts +4 -0
- package/typechain-types/contracts/disperse/disperseToken/MintDisperser.sol/IMintableERC20.ts +97 -0
- package/typechain-types/contracts/disperse/disperseToken/MintDisperser.sol/MintDisperser.ts +206 -0
- package/typechain-types/contracts/disperse/disperseToken/MintDisperser.sol/index.ts +5 -0
- package/typechain-types/contracts/disperse/disperseToken/TokenDisperser.ts +191 -0
- package/typechain-types/contracts/disperse/disperseToken/index.ts +6 -0
- package/typechain-types/contracts/disperse/index.ts +7 -0
- package/typechain-types/contracts/index.ts +2 -0
- package/typechain-types/contracts/mocks/token/PrivateERC20/PrivateERC20Mock.ts +77 -60
- package/typechain-types/contracts/mocks/utils/mpc/Arithmetic128BitTestsContract.ts +341 -0
- package/typechain-types/contracts/mocks/utils/mpc/Arithmetic128TestsContract.ts +311 -0
- package/typechain-types/contracts/mocks/utils/mpc/Arithmetic256BitTestsContract.ts +347 -0
- package/typechain-types/contracts/mocks/utils/mpc/Arithmetic256TestsContract.ts +311 -0
- package/typechain-types/contracts/mocks/utils/mpc/Bitwise128BitTestsContract.ts +186 -0
- package/typechain-types/contracts/mocks/utils/mpc/Bitwise128TestsContract.ts +179 -0
- package/typechain-types/contracts/mocks/utils/mpc/Bitwise256BitTestsContract.ts +186 -0
- package/typechain-types/contracts/mocks/utils/mpc/Bitwise256TestsContract.ts +179 -0
- package/typechain-types/contracts/mocks/utils/mpc/CheckedArithmetic128WithOverflowBitTestsContract.ts +206 -0
- package/typechain-types/contracts/mocks/utils/mpc/CheckedArithmetic256WithOverflowBitTestsContract.ts +206 -0
- package/typechain-types/contracts/mocks/utils/mpc/Comparison128BitTestsContract.ts +260 -0
- package/typechain-types/contracts/mocks/utils/mpc/Comparison128TestsContract.ts +278 -0
- package/typechain-types/contracts/mocks/utils/mpc/Comparison256BitTestsContract.ts +260 -0
- package/typechain-types/contracts/mocks/utils/mpc/Comparison256TestsContract.ts +278 -0
- package/typechain-types/contracts/mocks/utils/mpc/MinMax128TestsContract.ts +142 -0
- package/typechain-types/contracts/mocks/utils/mpc/MinMax256TestsContract.ts +142 -0
- package/typechain-types/contracts/mocks/utils/mpc/MinimalImplementation.ts +259 -0
- package/typechain-types/contracts/mocks/utils/mpc/MinimalProxy.ts +90 -0
- package/typechain-types/contracts/mocks/utils/mpc/Miscellaneous128BitTestsContract.ts +302 -0
- package/typechain-types/contracts/mocks/utils/mpc/Miscellaneous256BitTestsContract.ts +322 -0
- package/typechain-types/contracts/mocks/utils/mpc/MpcOperations128TestContract.ts +388 -0
- package/typechain-types/contracts/mocks/utils/mpc/MpcOperationsTestContract.ts +455 -0
- package/typechain-types/contracts/mocks/utils/mpc/Mux128TestsContract.ts +109 -0
- package/typechain-types/contracts/mocks/utils/mpc/Mux256TestsContract.ts +109 -0
- package/typechain-types/contracts/mocks/utils/mpc/OnBoard128TestsContract.ts +166 -0
- package/typechain-types/contracts/mocks/utils/mpc/OnBoard256TestsContract.ts +194 -0
- package/typechain-types/contracts/mocks/utils/mpc/PrivacyImplementationV1.ts +385 -0
- package/typechain-types/contracts/mocks/utils/mpc/PrivacyImplementationV2.ts +441 -0
- package/typechain-types/contracts/mocks/utils/mpc/PrivacyProxy.ts +201 -0
- package/typechain-types/contracts/mocks/utils/mpc/Random128TestsContract.ts +131 -0
- package/typechain-types/contracts/mocks/utils/mpc/Random256TestsContract.ts +131 -0
- package/typechain-types/contracts/mocks/utils/mpc/Shift128TestsContract.ts +142 -0
- package/typechain-types/contracts/mocks/utils/mpc/Shift256TestsContract.ts +142 -0
- package/typechain-types/contracts/mocks/utils/mpc/Transfer128TestsContract.ts +109 -0
- package/typechain-types/contracts/mocks/utils/mpc/Transfer256TestsContract.ts +109 -0
- package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance128TestsContract.ts +128 -0
- package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance256TestsContract.ts +128 -0
- package/typechain-types/contracts/mocks/utils/mpc/ValidateCiphertext128TestsContract.ts +198 -0
- package/typechain-types/contracts/mocks/utils/mpc/ValidateCiphertext256TestsContract.ts +182 -0
- package/typechain-types/contracts/mocks/utils/mpc/ValidateCiphertextTestsContract.ts +257 -0
- package/typechain-types/contracts/mocks/utils/mpc/index.ts +32 -0
- package/typechain-types/contracts/token/PrivateERC20/IPrivateERC20.ts +77 -60
- package/typechain-types/contracts/token/PrivateERC20/PrivateERC20.ts +77 -60
- package/typechain-types/contracts/utils/mpc/MpcInterface.sol/ExtendedOperations.ts +111 -10
- package/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.ts +74 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/index.ts +1 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.ts +205 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit__factory.ts +100 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.ts +5 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/index.ts +1 -0
- package/typechain-types/factories/contracts/disperse/coinByRatio/FixedRatioCoinDisperser__factory.ts +759 -0
- package/typechain-types/factories/contracts/disperse/coinByRatio/index.ts +4 -0
- package/typechain-types/factories/contracts/disperse/disperseToken/MintDisperser.sol/IMintableERC20__factory.ts +43 -0
- package/typechain-types/factories/contracts/disperse/disperseToken/MintDisperser.sol/MintDisperser__factory.ts +185 -0
- package/typechain-types/factories/contracts/disperse/disperseToken/MintDisperser.sol/index.ts +5 -0
- package/typechain-types/factories/contracts/disperse/disperseToken/TokenDisperser__factory.ts +198 -0
- package/typechain-types/factories/contracts/disperse/disperseToken/index.ts +5 -0
- package/typechain-types/factories/contracts/disperse/index.ts +5 -0
- package/typechain-types/factories/contracts/index.ts +1 -0
- package/typechain-types/factories/contracts/mocks/access/DataPrivacyFramework/DataPrivacyFrameworkMock__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/token/PrivateERC20/PrivateERC20Mock__factory.ts +179 -47
- package/typechain-types/factories/contracts/mocks/utils/mpc/Arithmetic128BitTestsContract__factory.ts +349 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Arithmetic128TestsContract__factory.ts +330 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Arithmetic256BitTestsContract__factory.ts +364 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Arithmetic256TestsContract__factory.ts +330 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/ArithmeticTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Bitwise128BitTestsContract__factory.ts +182 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Bitwise128TestsContract__factory.ts +184 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Bitwise256BitTestsContract__factory.ts +182 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Bitwise256TestsContract__factory.ts +184 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/BitwiseTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/CheckedArithmetic128WithOverflowBitTestsContract__factory.ts +203 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/CheckedArithmetic256WithOverflowBitTestsContract__factory.ts +203 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/CheckedArithmeticWIthOverflowBitTestsContract.sol/CheckedArithmeticWithOverflowBitTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison128BitTestsContract__factory.ts +255 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison128TestsContract__factory.ts +295 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison1TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison256BitTestsContract__factory.ts +255 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison256TestsContract__factory.ts +295 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison2TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/MinMax128TestsContract__factory.ts +147 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/MinMax256TestsContract__factory.ts +147 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/MinMaxTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/MinimalImplementation__factory.ts +263 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/MinimalProxy__factory.ts +104 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Miscellaneous128BitTestsContract__factory.ts +332 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Miscellaneous1TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Miscellaneous256BitTestsContract__factory.ts +380 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/MiscellaneousTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/MpcOperations128TestContract__factory.ts +723 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/MpcOperationsTestContract__factory.ts +1410 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Mux128TestsContract__factory.ts +115 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Mux256TestsContract__factory.ts +115 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/OffboardToUserKeyTestContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/OnBoard128TestsContract__factory.ts +175 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/OnBoard256TestsContract__factory.ts +205 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/PrivacyImplementationV1__factory.ts +521 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/PrivacyImplementationV2__factory.ts +648 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/PrivacyProxy__factory.ts +179 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Random128TestsContract__factory.ts +131 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Random256TestsContract__factory.ts +131 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Shift128TestsContract__factory.ts +147 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Shift256TestsContract__factory.ts +147 -0
- 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/Transfer128TestsContract__factory.ts +135 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Transfer256TestsContract__factory.ts +135 -0
- 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/TransferWithAllowance128TestsContract__factory.ts +154 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance256TestsContract__factory.ts +154 -0
- 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/ValidateCiphertext128TestsContract__factory.ts +190 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/ValidateCiphertext256TestsContract__factory.ts +210 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/ValidateCiphertextTestsContract__factory.ts +260 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/index.ts +32 -0
- package/typechain-types/factories/contracts/mocks/wallet/PrivateERC20Wallet/PrivateERC20WalletMock__factory.ts +7 -7
- package/typechain-types/factories/contracts/token/PrivateERC20/IPrivateERC20__factory.ts +174 -42
- package/typechain-types/factories/contracts/token/PrivateERC20/PrivateERC20__factory.ts +174 -42
- package/typechain-types/factories/contracts/utils/mpc/MpcInterface.sol/ExtendedOperations__factory.ts +126 -0
- package/typechain-types/hardhat.d.ts +702 -0
- package/typechain-types/index.ts +78 -0
- package/contracts/mocks/utils/mpc/README.md +0 -486
- package/contracts/package.json +0 -11
|
@@ -13,10 +13,22 @@ import * as Contracts from ".";
|
|
|
13
13
|
|
|
14
14
|
declare module "hardhat/types/runtime" {
|
|
15
15
|
interface HardhatEthersHelpers extends HardhatEthersHelpersBase {
|
|
16
|
+
getContractFactory(
|
|
17
|
+
name: "Ownable",
|
|
18
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
19
|
+
): Promise<Contracts.Ownable__factory>;
|
|
16
20
|
getContractFactory(
|
|
17
21
|
name: "IERC4906",
|
|
18
22
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
19
23
|
): Promise<Contracts.IERC4906__factory>;
|
|
24
|
+
getContractFactory(
|
|
25
|
+
name: "IERC20Permit",
|
|
26
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
27
|
+
): Promise<Contracts.IERC20Permit__factory>;
|
|
28
|
+
getContractFactory(
|
|
29
|
+
name: "IERC20",
|
|
30
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
31
|
+
): Promise<Contracts.IERC20__factory>;
|
|
20
32
|
getContractFactory(
|
|
21
33
|
name: "IERC721",
|
|
22
34
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -41,6 +53,22 @@ declare module "hardhat/types/runtime" {
|
|
|
41
53
|
name: "DataPrivacyFrameworkMpc",
|
|
42
54
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
43
55
|
): Promise<Contracts.DataPrivacyFrameworkMpc__factory>;
|
|
56
|
+
getContractFactory(
|
|
57
|
+
name: "FixedRatioCoinDisperser",
|
|
58
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
59
|
+
): Promise<Contracts.FixedRatioCoinDisperser__factory>;
|
|
60
|
+
getContractFactory(
|
|
61
|
+
name: "IMintableERC20",
|
|
62
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
63
|
+
): Promise<Contracts.IMintableERC20__factory>;
|
|
64
|
+
getContractFactory(
|
|
65
|
+
name: "MintDisperser",
|
|
66
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
67
|
+
): Promise<Contracts.MintDisperser__factory>;
|
|
68
|
+
getContractFactory(
|
|
69
|
+
name: "TokenDisperser",
|
|
70
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
71
|
+
): Promise<Contracts.TokenDisperser__factory>;
|
|
44
72
|
getContractFactory(
|
|
45
73
|
name: "DataPrivacyFrameworkMock",
|
|
46
74
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -53,26 +81,74 @@ declare module "hardhat/types/runtime" {
|
|
|
53
81
|
name: "PrivateERC721URIStorageMock",
|
|
54
82
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
55
83
|
): Promise<Contracts.PrivateERC721URIStorageMock__factory>;
|
|
84
|
+
getContractFactory(
|
|
85
|
+
name: "Arithmetic128TestsContract",
|
|
86
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
87
|
+
): Promise<Contracts.Arithmetic128TestsContract__factory>;
|
|
88
|
+
getContractFactory(
|
|
89
|
+
name: "Arithmetic256TestsContract",
|
|
90
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
91
|
+
): Promise<Contracts.Arithmetic256TestsContract__factory>;
|
|
56
92
|
getContractFactory(
|
|
57
93
|
name: "ArithmeticTestsContract",
|
|
58
94
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
59
95
|
): Promise<Contracts.ArithmeticTestsContract__factory>;
|
|
96
|
+
getContractFactory(
|
|
97
|
+
name: "Bitwise128TestsContract",
|
|
98
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
99
|
+
): Promise<Contracts.Bitwise128TestsContract__factory>;
|
|
100
|
+
getContractFactory(
|
|
101
|
+
name: "Bitwise256TestsContract",
|
|
102
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
103
|
+
): Promise<Contracts.Bitwise256TestsContract__factory>;
|
|
60
104
|
getContractFactory(
|
|
61
105
|
name: "BitwiseTestsContract",
|
|
62
106
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
63
107
|
): Promise<Contracts.BitwiseTestsContract__factory>;
|
|
108
|
+
getContractFactory(
|
|
109
|
+
name: "CheckedArithmetic128WithOverflowBitTestsContract",
|
|
110
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
111
|
+
): Promise<Contracts.CheckedArithmetic128WithOverflowBitTestsContract__factory>;
|
|
112
|
+
getContractFactory(
|
|
113
|
+
name: "CheckedArithmetic256WithOverflowBitTestsContract",
|
|
114
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
115
|
+
): Promise<Contracts.CheckedArithmetic256WithOverflowBitTestsContract__factory>;
|
|
64
116
|
getContractFactory(
|
|
65
117
|
name: "CheckedArithmeticWithOverflowBitTestsContract",
|
|
66
118
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
67
119
|
): Promise<Contracts.CheckedArithmeticWithOverflowBitTestsContract__factory>;
|
|
120
|
+
getContractFactory(
|
|
121
|
+
name: "Comparison128TestsContract",
|
|
122
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
123
|
+
): Promise<Contracts.Comparison128TestsContract__factory>;
|
|
68
124
|
getContractFactory(
|
|
69
125
|
name: "Comparison1TestsContract",
|
|
70
126
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
71
127
|
): Promise<Contracts.Comparison1TestsContract__factory>;
|
|
128
|
+
getContractFactory(
|
|
129
|
+
name: "Comparison256TestsContract",
|
|
130
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
131
|
+
): Promise<Contracts.Comparison256TestsContract__factory>;
|
|
72
132
|
getContractFactory(
|
|
73
133
|
name: "Comparison2TestsContract",
|
|
74
134
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
75
135
|
): Promise<Contracts.Comparison2TestsContract__factory>;
|
|
136
|
+
getContractFactory(
|
|
137
|
+
name: "MinimalImplementation",
|
|
138
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
139
|
+
): Promise<Contracts.MinimalImplementation__factory>;
|
|
140
|
+
getContractFactory(
|
|
141
|
+
name: "MinimalProxy",
|
|
142
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
143
|
+
): Promise<Contracts.MinimalProxy__factory>;
|
|
144
|
+
getContractFactory(
|
|
145
|
+
name: "MinMax128TestsContract",
|
|
146
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
147
|
+
): Promise<Contracts.MinMax128TestsContract__factory>;
|
|
148
|
+
getContractFactory(
|
|
149
|
+
name: "MinMax256TestsContract",
|
|
150
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
151
|
+
): Promise<Contracts.MinMax256TestsContract__factory>;
|
|
76
152
|
getContractFactory(
|
|
77
153
|
name: "MinMaxTestsContract",
|
|
78
154
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -85,10 +161,62 @@ declare module "hardhat/types/runtime" {
|
|
|
85
161
|
name: "MiscellaneousTestsContract",
|
|
86
162
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
87
163
|
): Promise<Contracts.MiscellaneousTestsContract__factory>;
|
|
164
|
+
getContractFactory(
|
|
165
|
+
name: "MpcOperations128TestContract",
|
|
166
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
167
|
+
): Promise<Contracts.MpcOperations128TestContract__factory>;
|
|
168
|
+
getContractFactory(
|
|
169
|
+
name: "MpcOperationsTestContract",
|
|
170
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
171
|
+
): Promise<Contracts.MpcOperationsTestContract__factory>;
|
|
172
|
+
getContractFactory(
|
|
173
|
+
name: "Mux128TestsContract",
|
|
174
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
175
|
+
): Promise<Contracts.Mux128TestsContract__factory>;
|
|
176
|
+
getContractFactory(
|
|
177
|
+
name: "Mux256TestsContract",
|
|
178
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
179
|
+
): Promise<Contracts.Mux256TestsContract__factory>;
|
|
88
180
|
getContractFactory(
|
|
89
181
|
name: "OffboardToUserKeyTestContract",
|
|
90
182
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
91
183
|
): Promise<Contracts.OffboardToUserKeyTestContract__factory>;
|
|
184
|
+
getContractFactory(
|
|
185
|
+
name: "OnBoard128TestsContract",
|
|
186
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
187
|
+
): Promise<Contracts.OnBoard128TestsContract__factory>;
|
|
188
|
+
getContractFactory(
|
|
189
|
+
name: "OnBoard256TestsContract",
|
|
190
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
191
|
+
): Promise<Contracts.OnBoard256TestsContract__factory>;
|
|
192
|
+
getContractFactory(
|
|
193
|
+
name: "PrivacyImplementationV1",
|
|
194
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
195
|
+
): Promise<Contracts.PrivacyImplementationV1__factory>;
|
|
196
|
+
getContractFactory(
|
|
197
|
+
name: "PrivacyImplementationV2",
|
|
198
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
199
|
+
): Promise<Contracts.PrivacyImplementationV2__factory>;
|
|
200
|
+
getContractFactory(
|
|
201
|
+
name: "PrivacyProxy",
|
|
202
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
203
|
+
): Promise<Contracts.PrivacyProxy__factory>;
|
|
204
|
+
getContractFactory(
|
|
205
|
+
name: "Random128TestsContract",
|
|
206
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
207
|
+
): Promise<Contracts.Random128TestsContract__factory>;
|
|
208
|
+
getContractFactory(
|
|
209
|
+
name: "Random256TestsContract",
|
|
210
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
211
|
+
): Promise<Contracts.Random256TestsContract__factory>;
|
|
212
|
+
getContractFactory(
|
|
213
|
+
name: "Shift128TestsContract",
|
|
214
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
215
|
+
): Promise<Contracts.Shift128TestsContract__factory>;
|
|
216
|
+
getContractFactory(
|
|
217
|
+
name: "Shift256TestsContract",
|
|
218
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
219
|
+
): Promise<Contracts.Shift256TestsContract__factory>;
|
|
92
220
|
getContractFactory(
|
|
93
221
|
name: "ShiftTestsContract",
|
|
94
222
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -97,6 +225,14 @@ declare module "hardhat/types/runtime" {
|
|
|
97
225
|
name: "StringTestsContract",
|
|
98
226
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
99
227
|
): Promise<Contracts.StringTestsContract__factory>;
|
|
228
|
+
getContractFactory(
|
|
229
|
+
name: "Transfer128TestsContract",
|
|
230
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
231
|
+
): Promise<Contracts.Transfer128TestsContract__factory>;
|
|
232
|
+
getContractFactory(
|
|
233
|
+
name: "Transfer256TestsContract",
|
|
234
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
235
|
+
): Promise<Contracts.Transfer256TestsContract__factory>;
|
|
100
236
|
getContractFactory(
|
|
101
237
|
name: "TransferScalarTestsContract",
|
|
102
238
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -105,6 +241,14 @@ declare module "hardhat/types/runtime" {
|
|
|
105
241
|
name: "TransferTestsContract",
|
|
106
242
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
107
243
|
): Promise<Contracts.TransferTestsContract__factory>;
|
|
244
|
+
getContractFactory(
|
|
245
|
+
name: "TransferWithAllowance128TestsContract",
|
|
246
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
247
|
+
): Promise<Contracts.TransferWithAllowance128TestsContract__factory>;
|
|
248
|
+
getContractFactory(
|
|
249
|
+
name: "TransferWithAllowance256TestsContract",
|
|
250
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
251
|
+
): Promise<Contracts.TransferWithAllowance256TestsContract__factory>;
|
|
108
252
|
getContractFactory(
|
|
109
253
|
name: "TransferWithAllowance64_16TestsContract",
|
|
110
254
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -129,6 +273,18 @@ declare module "hardhat/types/runtime" {
|
|
|
129
273
|
name: "TransferWithAllowanceTestsContract",
|
|
130
274
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
131
275
|
): Promise<Contracts.TransferWithAllowanceTestsContract__factory>;
|
|
276
|
+
getContractFactory(
|
|
277
|
+
name: "ValidateCiphertext128TestsContract",
|
|
278
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
279
|
+
): Promise<Contracts.ValidateCiphertext128TestsContract__factory>;
|
|
280
|
+
getContractFactory(
|
|
281
|
+
name: "ValidateCiphertext256TestsContract",
|
|
282
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
283
|
+
): Promise<Contracts.ValidateCiphertext256TestsContract__factory>;
|
|
284
|
+
getContractFactory(
|
|
285
|
+
name: "ValidateCiphertextTestsContract",
|
|
286
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
287
|
+
): Promise<Contracts.ValidateCiphertextTestsContract__factory>;
|
|
132
288
|
getContractFactory(
|
|
133
289
|
name: "PrivateERC20WalletMock",
|
|
134
290
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -170,11 +326,26 @@ declare module "hardhat/types/runtime" {
|
|
|
170
326
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
171
327
|
): Promise<Contracts.ExtendedOperations__factory>;
|
|
172
328
|
|
|
329
|
+
getContractAt(
|
|
330
|
+
name: "Ownable",
|
|
331
|
+
address: string | ethers.Addressable,
|
|
332
|
+
signer?: ethers.Signer
|
|
333
|
+
): Promise<Contracts.Ownable>;
|
|
173
334
|
getContractAt(
|
|
174
335
|
name: "IERC4906",
|
|
175
336
|
address: string | ethers.Addressable,
|
|
176
337
|
signer?: ethers.Signer
|
|
177
338
|
): Promise<Contracts.IERC4906>;
|
|
339
|
+
getContractAt(
|
|
340
|
+
name: "IERC20Permit",
|
|
341
|
+
address: string | ethers.Addressable,
|
|
342
|
+
signer?: ethers.Signer
|
|
343
|
+
): Promise<Contracts.IERC20Permit>;
|
|
344
|
+
getContractAt(
|
|
345
|
+
name: "IERC20",
|
|
346
|
+
address: string | ethers.Addressable,
|
|
347
|
+
signer?: ethers.Signer
|
|
348
|
+
): Promise<Contracts.IERC20>;
|
|
178
349
|
getContractAt(
|
|
179
350
|
name: "IERC721",
|
|
180
351
|
address: string | ethers.Addressable,
|
|
@@ -205,6 +376,26 @@ declare module "hardhat/types/runtime" {
|
|
|
205
376
|
address: string | ethers.Addressable,
|
|
206
377
|
signer?: ethers.Signer
|
|
207
378
|
): Promise<Contracts.DataPrivacyFrameworkMpc>;
|
|
379
|
+
getContractAt(
|
|
380
|
+
name: "FixedRatioCoinDisperser",
|
|
381
|
+
address: string | ethers.Addressable,
|
|
382
|
+
signer?: ethers.Signer
|
|
383
|
+
): Promise<Contracts.FixedRatioCoinDisperser>;
|
|
384
|
+
getContractAt(
|
|
385
|
+
name: "IMintableERC20",
|
|
386
|
+
address: string | ethers.Addressable,
|
|
387
|
+
signer?: ethers.Signer
|
|
388
|
+
): Promise<Contracts.IMintableERC20>;
|
|
389
|
+
getContractAt(
|
|
390
|
+
name: "MintDisperser",
|
|
391
|
+
address: string | ethers.Addressable,
|
|
392
|
+
signer?: ethers.Signer
|
|
393
|
+
): Promise<Contracts.MintDisperser>;
|
|
394
|
+
getContractAt(
|
|
395
|
+
name: "TokenDisperser",
|
|
396
|
+
address: string | ethers.Addressable,
|
|
397
|
+
signer?: ethers.Signer
|
|
398
|
+
): Promise<Contracts.TokenDisperser>;
|
|
208
399
|
getContractAt(
|
|
209
400
|
name: "DataPrivacyFrameworkMock",
|
|
210
401
|
address: string | ethers.Addressable,
|
|
@@ -220,31 +411,91 @@ declare module "hardhat/types/runtime" {
|
|
|
220
411
|
address: string | ethers.Addressable,
|
|
221
412
|
signer?: ethers.Signer
|
|
222
413
|
): Promise<Contracts.PrivateERC721URIStorageMock>;
|
|
414
|
+
getContractAt(
|
|
415
|
+
name: "Arithmetic128TestsContract",
|
|
416
|
+
address: string | ethers.Addressable,
|
|
417
|
+
signer?: ethers.Signer
|
|
418
|
+
): Promise<Contracts.Arithmetic128TestsContract>;
|
|
419
|
+
getContractAt(
|
|
420
|
+
name: "Arithmetic256TestsContract",
|
|
421
|
+
address: string | ethers.Addressable,
|
|
422
|
+
signer?: ethers.Signer
|
|
423
|
+
): Promise<Contracts.Arithmetic256TestsContract>;
|
|
223
424
|
getContractAt(
|
|
224
425
|
name: "ArithmeticTestsContract",
|
|
225
426
|
address: string | ethers.Addressable,
|
|
226
427
|
signer?: ethers.Signer
|
|
227
428
|
): Promise<Contracts.ArithmeticTestsContract>;
|
|
429
|
+
getContractAt(
|
|
430
|
+
name: "Bitwise128TestsContract",
|
|
431
|
+
address: string | ethers.Addressable,
|
|
432
|
+
signer?: ethers.Signer
|
|
433
|
+
): Promise<Contracts.Bitwise128TestsContract>;
|
|
434
|
+
getContractAt(
|
|
435
|
+
name: "Bitwise256TestsContract",
|
|
436
|
+
address: string | ethers.Addressable,
|
|
437
|
+
signer?: ethers.Signer
|
|
438
|
+
): Promise<Contracts.Bitwise256TestsContract>;
|
|
228
439
|
getContractAt(
|
|
229
440
|
name: "BitwiseTestsContract",
|
|
230
441
|
address: string | ethers.Addressable,
|
|
231
442
|
signer?: ethers.Signer
|
|
232
443
|
): Promise<Contracts.BitwiseTestsContract>;
|
|
444
|
+
getContractAt(
|
|
445
|
+
name: "CheckedArithmetic128WithOverflowBitTestsContract",
|
|
446
|
+
address: string | ethers.Addressable,
|
|
447
|
+
signer?: ethers.Signer
|
|
448
|
+
): Promise<Contracts.CheckedArithmetic128WithOverflowBitTestsContract>;
|
|
449
|
+
getContractAt(
|
|
450
|
+
name: "CheckedArithmetic256WithOverflowBitTestsContract",
|
|
451
|
+
address: string | ethers.Addressable,
|
|
452
|
+
signer?: ethers.Signer
|
|
453
|
+
): Promise<Contracts.CheckedArithmetic256WithOverflowBitTestsContract>;
|
|
233
454
|
getContractAt(
|
|
234
455
|
name: "CheckedArithmeticWithOverflowBitTestsContract",
|
|
235
456
|
address: string | ethers.Addressable,
|
|
236
457
|
signer?: ethers.Signer
|
|
237
458
|
): Promise<Contracts.CheckedArithmeticWithOverflowBitTestsContract>;
|
|
459
|
+
getContractAt(
|
|
460
|
+
name: "Comparison128TestsContract",
|
|
461
|
+
address: string | ethers.Addressable,
|
|
462
|
+
signer?: ethers.Signer
|
|
463
|
+
): Promise<Contracts.Comparison128TestsContract>;
|
|
238
464
|
getContractAt(
|
|
239
465
|
name: "Comparison1TestsContract",
|
|
240
466
|
address: string | ethers.Addressable,
|
|
241
467
|
signer?: ethers.Signer
|
|
242
468
|
): Promise<Contracts.Comparison1TestsContract>;
|
|
469
|
+
getContractAt(
|
|
470
|
+
name: "Comparison256TestsContract",
|
|
471
|
+
address: string | ethers.Addressable,
|
|
472
|
+
signer?: ethers.Signer
|
|
473
|
+
): Promise<Contracts.Comparison256TestsContract>;
|
|
243
474
|
getContractAt(
|
|
244
475
|
name: "Comparison2TestsContract",
|
|
245
476
|
address: string | ethers.Addressable,
|
|
246
477
|
signer?: ethers.Signer
|
|
247
478
|
): Promise<Contracts.Comparison2TestsContract>;
|
|
479
|
+
getContractAt(
|
|
480
|
+
name: "MinimalImplementation",
|
|
481
|
+
address: string | ethers.Addressable,
|
|
482
|
+
signer?: ethers.Signer
|
|
483
|
+
): Promise<Contracts.MinimalImplementation>;
|
|
484
|
+
getContractAt(
|
|
485
|
+
name: "MinimalProxy",
|
|
486
|
+
address: string | ethers.Addressable,
|
|
487
|
+
signer?: ethers.Signer
|
|
488
|
+
): Promise<Contracts.MinimalProxy>;
|
|
489
|
+
getContractAt(
|
|
490
|
+
name: "MinMax128TestsContract",
|
|
491
|
+
address: string | ethers.Addressable,
|
|
492
|
+
signer?: ethers.Signer
|
|
493
|
+
): Promise<Contracts.MinMax128TestsContract>;
|
|
494
|
+
getContractAt(
|
|
495
|
+
name: "MinMax256TestsContract",
|
|
496
|
+
address: string | ethers.Addressable,
|
|
497
|
+
signer?: ethers.Signer
|
|
498
|
+
): Promise<Contracts.MinMax256TestsContract>;
|
|
248
499
|
getContractAt(
|
|
249
500
|
name: "MinMaxTestsContract",
|
|
250
501
|
address: string | ethers.Addressable,
|
|
@@ -260,11 +511,76 @@ declare module "hardhat/types/runtime" {
|
|
|
260
511
|
address: string | ethers.Addressable,
|
|
261
512
|
signer?: ethers.Signer
|
|
262
513
|
): Promise<Contracts.MiscellaneousTestsContract>;
|
|
514
|
+
getContractAt(
|
|
515
|
+
name: "MpcOperations128TestContract",
|
|
516
|
+
address: string | ethers.Addressable,
|
|
517
|
+
signer?: ethers.Signer
|
|
518
|
+
): Promise<Contracts.MpcOperations128TestContract>;
|
|
519
|
+
getContractAt(
|
|
520
|
+
name: "MpcOperationsTestContract",
|
|
521
|
+
address: string | ethers.Addressable,
|
|
522
|
+
signer?: ethers.Signer
|
|
523
|
+
): Promise<Contracts.MpcOperationsTestContract>;
|
|
524
|
+
getContractAt(
|
|
525
|
+
name: "Mux128TestsContract",
|
|
526
|
+
address: string | ethers.Addressable,
|
|
527
|
+
signer?: ethers.Signer
|
|
528
|
+
): Promise<Contracts.Mux128TestsContract>;
|
|
529
|
+
getContractAt(
|
|
530
|
+
name: "Mux256TestsContract",
|
|
531
|
+
address: string | ethers.Addressable,
|
|
532
|
+
signer?: ethers.Signer
|
|
533
|
+
): Promise<Contracts.Mux256TestsContract>;
|
|
263
534
|
getContractAt(
|
|
264
535
|
name: "OffboardToUserKeyTestContract",
|
|
265
536
|
address: string | ethers.Addressable,
|
|
266
537
|
signer?: ethers.Signer
|
|
267
538
|
): Promise<Contracts.OffboardToUserKeyTestContract>;
|
|
539
|
+
getContractAt(
|
|
540
|
+
name: "OnBoard128TestsContract",
|
|
541
|
+
address: string | ethers.Addressable,
|
|
542
|
+
signer?: ethers.Signer
|
|
543
|
+
): Promise<Contracts.OnBoard128TestsContract>;
|
|
544
|
+
getContractAt(
|
|
545
|
+
name: "OnBoard256TestsContract",
|
|
546
|
+
address: string | ethers.Addressable,
|
|
547
|
+
signer?: ethers.Signer
|
|
548
|
+
): Promise<Contracts.OnBoard256TestsContract>;
|
|
549
|
+
getContractAt(
|
|
550
|
+
name: "PrivacyImplementationV1",
|
|
551
|
+
address: string | ethers.Addressable,
|
|
552
|
+
signer?: ethers.Signer
|
|
553
|
+
): Promise<Contracts.PrivacyImplementationV1>;
|
|
554
|
+
getContractAt(
|
|
555
|
+
name: "PrivacyImplementationV2",
|
|
556
|
+
address: string | ethers.Addressable,
|
|
557
|
+
signer?: ethers.Signer
|
|
558
|
+
): Promise<Contracts.PrivacyImplementationV2>;
|
|
559
|
+
getContractAt(
|
|
560
|
+
name: "PrivacyProxy",
|
|
561
|
+
address: string | ethers.Addressable,
|
|
562
|
+
signer?: ethers.Signer
|
|
563
|
+
): Promise<Contracts.PrivacyProxy>;
|
|
564
|
+
getContractAt(
|
|
565
|
+
name: "Random128TestsContract",
|
|
566
|
+
address: string | ethers.Addressable,
|
|
567
|
+
signer?: ethers.Signer
|
|
568
|
+
): Promise<Contracts.Random128TestsContract>;
|
|
569
|
+
getContractAt(
|
|
570
|
+
name: "Random256TestsContract",
|
|
571
|
+
address: string | ethers.Addressable,
|
|
572
|
+
signer?: ethers.Signer
|
|
573
|
+
): Promise<Contracts.Random256TestsContract>;
|
|
574
|
+
getContractAt(
|
|
575
|
+
name: "Shift128TestsContract",
|
|
576
|
+
address: string | ethers.Addressable,
|
|
577
|
+
signer?: ethers.Signer
|
|
578
|
+
): Promise<Contracts.Shift128TestsContract>;
|
|
579
|
+
getContractAt(
|
|
580
|
+
name: "Shift256TestsContract",
|
|
581
|
+
address: string | ethers.Addressable,
|
|
582
|
+
signer?: ethers.Signer
|
|
583
|
+
): Promise<Contracts.Shift256TestsContract>;
|
|
268
584
|
getContractAt(
|
|
269
585
|
name: "ShiftTestsContract",
|
|
270
586
|
address: string | ethers.Addressable,
|
|
@@ -275,6 +591,16 @@ declare module "hardhat/types/runtime" {
|
|
|
275
591
|
address: string | ethers.Addressable,
|
|
276
592
|
signer?: ethers.Signer
|
|
277
593
|
): Promise<Contracts.StringTestsContract>;
|
|
594
|
+
getContractAt(
|
|
595
|
+
name: "Transfer128TestsContract",
|
|
596
|
+
address: string | ethers.Addressable,
|
|
597
|
+
signer?: ethers.Signer
|
|
598
|
+
): Promise<Contracts.Transfer128TestsContract>;
|
|
599
|
+
getContractAt(
|
|
600
|
+
name: "Transfer256TestsContract",
|
|
601
|
+
address: string | ethers.Addressable,
|
|
602
|
+
signer?: ethers.Signer
|
|
603
|
+
): Promise<Contracts.Transfer256TestsContract>;
|
|
278
604
|
getContractAt(
|
|
279
605
|
name: "TransferScalarTestsContract",
|
|
280
606
|
address: string | ethers.Addressable,
|
|
@@ -285,6 +611,16 @@ declare module "hardhat/types/runtime" {
|
|
|
285
611
|
address: string | ethers.Addressable,
|
|
286
612
|
signer?: ethers.Signer
|
|
287
613
|
): Promise<Contracts.TransferTestsContract>;
|
|
614
|
+
getContractAt(
|
|
615
|
+
name: "TransferWithAllowance128TestsContract",
|
|
616
|
+
address: string | ethers.Addressable,
|
|
617
|
+
signer?: ethers.Signer
|
|
618
|
+
): Promise<Contracts.TransferWithAllowance128TestsContract>;
|
|
619
|
+
getContractAt(
|
|
620
|
+
name: "TransferWithAllowance256TestsContract",
|
|
621
|
+
address: string | ethers.Addressable,
|
|
622
|
+
signer?: ethers.Signer
|
|
623
|
+
): Promise<Contracts.TransferWithAllowance256TestsContract>;
|
|
288
624
|
getContractAt(
|
|
289
625
|
name: "TransferWithAllowance64_16TestsContract",
|
|
290
626
|
address: string | ethers.Addressable,
|
|
@@ -315,6 +651,21 @@ declare module "hardhat/types/runtime" {
|
|
|
315
651
|
address: string | ethers.Addressable,
|
|
316
652
|
signer?: ethers.Signer
|
|
317
653
|
): Promise<Contracts.TransferWithAllowanceTestsContract>;
|
|
654
|
+
getContractAt(
|
|
655
|
+
name: "ValidateCiphertext128TestsContract",
|
|
656
|
+
address: string | ethers.Addressable,
|
|
657
|
+
signer?: ethers.Signer
|
|
658
|
+
): Promise<Contracts.ValidateCiphertext128TestsContract>;
|
|
659
|
+
getContractAt(
|
|
660
|
+
name: "ValidateCiphertext256TestsContract",
|
|
661
|
+
address: string | ethers.Addressable,
|
|
662
|
+
signer?: ethers.Signer
|
|
663
|
+
): Promise<Contracts.ValidateCiphertext256TestsContract>;
|
|
664
|
+
getContractAt(
|
|
665
|
+
name: "ValidateCiphertextTestsContract",
|
|
666
|
+
address: string | ethers.Addressable,
|
|
667
|
+
signer?: ethers.Signer
|
|
668
|
+
): Promise<Contracts.ValidateCiphertextTestsContract>;
|
|
318
669
|
getContractAt(
|
|
319
670
|
name: "PrivateERC20WalletMock",
|
|
320
671
|
address: string | ethers.Addressable,
|
|
@@ -366,10 +717,22 @@ declare module "hardhat/types/runtime" {
|
|
|
366
717
|
signer?: ethers.Signer
|
|
367
718
|
): Promise<Contracts.ExtendedOperations>;
|
|
368
719
|
|
|
720
|
+
deployContract(
|
|
721
|
+
name: "Ownable",
|
|
722
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
723
|
+
): Promise<Contracts.Ownable>;
|
|
369
724
|
deployContract(
|
|
370
725
|
name: "IERC4906",
|
|
371
726
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
372
727
|
): Promise<Contracts.IERC4906>;
|
|
728
|
+
deployContract(
|
|
729
|
+
name: "IERC20Permit",
|
|
730
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
731
|
+
): Promise<Contracts.IERC20Permit>;
|
|
732
|
+
deployContract(
|
|
733
|
+
name: "IERC20",
|
|
734
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
735
|
+
): Promise<Contracts.IERC20>;
|
|
373
736
|
deployContract(
|
|
374
737
|
name: "IERC721",
|
|
375
738
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
@@ -394,6 +757,22 @@ declare module "hardhat/types/runtime" {
|
|
|
394
757
|
name: "DataPrivacyFrameworkMpc",
|
|
395
758
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
396
759
|
): Promise<Contracts.DataPrivacyFrameworkMpc>;
|
|
760
|
+
deployContract(
|
|
761
|
+
name: "FixedRatioCoinDisperser",
|
|
762
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
763
|
+
): Promise<Contracts.FixedRatioCoinDisperser>;
|
|
764
|
+
deployContract(
|
|
765
|
+
name: "IMintableERC20",
|
|
766
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
767
|
+
): Promise<Contracts.IMintableERC20>;
|
|
768
|
+
deployContract(
|
|
769
|
+
name: "MintDisperser",
|
|
770
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
771
|
+
): Promise<Contracts.MintDisperser>;
|
|
772
|
+
deployContract(
|
|
773
|
+
name: "TokenDisperser",
|
|
774
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
775
|
+
): Promise<Contracts.TokenDisperser>;
|
|
397
776
|
deployContract(
|
|
398
777
|
name: "DataPrivacyFrameworkMock",
|
|
399
778
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
@@ -406,26 +785,74 @@ declare module "hardhat/types/runtime" {
|
|
|
406
785
|
name: "PrivateERC721URIStorageMock",
|
|
407
786
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
408
787
|
): Promise<Contracts.PrivateERC721URIStorageMock>;
|
|
788
|
+
deployContract(
|
|
789
|
+
name: "Arithmetic128TestsContract",
|
|
790
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
791
|
+
): Promise<Contracts.Arithmetic128TestsContract>;
|
|
792
|
+
deployContract(
|
|
793
|
+
name: "Arithmetic256TestsContract",
|
|
794
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
795
|
+
): Promise<Contracts.Arithmetic256TestsContract>;
|
|
409
796
|
deployContract(
|
|
410
797
|
name: "ArithmeticTestsContract",
|
|
411
798
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
412
799
|
): Promise<Contracts.ArithmeticTestsContract>;
|
|
800
|
+
deployContract(
|
|
801
|
+
name: "Bitwise128TestsContract",
|
|
802
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
803
|
+
): Promise<Contracts.Bitwise128TestsContract>;
|
|
804
|
+
deployContract(
|
|
805
|
+
name: "Bitwise256TestsContract",
|
|
806
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
807
|
+
): Promise<Contracts.Bitwise256TestsContract>;
|
|
413
808
|
deployContract(
|
|
414
809
|
name: "BitwiseTestsContract",
|
|
415
810
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
416
811
|
): Promise<Contracts.BitwiseTestsContract>;
|
|
812
|
+
deployContract(
|
|
813
|
+
name: "CheckedArithmetic128WithOverflowBitTestsContract",
|
|
814
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
815
|
+
): Promise<Contracts.CheckedArithmetic128WithOverflowBitTestsContract>;
|
|
816
|
+
deployContract(
|
|
817
|
+
name: "CheckedArithmetic256WithOverflowBitTestsContract",
|
|
818
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
819
|
+
): Promise<Contracts.CheckedArithmetic256WithOverflowBitTestsContract>;
|
|
417
820
|
deployContract(
|
|
418
821
|
name: "CheckedArithmeticWithOverflowBitTestsContract",
|
|
419
822
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
420
823
|
): Promise<Contracts.CheckedArithmeticWithOverflowBitTestsContract>;
|
|
824
|
+
deployContract(
|
|
825
|
+
name: "Comparison128TestsContract",
|
|
826
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
827
|
+
): Promise<Contracts.Comparison128TestsContract>;
|
|
421
828
|
deployContract(
|
|
422
829
|
name: "Comparison1TestsContract",
|
|
423
830
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
424
831
|
): Promise<Contracts.Comparison1TestsContract>;
|
|
832
|
+
deployContract(
|
|
833
|
+
name: "Comparison256TestsContract",
|
|
834
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
835
|
+
): Promise<Contracts.Comparison256TestsContract>;
|
|
425
836
|
deployContract(
|
|
426
837
|
name: "Comparison2TestsContract",
|
|
427
838
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
428
839
|
): Promise<Contracts.Comparison2TestsContract>;
|
|
840
|
+
deployContract(
|
|
841
|
+
name: "MinimalImplementation",
|
|
842
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
843
|
+
): Promise<Contracts.MinimalImplementation>;
|
|
844
|
+
deployContract(
|
|
845
|
+
name: "MinimalProxy",
|
|
846
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
847
|
+
): Promise<Contracts.MinimalProxy>;
|
|
848
|
+
deployContract(
|
|
849
|
+
name: "MinMax128TestsContract",
|
|
850
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
851
|
+
): Promise<Contracts.MinMax128TestsContract>;
|
|
852
|
+
deployContract(
|
|
853
|
+
name: "MinMax256TestsContract",
|
|
854
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
855
|
+
): Promise<Contracts.MinMax256TestsContract>;
|
|
429
856
|
deployContract(
|
|
430
857
|
name: "MinMaxTestsContract",
|
|
431
858
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
@@ -438,10 +865,62 @@ declare module "hardhat/types/runtime" {
|
|
|
438
865
|
name: "MiscellaneousTestsContract",
|
|
439
866
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
440
867
|
): Promise<Contracts.MiscellaneousTestsContract>;
|
|
868
|
+
deployContract(
|
|
869
|
+
name: "MpcOperations128TestContract",
|
|
870
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
871
|
+
): Promise<Contracts.MpcOperations128TestContract>;
|
|
872
|
+
deployContract(
|
|
873
|
+
name: "MpcOperationsTestContract",
|
|
874
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
875
|
+
): Promise<Contracts.MpcOperationsTestContract>;
|
|
876
|
+
deployContract(
|
|
877
|
+
name: "Mux128TestsContract",
|
|
878
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
879
|
+
): Promise<Contracts.Mux128TestsContract>;
|
|
880
|
+
deployContract(
|
|
881
|
+
name: "Mux256TestsContract",
|
|
882
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
883
|
+
): Promise<Contracts.Mux256TestsContract>;
|
|
441
884
|
deployContract(
|
|
442
885
|
name: "OffboardToUserKeyTestContract",
|
|
443
886
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
444
887
|
): Promise<Contracts.OffboardToUserKeyTestContract>;
|
|
888
|
+
deployContract(
|
|
889
|
+
name: "OnBoard128TestsContract",
|
|
890
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
891
|
+
): Promise<Contracts.OnBoard128TestsContract>;
|
|
892
|
+
deployContract(
|
|
893
|
+
name: "OnBoard256TestsContract",
|
|
894
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
895
|
+
): Promise<Contracts.OnBoard256TestsContract>;
|
|
896
|
+
deployContract(
|
|
897
|
+
name: "PrivacyImplementationV1",
|
|
898
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
899
|
+
): Promise<Contracts.PrivacyImplementationV1>;
|
|
900
|
+
deployContract(
|
|
901
|
+
name: "PrivacyImplementationV2",
|
|
902
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
903
|
+
): Promise<Contracts.PrivacyImplementationV2>;
|
|
904
|
+
deployContract(
|
|
905
|
+
name: "PrivacyProxy",
|
|
906
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
907
|
+
): Promise<Contracts.PrivacyProxy>;
|
|
908
|
+
deployContract(
|
|
909
|
+
name: "Random128TestsContract",
|
|
910
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
911
|
+
): Promise<Contracts.Random128TestsContract>;
|
|
912
|
+
deployContract(
|
|
913
|
+
name: "Random256TestsContract",
|
|
914
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
915
|
+
): Promise<Contracts.Random256TestsContract>;
|
|
916
|
+
deployContract(
|
|
917
|
+
name: "Shift128TestsContract",
|
|
918
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
919
|
+
): Promise<Contracts.Shift128TestsContract>;
|
|
920
|
+
deployContract(
|
|
921
|
+
name: "Shift256TestsContract",
|
|
922
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
923
|
+
): Promise<Contracts.Shift256TestsContract>;
|
|
445
924
|
deployContract(
|
|
446
925
|
name: "ShiftTestsContract",
|
|
447
926
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
@@ -450,6 +929,14 @@ declare module "hardhat/types/runtime" {
|
|
|
450
929
|
name: "StringTestsContract",
|
|
451
930
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
452
931
|
): Promise<Contracts.StringTestsContract>;
|
|
932
|
+
deployContract(
|
|
933
|
+
name: "Transfer128TestsContract",
|
|
934
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
935
|
+
): Promise<Contracts.Transfer128TestsContract>;
|
|
936
|
+
deployContract(
|
|
937
|
+
name: "Transfer256TestsContract",
|
|
938
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
939
|
+
): Promise<Contracts.Transfer256TestsContract>;
|
|
453
940
|
deployContract(
|
|
454
941
|
name: "TransferScalarTestsContract",
|
|
455
942
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
@@ -458,6 +945,14 @@ declare module "hardhat/types/runtime" {
|
|
|
458
945
|
name: "TransferTestsContract",
|
|
459
946
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
460
947
|
): Promise<Contracts.TransferTestsContract>;
|
|
948
|
+
deployContract(
|
|
949
|
+
name: "TransferWithAllowance128TestsContract",
|
|
950
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
951
|
+
): Promise<Contracts.TransferWithAllowance128TestsContract>;
|
|
952
|
+
deployContract(
|
|
953
|
+
name: "TransferWithAllowance256TestsContract",
|
|
954
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
955
|
+
): Promise<Contracts.TransferWithAllowance256TestsContract>;
|
|
461
956
|
deployContract(
|
|
462
957
|
name: "TransferWithAllowance64_16TestsContract",
|
|
463
958
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
@@ -482,6 +977,18 @@ declare module "hardhat/types/runtime" {
|
|
|
482
977
|
name: "TransferWithAllowanceTestsContract",
|
|
483
978
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
484
979
|
): Promise<Contracts.TransferWithAllowanceTestsContract>;
|
|
980
|
+
deployContract(
|
|
981
|
+
name: "ValidateCiphertext128TestsContract",
|
|
982
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
983
|
+
): Promise<Contracts.ValidateCiphertext128TestsContract>;
|
|
984
|
+
deployContract(
|
|
985
|
+
name: "ValidateCiphertext256TestsContract",
|
|
986
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
987
|
+
): Promise<Contracts.ValidateCiphertext256TestsContract>;
|
|
988
|
+
deployContract(
|
|
989
|
+
name: "ValidateCiphertextTestsContract",
|
|
990
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
991
|
+
): Promise<Contracts.ValidateCiphertextTestsContract>;
|
|
485
992
|
deployContract(
|
|
486
993
|
name: "PrivateERC20WalletMock",
|
|
487
994
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
@@ -523,11 +1030,26 @@ declare module "hardhat/types/runtime" {
|
|
|
523
1030
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
524
1031
|
): Promise<Contracts.ExtendedOperations>;
|
|
525
1032
|
|
|
1033
|
+
deployContract(
|
|
1034
|
+
name: "Ownable",
|
|
1035
|
+
args: any[],
|
|
1036
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1037
|
+
): Promise<Contracts.Ownable>;
|
|
526
1038
|
deployContract(
|
|
527
1039
|
name: "IERC4906",
|
|
528
1040
|
args: any[],
|
|
529
1041
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
530
1042
|
): Promise<Contracts.IERC4906>;
|
|
1043
|
+
deployContract(
|
|
1044
|
+
name: "IERC20Permit",
|
|
1045
|
+
args: any[],
|
|
1046
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1047
|
+
): Promise<Contracts.IERC20Permit>;
|
|
1048
|
+
deployContract(
|
|
1049
|
+
name: "IERC20",
|
|
1050
|
+
args: any[],
|
|
1051
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1052
|
+
): Promise<Contracts.IERC20>;
|
|
531
1053
|
deployContract(
|
|
532
1054
|
name: "IERC721",
|
|
533
1055
|
args: any[],
|
|
@@ -558,6 +1080,26 @@ declare module "hardhat/types/runtime" {
|
|
|
558
1080
|
args: any[],
|
|
559
1081
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
560
1082
|
): Promise<Contracts.DataPrivacyFrameworkMpc>;
|
|
1083
|
+
deployContract(
|
|
1084
|
+
name: "FixedRatioCoinDisperser",
|
|
1085
|
+
args: any[],
|
|
1086
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1087
|
+
): Promise<Contracts.FixedRatioCoinDisperser>;
|
|
1088
|
+
deployContract(
|
|
1089
|
+
name: "IMintableERC20",
|
|
1090
|
+
args: any[],
|
|
1091
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1092
|
+
): Promise<Contracts.IMintableERC20>;
|
|
1093
|
+
deployContract(
|
|
1094
|
+
name: "MintDisperser",
|
|
1095
|
+
args: any[],
|
|
1096
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1097
|
+
): Promise<Contracts.MintDisperser>;
|
|
1098
|
+
deployContract(
|
|
1099
|
+
name: "TokenDisperser",
|
|
1100
|
+
args: any[],
|
|
1101
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1102
|
+
): Promise<Contracts.TokenDisperser>;
|
|
561
1103
|
deployContract(
|
|
562
1104
|
name: "DataPrivacyFrameworkMock",
|
|
563
1105
|
args: any[],
|
|
@@ -573,31 +1115,91 @@ declare module "hardhat/types/runtime" {
|
|
|
573
1115
|
args: any[],
|
|
574
1116
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
575
1117
|
): Promise<Contracts.PrivateERC721URIStorageMock>;
|
|
1118
|
+
deployContract(
|
|
1119
|
+
name: "Arithmetic128TestsContract",
|
|
1120
|
+
args: any[],
|
|
1121
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1122
|
+
): Promise<Contracts.Arithmetic128TestsContract>;
|
|
1123
|
+
deployContract(
|
|
1124
|
+
name: "Arithmetic256TestsContract",
|
|
1125
|
+
args: any[],
|
|
1126
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1127
|
+
): Promise<Contracts.Arithmetic256TestsContract>;
|
|
576
1128
|
deployContract(
|
|
577
1129
|
name: "ArithmeticTestsContract",
|
|
578
1130
|
args: any[],
|
|
579
1131
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
580
1132
|
): Promise<Contracts.ArithmeticTestsContract>;
|
|
1133
|
+
deployContract(
|
|
1134
|
+
name: "Bitwise128TestsContract",
|
|
1135
|
+
args: any[],
|
|
1136
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1137
|
+
): Promise<Contracts.Bitwise128TestsContract>;
|
|
1138
|
+
deployContract(
|
|
1139
|
+
name: "Bitwise256TestsContract",
|
|
1140
|
+
args: any[],
|
|
1141
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1142
|
+
): Promise<Contracts.Bitwise256TestsContract>;
|
|
581
1143
|
deployContract(
|
|
582
1144
|
name: "BitwiseTestsContract",
|
|
583
1145
|
args: any[],
|
|
584
1146
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
585
1147
|
): Promise<Contracts.BitwiseTestsContract>;
|
|
1148
|
+
deployContract(
|
|
1149
|
+
name: "CheckedArithmetic128WithOverflowBitTestsContract",
|
|
1150
|
+
args: any[],
|
|
1151
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1152
|
+
): Promise<Contracts.CheckedArithmetic128WithOverflowBitTestsContract>;
|
|
1153
|
+
deployContract(
|
|
1154
|
+
name: "CheckedArithmetic256WithOverflowBitTestsContract",
|
|
1155
|
+
args: any[],
|
|
1156
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1157
|
+
): Promise<Contracts.CheckedArithmetic256WithOverflowBitTestsContract>;
|
|
586
1158
|
deployContract(
|
|
587
1159
|
name: "CheckedArithmeticWithOverflowBitTestsContract",
|
|
588
1160
|
args: any[],
|
|
589
1161
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
590
1162
|
): Promise<Contracts.CheckedArithmeticWithOverflowBitTestsContract>;
|
|
1163
|
+
deployContract(
|
|
1164
|
+
name: "Comparison128TestsContract",
|
|
1165
|
+
args: any[],
|
|
1166
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1167
|
+
): Promise<Contracts.Comparison128TestsContract>;
|
|
591
1168
|
deployContract(
|
|
592
1169
|
name: "Comparison1TestsContract",
|
|
593
1170
|
args: any[],
|
|
594
1171
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
595
1172
|
): Promise<Contracts.Comparison1TestsContract>;
|
|
1173
|
+
deployContract(
|
|
1174
|
+
name: "Comparison256TestsContract",
|
|
1175
|
+
args: any[],
|
|
1176
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1177
|
+
): Promise<Contracts.Comparison256TestsContract>;
|
|
596
1178
|
deployContract(
|
|
597
1179
|
name: "Comparison2TestsContract",
|
|
598
1180
|
args: any[],
|
|
599
1181
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
600
1182
|
): Promise<Contracts.Comparison2TestsContract>;
|
|
1183
|
+
deployContract(
|
|
1184
|
+
name: "MinimalImplementation",
|
|
1185
|
+
args: any[],
|
|
1186
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1187
|
+
): Promise<Contracts.MinimalImplementation>;
|
|
1188
|
+
deployContract(
|
|
1189
|
+
name: "MinimalProxy",
|
|
1190
|
+
args: any[],
|
|
1191
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1192
|
+
): Promise<Contracts.MinimalProxy>;
|
|
1193
|
+
deployContract(
|
|
1194
|
+
name: "MinMax128TestsContract",
|
|
1195
|
+
args: any[],
|
|
1196
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1197
|
+
): Promise<Contracts.MinMax128TestsContract>;
|
|
1198
|
+
deployContract(
|
|
1199
|
+
name: "MinMax256TestsContract",
|
|
1200
|
+
args: any[],
|
|
1201
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1202
|
+
): Promise<Contracts.MinMax256TestsContract>;
|
|
601
1203
|
deployContract(
|
|
602
1204
|
name: "MinMaxTestsContract",
|
|
603
1205
|
args: any[],
|
|
@@ -613,11 +1215,76 @@ declare module "hardhat/types/runtime" {
|
|
|
613
1215
|
args: any[],
|
|
614
1216
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
615
1217
|
): Promise<Contracts.MiscellaneousTestsContract>;
|
|
1218
|
+
deployContract(
|
|
1219
|
+
name: "MpcOperations128TestContract",
|
|
1220
|
+
args: any[],
|
|
1221
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1222
|
+
): Promise<Contracts.MpcOperations128TestContract>;
|
|
1223
|
+
deployContract(
|
|
1224
|
+
name: "MpcOperationsTestContract",
|
|
1225
|
+
args: any[],
|
|
1226
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1227
|
+
): Promise<Contracts.MpcOperationsTestContract>;
|
|
1228
|
+
deployContract(
|
|
1229
|
+
name: "Mux128TestsContract",
|
|
1230
|
+
args: any[],
|
|
1231
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1232
|
+
): Promise<Contracts.Mux128TestsContract>;
|
|
1233
|
+
deployContract(
|
|
1234
|
+
name: "Mux256TestsContract",
|
|
1235
|
+
args: any[],
|
|
1236
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1237
|
+
): Promise<Contracts.Mux256TestsContract>;
|
|
616
1238
|
deployContract(
|
|
617
1239
|
name: "OffboardToUserKeyTestContract",
|
|
618
1240
|
args: any[],
|
|
619
1241
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
620
1242
|
): Promise<Contracts.OffboardToUserKeyTestContract>;
|
|
1243
|
+
deployContract(
|
|
1244
|
+
name: "OnBoard128TestsContract",
|
|
1245
|
+
args: any[],
|
|
1246
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1247
|
+
): Promise<Contracts.OnBoard128TestsContract>;
|
|
1248
|
+
deployContract(
|
|
1249
|
+
name: "OnBoard256TestsContract",
|
|
1250
|
+
args: any[],
|
|
1251
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1252
|
+
): Promise<Contracts.OnBoard256TestsContract>;
|
|
1253
|
+
deployContract(
|
|
1254
|
+
name: "PrivacyImplementationV1",
|
|
1255
|
+
args: any[],
|
|
1256
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1257
|
+
): Promise<Contracts.PrivacyImplementationV1>;
|
|
1258
|
+
deployContract(
|
|
1259
|
+
name: "PrivacyImplementationV2",
|
|
1260
|
+
args: any[],
|
|
1261
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1262
|
+
): Promise<Contracts.PrivacyImplementationV2>;
|
|
1263
|
+
deployContract(
|
|
1264
|
+
name: "PrivacyProxy",
|
|
1265
|
+
args: any[],
|
|
1266
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1267
|
+
): Promise<Contracts.PrivacyProxy>;
|
|
1268
|
+
deployContract(
|
|
1269
|
+
name: "Random128TestsContract",
|
|
1270
|
+
args: any[],
|
|
1271
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1272
|
+
): Promise<Contracts.Random128TestsContract>;
|
|
1273
|
+
deployContract(
|
|
1274
|
+
name: "Random256TestsContract",
|
|
1275
|
+
args: any[],
|
|
1276
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1277
|
+
): Promise<Contracts.Random256TestsContract>;
|
|
1278
|
+
deployContract(
|
|
1279
|
+
name: "Shift128TestsContract",
|
|
1280
|
+
args: any[],
|
|
1281
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1282
|
+
): Promise<Contracts.Shift128TestsContract>;
|
|
1283
|
+
deployContract(
|
|
1284
|
+
name: "Shift256TestsContract",
|
|
1285
|
+
args: any[],
|
|
1286
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1287
|
+
): Promise<Contracts.Shift256TestsContract>;
|
|
621
1288
|
deployContract(
|
|
622
1289
|
name: "ShiftTestsContract",
|
|
623
1290
|
args: any[],
|
|
@@ -628,6 +1295,16 @@ declare module "hardhat/types/runtime" {
|
|
|
628
1295
|
args: any[],
|
|
629
1296
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
630
1297
|
): Promise<Contracts.StringTestsContract>;
|
|
1298
|
+
deployContract(
|
|
1299
|
+
name: "Transfer128TestsContract",
|
|
1300
|
+
args: any[],
|
|
1301
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1302
|
+
): Promise<Contracts.Transfer128TestsContract>;
|
|
1303
|
+
deployContract(
|
|
1304
|
+
name: "Transfer256TestsContract",
|
|
1305
|
+
args: any[],
|
|
1306
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1307
|
+
): Promise<Contracts.Transfer256TestsContract>;
|
|
631
1308
|
deployContract(
|
|
632
1309
|
name: "TransferScalarTestsContract",
|
|
633
1310
|
args: any[],
|
|
@@ -638,6 +1315,16 @@ declare module "hardhat/types/runtime" {
|
|
|
638
1315
|
args: any[],
|
|
639
1316
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
640
1317
|
): Promise<Contracts.TransferTestsContract>;
|
|
1318
|
+
deployContract(
|
|
1319
|
+
name: "TransferWithAllowance128TestsContract",
|
|
1320
|
+
args: any[],
|
|
1321
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1322
|
+
): Promise<Contracts.TransferWithAllowance128TestsContract>;
|
|
1323
|
+
deployContract(
|
|
1324
|
+
name: "TransferWithAllowance256TestsContract",
|
|
1325
|
+
args: any[],
|
|
1326
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1327
|
+
): Promise<Contracts.TransferWithAllowance256TestsContract>;
|
|
641
1328
|
deployContract(
|
|
642
1329
|
name: "TransferWithAllowance64_16TestsContract",
|
|
643
1330
|
args: any[],
|
|
@@ -668,6 +1355,21 @@ declare module "hardhat/types/runtime" {
|
|
|
668
1355
|
args: any[],
|
|
669
1356
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
670
1357
|
): Promise<Contracts.TransferWithAllowanceTestsContract>;
|
|
1358
|
+
deployContract(
|
|
1359
|
+
name: "ValidateCiphertext128TestsContract",
|
|
1360
|
+
args: any[],
|
|
1361
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1362
|
+
): Promise<Contracts.ValidateCiphertext128TestsContract>;
|
|
1363
|
+
deployContract(
|
|
1364
|
+
name: "ValidateCiphertext256TestsContract",
|
|
1365
|
+
args: any[],
|
|
1366
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1367
|
+
): Promise<Contracts.ValidateCiphertext256TestsContract>;
|
|
1368
|
+
deployContract(
|
|
1369
|
+
name: "ValidateCiphertextTestsContract",
|
|
1370
|
+
args: any[],
|
|
1371
|
+
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
1372
|
+
): Promise<Contracts.ValidateCiphertextTestsContract>;
|
|
671
1373
|
deployContract(
|
|
672
1374
|
name: "PrivateERC20WalletMock",
|
|
673
1375
|
args: any[],
|