@coti-io/coti-contracts 1.2.0 → 1.3.1
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 +1 -1
- package/contracts/access/DataPrivacyFramework/DataPrivacyFramework.sol +1 -1
- package/contracts/access/DataPrivacyFramework/extensions/DataPrivacyFrameworkMpc.sol +1 -1
- package/contracts/disperse/coinByRatio/FixedRatioCoinDisperserUnlimitedWindow.sol +2 -4
- package/contracts/disperse/disperseToken/MintDisperser.sol +1 -3
- package/contracts/disperse/disperseToken/TokenDisperser.sol +1 -1
- package/contracts/messaging/PrivateMessaging.sol +456 -0
- package/contracts/mocks/access/DataPrivacyFramework/DataPrivacyFrameworkMock.sol +1 -1
- package/contracts/mocks/messaging/PrivateMessagingHarness.sol +54 -0
- package/contracts/mocks/oracle/CotiPriceConsumerMock.sol +31 -0
- package/contracts/mocks/token/ERC20DecimalsMock.sol +21 -0
- package/contracts/mocks/token/ERC20Mock.sol +1 -1
- package/contracts/mocks/token/PrivateERC20/EncryptedTokenReceiverMock.sol +1 -1
- package/contracts/mocks/token/PrivateERC20/PrivacyBridgeERC20Mock.sol +9 -4
- package/contracts/mocks/token/PrivateERC20/PrivateERC20AuditorSupplyMock.sol +1 -1
- package/contracts/mocks/token/PrivateERC20/PrivateERC20CappedMock.sol +1 -1
- package/contracts/mocks/token/PrivateERC20/PrivateERC20GtCallerMock.sol +1 -1
- package/contracts/mocks/token/PrivateERC20/PrivateERC20Mock.sol +1 -1
- package/contracts/mocks/token/PrivateERC20/PrivateERC20ReentrantReceiverMock.sol +1 -1
- package/contracts/mocks/token/PrivateERC20/PublicReentrantTokenReceiverMock.sol +1 -1
- package/contracts/mocks/token/PrivateERC20/PublicTokenReceiverBoolMock.sol +1 -1
- package/contracts/mocks/token/PrivateERC20/PublicTokenReceiverMock.sol +1 -1
- package/contracts/mocks/token/PrivateERC721/PrivateERC721URIStorageMock.sol +1 -1
- package/contracts/mocks/utils/mpc/Arithmetic128TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/Arithmetic256TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/ArithmeticAddTestsContract.sol +196 -0
- package/contracts/mocks/utils/mpc/ArithmeticMulTestsContract.sol +194 -0
- package/contracts/mocks/utils/mpc/ArithmeticSigned128TestsContract.sol +63 -0
- package/contracts/mocks/utils/mpc/ArithmeticSigned256TestsContract.sol +107 -0
- package/contracts/mocks/utils/mpc/ArithmeticSignedNarrowTestsContract.sol +123 -0
- package/contracts/mocks/utils/mpc/ArithmeticSubTestsContract.sol +196 -0
- package/contracts/mocks/utils/mpc/Bitwise128TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/Bitwise256TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/BitwiseTestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/CheckedArithmetic128WithOverflowBitTestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/CheckedArithmetic256WithOverflowBitTestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/CheckedArithmeticWIthOverflowBitTestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/Comparison128TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/Comparison1TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/Comparison256TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/Comparison2TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/MinMax128TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/MinMax256TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/MinMaxTestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/MinimalImplementation.sol +1 -1
- package/contracts/mocks/utils/mpc/MinimalProxy.sol +1 -1
- package/contracts/mocks/utils/mpc/Miscellaneous1TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/MiscellaneousTestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/MpcOperations128TestContract.sol +1 -1
- package/contracts/mocks/utils/mpc/MpcOperationsTestContract.sol +4 -4
- package/contracts/mocks/utils/mpc/Mux128TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/Mux256TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/OffboardToUserKeyTestContract.sol +1 -1
- package/contracts/mocks/utils/mpc/OnBoard128TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/OnBoard256TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/PrivacyImplementationV1.sol +1 -1
- package/contracts/mocks/utils/mpc/PrivacyImplementationV2.sol +1 -1
- package/contracts/mocks/utils/mpc/PrivacyProxy.sol +1 -1
- package/contracts/mocks/utils/mpc/Random128TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/Random256TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/Shift128TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/Shift256TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/ShiftTestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/StringTestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/Transfer128TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/Transfer256TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/TransferScalarTestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/TransferTestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/TransferWithAllowance128TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/TransferWithAllowance256TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/TransferWithAllowance64_16TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/TransferWithAllowance64_32TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/TransferWithAllowance64_8TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/TransferWithAllowanceScalarTestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/ValidateCiphertext128TestsContract.sol +1 -1
- package/contracts/mocks/utils/mpc/ValidateCiphertext256TestsContract.sol +2 -2
- package/contracts/mocks/utils/mpc/ValidateCiphertextTestsContract.sol +1 -1
- package/contracts/mocks/wallet/PrivateERC20Wallet/PrivateERC20WalletMock.sol +1 -1
- package/contracts/node/CotiNodeRewards.sol +3 -3
- package/contracts/node/SoulboundNodeNFT.sol +23 -24
- package/contracts/onboard/AccountOnboard.sol +1 -1
- package/contracts/oracle/CotiPriceConsumer.sol +103 -0
- package/contracts/oracle/ICotiPriceConsumer.sol +15 -0
- package/contracts/oracle/IStdReference.sol +26 -0
- package/contracts/pod/IInbox.sol +231 -0
- package/contracts/pod/IInboxMiner.sol +53 -0
- package/contracts/pod/InboxUser.sol +29 -0
- package/contracts/pod/InboxUserCotiTestnet.sol +13 -0
- package/contracts/pod/PodNetworkConstants.sol +30 -0
- package/contracts/pod/examples/MpcAdder.sol +57 -0
- package/contracts/pod/examples/MpcAdderPausable.sol +25 -0
- package/contracts/pod/examples/MpcAdderPausable.sol.bak +25 -0
- package/contracts/pod/examples/it128/PodAdder128.sol +48 -0
- package/contracts/pod/examples/it256/PodAdder256.sol +48 -0
- package/contracts/pod/fee/IInboxFeeManager.sol +40 -0
- package/contracts/pod/manifest.json +52 -0
- package/contracts/pod/mpc/PodLib.sol +10 -0
- package/contracts/pod/mpc/PodLib128.sol +361 -0
- package/contracts/pod/mpc/PodLib256.sol +361 -0
- package/contracts/pod/mpc/PodLib64.sol +385 -0
- package/contracts/pod/mpc/PodLibBase.sol +72 -0
- package/contracts/pod/mpc/PodUser.sol +58 -0
- package/contracts/pod/mpc/PodUserFuji.sol +14 -0
- package/contracts/pod/mpc/PodUserSepolia.sol +13 -0
- package/contracts/pod/mpc/coti-side/IPodExecutorOps.sol +99 -0
- package/contracts/pod/mpccodec/MpcAbiCodec.sol +482 -0
- package/contracts/pod/privacy/IPodPriceOracle.sol +20 -0
- package/contracts/pod/privacy/IPrivacyPortal.sol +248 -0
- package/contracts/pod/privacy/IPrivacyPortalFactory.sol +88 -0
- package/contracts/pod/privacy/PortalFeeOracle.sol +51 -0
- package/contracts/pod/privacy/PrivacyPortal.sol +871 -0
- package/contracts/pod/privacy/PrivacyPortalFactory.sol +492 -0
- package/contracts/pod/privacy/PrivacyPortalFeeLib.sol +98 -0
- package/contracts/pod/privacy/mocks/CloneHelper.sol +14 -0
- package/contracts/pod/privacy/mocks/MockERC20.sol +26 -0
- package/contracts/pod/privacy/mocks/MockPodERC20ForPortal.sol +160 -0
- package/contracts/pod/privacy/mocks/MockPrivacyPortalFactory.sol +125 -0
- package/contracts/pod/privacy/mocks/MockWrappedNative.sol +24 -0
- package/contracts/pod/token/erc7984/Erc7984Constants.sol +9 -0
- package/contracts/pod/token/erc7984/Erc7984Pointers.sol +29 -0
- package/contracts/pod/token/erc7984/IERC7984.sol +69 -0
- package/contracts/pod/token/erc7984/IERC7984PortalWrapper.sol +31 -0
- package/contracts/pod/token/erc7984/PodErc7984Mixin.sol +125 -0
- package/contracts/pod/token/erc7984/README.md +60 -0
- package/contracts/pod/token/perc20/IPodERC20.sol +298 -0
- package/contracts/pod/token/perc20/PodERC20.sol +1021 -0
- package/contracts/pod/token/perc20/PodErc20Mintable.sol +88 -0
- package/contracts/pod/token/perc20/PodErc20MintableInitializable.sol +42 -0
- package/contracts/pod/token/perc20/cotiside/IPodErc20CotiSide.sol +88 -0
- package/contracts/pod/token/perc20/cotiside/PodErc20CotiMother.sol +529 -0
- package/contracts/pod/utils/IWrappedNative.sol +11 -0
- package/contracts/privacyBridge/PrivacyBridge.sol +376 -94
- package/contracts/privacyBridge/PrivacyBridgeCotiNative.sol +210 -162
- package/contracts/privacyBridge/PrivacyBridgeERC20.sol +242 -160
- package/contracts/privacyBridge/PrivacyBridgeUSDCe.sol +8 -2
- package/contracts/privacyBridge/PrivacyBridgeUSDT.sol +8 -2
- package/contracts/privacyBridge/PrivacyBridgeWADA.sol +8 -2
- package/contracts/privacyBridge/PrivacyBridgeWBTC.sol +8 -2
- package/contracts/privacyBridge/PrivacyBridgeWETH.sol +8 -2
- package/contracts/privacyBridge/PrivacyBridgegCoti.sol +8 -2
- package/contracts/token/PrivateERC20/IPrivateERC20.sol +1 -1
- package/contracts/token/PrivateERC20/ITokenReceiver.sol +1 -1
- package/contracts/token/PrivateERC20/ITokenReceiverEncrypted.sol +1 -1
- package/contracts/token/PrivateERC20/PrivateERC20.sol +5 -5
- package/contracts/token/PrivateERC20/tokens/PrivateBridgedUSDC.sol +1 -1
- package/contracts/token/PrivateERC20/tokens/PrivateCOTI.sol +1 -1
- package/contracts/token/PrivateERC20/tokens/PrivateCOTITreasuryGovernanceToken.sol +1 -1
- package/contracts/token/PrivateERC20/tokens/PrivateTetherUSD.sol +1 -1
- package/contracts/token/PrivateERC20/tokens/PrivateWrappedADA.sol +1 -1
- package/contracts/token/PrivateERC20/tokens/PrivateWrappedBTC.sol +1 -1
- package/contracts/token/PrivateERC20/tokens/PrivateWrappedEther.sol +1 -1
- package/contracts/token/PrivateERC721/IERC721Errors.sol +1 -1
- package/contracts/token/PrivateERC721/PrivateERC721.sol +1 -1
- package/contracts/token/PrivateERC721/extensions/IPrivateERC721URIStorage.sol +1 -1
- package/contracts/token/PrivateERC721/extensions/PrivateERC721URIStorage.sol +1 -1
- package/contracts/token/points/CotiTokenPoints004.sol +43 -0
- package/contracts/utils/mpc/MpcCore.sol +610 -1
- package/contracts/utils/mpc/MpcInterface.sol +1 -1
- package/hardhat.config.ts +9 -15
- package/package.json +4 -4
- package/scripts/add-bridge-operators.cjs +87 -0
- package/scripts/deploy-coti-price-consumer-mainnet.cjs +49 -0
- package/scripts/deployCotiNodeRewards.ts +51 -0
- package/scripts/deployCotiTokenPoints004.ts +61 -0
- package/scripts/deployFixedRatioCoinDisperserUnlimitedWindow.ts +68 -0
- package/scripts/redeploy-private-and-bridges.cjs +201 -0
- package/scripts/set-bridge-limits-mainnet.cjs +177 -0
- package/scripts/verify-mainnet-private-bridges.cjs +289 -0
- package/scripts/verifyCotiTokenPoints004.ts +123 -0
- package/scripts/verifyFixedRatioCoinDisperserUnlimitedWindow.ts +112 -0
- package/sonar-project.properties +11 -0
- package/test/messaging/PrivateMessaging.test.ts +158 -0
- package/test/pod/privacy/PrivacyPortal.access.test.ts +756 -0
- package/test/pod/privacy/PrivacyPortal.recovery.test.ts +263 -0
- package/test/privacyBridge/UnifiedPrivacyBridges.test.cjs +1665 -0
- package/test/token/PrivateERC20/PrivacyBridge.fees.test.ts +162 -239
- package/test/utils/mpc/CheckedSignedArithmetic256.test.ts +163 -0
- package/test/utils/mpc/NegativeCases.test.ts +3 -3
- package/test/utils/mpc/Precompile.test.ts +6 -6
- package/typechain-types/@openzeppelin/contracts/access/AccessControl.ts +324 -0
- package/typechain-types/@openzeppelin/contracts/access/AccessControlEnumerable.ts +361 -0
- package/typechain-types/@openzeppelin/contracts/access/IAccessControl.ts +292 -0
- package/typechain-types/@openzeppelin/contracts/access/IAccessControlEnumerable.ts +329 -0
- package/typechain-types/@openzeppelin/contracts/access/extensions/AccessControlEnumerable.ts +375 -0
- package/typechain-types/@openzeppelin/contracts/access/extensions/IAccessControlEnumerable.ts +329 -0
- package/typechain-types/@openzeppelin/contracts/access/extensions/index.ts +5 -0
- package/typechain-types/@openzeppelin/contracts/access/index.ts +6 -0
- package/typechain-types/@openzeppelin/contracts/index.ts +2 -0
- package/typechain-types/@openzeppelin/contracts/interfaces/IERC1363.ts +412 -0
- package/typechain-types/@openzeppelin/contracts/interfaces/IERC5267.ts +151 -0
- package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.ts +6 -0
- package/typechain-types/@openzeppelin/contracts/interfaces/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/security/Pausable.ts +150 -0
- package/typechain-types/@openzeppelin/contracts/security/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/ERC20.ts +286 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.ts +6 -6
- package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.ts +313 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.ts +356 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.ts +423 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts +286 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/index.ts +3 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/utils/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC721/ERC721.ts +420 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.ts +420 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC721/index.ts +3 -0
- package/typechain-types/@openzeppelin/contracts/utils/Nonces.ts +85 -0
- package/typechain-types/@openzeppelin/contracts/utils/Pausable.ts +150 -0
- package/typechain-types/@openzeppelin/contracts/utils/ReentrancyGuard.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/utils/ShortStrings.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/utils/Strings.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/utils/cryptography/ECDSA.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/utils/cryptography/EIP712.ts +151 -0
- package/typechain-types/@openzeppelin/contracts/utils/cryptography/index.ts +5 -0
- package/typechain-types/@openzeppelin/contracts/utils/index.ts +9 -0
- package/typechain-types/@openzeppelin/contracts/utils/math/SafeCast.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/utils/math/index.ts +4 -0
- package/typechain-types/contracts/disperse/coinByRatio/FixedRatioCoinDisperserLeftoverS1.ts +735 -0
- package/typechain-types/contracts/disperse/coinByRatio/FixedRatioCoinDisperserUnlimitedWindow.ts +734 -0
- package/typechain-types/contracts/disperse/coinByRatio/index.ts +2 -0
- package/typechain-types/contracts/disperse/disperseToken/MintDisperser.sol/IOwnable.ts +95 -0
- package/typechain-types/contracts/disperse/disperseToken/MintDisperser.sol/MintDisperser.ts +22 -0
- package/typechain-types/contracts/disperse/disperseToken/MintDisperser.sol/index.ts +1 -0
- package/typechain-types/contracts/index.ts +8 -0
- package/typechain-types/contracts/messaging/PrivateMessaging.ts +871 -0
- package/typechain-types/contracts/messaging/index.ts +4 -0
- package/typechain-types/contracts/mocks/index.ts +4 -0
- package/typechain-types/contracts/mocks/messaging/PrivateMessagingHarness.ts +951 -0
- package/typechain-types/contracts/mocks/messaging/index.ts +4 -0
- package/typechain-types/contracts/mocks/oracle/CotiPriceConsumerMock.ts +163 -0
- package/typechain-types/contracts/mocks/oracle/index.ts +4 -0
- package/typechain-types/contracts/mocks/token/ERC20DecimalsMock.ts +305 -0
- package/typechain-types/contracts/mocks/token/ERC20Mock.ts +324 -0
- package/typechain-types/contracts/mocks/token/PrivateERC20/EncryptedTokenReceiverMock.ts +108 -0
- package/typechain-types/contracts/mocks/token/PrivateERC20/PrivacyBridgeERC20Mock.ts +1906 -0
- package/typechain-types/contracts/mocks/token/PrivateERC20/PrivateERC20AuditorSupplyMock.ts +1296 -0
- package/typechain-types/contracts/mocks/token/PrivateERC20/PrivateERC20CappedMock.ts +1270 -0
- package/typechain-types/contracts/mocks/{utils/mpc/Bitwise128BitTestsContract.ts → token/PrivateERC20/PrivateERC20GtCallerMock.ts} +47 -67
- package/typechain-types/contracts/mocks/token/PrivateERC20/PrivateERC20Mock.ts +757 -25
- package/typechain-types/contracts/mocks/token/PrivateERC20/PrivateERC20ReentrantReceiverMock.sol/IPrivateERC20TransferAndCallEncrypted.ts +102 -0
- package/typechain-types/contracts/mocks/token/PrivateERC20/PrivateERC20ReentrantReceiverMock.sol/PrivateERC20ReentrantReceiverMock.ts +154 -0
- package/typechain-types/contracts/mocks/token/PrivateERC20/PrivateERC20ReentrantReceiverMock.sol/index.ts +5 -0
- package/typechain-types/contracts/mocks/token/PrivateERC20/PublicReentrantTokenReceiverMock.ts +155 -0
- package/typechain-types/contracts/mocks/token/PrivateERC20/PublicTokenReceiverBoolMock.ts +107 -0
- package/typechain-types/contracts/mocks/token/PrivateERC20/PublicTokenReceiverMock.ts +100 -0
- package/typechain-types/contracts/mocks/token/PrivateERC20/index.ts +10 -0
- package/typechain-types/contracts/mocks/token/index.ts +2 -0
- package/typechain-types/contracts/mocks/wallet/PrivateERC20Wallet/PrivateERC20WalletMock.ts +6 -6
- package/typechain-types/contracts/node/CotiNodeRewards.ts +566 -0
- package/typechain-types/contracts/node/SoulboundNodeNFT.sol/IERC5192.ts +123 -0
- package/typechain-types/contracts/node/SoulboundNodeNFT.sol/SoulboundNodeNFT.ts +975 -0
- package/typechain-types/contracts/node/SoulboundNodeNFT.sol/index.ts +5 -0
- package/typechain-types/contracts/node/index.ts +6 -0
- package/typechain-types/contracts/oracle/CotiPriceConsumer.ts +256 -0
- package/typechain-types/contracts/oracle/ICotiPriceConsumer.ts +119 -0
- package/typechain-types/contracts/oracle/IStdReference.ts +136 -0
- package/typechain-types/contracts/oracle/index.ts +6 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridge.ts +1642 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeCotiNative.ts +1884 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeERC20.sol/IHasDecimals.ts +84 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeERC20.sol/PrivacyBridgeERC20.ts +1906 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeERC20.sol/index.ts +5 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeUSDCe.ts +1906 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeUSDT.ts +1906 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeWADA.ts +1906 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeWBTC.ts +1906 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeWETH.ts +1906 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgegCoti.ts +1906 -0
- package/typechain-types/contracts/privacyBridge/index.ts +13 -0
- package/typechain-types/contracts/token/PrivateERC20/IPrivateERC20.ts +439 -19
- package/typechain-types/contracts/token/PrivateERC20/ITokenReceiver.ts +100 -0
- package/typechain-types/contracts/token/PrivateERC20/ITokenReceiverEncrypted.ts +99 -0
- package/typechain-types/contracts/token/PrivateERC20/PrivateERC20.ts +763 -15
- package/typechain-types/contracts/token/PrivateERC20/index.ts +4 -0
- package/typechain-types/contracts/token/PrivateERC20/tokens/PrivateBridgedUSDC.ts +1270 -0
- package/typechain-types/contracts/token/PrivateERC20/tokens/PrivateCOTI.ts +1270 -0
- package/typechain-types/contracts/token/PrivateERC20/tokens/PrivateCOTITreasuryGovernanceToken.ts +1270 -0
- package/typechain-types/contracts/token/PrivateERC20/tokens/PrivateTetherUSD.ts +1270 -0
- package/typechain-types/contracts/token/PrivateERC20/tokens/PrivateWrappedADA.ts +1270 -0
- package/typechain-types/contracts/token/PrivateERC20/tokens/PrivateWrappedBTC.ts +1270 -0
- package/typechain-types/contracts/token/PrivateERC20/tokens/PrivateWrappedEther.ts +1270 -0
- package/typechain-types/contracts/token/PrivateERC20/tokens/index.ts +10 -0
- package/typechain-types/contracts/token/index.ts +2 -0
- package/typechain-types/contracts/token/points/CotiTokenPoints004.sol/COTITokenPoints004.ts +826 -0
- package/typechain-types/contracts/token/points/CotiTokenPoints004.ts +826 -0
- package/typechain-types/contracts/token/points/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/AccessControlEnumerable__factory.ts +276 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/AccessControl__factory.ts +250 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/IAccessControlEnumerable__factory.ts +244 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/IAccessControl__factory.ts +218 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.ts +22 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/extensions/AccessControlEnumerable__factory.ts +316 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/extensions/IAccessControlEnumerable__factory.ts +265 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/extensions/index.ts +5 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/index.ts +5 -0
- package/typechain-types/factories/@openzeppelin/contracts/index.ts +1 -0
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1363__factory.ts +393 -0
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC5267__factory.ts +71 -0
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors__factory.ts +127 -0
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors__factory.ts +111 -0
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors__factory.ts +128 -0
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.ts +6 -0
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/index.ts +3 -0
- package/typechain-types/factories/@openzeppelin/contracts/security/Pausable__factory.ts +61 -0
- package/typechain-types/factories/@openzeppelin/contracts/security/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.ts +330 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.ts +3 -3
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable__factory.ts +364 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable__factory.ts +382 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit__factory.ts +540 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts +247 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.ts +2 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.ts +96 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/ERC721__factory.ts +455 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata__factory.ts +355 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/index.ts +2 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/Nonces__factory.ts +57 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/Pausable__factory.ts +71 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/ReentrancyGuard__factory.ts +30 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/ShortStrings__factory.ts +83 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.ts +90 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.ts +91 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/EIP712__factory.ts +87 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/index.ts +5 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/index.ts +7 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.ts +118 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/math/index.ts +4 -0
- package/typechain-types/factories/contracts/disperse/coinByRatio/FixedRatioCoinDisperserLeftoverS1__factory.ts +802 -0
- package/typechain-types/factories/contracts/disperse/coinByRatio/FixedRatioCoinDisperserUnlimitedWindow__factory.ts +749 -0
- package/typechain-types/factories/contracts/disperse/coinByRatio/FixedRatioCoinDisperser__factory.ts +12 -1
- package/typechain-types/factories/contracts/disperse/coinByRatio/index.ts +2 -0
- package/typechain-types/factories/contracts/disperse/disperseToken/MintDisperser.sol/IOwnable__factory.ts +35 -0
- package/typechain-types/factories/contracts/disperse/disperseToken/MintDisperser.sol/MintDisperser__factory.ts +41 -1
- package/typechain-types/factories/contracts/disperse/disperseToken/MintDisperser.sol/index.ts +1 -0
- package/typechain-types/factories/contracts/disperse/disperseToken/TokenDisperser__factory.ts +12 -1
- package/typechain-types/factories/contracts/index.ts +4 -0
- package/typechain-types/factories/contracts/messaging/PrivateMessaging__factory.ts +1035 -0
- package/typechain-types/factories/contracts/messaging/index.ts +4 -0
- package/typechain-types/factories/contracts/mocks/access/DataPrivacyFramework/DataPrivacyFrameworkMock__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/index.ts +2 -0
- package/typechain-types/factories/contracts/mocks/messaging/PrivateMessagingHarness__factory.ts +1161 -0
- package/typechain-types/factories/contracts/mocks/messaging/index.ts +4 -0
- package/typechain-types/factories/contracts/mocks/oracle/CotiPriceConsumerMock__factory.ts +159 -0
- package/typechain-types/factories/contracts/mocks/oracle/index.ts +4 -0
- package/typechain-types/factories/contracts/mocks/token/ERC20DecimalsMock__factory.ts +432 -0
- package/typechain-types/factories/contracts/mocks/token/ERC20Mock__factory.ts +430 -0
- package/typechain-types/factories/contracts/mocks/token/PrivateERC20/EncryptedTokenReceiverMock__factory.ts +125 -0
- package/typechain-types/factories/contracts/mocks/token/PrivateERC20/PrivacyBridgeERC20Mock__factory.ts +1885 -0
- package/typechain-types/factories/contracts/mocks/token/PrivateERC20/PrivateERC20AuditorSupplyMock__factory.ts +1540 -0
- package/typechain-types/factories/contracts/mocks/token/PrivateERC20/PrivateERC20CappedMock__factory.ts +1492 -0
- package/typechain-types/factories/contracts/mocks/token/PrivateERC20/PrivateERC20GtCallerMock__factory.ts +165 -0
- package/typechain-types/factories/contracts/mocks/token/PrivateERC20/PrivateERC20Mock__factory.ts +794 -52
- package/typechain-types/factories/contracts/mocks/token/PrivateERC20/PrivateERC20ReentrantReceiverMock.sol/IPrivateERC20TransferAndCallEncrypted__factory.ts +54 -0
- package/typechain-types/factories/contracts/mocks/token/PrivateERC20/PrivateERC20ReentrantReceiverMock.sol/PrivateERC20ReentrantReceiverMock__factory.ts +159 -0
- package/typechain-types/factories/contracts/mocks/token/PrivateERC20/PrivateERC20ReentrantReceiverMock.sol/index.ts +5 -0
- package/typechain-types/factories/contracts/mocks/token/PrivateERC20/PublicReentrantTokenReceiverMock__factory.ts +164 -0
- package/typechain-types/factories/contracts/mocks/token/PrivateERC20/PublicTokenReceiverBoolMock__factory.ts +130 -0
- package/typechain-types/factories/contracts/mocks/token/PrivateERC20/PublicTokenReceiverMock__factory.ts +102 -0
- package/typechain-types/factories/contracts/mocks/token/PrivateERC20/index.ts +9 -0
- package/typechain-types/factories/contracts/mocks/token/PrivateERC721/PrivateERC721URIStorageMock__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/token/index.ts +2 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Arithmetic128TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Arithmetic256TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/ArithmeticTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Bitwise128TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Bitwise256TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/BitwiseTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/CheckedArithmetic128WithOverflowBitTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/CheckedArithmetic256WithOverflowBitTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/CheckedArithmeticWIthOverflowBitTestsContract.sol/CheckedArithmeticWithOverflowBitTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison128TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison1TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison256TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison2TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/MinMax128TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/MinMax256TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/MinMaxTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/MinimalImplementation__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/MinimalProxy__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Miscellaneous1TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/MiscellaneousTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/MpcOperations128TestContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/MpcOperationsTestContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Mux128TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Mux256TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/OffboardToUserKeyTestContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/OnBoard128TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/OnBoard256TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/PrivacyImplementationV1__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/PrivacyImplementationV2__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/PrivacyProxy__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Random128TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Random256TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Shift128TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Shift256TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/ShiftTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/StringTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Transfer128TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Transfer256TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferScalarTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance128TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance256TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_16TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_32TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_8TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowanceScalarTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/ValidateCiphertext128TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/ValidateCiphertext256TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/ValidateCiphertextTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/wallet/PrivateERC20Wallet/PrivateERC20WalletMock__factory.ts +4 -22
- package/typechain-types/factories/contracts/node/CotiNodeRewards__factory.ts +576 -0
- package/typechain-types/factories/contracts/node/SoulboundNodeNFT.sol/IERC5192__factory.ts +54 -0
- package/typechain-types/factories/contracts/node/SoulboundNodeNFT.sol/SoulboundNodeNFT__factory.ts +1072 -0
- package/typechain-types/factories/contracts/node/SoulboundNodeNFT.sol/index.ts +5 -0
- package/typechain-types/factories/contracts/node/index.ts +5 -0
- package/typechain-types/factories/contracts/onboard/AccountOnboard__factory.ts +1 -1
- package/typechain-types/factories/contracts/oracle/CotiPriceConsumer__factory.ts +295 -0
- package/typechain-types/factories/contracts/oracle/ICotiPriceConsumer__factory.ts +73 -0
- package/typechain-types/factories/contracts/oracle/IStdReference__factory.ts +107 -0
- package/typechain-types/factories/contracts/oracle/index.ts +6 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridgeCotiNative__factory.ts +1753 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridgeERC20.sol/IHasDecimals__factory.ts +38 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridgeERC20.sol/PrivacyBridgeERC20__factory.ts +1766 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridgeERC20.sol/index.ts +5 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridgeUSDCe__factory.ts +1870 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridgeUSDT__factory.ts +1870 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridgeWADA__factory.ts +1870 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridgeWBTC__factory.ts +1870 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridgeWETH__factory.ts +1870 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridge__factory.ts +1444 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridgegCoti__factory.ts +1870 -0
- package/typechain-types/factories/contracts/privacyBridge/index.ts +12 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/IPrivateERC20__factory.ts +481 -35
- package/typechain-types/factories/contracts/token/PrivateERC20/ITokenReceiverEncrypted__factory.ts +53 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/ITokenReceiver__factory.ts +54 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/PrivateERC20__factory.ts +812 -52
- package/typechain-types/factories/contracts/token/PrivateERC20/index.ts +3 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/tokens/PrivateBridgedUSDC__factory.ts +1471 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/tokens/PrivateCOTITreasuryGovernanceToken__factory.ts +1477 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/tokens/PrivateCOTI__factory.ts +1468 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/tokens/PrivateTetherUSD__factory.ts +1471 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/tokens/PrivateWrappedADA__factory.ts +1471 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/tokens/PrivateWrappedBTC__factory.ts +1471 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/tokens/PrivateWrappedEther__factory.ts +1477 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/tokens/index.ts +10 -0
- package/typechain-types/factories/contracts/token/index.ts +1 -0
- package/typechain-types/factories/contracts/token/points/CotiTokenPoints004.sol/COTITokenPoints004__factory.ts +992 -0
- package/typechain-types/factories/contracts/token/points/CotiTokenPoints004__factory.ts +992 -0
- package/typechain-types/factories/contracts/token/points/index.ts +4 -0
- package/typechain-types/factories/contracts/utils/mpc/MpcCore__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +1414 -118
- package/typechain-types/index.ts +138 -2
- package/contracts/mocks/utils/mpc/ArithmeticTestsContract.sol +0 -408
- package/typechain-types/contracts/mocks/utils/mpc/Arithmetic128BitTestsContract.ts +0 -341
- package/typechain-types/contracts/mocks/utils/mpc/Arithmetic256BitTestsContract.ts +0 -347
- package/typechain-types/contracts/mocks/utils/mpc/Bitwise256BitTestsContract.ts +0 -186
- package/typechain-types/contracts/mocks/utils/mpc/Comparison128BitTestsContract.ts +0 -260
- package/typechain-types/contracts/mocks/utils/mpc/Comparison256BitTestsContract.ts +0 -260
- package/typechain-types/contracts/mocks/utils/mpc/Miscellaneous128BitTestsContract.ts +0 -302
- package/typechain-types/contracts/mocks/utils/mpc/Miscellaneous256BitTestsContract.ts +0 -322
- package/typechain-types/factories/contracts/mocks/utils/mpc/Arithmetic128BitTestsContract__factory.ts +0 -349
- package/typechain-types/factories/contracts/mocks/utils/mpc/Arithmetic256BitTestsContract__factory.ts +0 -364
- package/typechain-types/factories/contracts/mocks/utils/mpc/Bitwise128BitTestsContract__factory.ts +0 -182
- package/typechain-types/factories/contracts/mocks/utils/mpc/Bitwise256BitTestsContract__factory.ts +0 -182
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison128BitTestsContract__factory.ts +0 -255
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison256BitTestsContract__factory.ts +0 -255
- package/typechain-types/factories/contracts/mocks/utils/mpc/Miscellaneous128BitTestsContract__factory.ts +0 -332
- package/typechain-types/factories/contracts/mocks/utils/mpc/Miscellaneous256BitTestsContract__factory.ts +0 -380
|
@@ -0,0 +1,1870 @@
|
|
|
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 {
|
|
11
|
+
Signer,
|
|
12
|
+
AddressLike,
|
|
13
|
+
ContractDeployTransaction,
|
|
14
|
+
ContractRunner,
|
|
15
|
+
} from "ethers";
|
|
16
|
+
import type { NonPayableOverrides } from "../../../common";
|
|
17
|
+
import type {
|
|
18
|
+
PrivacyBridgeWBTC,
|
|
19
|
+
PrivacyBridgeWBTCInterface,
|
|
20
|
+
} from "../../../contracts/privacyBridge/PrivacyBridgeWBTC";
|
|
21
|
+
|
|
22
|
+
const _abi = [
|
|
23
|
+
{
|
|
24
|
+
inputs: [
|
|
25
|
+
{
|
|
26
|
+
internalType: "address",
|
|
27
|
+
name: "_wbtc",
|
|
28
|
+
type: "address",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
internalType: "address",
|
|
32
|
+
name: "_privateWbtc",
|
|
33
|
+
type: "address",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
internalType: "address",
|
|
37
|
+
name: "_feeRecipient",
|
|
38
|
+
type: "address",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
internalType: "address",
|
|
42
|
+
name: "_rescueRecipient",
|
|
43
|
+
type: "address",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
internalType: "address",
|
|
47
|
+
name: "_priceOracle",
|
|
48
|
+
type: "address",
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
stateMutability: "nonpayable",
|
|
52
|
+
type: "constructor",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
inputs: [],
|
|
56
|
+
name: "AccessControlBadConfirmation",
|
|
57
|
+
type: "error",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
inputs: [
|
|
61
|
+
{
|
|
62
|
+
internalType: "address",
|
|
63
|
+
name: "account",
|
|
64
|
+
type: "address",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
internalType: "bytes32",
|
|
68
|
+
name: "neededRole",
|
|
69
|
+
type: "bytes32",
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
name: "AccessControlUnauthorizedAccount",
|
|
73
|
+
type: "error",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
inputs: [
|
|
77
|
+
{
|
|
78
|
+
internalType: "address",
|
|
79
|
+
name: "account",
|
|
80
|
+
type: "address",
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
name: "AddressBlacklisted",
|
|
84
|
+
type: "error",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
inputs: [],
|
|
88
|
+
name: "AmountTooLarge",
|
|
89
|
+
type: "error",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
inputs: [],
|
|
93
|
+
name: "AmountTooSmall",
|
|
94
|
+
type: "error",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
inputs: [],
|
|
98
|
+
name: "AmountZero",
|
|
99
|
+
type: "error",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
inputs: [],
|
|
103
|
+
name: "BridgePaused",
|
|
104
|
+
type: "error",
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
inputs: [],
|
|
108
|
+
name: "CannotRescueBridgeToken",
|
|
109
|
+
type: "error",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
inputs: [],
|
|
113
|
+
name: "DecimalsMismatch",
|
|
114
|
+
type: "error",
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
inputs: [],
|
|
118
|
+
name: "DepositBelowMinimum",
|
|
119
|
+
type: "error",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
inputs: [],
|
|
123
|
+
name: "DepositDisabled",
|
|
124
|
+
type: "error",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
inputs: [],
|
|
128
|
+
name: "DepositExceedsMaximum",
|
|
129
|
+
type: "error",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
inputs: [],
|
|
133
|
+
name: "EnforcedPause",
|
|
134
|
+
type: "error",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
inputs: [],
|
|
138
|
+
name: "EthTransferFailed",
|
|
139
|
+
type: "error",
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
inputs: [],
|
|
143
|
+
name: "ExpectedPause",
|
|
144
|
+
type: "error",
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
inputs: [],
|
|
148
|
+
name: "FeeRecipientNotSet",
|
|
149
|
+
type: "error",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
inputs: [],
|
|
153
|
+
name: "InsufficientAccumulatedFees",
|
|
154
|
+
type: "error",
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
inputs: [],
|
|
158
|
+
name: "InsufficientBridgeLiquidity",
|
|
159
|
+
type: "error",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
inputs: [],
|
|
163
|
+
name: "InsufficientCotiFee",
|
|
164
|
+
type: "error",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
inputs: [],
|
|
168
|
+
name: "InsufficientEthBalance",
|
|
169
|
+
type: "error",
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
inputs: [],
|
|
173
|
+
name: "InvalidAddress",
|
|
174
|
+
type: "error",
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
inputs: [],
|
|
178
|
+
name: "InvalidFee",
|
|
179
|
+
type: "error",
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
inputs: [],
|
|
183
|
+
name: "InvalidFeeConfiguration",
|
|
184
|
+
type: "error",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
inputs: [],
|
|
188
|
+
name: "InvalidLimitConfiguration",
|
|
189
|
+
type: "error",
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
inputs: [],
|
|
193
|
+
name: "InvalidOraclePrice",
|
|
194
|
+
type: "error",
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
inputs: [],
|
|
198
|
+
name: "InvalidPrivateTokenAddress",
|
|
199
|
+
type: "error",
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
inputs: [],
|
|
203
|
+
name: "InvalidScalingFactor",
|
|
204
|
+
type: "error",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
inputs: [],
|
|
208
|
+
name: "InvalidTokenAddress",
|
|
209
|
+
type: "error",
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
inputs: [],
|
|
213
|
+
name: "InvalidTokenSender",
|
|
214
|
+
type: "error",
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
inputs: [],
|
|
218
|
+
name: "NativeFeeRequiredForTransferAndCallWithdraw",
|
|
219
|
+
type: "error",
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
inputs: [
|
|
223
|
+
{
|
|
224
|
+
internalType: "uint256",
|
|
225
|
+
name: "lastUpdated",
|
|
226
|
+
type: "uint256",
|
|
227
|
+
},
|
|
228
|
+
],
|
|
229
|
+
name: "OracleLastUpdatedInFuture",
|
|
230
|
+
type: "error",
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
inputs: [],
|
|
234
|
+
name: "OracleMaxAgeZeroDisallowed",
|
|
235
|
+
type: "error",
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
inputs: [
|
|
239
|
+
{
|
|
240
|
+
internalType: "uint256",
|
|
241
|
+
name: "oracleLastUpdated",
|
|
242
|
+
type: "uint256",
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
internalType: "uint256",
|
|
246
|
+
name: "blockTimestamp",
|
|
247
|
+
type: "uint256",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
internalType: "uint256",
|
|
251
|
+
name: "maxOracleAge",
|
|
252
|
+
type: "uint256",
|
|
253
|
+
},
|
|
254
|
+
],
|
|
255
|
+
name: "OraclePriceStale",
|
|
256
|
+
type: "error",
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
inputs: [
|
|
260
|
+
{
|
|
261
|
+
internalType: "uint256",
|
|
262
|
+
name: "expected",
|
|
263
|
+
type: "uint256",
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
internalType: "uint256",
|
|
267
|
+
name: "actual",
|
|
268
|
+
type: "uint256",
|
|
269
|
+
},
|
|
270
|
+
],
|
|
271
|
+
name: "OracleTimestampMismatch",
|
|
272
|
+
type: "error",
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
inputs: [
|
|
276
|
+
{
|
|
277
|
+
internalType: "address",
|
|
278
|
+
name: "owner",
|
|
279
|
+
type: "address",
|
|
280
|
+
},
|
|
281
|
+
],
|
|
282
|
+
name: "OwnableInvalidOwner",
|
|
283
|
+
type: "error",
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
inputs: [
|
|
287
|
+
{
|
|
288
|
+
internalType: "address",
|
|
289
|
+
name: "account",
|
|
290
|
+
type: "address",
|
|
291
|
+
},
|
|
292
|
+
],
|
|
293
|
+
name: "OwnableUnauthorizedAccount",
|
|
294
|
+
type: "error",
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
inputs: [],
|
|
298
|
+
name: "PriceOracleNotSet",
|
|
299
|
+
type: "error",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
inputs: [],
|
|
303
|
+
name: "ReentrancyGuardReentrantCall",
|
|
304
|
+
type: "error",
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
inputs: [
|
|
308
|
+
{
|
|
309
|
+
internalType: "address",
|
|
310
|
+
name: "token",
|
|
311
|
+
type: "address",
|
|
312
|
+
},
|
|
313
|
+
],
|
|
314
|
+
name: "SafeERC20FailedOperation",
|
|
315
|
+
type: "error",
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
inputs: [],
|
|
319
|
+
name: "TokenTransferFailed",
|
|
320
|
+
type: "error",
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
inputs: [
|
|
324
|
+
{
|
|
325
|
+
internalType: "uint256",
|
|
326
|
+
name: "expected",
|
|
327
|
+
type: "uint256",
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
internalType: "uint256",
|
|
331
|
+
name: "received",
|
|
332
|
+
type: "uint256",
|
|
333
|
+
},
|
|
334
|
+
],
|
|
335
|
+
name: "UnexpectedTransferBalance",
|
|
336
|
+
type: "error",
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
inputs: [],
|
|
340
|
+
name: "WithdrawBelowMinimum",
|
|
341
|
+
type: "error",
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
inputs: [],
|
|
345
|
+
name: "WithdrawExceedsMaximum",
|
|
346
|
+
type: "error",
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
anonymous: false,
|
|
350
|
+
inputs: [
|
|
351
|
+
{
|
|
352
|
+
indexed: true,
|
|
353
|
+
internalType: "address",
|
|
354
|
+
name: "account",
|
|
355
|
+
type: "address",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
indexed: true,
|
|
359
|
+
internalType: "address",
|
|
360
|
+
name: "by",
|
|
361
|
+
type: "address",
|
|
362
|
+
},
|
|
363
|
+
],
|
|
364
|
+
name: "Blacklisted",
|
|
365
|
+
type: "event",
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
anonymous: false,
|
|
369
|
+
inputs: [
|
|
370
|
+
{
|
|
371
|
+
indexed: true,
|
|
372
|
+
internalType: "address",
|
|
373
|
+
name: "feeRecipient",
|
|
374
|
+
type: "address",
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
indexed: false,
|
|
378
|
+
internalType: "uint256",
|
|
379
|
+
name: "amount",
|
|
380
|
+
type: "uint256",
|
|
381
|
+
},
|
|
382
|
+
],
|
|
383
|
+
name: "CotiFeesWithdrawn",
|
|
384
|
+
type: "event",
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
anonymous: false,
|
|
388
|
+
inputs: [
|
|
389
|
+
{
|
|
390
|
+
indexed: true,
|
|
391
|
+
internalType: "address",
|
|
392
|
+
name: "user",
|
|
393
|
+
type: "address",
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
indexed: false,
|
|
397
|
+
internalType: "uint256",
|
|
398
|
+
name: "grossAmount",
|
|
399
|
+
type: "uint256",
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
indexed: false,
|
|
403
|
+
internalType: "uint256",
|
|
404
|
+
name: "netAmount",
|
|
405
|
+
type: "uint256",
|
|
406
|
+
},
|
|
407
|
+
],
|
|
408
|
+
name: "Deposit",
|
|
409
|
+
type: "event",
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
anonymous: false,
|
|
413
|
+
inputs: [
|
|
414
|
+
{
|
|
415
|
+
indexed: false,
|
|
416
|
+
internalType: "bool",
|
|
417
|
+
name: "enabled",
|
|
418
|
+
type: "bool",
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
indexed: true,
|
|
422
|
+
internalType: "address",
|
|
423
|
+
name: "by",
|
|
424
|
+
type: "address",
|
|
425
|
+
},
|
|
426
|
+
],
|
|
427
|
+
name: "DepositEnabledUpdated",
|
|
428
|
+
type: "event",
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
anonymous: false,
|
|
432
|
+
inputs: [
|
|
433
|
+
{
|
|
434
|
+
indexed: false,
|
|
435
|
+
internalType: "string",
|
|
436
|
+
name: "feeType",
|
|
437
|
+
type: "string",
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
indexed: false,
|
|
441
|
+
internalType: "uint256",
|
|
442
|
+
name: "fixedFee",
|
|
443
|
+
type: "uint256",
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
indexed: false,
|
|
447
|
+
internalType: "uint256",
|
|
448
|
+
name: "percentageBps",
|
|
449
|
+
type: "uint256",
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
indexed: false,
|
|
453
|
+
internalType: "uint256",
|
|
454
|
+
name: "maxFee",
|
|
455
|
+
type: "uint256",
|
|
456
|
+
},
|
|
457
|
+
],
|
|
458
|
+
name: "DynamicFeeUpdated",
|
|
459
|
+
type: "event",
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
anonymous: false,
|
|
463
|
+
inputs: [
|
|
464
|
+
{
|
|
465
|
+
indexed: true,
|
|
466
|
+
internalType: "address",
|
|
467
|
+
name: "token",
|
|
468
|
+
type: "address",
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
indexed: true,
|
|
472
|
+
internalType: "address",
|
|
473
|
+
name: "to",
|
|
474
|
+
type: "address",
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
indexed: false,
|
|
478
|
+
internalType: "uint256",
|
|
479
|
+
name: "amount",
|
|
480
|
+
type: "uint256",
|
|
481
|
+
},
|
|
482
|
+
],
|
|
483
|
+
name: "ERC20Rescued",
|
|
484
|
+
type: "event",
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
anonymous: false,
|
|
488
|
+
inputs: [
|
|
489
|
+
{
|
|
490
|
+
indexed: true,
|
|
491
|
+
internalType: "address",
|
|
492
|
+
name: "to",
|
|
493
|
+
type: "address",
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
indexed: false,
|
|
497
|
+
internalType: "uint256",
|
|
498
|
+
name: "amount",
|
|
499
|
+
type: "uint256",
|
|
500
|
+
},
|
|
501
|
+
],
|
|
502
|
+
name: "FeesWithdrawn",
|
|
503
|
+
type: "event",
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
anonymous: false,
|
|
507
|
+
inputs: [
|
|
508
|
+
{
|
|
509
|
+
indexed: false,
|
|
510
|
+
internalType: "uint256",
|
|
511
|
+
name: "minDeposit",
|
|
512
|
+
type: "uint256",
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
indexed: false,
|
|
516
|
+
internalType: "uint256",
|
|
517
|
+
name: "maxDeposit",
|
|
518
|
+
type: "uint256",
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
indexed: false,
|
|
522
|
+
internalType: "uint256",
|
|
523
|
+
name: "minWithdraw",
|
|
524
|
+
type: "uint256",
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
indexed: false,
|
|
528
|
+
internalType: "uint256",
|
|
529
|
+
name: "maxWithdraw",
|
|
530
|
+
type: "uint256",
|
|
531
|
+
},
|
|
532
|
+
],
|
|
533
|
+
name: "LimitsUpdated",
|
|
534
|
+
type: "event",
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
anonymous: false,
|
|
538
|
+
inputs: [
|
|
539
|
+
{
|
|
540
|
+
indexed: false,
|
|
541
|
+
internalType: "uint256",
|
|
542
|
+
name: "maxOracleAge",
|
|
543
|
+
type: "uint256",
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
indexed: true,
|
|
547
|
+
internalType: "address",
|
|
548
|
+
name: "by",
|
|
549
|
+
type: "address",
|
|
550
|
+
},
|
|
551
|
+
],
|
|
552
|
+
name: "MaxOracleAgeUpdated",
|
|
553
|
+
type: "event",
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
anonymous: false,
|
|
557
|
+
inputs: [
|
|
558
|
+
{
|
|
559
|
+
indexed: true,
|
|
560
|
+
internalType: "address",
|
|
561
|
+
name: "user",
|
|
562
|
+
type: "address",
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
indexed: false,
|
|
566
|
+
internalType: "uint256",
|
|
567
|
+
name: "amount",
|
|
568
|
+
type: "uint256",
|
|
569
|
+
},
|
|
570
|
+
],
|
|
571
|
+
name: "NativeRefundExcessPushFailed",
|
|
572
|
+
type: "event",
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
anonymous: false,
|
|
576
|
+
inputs: [
|
|
577
|
+
{
|
|
578
|
+
indexed: true,
|
|
579
|
+
internalType: "address",
|
|
580
|
+
name: "account",
|
|
581
|
+
type: "address",
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
indexed: true,
|
|
585
|
+
internalType: "address",
|
|
586
|
+
name: "by",
|
|
587
|
+
type: "address",
|
|
588
|
+
},
|
|
589
|
+
],
|
|
590
|
+
name: "OperatorAdded",
|
|
591
|
+
type: "event",
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
anonymous: false,
|
|
595
|
+
inputs: [
|
|
596
|
+
{
|
|
597
|
+
indexed: true,
|
|
598
|
+
internalType: "address",
|
|
599
|
+
name: "account",
|
|
600
|
+
type: "address",
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
indexed: true,
|
|
604
|
+
internalType: "address",
|
|
605
|
+
name: "by",
|
|
606
|
+
type: "address",
|
|
607
|
+
},
|
|
608
|
+
],
|
|
609
|
+
name: "OperatorRemoved",
|
|
610
|
+
type: "event",
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
anonymous: false,
|
|
614
|
+
inputs: [
|
|
615
|
+
{
|
|
616
|
+
indexed: true,
|
|
617
|
+
internalType: "address",
|
|
618
|
+
name: "previousOwner",
|
|
619
|
+
type: "address",
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
indexed: true,
|
|
623
|
+
internalType: "address",
|
|
624
|
+
name: "newOwner",
|
|
625
|
+
type: "address",
|
|
626
|
+
},
|
|
627
|
+
],
|
|
628
|
+
name: "OwnershipTransferred",
|
|
629
|
+
type: "event",
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
anonymous: false,
|
|
633
|
+
inputs: [
|
|
634
|
+
{
|
|
635
|
+
indexed: false,
|
|
636
|
+
internalType: "address",
|
|
637
|
+
name: "account",
|
|
638
|
+
type: "address",
|
|
639
|
+
},
|
|
640
|
+
],
|
|
641
|
+
name: "Paused",
|
|
642
|
+
type: "event",
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
anonymous: false,
|
|
646
|
+
inputs: [
|
|
647
|
+
{
|
|
648
|
+
indexed: true,
|
|
649
|
+
internalType: "address",
|
|
650
|
+
name: "oldOracle",
|
|
651
|
+
type: "address",
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
indexed: true,
|
|
655
|
+
internalType: "address",
|
|
656
|
+
name: "newOracle",
|
|
657
|
+
type: "address",
|
|
658
|
+
},
|
|
659
|
+
],
|
|
660
|
+
name: "PriceOracleUpdated",
|
|
661
|
+
type: "event",
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
anonymous: false,
|
|
665
|
+
inputs: [
|
|
666
|
+
{
|
|
667
|
+
indexed: true,
|
|
668
|
+
internalType: "address",
|
|
669
|
+
name: "user",
|
|
670
|
+
type: "address",
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
indexed: false,
|
|
674
|
+
internalType: "uint256",
|
|
675
|
+
name: "amount",
|
|
676
|
+
type: "uint256",
|
|
677
|
+
},
|
|
678
|
+
],
|
|
679
|
+
name: "RefundableNativeExcessClaimed",
|
|
680
|
+
type: "event",
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
anonymous: false,
|
|
684
|
+
inputs: [
|
|
685
|
+
{
|
|
686
|
+
indexed: true,
|
|
687
|
+
internalType: "bytes32",
|
|
688
|
+
name: "role",
|
|
689
|
+
type: "bytes32",
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
indexed: true,
|
|
693
|
+
internalType: "bytes32",
|
|
694
|
+
name: "previousAdminRole",
|
|
695
|
+
type: "bytes32",
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
indexed: true,
|
|
699
|
+
internalType: "bytes32",
|
|
700
|
+
name: "newAdminRole",
|
|
701
|
+
type: "bytes32",
|
|
702
|
+
},
|
|
703
|
+
],
|
|
704
|
+
name: "RoleAdminChanged",
|
|
705
|
+
type: "event",
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
anonymous: false,
|
|
709
|
+
inputs: [
|
|
710
|
+
{
|
|
711
|
+
indexed: true,
|
|
712
|
+
internalType: "bytes32",
|
|
713
|
+
name: "role",
|
|
714
|
+
type: "bytes32",
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
indexed: true,
|
|
718
|
+
internalType: "address",
|
|
719
|
+
name: "account",
|
|
720
|
+
type: "address",
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
indexed: true,
|
|
724
|
+
internalType: "address",
|
|
725
|
+
name: "sender",
|
|
726
|
+
type: "address",
|
|
727
|
+
},
|
|
728
|
+
],
|
|
729
|
+
name: "RoleGranted",
|
|
730
|
+
type: "event",
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
anonymous: false,
|
|
734
|
+
inputs: [
|
|
735
|
+
{
|
|
736
|
+
indexed: true,
|
|
737
|
+
internalType: "bytes32",
|
|
738
|
+
name: "role",
|
|
739
|
+
type: "bytes32",
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
indexed: true,
|
|
743
|
+
internalType: "address",
|
|
744
|
+
name: "account",
|
|
745
|
+
type: "address",
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
indexed: true,
|
|
749
|
+
internalType: "address",
|
|
750
|
+
name: "sender",
|
|
751
|
+
type: "address",
|
|
752
|
+
},
|
|
753
|
+
],
|
|
754
|
+
name: "RoleRevoked",
|
|
755
|
+
type: "event",
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
anonymous: false,
|
|
759
|
+
inputs: [
|
|
760
|
+
{
|
|
761
|
+
indexed: true,
|
|
762
|
+
internalType: "address",
|
|
763
|
+
name: "account",
|
|
764
|
+
type: "address",
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
indexed: true,
|
|
768
|
+
internalType: "address",
|
|
769
|
+
name: "by",
|
|
770
|
+
type: "address",
|
|
771
|
+
},
|
|
772
|
+
],
|
|
773
|
+
name: "UnBlacklisted",
|
|
774
|
+
type: "event",
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
anonymous: false,
|
|
778
|
+
inputs: [
|
|
779
|
+
{
|
|
780
|
+
indexed: false,
|
|
781
|
+
internalType: "address",
|
|
782
|
+
name: "account",
|
|
783
|
+
type: "address",
|
|
784
|
+
},
|
|
785
|
+
],
|
|
786
|
+
name: "Unpaused",
|
|
787
|
+
type: "event",
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
anonymous: false,
|
|
791
|
+
inputs: [
|
|
792
|
+
{
|
|
793
|
+
indexed: true,
|
|
794
|
+
internalType: "address",
|
|
795
|
+
name: "user",
|
|
796
|
+
type: "address",
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
indexed: false,
|
|
800
|
+
internalType: "uint256",
|
|
801
|
+
name: "grossAmount",
|
|
802
|
+
type: "uint256",
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
indexed: false,
|
|
806
|
+
internalType: "uint256",
|
|
807
|
+
name: "netAmount",
|
|
808
|
+
type: "uint256",
|
|
809
|
+
},
|
|
810
|
+
],
|
|
811
|
+
name: "Withdraw",
|
|
812
|
+
type: "event",
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
inputs: [],
|
|
816
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
817
|
+
outputs: [
|
|
818
|
+
{
|
|
819
|
+
internalType: "bytes32",
|
|
820
|
+
name: "",
|
|
821
|
+
type: "bytes32",
|
|
822
|
+
},
|
|
823
|
+
],
|
|
824
|
+
stateMutability: "view",
|
|
825
|
+
type: "function",
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
inputs: [],
|
|
829
|
+
name: "DEFAULT_MAX_ORACLE_AGE",
|
|
830
|
+
outputs: [
|
|
831
|
+
{
|
|
832
|
+
internalType: "uint256",
|
|
833
|
+
name: "",
|
|
834
|
+
type: "uint256",
|
|
835
|
+
},
|
|
836
|
+
],
|
|
837
|
+
stateMutability: "view",
|
|
838
|
+
type: "function",
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
inputs: [],
|
|
842
|
+
name: "FEE_DIVISOR",
|
|
843
|
+
outputs: [
|
|
844
|
+
{
|
|
845
|
+
internalType: "uint256",
|
|
846
|
+
name: "",
|
|
847
|
+
type: "uint256",
|
|
848
|
+
},
|
|
849
|
+
],
|
|
850
|
+
stateMutability: "view",
|
|
851
|
+
type: "function",
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
inputs: [],
|
|
855
|
+
name: "MAX_FEE_UNITS",
|
|
856
|
+
outputs: [
|
|
857
|
+
{
|
|
858
|
+
internalType: "uint256",
|
|
859
|
+
name: "",
|
|
860
|
+
type: "uint256",
|
|
861
|
+
},
|
|
862
|
+
],
|
|
863
|
+
stateMutability: "view",
|
|
864
|
+
type: "function",
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
inputs: [],
|
|
868
|
+
name: "OPERATOR_ROLE",
|
|
869
|
+
outputs: [
|
|
870
|
+
{
|
|
871
|
+
internalType: "bytes32",
|
|
872
|
+
name: "",
|
|
873
|
+
type: "bytes32",
|
|
874
|
+
},
|
|
875
|
+
],
|
|
876
|
+
stateMutability: "view",
|
|
877
|
+
type: "function",
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
inputs: [],
|
|
881
|
+
name: "accumulatedCotiFees",
|
|
882
|
+
outputs: [
|
|
883
|
+
{
|
|
884
|
+
internalType: "uint256",
|
|
885
|
+
name: "",
|
|
886
|
+
type: "uint256",
|
|
887
|
+
},
|
|
888
|
+
],
|
|
889
|
+
stateMutability: "view",
|
|
890
|
+
type: "function",
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
inputs: [
|
|
894
|
+
{
|
|
895
|
+
internalType: "address",
|
|
896
|
+
name: "account",
|
|
897
|
+
type: "address",
|
|
898
|
+
},
|
|
899
|
+
],
|
|
900
|
+
name: "addOperator",
|
|
901
|
+
outputs: [],
|
|
902
|
+
stateMutability: "nonpayable",
|
|
903
|
+
type: "function",
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
inputs: [
|
|
907
|
+
{
|
|
908
|
+
internalType: "address",
|
|
909
|
+
name: "account",
|
|
910
|
+
type: "address",
|
|
911
|
+
},
|
|
912
|
+
],
|
|
913
|
+
name: "addToBlacklist",
|
|
914
|
+
outputs: [],
|
|
915
|
+
stateMutability: "nonpayable",
|
|
916
|
+
type: "function",
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
inputs: [
|
|
920
|
+
{
|
|
921
|
+
internalType: "address",
|
|
922
|
+
name: "",
|
|
923
|
+
type: "address",
|
|
924
|
+
},
|
|
925
|
+
],
|
|
926
|
+
name: "blacklisted",
|
|
927
|
+
outputs: [
|
|
928
|
+
{
|
|
929
|
+
internalType: "bool",
|
|
930
|
+
name: "",
|
|
931
|
+
type: "bool",
|
|
932
|
+
},
|
|
933
|
+
],
|
|
934
|
+
stateMutability: "view",
|
|
935
|
+
type: "function",
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
inputs: [],
|
|
939
|
+
name: "claimRefundableNativeExcess",
|
|
940
|
+
outputs: [],
|
|
941
|
+
stateMutability: "nonpayable",
|
|
942
|
+
type: "function",
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
inputs: [
|
|
946
|
+
{
|
|
947
|
+
internalType: "uint256",
|
|
948
|
+
name: "tokenAmount",
|
|
949
|
+
type: "uint256",
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
internalType: "uint256",
|
|
953
|
+
name: "fixedFee",
|
|
954
|
+
type: "uint256",
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
internalType: "uint256",
|
|
958
|
+
name: "percentageBps",
|
|
959
|
+
type: "uint256",
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
internalType: "uint256",
|
|
963
|
+
name: "maxFee",
|
|
964
|
+
type: "uint256",
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
internalType: "string",
|
|
968
|
+
name: "_tokenSymbol",
|
|
969
|
+
type: "string",
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
internalType: "uint8",
|
|
973
|
+
name: "_tokenDecimals",
|
|
974
|
+
type: "uint8",
|
|
975
|
+
},
|
|
976
|
+
],
|
|
977
|
+
name: "computeErc20Fee",
|
|
978
|
+
outputs: [
|
|
979
|
+
{
|
|
980
|
+
internalType: "uint256",
|
|
981
|
+
name: "",
|
|
982
|
+
type: "uint256",
|
|
983
|
+
},
|
|
984
|
+
],
|
|
985
|
+
stateMutability: "view",
|
|
986
|
+
type: "function",
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
inputs: [
|
|
990
|
+
{
|
|
991
|
+
internalType: "uint256",
|
|
992
|
+
name: "amount",
|
|
993
|
+
type: "uint256",
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
internalType: "uint256",
|
|
997
|
+
name: "cotiOracleTimestamp",
|
|
998
|
+
type: "uint256",
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
internalType: "uint256",
|
|
1002
|
+
name: "tokenOracleTimestamp",
|
|
1003
|
+
type: "uint256",
|
|
1004
|
+
},
|
|
1005
|
+
],
|
|
1006
|
+
name: "deposit",
|
|
1007
|
+
outputs: [],
|
|
1008
|
+
stateMutability: "payable",
|
|
1009
|
+
type: "function",
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
inputs: [],
|
|
1013
|
+
name: "depositFixedFee",
|
|
1014
|
+
outputs: [
|
|
1015
|
+
{
|
|
1016
|
+
internalType: "uint256",
|
|
1017
|
+
name: "",
|
|
1018
|
+
type: "uint256",
|
|
1019
|
+
},
|
|
1020
|
+
],
|
|
1021
|
+
stateMutability: "view",
|
|
1022
|
+
type: "function",
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
inputs: [],
|
|
1026
|
+
name: "depositMaxFee",
|
|
1027
|
+
outputs: [
|
|
1028
|
+
{
|
|
1029
|
+
internalType: "uint256",
|
|
1030
|
+
name: "",
|
|
1031
|
+
type: "uint256",
|
|
1032
|
+
},
|
|
1033
|
+
],
|
|
1034
|
+
stateMutability: "view",
|
|
1035
|
+
type: "function",
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
inputs: [],
|
|
1039
|
+
name: "depositPercentageBps",
|
|
1040
|
+
outputs: [
|
|
1041
|
+
{
|
|
1042
|
+
internalType: "uint256",
|
|
1043
|
+
name: "",
|
|
1044
|
+
type: "uint256",
|
|
1045
|
+
},
|
|
1046
|
+
],
|
|
1047
|
+
stateMutability: "view",
|
|
1048
|
+
type: "function",
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
inputs: [
|
|
1052
|
+
{
|
|
1053
|
+
internalType: "uint256",
|
|
1054
|
+
name: "tokenAmount",
|
|
1055
|
+
type: "uint256",
|
|
1056
|
+
},
|
|
1057
|
+
],
|
|
1058
|
+
name: "estimateDepositFee",
|
|
1059
|
+
outputs: [
|
|
1060
|
+
{
|
|
1061
|
+
internalType: "uint256",
|
|
1062
|
+
name: "fee",
|
|
1063
|
+
type: "uint256",
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
internalType: "uint256",
|
|
1067
|
+
name: "cotiLastUpdated",
|
|
1068
|
+
type: "uint256",
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
internalType: "uint256",
|
|
1072
|
+
name: "tokenLastUpdated",
|
|
1073
|
+
type: "uint256",
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
internalType: "uint256",
|
|
1077
|
+
name: "blockTimestamp",
|
|
1078
|
+
type: "uint256",
|
|
1079
|
+
},
|
|
1080
|
+
],
|
|
1081
|
+
stateMutability: "view",
|
|
1082
|
+
type: "function",
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
inputs: [
|
|
1086
|
+
{
|
|
1087
|
+
internalType: "uint256",
|
|
1088
|
+
name: "tokenAmount",
|
|
1089
|
+
type: "uint256",
|
|
1090
|
+
},
|
|
1091
|
+
],
|
|
1092
|
+
name: "estimateWithdrawFee",
|
|
1093
|
+
outputs: [
|
|
1094
|
+
{
|
|
1095
|
+
internalType: "uint256",
|
|
1096
|
+
name: "fee",
|
|
1097
|
+
type: "uint256",
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
internalType: "uint256",
|
|
1101
|
+
name: "cotiLastUpdated",
|
|
1102
|
+
type: "uint256",
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
internalType: "uint256",
|
|
1106
|
+
name: "tokenLastUpdated",
|
|
1107
|
+
type: "uint256",
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
internalType: "uint256",
|
|
1111
|
+
name: "blockTimestamp",
|
|
1112
|
+
type: "uint256",
|
|
1113
|
+
},
|
|
1114
|
+
],
|
|
1115
|
+
stateMutability: "view",
|
|
1116
|
+
type: "function",
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
inputs: [],
|
|
1120
|
+
name: "feeRecipient",
|
|
1121
|
+
outputs: [
|
|
1122
|
+
{
|
|
1123
|
+
internalType: "address",
|
|
1124
|
+
name: "",
|
|
1125
|
+
type: "address",
|
|
1126
|
+
},
|
|
1127
|
+
],
|
|
1128
|
+
stateMutability: "view",
|
|
1129
|
+
type: "function",
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
inputs: [
|
|
1133
|
+
{
|
|
1134
|
+
internalType: "bytes32",
|
|
1135
|
+
name: "role",
|
|
1136
|
+
type: "bytes32",
|
|
1137
|
+
},
|
|
1138
|
+
],
|
|
1139
|
+
name: "getRoleAdmin",
|
|
1140
|
+
outputs: [
|
|
1141
|
+
{
|
|
1142
|
+
internalType: "bytes32",
|
|
1143
|
+
name: "",
|
|
1144
|
+
type: "bytes32",
|
|
1145
|
+
},
|
|
1146
|
+
],
|
|
1147
|
+
stateMutability: "view",
|
|
1148
|
+
type: "function",
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
inputs: [
|
|
1152
|
+
{
|
|
1153
|
+
internalType: "bytes32",
|
|
1154
|
+
name: "role",
|
|
1155
|
+
type: "bytes32",
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
internalType: "uint256",
|
|
1159
|
+
name: "index",
|
|
1160
|
+
type: "uint256",
|
|
1161
|
+
},
|
|
1162
|
+
],
|
|
1163
|
+
name: "getRoleMember",
|
|
1164
|
+
outputs: [
|
|
1165
|
+
{
|
|
1166
|
+
internalType: "address",
|
|
1167
|
+
name: "",
|
|
1168
|
+
type: "address",
|
|
1169
|
+
},
|
|
1170
|
+
],
|
|
1171
|
+
stateMutability: "view",
|
|
1172
|
+
type: "function",
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
inputs: [
|
|
1176
|
+
{
|
|
1177
|
+
internalType: "bytes32",
|
|
1178
|
+
name: "role",
|
|
1179
|
+
type: "bytes32",
|
|
1180
|
+
},
|
|
1181
|
+
],
|
|
1182
|
+
name: "getRoleMemberCount",
|
|
1183
|
+
outputs: [
|
|
1184
|
+
{
|
|
1185
|
+
internalType: "uint256",
|
|
1186
|
+
name: "",
|
|
1187
|
+
type: "uint256",
|
|
1188
|
+
},
|
|
1189
|
+
],
|
|
1190
|
+
stateMutability: "view",
|
|
1191
|
+
type: "function",
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
inputs: [
|
|
1195
|
+
{
|
|
1196
|
+
internalType: "bytes32",
|
|
1197
|
+
name: "role",
|
|
1198
|
+
type: "bytes32",
|
|
1199
|
+
},
|
|
1200
|
+
],
|
|
1201
|
+
name: "getRoleMembers",
|
|
1202
|
+
outputs: [
|
|
1203
|
+
{
|
|
1204
|
+
internalType: "address[]",
|
|
1205
|
+
name: "",
|
|
1206
|
+
type: "address[]",
|
|
1207
|
+
},
|
|
1208
|
+
],
|
|
1209
|
+
stateMutability: "view",
|
|
1210
|
+
type: "function",
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
inputs: [
|
|
1214
|
+
{
|
|
1215
|
+
internalType: "bytes32",
|
|
1216
|
+
name: "role",
|
|
1217
|
+
type: "bytes32",
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
internalType: "address",
|
|
1221
|
+
name: "account",
|
|
1222
|
+
type: "address",
|
|
1223
|
+
},
|
|
1224
|
+
],
|
|
1225
|
+
name: "grantRole",
|
|
1226
|
+
outputs: [],
|
|
1227
|
+
stateMutability: "nonpayable",
|
|
1228
|
+
type: "function",
|
|
1229
|
+
},
|
|
1230
|
+
{
|
|
1231
|
+
inputs: [
|
|
1232
|
+
{
|
|
1233
|
+
internalType: "bytes32",
|
|
1234
|
+
name: "role",
|
|
1235
|
+
type: "bytes32",
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
internalType: "address",
|
|
1239
|
+
name: "account",
|
|
1240
|
+
type: "address",
|
|
1241
|
+
},
|
|
1242
|
+
],
|
|
1243
|
+
name: "hasRole",
|
|
1244
|
+
outputs: [
|
|
1245
|
+
{
|
|
1246
|
+
internalType: "bool",
|
|
1247
|
+
name: "",
|
|
1248
|
+
type: "bool",
|
|
1249
|
+
},
|
|
1250
|
+
],
|
|
1251
|
+
stateMutability: "view",
|
|
1252
|
+
type: "function",
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
inputs: [],
|
|
1256
|
+
name: "isDepositEnabled",
|
|
1257
|
+
outputs: [
|
|
1258
|
+
{
|
|
1259
|
+
internalType: "bool",
|
|
1260
|
+
name: "",
|
|
1261
|
+
type: "bool",
|
|
1262
|
+
},
|
|
1263
|
+
],
|
|
1264
|
+
stateMutability: "view",
|
|
1265
|
+
type: "function",
|
|
1266
|
+
},
|
|
1267
|
+
{
|
|
1268
|
+
inputs: [
|
|
1269
|
+
{
|
|
1270
|
+
internalType: "address",
|
|
1271
|
+
name: "account",
|
|
1272
|
+
type: "address",
|
|
1273
|
+
},
|
|
1274
|
+
],
|
|
1275
|
+
name: "isOperator",
|
|
1276
|
+
outputs: [
|
|
1277
|
+
{
|
|
1278
|
+
internalType: "bool",
|
|
1279
|
+
name: "",
|
|
1280
|
+
type: "bool",
|
|
1281
|
+
},
|
|
1282
|
+
],
|
|
1283
|
+
stateMutability: "view",
|
|
1284
|
+
type: "function",
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
inputs: [],
|
|
1288
|
+
name: "maxDepositAmount",
|
|
1289
|
+
outputs: [
|
|
1290
|
+
{
|
|
1291
|
+
internalType: "uint256",
|
|
1292
|
+
name: "",
|
|
1293
|
+
type: "uint256",
|
|
1294
|
+
},
|
|
1295
|
+
],
|
|
1296
|
+
stateMutability: "view",
|
|
1297
|
+
type: "function",
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
inputs: [],
|
|
1301
|
+
name: "maxOracleAge",
|
|
1302
|
+
outputs: [
|
|
1303
|
+
{
|
|
1304
|
+
internalType: "uint256",
|
|
1305
|
+
name: "",
|
|
1306
|
+
type: "uint256",
|
|
1307
|
+
},
|
|
1308
|
+
],
|
|
1309
|
+
stateMutability: "view",
|
|
1310
|
+
type: "function",
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
inputs: [],
|
|
1314
|
+
name: "maxWithdrawAmount",
|
|
1315
|
+
outputs: [
|
|
1316
|
+
{
|
|
1317
|
+
internalType: "uint256",
|
|
1318
|
+
name: "",
|
|
1319
|
+
type: "uint256",
|
|
1320
|
+
},
|
|
1321
|
+
],
|
|
1322
|
+
stateMutability: "view",
|
|
1323
|
+
type: "function",
|
|
1324
|
+
},
|
|
1325
|
+
{
|
|
1326
|
+
inputs: [],
|
|
1327
|
+
name: "minDepositAmount",
|
|
1328
|
+
outputs: [
|
|
1329
|
+
{
|
|
1330
|
+
internalType: "uint256",
|
|
1331
|
+
name: "",
|
|
1332
|
+
type: "uint256",
|
|
1333
|
+
},
|
|
1334
|
+
],
|
|
1335
|
+
stateMutability: "view",
|
|
1336
|
+
type: "function",
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
inputs: [],
|
|
1340
|
+
name: "minWithdrawAmount",
|
|
1341
|
+
outputs: [
|
|
1342
|
+
{
|
|
1343
|
+
internalType: "uint256",
|
|
1344
|
+
name: "",
|
|
1345
|
+
type: "uint256",
|
|
1346
|
+
},
|
|
1347
|
+
],
|
|
1348
|
+
stateMutability: "view",
|
|
1349
|
+
type: "function",
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
inputs: [],
|
|
1353
|
+
name: "owner",
|
|
1354
|
+
outputs: [
|
|
1355
|
+
{
|
|
1356
|
+
internalType: "address",
|
|
1357
|
+
name: "",
|
|
1358
|
+
type: "address",
|
|
1359
|
+
},
|
|
1360
|
+
],
|
|
1361
|
+
stateMutability: "view",
|
|
1362
|
+
type: "function",
|
|
1363
|
+
},
|
|
1364
|
+
{
|
|
1365
|
+
inputs: [],
|
|
1366
|
+
name: "pause",
|
|
1367
|
+
outputs: [],
|
|
1368
|
+
stateMutability: "nonpayable",
|
|
1369
|
+
type: "function",
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
inputs: [],
|
|
1373
|
+
name: "paused",
|
|
1374
|
+
outputs: [
|
|
1375
|
+
{
|
|
1376
|
+
internalType: "bool",
|
|
1377
|
+
name: "",
|
|
1378
|
+
type: "bool",
|
|
1379
|
+
},
|
|
1380
|
+
],
|
|
1381
|
+
stateMutability: "view",
|
|
1382
|
+
type: "function",
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
inputs: [],
|
|
1386
|
+
name: "priceOracle",
|
|
1387
|
+
outputs: [
|
|
1388
|
+
{
|
|
1389
|
+
internalType: "address",
|
|
1390
|
+
name: "",
|
|
1391
|
+
type: "address",
|
|
1392
|
+
},
|
|
1393
|
+
],
|
|
1394
|
+
stateMutability: "view",
|
|
1395
|
+
type: "function",
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
inputs: [],
|
|
1399
|
+
name: "privateToken",
|
|
1400
|
+
outputs: [
|
|
1401
|
+
{
|
|
1402
|
+
internalType: "contract IPrivateERC20",
|
|
1403
|
+
name: "",
|
|
1404
|
+
type: "address",
|
|
1405
|
+
},
|
|
1406
|
+
],
|
|
1407
|
+
stateMutability: "view",
|
|
1408
|
+
type: "function",
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
inputs: [
|
|
1412
|
+
{
|
|
1413
|
+
internalType: "address",
|
|
1414
|
+
name: "",
|
|
1415
|
+
type: "address",
|
|
1416
|
+
},
|
|
1417
|
+
],
|
|
1418
|
+
name: "refundableNativeExcess",
|
|
1419
|
+
outputs: [
|
|
1420
|
+
{
|
|
1421
|
+
internalType: "uint256",
|
|
1422
|
+
name: "",
|
|
1423
|
+
type: "uint256",
|
|
1424
|
+
},
|
|
1425
|
+
],
|
|
1426
|
+
stateMutability: "view",
|
|
1427
|
+
type: "function",
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
inputs: [
|
|
1431
|
+
{
|
|
1432
|
+
internalType: "address",
|
|
1433
|
+
name: "account",
|
|
1434
|
+
type: "address",
|
|
1435
|
+
},
|
|
1436
|
+
],
|
|
1437
|
+
name: "removeFromBlacklist",
|
|
1438
|
+
outputs: [],
|
|
1439
|
+
stateMutability: "nonpayable",
|
|
1440
|
+
type: "function",
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
inputs: [
|
|
1444
|
+
{
|
|
1445
|
+
internalType: "address",
|
|
1446
|
+
name: "account",
|
|
1447
|
+
type: "address",
|
|
1448
|
+
},
|
|
1449
|
+
],
|
|
1450
|
+
name: "removeOperator",
|
|
1451
|
+
outputs: [],
|
|
1452
|
+
stateMutability: "nonpayable",
|
|
1453
|
+
type: "function",
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
inputs: [],
|
|
1457
|
+
name: "renounceOwnership",
|
|
1458
|
+
outputs: [],
|
|
1459
|
+
stateMutability: "nonpayable",
|
|
1460
|
+
type: "function",
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
inputs: [
|
|
1464
|
+
{
|
|
1465
|
+
internalType: "bytes32",
|
|
1466
|
+
name: "role",
|
|
1467
|
+
type: "bytes32",
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
internalType: "address",
|
|
1471
|
+
name: "callerConfirmation",
|
|
1472
|
+
type: "address",
|
|
1473
|
+
},
|
|
1474
|
+
],
|
|
1475
|
+
name: "renounceRole",
|
|
1476
|
+
outputs: [],
|
|
1477
|
+
stateMutability: "nonpayable",
|
|
1478
|
+
type: "function",
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
inputs: [
|
|
1482
|
+
{
|
|
1483
|
+
internalType: "address",
|
|
1484
|
+
name: "_token",
|
|
1485
|
+
type: "address",
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
internalType: "uint256",
|
|
1489
|
+
name: "amount",
|
|
1490
|
+
type: "uint256",
|
|
1491
|
+
},
|
|
1492
|
+
],
|
|
1493
|
+
name: "rescueERC20",
|
|
1494
|
+
outputs: [],
|
|
1495
|
+
stateMutability: "nonpayable",
|
|
1496
|
+
type: "function",
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
inputs: [],
|
|
1500
|
+
name: "rescueRecipient",
|
|
1501
|
+
outputs: [
|
|
1502
|
+
{
|
|
1503
|
+
internalType: "address",
|
|
1504
|
+
name: "",
|
|
1505
|
+
type: "address",
|
|
1506
|
+
},
|
|
1507
|
+
],
|
|
1508
|
+
stateMutability: "view",
|
|
1509
|
+
type: "function",
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
inputs: [
|
|
1513
|
+
{
|
|
1514
|
+
internalType: "bytes32",
|
|
1515
|
+
name: "role",
|
|
1516
|
+
type: "bytes32",
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
internalType: "address",
|
|
1520
|
+
name: "account",
|
|
1521
|
+
type: "address",
|
|
1522
|
+
},
|
|
1523
|
+
],
|
|
1524
|
+
name: "revokeRole",
|
|
1525
|
+
outputs: [],
|
|
1526
|
+
stateMutability: "nonpayable",
|
|
1527
|
+
type: "function",
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
inputs: [
|
|
1531
|
+
{
|
|
1532
|
+
internalType: "uint256",
|
|
1533
|
+
name: "_fixedFee",
|
|
1534
|
+
type: "uint256",
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
internalType: "uint256",
|
|
1538
|
+
name: "_percentageBps",
|
|
1539
|
+
type: "uint256",
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
internalType: "uint256",
|
|
1543
|
+
name: "_maxFee",
|
|
1544
|
+
type: "uint256",
|
|
1545
|
+
},
|
|
1546
|
+
],
|
|
1547
|
+
name: "setDepositDynamicFee",
|
|
1548
|
+
outputs: [],
|
|
1549
|
+
stateMutability: "nonpayable",
|
|
1550
|
+
type: "function",
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
inputs: [
|
|
1554
|
+
{
|
|
1555
|
+
internalType: "bool",
|
|
1556
|
+
name: "_enabled",
|
|
1557
|
+
type: "bool",
|
|
1558
|
+
},
|
|
1559
|
+
],
|
|
1560
|
+
name: "setIsDepositEnabled",
|
|
1561
|
+
outputs: [],
|
|
1562
|
+
stateMutability: "nonpayable",
|
|
1563
|
+
type: "function",
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
inputs: [
|
|
1567
|
+
{
|
|
1568
|
+
internalType: "uint256",
|
|
1569
|
+
name: "_minDeposit",
|
|
1570
|
+
type: "uint256",
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
internalType: "uint256",
|
|
1574
|
+
name: "_maxDeposit",
|
|
1575
|
+
type: "uint256",
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
internalType: "uint256",
|
|
1579
|
+
name: "_minWithdraw",
|
|
1580
|
+
type: "uint256",
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
internalType: "uint256",
|
|
1584
|
+
name: "_maxWithdraw",
|
|
1585
|
+
type: "uint256",
|
|
1586
|
+
},
|
|
1587
|
+
],
|
|
1588
|
+
name: "setLimits",
|
|
1589
|
+
outputs: [],
|
|
1590
|
+
stateMutability: "nonpayable",
|
|
1591
|
+
type: "function",
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
inputs: [
|
|
1595
|
+
{
|
|
1596
|
+
internalType: "uint256",
|
|
1597
|
+
name: "_maxOracleAge",
|
|
1598
|
+
type: "uint256",
|
|
1599
|
+
},
|
|
1600
|
+
],
|
|
1601
|
+
name: "setMaxOracleAge",
|
|
1602
|
+
outputs: [],
|
|
1603
|
+
stateMutability: "nonpayable",
|
|
1604
|
+
type: "function",
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
inputs: [
|
|
1608
|
+
{
|
|
1609
|
+
internalType: "address",
|
|
1610
|
+
name: "_oracle",
|
|
1611
|
+
type: "address",
|
|
1612
|
+
},
|
|
1613
|
+
],
|
|
1614
|
+
name: "setPriceOracle",
|
|
1615
|
+
outputs: [],
|
|
1616
|
+
stateMutability: "nonpayable",
|
|
1617
|
+
type: "function",
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
inputs: [
|
|
1621
|
+
{
|
|
1622
|
+
internalType: "uint256",
|
|
1623
|
+
name: "_fixedFee",
|
|
1624
|
+
type: "uint256",
|
|
1625
|
+
},
|
|
1626
|
+
{
|
|
1627
|
+
internalType: "uint256",
|
|
1628
|
+
name: "_percentageBps",
|
|
1629
|
+
type: "uint256",
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
internalType: "uint256",
|
|
1633
|
+
name: "_maxFee",
|
|
1634
|
+
type: "uint256",
|
|
1635
|
+
},
|
|
1636
|
+
],
|
|
1637
|
+
name: "setWithdrawDynamicFee",
|
|
1638
|
+
outputs: [],
|
|
1639
|
+
stateMutability: "nonpayable",
|
|
1640
|
+
type: "function",
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
inputs: [
|
|
1644
|
+
{
|
|
1645
|
+
internalType: "bytes4",
|
|
1646
|
+
name: "interfaceId",
|
|
1647
|
+
type: "bytes4",
|
|
1648
|
+
},
|
|
1649
|
+
],
|
|
1650
|
+
name: "supportsInterface",
|
|
1651
|
+
outputs: [
|
|
1652
|
+
{
|
|
1653
|
+
internalType: "bool",
|
|
1654
|
+
name: "",
|
|
1655
|
+
type: "bool",
|
|
1656
|
+
},
|
|
1657
|
+
],
|
|
1658
|
+
stateMutability: "view",
|
|
1659
|
+
type: "function",
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
inputs: [],
|
|
1663
|
+
name: "token",
|
|
1664
|
+
outputs: [
|
|
1665
|
+
{
|
|
1666
|
+
internalType: "contract IERC20",
|
|
1667
|
+
name: "",
|
|
1668
|
+
type: "address",
|
|
1669
|
+
},
|
|
1670
|
+
],
|
|
1671
|
+
stateMutability: "view",
|
|
1672
|
+
type: "function",
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
inputs: [],
|
|
1676
|
+
name: "tokenSymbol",
|
|
1677
|
+
outputs: [
|
|
1678
|
+
{
|
|
1679
|
+
internalType: "string",
|
|
1680
|
+
name: "",
|
|
1681
|
+
type: "string",
|
|
1682
|
+
},
|
|
1683
|
+
],
|
|
1684
|
+
stateMutability: "view",
|
|
1685
|
+
type: "function",
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
inputs: [],
|
|
1689
|
+
name: "totalUserLiability",
|
|
1690
|
+
outputs: [
|
|
1691
|
+
{
|
|
1692
|
+
internalType: "uint256",
|
|
1693
|
+
name: "",
|
|
1694
|
+
type: "uint256",
|
|
1695
|
+
},
|
|
1696
|
+
],
|
|
1697
|
+
stateMutability: "view",
|
|
1698
|
+
type: "function",
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
inputs: [
|
|
1702
|
+
{
|
|
1703
|
+
internalType: "address",
|
|
1704
|
+
name: "newOwner",
|
|
1705
|
+
type: "address",
|
|
1706
|
+
},
|
|
1707
|
+
],
|
|
1708
|
+
name: "transferOwnership",
|
|
1709
|
+
outputs: [],
|
|
1710
|
+
stateMutability: "nonpayable",
|
|
1711
|
+
type: "function",
|
|
1712
|
+
},
|
|
1713
|
+
{
|
|
1714
|
+
inputs: [],
|
|
1715
|
+
name: "unpause",
|
|
1716
|
+
outputs: [],
|
|
1717
|
+
stateMutability: "nonpayable",
|
|
1718
|
+
type: "function",
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
inputs: [
|
|
1722
|
+
{
|
|
1723
|
+
internalType: "uint256",
|
|
1724
|
+
name: "amount",
|
|
1725
|
+
type: "uint256",
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
internalType: "uint256",
|
|
1729
|
+
name: "cotiOracleTimestamp",
|
|
1730
|
+
type: "uint256",
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
internalType: "uint256",
|
|
1734
|
+
name: "tokenOracleTimestamp",
|
|
1735
|
+
type: "uint256",
|
|
1736
|
+
},
|
|
1737
|
+
],
|
|
1738
|
+
name: "withdraw",
|
|
1739
|
+
outputs: [],
|
|
1740
|
+
stateMutability: "payable",
|
|
1741
|
+
type: "function",
|
|
1742
|
+
},
|
|
1743
|
+
{
|
|
1744
|
+
inputs: [
|
|
1745
|
+
{
|
|
1746
|
+
internalType: "uint256",
|
|
1747
|
+
name: "amount",
|
|
1748
|
+
type: "uint256",
|
|
1749
|
+
},
|
|
1750
|
+
],
|
|
1751
|
+
name: "withdrawCotiFees",
|
|
1752
|
+
outputs: [],
|
|
1753
|
+
stateMutability: "nonpayable",
|
|
1754
|
+
type: "function",
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
inputs: [],
|
|
1758
|
+
name: "withdrawFixedFee",
|
|
1759
|
+
outputs: [
|
|
1760
|
+
{
|
|
1761
|
+
internalType: "uint256",
|
|
1762
|
+
name: "",
|
|
1763
|
+
type: "uint256",
|
|
1764
|
+
},
|
|
1765
|
+
],
|
|
1766
|
+
stateMutability: "view",
|
|
1767
|
+
type: "function",
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
inputs: [],
|
|
1771
|
+
name: "withdrawMaxFee",
|
|
1772
|
+
outputs: [
|
|
1773
|
+
{
|
|
1774
|
+
internalType: "uint256",
|
|
1775
|
+
name: "",
|
|
1776
|
+
type: "uint256",
|
|
1777
|
+
},
|
|
1778
|
+
],
|
|
1779
|
+
stateMutability: "view",
|
|
1780
|
+
type: "function",
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
inputs: [],
|
|
1784
|
+
name: "withdrawPercentageBps",
|
|
1785
|
+
outputs: [
|
|
1786
|
+
{
|
|
1787
|
+
internalType: "uint256",
|
|
1788
|
+
name: "",
|
|
1789
|
+
type: "uint256",
|
|
1790
|
+
},
|
|
1791
|
+
],
|
|
1792
|
+
stateMutability: "view",
|
|
1793
|
+
type: "function",
|
|
1794
|
+
},
|
|
1795
|
+
] as const;
|
|
1796
|
+
|
|
1797
|
+
const _bytecode =
|
|
1798
|
+
"0x60a0604090808252346200051e5760a08162003e84803803809162000025828562000523565b8339810103126200051e576200003b8162000547565b6020916200004b83820162000547565b916200005985830162000547565b906200007660806200006e6060860162000547565b940162000547565b86516001600160401b0395919490918289018781118482101762000508578952600491828452635742544360e01b898501526001956000958787553315620004f1578754610100600160a81b0319811633600881811b610100600160a81b0316929092178b558e51956001600160a01b0395909386939192911c83167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08c80a38a60ff19600a541617600a55678ac7230489e80000600b556101f4600c5568a2a15d09519be00000600d556729a2241af62c0000600e5560fa600f55685150ae84a8cdf0000060105516938415620004e357508216988915620004d35782168015620004d3579082916000199a8b88558b6005558a6006558a60075560018060a01b03199586601354161760135585601454161760145580856011541617601155610834601255887f56b5f80d8cac1479698aa7d01605fd6111e90b15fc4d2b377417f46034876cbd8180a3620001ed3362000577565b620004b6575b620001fe33620005f8565b6200048a575b169283156200047a57169182156200046a578a5163313ce56760e01b8082528b828781865afa9182156200043c57889262000446575b508c519081528b818781885afa9081156200043c579060ff91899162000408575b501660ff821603620003f85760805281601754161760175560185416176018558151958611620003e557601954908482811c92168015620003da575b88831014620003c75750601f81116200037b575b508591601f86116001146200030f57949550859291908362000303575b50501b9260031b1c1916176019555b5161372c9081620007188239608051818181610d61015281816116c001528181611da50152611fde0152f35b015193503880620002c8565b6019815286812093969394938691601f198316915b8983831062000360575050501062000347575b50505050811b01601955620002d7565b01519060f88460031b161c191690553880808062000337565b85870151895590970196948501948893509081019062000324565b60198352868320601f870160051c810191888810620003bc575b601f0160051c019084905b828110620003b0575050620002ab565b848155018490620003a0565b909150819062000395565b634e487b7160e01b845260229052602483fd5b91607f169162000297565b634e487b7160e01b835260419052602482fd5b8b51635a8dbaed60e01b81528590fd5b6200042d91508d803d1062000434575b62000424818362000523565b8101906200055c565b386200025b565b503d62000418565b8d513d8a823e3d90fd5b620004629192508c8d3d10620004345762000424818362000523565b90386200023a565b8a516316a442c560e01b81528490fd5b8b51630f58058360e11b81528590fd5b60008051602062003e64833981519152885260038c52620004af8d33908a206200068a565b5062000204565b87805260038c52620004cc8d33908a206200068a565b50620001f3565b8c5163e6c4247b60e01b81528690fd5b63e6c4247b60e01b81528690fd5b8b51631e4fbdf760e01b8152808601889052602490fd5b634e487b7160e01b600052604160045260246000fd5b600080fd5b601f909101601f19168101906001600160401b038211908210176200050857604052565b51906001600160a01b03821682036200051e57565b908160209103126200051e575160ff811681036200051e5790565b6001600160a01b031660008181527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b602052604081205490919060ff16620005f45781805260026020526040822081835260205260408220600160ff19825416179055339160008051602062003e448339815191528180a4600190565b5090565b6001600160a01b031660008181527f6bc781d8c7f9885ebbb3cefbc18932c491038e2ae5c5b56447891e0bd98ea163602052604081205490919060008051602062003e648339815191529060ff16620006855780835260026020526040832082845260205260408320600160ff1982541617905560008051602062003e44833981519152339380a4600190565b505090565b91906001830160009082825280602052604082205415600014620007115784549468010000000000000000861015620006fd5760018601808255861015620006e957836040949596828552602085200155549382526020522055600190565b634e487b7160e01b83526032600452602483fd5b634e487b7160e01b83526041600452602483fd5b5092505056fe6040608081526004908136101561001557600080fd5b600091823560e01c908162aeef8a14611f6b57816301ffc9a714611e9457816302ef36c714611e755781630593816d14611e115781631413703314611dcd5781631823090d14611d7d5781631df224c114611d48578163248a9ca314611d1d57816324a88d8c14611cfe5781632630c12f14611cc95781632f2ff15d14611c4d57816336568abe14611be15781633f4ba83a14611b8957816344337ea114611b09578163457e1a4914611aea5781634690484014611ab55781634a96e64a14611a9657816351533f2e146119e8578163530e784f1461192a578163537df3b6146118865781635656fc78146118625781635c975abb1461183e578163645006ca1461181f57816367b16967146118005781636d70f7ae1461178b578163715018a61461171357816376bddaaf1461169857816379cef02f146116795781637b61c3201461164c5781637c87a9931461162d5781638456cb59146115d35781638cd4426d146114dd5781638da5cb5b146114a55781638ed83271146114875781639010d07c1461143857816391d14854146113e45781639870d7fe1461132b5781639e93ad8e1461130d5781639f578e46146112ee578163a075b7c714611232578163a217fddf14611217578163a3246ad31461115f578163a41fe49f14610cf4578163ac8a584a14610c14578163b0ebf46f14610b69578163b67b62b914610b34578163bcd0a5d2146109ea578163ca15c873146109c2578163d547741f14610980578163d6501cbb14610884578163dbac26e91461083b578163e490dd701461081e578163f169b47214610800578163f2fde38b1461058f578163f516440c14610570578163f5b541a614610535578163f74598b2146103b6578163f835c9d01461033457508063fa4f4a5214610316578063fc0c546a146102e25763fdb1f56a146102c157600080fd5b346102de57816003193601126102de57602090600d549051908152f35b5080fd5b50346102de57816003193601126102de5760209073ffffffffffffffffffffffffffffffffffffffff601754169051908152f35b50346102de57816003193601126102de576020906009549051908152f35b919050346103b25760206003193601126103b257813591610353612d65565b821561038b575081601255519081527f6adc88f5461ba8cdd7d391cfe694a80b1ce722232a2a11690b4c11df049ae64560203392a280f35b90517fe7a59d50000000000000000000000000000000000000000000000000000000008152fd5b8280fd5b9050346103b25760206003193601126103b2578035906103d4612d65565b6103dc612e90565b73ffffffffffffffffffffffffffffffffffffffff908160135416801561050d5783156104e5576008548085116104bd57478511610495578680868194610424828496612be1565b6008555af1610431612e60565b501561046e57507f6713db2cbc67f02bd2006245076c3e8a482a624218d1e3bc5313216d3347fb7a91602091601354169351908152a26001815580f35b83517f6d963f88000000000000000000000000000000000000000000000000000000008152fd5b8286517fb6d6e7d6000000000000000000000000000000000000000000000000000000008152fd5b8286517f80d4440f000000000000000000000000000000000000000000000000000000008152fd5b5083517fcbca5aa2000000000000000000000000000000000000000000000000000000008152fd5b5083517f6dd72d47000000000000000000000000000000000000000000000000000000008152fd5b5050346102de57816003193601126102de57602090517f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9298152f35b5050346102de57816003193601126102de576020906005549051908152f35b9050346103b257602091826003193601126107fc576105ac61238a565b916105b5612d65565b73ffffffffffffffffffffffffffffffffffffffff938484169384156107d45794917f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9299586885285600394858552868a2054805b6107755750898052858552868a205493845b6106e457506106ac935061062d612d65565b60015474ffffffffffffffffffffffffffffffffffffffff008460081b167fffffffffffffffffffffff0000000000000000000000000000000000000000ff82161760015560081c167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08a80a36106a3816127b7565b6106cc576126f7565b6106b4578580f35b6106c2948652528320612b3e565b5038808080808580f35b8780528383526106de86868a20612b3e565b506126f7565b91509192600019810181811161074957908361070b610726938a8e8080528b8b5220612af7565b905490891b1c1661071b816129da565b610730575b50612d58565b929187918461061b565b610742908c8052888852898d20612c1d565b5038610720565b60248b6011857f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b9092939150600019810181811161074957908361079d6107b7938a8e8e81528b8b5220612af7565b905490891b1c166107ad81612921565b6107c25750612d58565b918288929493610609565b610742908b8d52888852898d20612c1d565b8284517fe6c4247b000000000000000000000000000000000000000000000000000000008152fd5b8380fd5b5050346102de57816003193601126102de5760209051620186a08152f35b5050346102de57816003193601126102de57602090516108348152f35b5050346102de5760206003193601126102de5760ff8160209373ffffffffffffffffffffffffffffffffffffffff61087161238a565b1681526015855220541690519015158152f35b919050346103b25761089536612370565b929091936108a2336125bf565b83156109595783851161095957620186a08311610932575091839160c0937f31f26ae97f0679c414281c4a96005dcd58f94f687f26c8cd694339591ec527e995600b5581600c5582600d5580519360808552600760808601527f6465706f7369740000000000000000000000000000000000000000000000000060a086015260208501528301526060820152a180f35b90517f58d620b3000000000000000000000000000000000000000000000000000000008152fd5b90517f6d24edae000000000000000000000000000000000000000000000000000000008152fd5b919050346103b257806003193601126103b2576109be91356109b960016109a56123ad565b9383875260026020528620015433906126b8565b6128de565b5080f35b9050346103b25760206003193601126103b25760209282913581526003845220549051908152f35b919050346103b257826003193601126103b257610a05612e90565b338352601560205260ff8184205416610b0457338352601660205280832054918215610add5733845260166020528382812055824710610ab6578380808086335af1610a4f612e60565b5015610a875750519081527f8f15f7693914bf0bc5306dcc835a56be260fe9007cca42d7b3e85f01820678b560203392a26001815580f35b338452601660205290517f6d963f88000000000000000000000000000000000000000000000000000000008152fd5b90517fb6d6e7d6000000000000000000000000000000000000000000000000000000008152fd5b90517fcbca5aa2000000000000000000000000000000000000000000000000000000008152fd5b6024925051907fdaf49ab90000000000000000000000000000000000000000000000000000000082523390820152fd5b5050346102de57816003193601126102de5760209073ffffffffffffffffffffffffffffffffffffffff601454169051908152f35b9050346103b25760c06003193601126103b25760843567ffffffffffffffff91828211610c105736602383011215610c105781810135928311610c10573660248484010111610c105760a4359260ff84168403610c0c57906020958683806024610bd7610c02999897612e26565b96610be48b519889612413565b82885201838701378401015260643590604435906024359035612ee6565b5050509051908152f35b8580fd5b8480fd5b919050346103b25760206003193601126103b257610c3061238a565b610c3933612668565b73ffffffffffffffffffffffffffffffffffffffff8116928315610ccd5750610c628391612921565b610c92575b505033907f17d7f044d47e4fae1701f86266d0a674db3f792671bd1b974ace77a09af1c8278380a380f35b610cc5917f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929855260036020528420612c1d565b503881610c67565b82517fe6c4247b000000000000000000000000000000000000000000000000000000008152fd5b919050610d0036612370565b9390610d0a612e90565b610d12612db9565b3386526020946015865260ff85882054166111305783156111085760075484106110e05760055484116110b85790610d5291610d4c612454565b91613417565b610d90600e54600f54906010547f000000000000000000000000000000000000000000000000000000000000000092610d89612454565b9287612ee6565b5050509073ffffffffffffffffffffffffffffffffffffffff806017541690855187816024817f70a08231000000000000000000000000000000000000000000000000000000009687825230898301525afa9081156110ae579086918a9161107d575b501061105557610e0585600954612be1565b600955878160185416803b156102de5787517f23b872dd00000000000000000000000000000000000000000000000000000000815233868201908152306020820152604081018990529091839183919082908490829060600103925af1801561103757611041575b508160185416803b156102de5781809160248a51809481937f42966c680000000000000000000000000000000000000000000000000000000083528c8b8401525af180156110375761101f575b505080601754169086519183835233858401528883602481845afa9283156110155789929188918c95610fdd575b5090610ef59133906136c0565b60175416926024885180958193825233888301525afa8015610fd3578890610f9f575b610f229250612be1565b838103610f6a57505090610f577ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b56893926135d8565b8151938185528401523392a26001815580f35b91509160449351927f3af0948e0000000000000000000000000000000000000000000000000000000084528301526024820152fd5b508682813d8311610fcc575b610fb58183612413565b81010312610fc757610f229151610f18565b600080fd5b503d610fab565b86513d8a823e3d90fd5b93849195508092503d831161100e575b610ff78183612413565b81010312610fc757610ef5878a9351949091610ee8565b503d610fed565b88513d8c823e3d90fd5b611028906123d0565b611033578738610eba565b8780fd5b88513d84823e3d90fd5b61104a906123d0565b611033578738610e6d565b8286517faae25839000000000000000000000000000000000000000000000000000000008152fd5b809250898092503d83116110a7575b6110968183612413565b81010312610fc75785905138610df3565b503d61108c565b87513d8b823e3d90fd5b8285517f9aae5367000000000000000000000000000000000000000000000000000000008152fd5b8285517f0fdbcf37000000000000000000000000000000000000000000000000000000008152fd5b8285517fcbca5aa2000000000000000000000000000000000000000000000000000000008152fd5b84517fdaf49ab90000000000000000000000000000000000000000000000000000000081523381850152602490fd5b9050823461121457602091826003193601126102de5792919235815260038352818120908251808584549182815201908194845286842090845b81811061120057505050816111af910382612413565b83519485948186019282875251809352850193925b8281106111d357505050500390f35b835173ffffffffffffffffffffffffffffffffffffffff16855286955093810193928101926001016111c4565b825484529288019260019283019201611199565b80fd5b5050346102de57816003193601126102de5751908152602090f35b8383346102de5760806003193601126102de578235602435916044356064359161125a612d65565b8484116112c6578282116112c657906112c09291857fe3eb5d4eccdae2d96efa105f65c8db865f9fc72984f2b879a27448fed50d181597988660065555816007558260055551948594859094939260609260808301968352602083015260408201520152565b0390a180f35b8690517f401f33c6000000000000000000000000000000000000000000000000000000008152fd5b5050346102de57816003193601126102de57602090600c549051908152f35b5050346102de57816003193601126102de5760209051620f42408152f35b919050346103b25760206003193601126103b25761134761238a565b61135033612668565b73ffffffffffffffffffffffffffffffffffffffff8116928315610ccd575061137983916126f7565b6113a9575b505033907f0780dc183feb0e4f9714cd802b3c0a21894b7ccb4172c992569d2acb5d45f91c8380a380f35b6113dc917f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929855260036020528420612b3e565b50388161137e565b9050346103b257816003193601126103b25773ffffffffffffffffffffffffffffffffffffffff826020946114176123ad565b9335815260028652209116600052825260ff81600020541690519015158152f35b9050346103b257816003193601126103b25761147860209373ffffffffffffffffffffffffffffffffffffffff9235815260038552836024359120612af7565b90549060031b1c169051908152f35b9050346103b257826003193601126103b25760209250549051908152f35b5050346102de57816003193601126102de5760209073ffffffffffffffffffffffffffffffffffffffff60015460081c169051908152f35b9050346103b257816003193601126103b2576114f761238a565b9060243590611504612d65565b61150c612e90565b611514612def565b81156115ac5773ffffffffffffffffffffffffffffffffffffffff908180601854169416938414611585575081816115747f8bbfbb5d7fcacf6fc74005cdede0635561638507f576c95f7f294c22141be2e59460209460145416876136c0565b601454169451908152a36001815580f35b84517f366c7b22000000000000000000000000000000000000000000000000000000008152fd5b83517fcbca5aa2000000000000000000000000000000000000000000000000000000008152fd5b5050346102de57816003193601126102de5760207f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25891611611612d65565b611619612db9565b600160ff198154161760015551338152a180f35b5050346102de57816003193601126102de576020906012549051908152f35b5050346102de57816003193601126102de576116759061166a612454565b905191829182612559565b0390f35b5050346102de57816003193601126102de57602090600e549051908152f35b82843461121457602060031936011261121457506116ef61167592600e5490600f54601054907f0000000000000000000000000000000000000000000000000000000000000000936116e8612454565b9335612ee6565b93519283526020830191909152604082015260608101919091529081906080820190565b90508234611214578060031936011261121457506020606492611734612d65565b51917f08c379a0000000000000000000000000000000000000000000000000000000008352820152601a60248201527f72656e6f756e63654f776e6572736869702064697361626c65640000000000006044820152fd5b5050346102de5760206003193601126102de5760209173ffffffffffffffffffffffffffffffffffffffff826117bf61238a565b927f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929815260028652209116600052825260ff81600020541690519015158152f35b5050346102de57816003193601126102de576020906008549051908152f35b5050346102de57816003193601126102de576020906006549051908152f35b5050346102de57816003193601126102de5760209060ff6001541690519015158152f35b5050346102de57816003193601126102de5760209060ff600a541690519015158152f35b919050346103b25760206003193601126103b25773ffffffffffffffffffffffffffffffffffffffff6118b761238a565b6118bf612d65565b1691821561190357508183526015602052822060ff19815416905533907fddefc0a59221feeeed94e0dfd671eaea15033e71db0fd1d9963a95a37dc90e768380a380f35b90517fe6c4247b000000000000000000000000000000000000000000000000000000008152fd5b9050346103b25760206003193601126103b25761194561238a565b9061194e612d65565b73ffffffffffffffffffffffffffffffffffffffff8092169283156119c2575050601154827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617601155167f56b5f80d8cac1479698aa7d01605fd6111e90b15fc4d2b377417f46034876cbd8380a380f35b517fe6c4247b000000000000000000000000000000000000000000000000000000008152fd5b919050346103b2576119f936612370565b92909193611a06336125bf565b83156109595783851161095957620186a08311610932575091839160c0937f31f26ae97f0679c414281c4a96005dcd58f94f687f26c8cd694339591ec527e995600e5581600f558260105580519360808552600860808601527f776974686472617700000000000000000000000000000000000000000000000060a086015260208501528301526060820152a180f35b5050346102de57816003193601126102de576020906010549051908152f35b5050346102de57816003193601126102de5760209073ffffffffffffffffffffffffffffffffffffffff601354169051908152f35b5050346102de57816003193601126102de576020906007549051908152f35b919050346103b25760206003193601126103b25773ffffffffffffffffffffffffffffffffffffffff611b3a61238a565b611b42612d65565b16918215611903575081835260156020528220600160ff1982541617905533907fd36871fdf6981136f3ac0564927005901eda06f7a9dff1e8b2a1d7846b8ebb508380a380f35b5050346102de57816003193601126102de5760207f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa91611bc7612d65565b611bcf612def565b60ff196001541660015551338152a180f35b8383346102de57806003193601126102de57611bfb6123ad565b903373ffffffffffffffffffffffffffffffffffffffff831603611c2557506109be9192356128de565b8390517f6697b232000000000000000000000000000000000000000000000000000000008152fd5b9050346103b257816003193601126103b25735611c686123ad565b908084526002602052611c826001848620015433906126b8565b611c8c8282612855565b611c94578380f35b611cc19273ffffffffffffffffffffffffffffffffffffffff916000526003602052600020911690612b3e565b503880808380f35b5050346102de57816003193601126102de5760209073ffffffffffffffffffffffffffffffffffffffff601154169051908152f35b5050346102de57816003193601126102de57602090600f549051908152f35b9050346103b25760206003193601126103b25781602093600192358152600285522001549051908152f35b5050346102de57816003193601126102de5760209073ffffffffffffffffffffffffffffffffffffffff601854169051908152f35b82843461121457602060031936011261121457506116ef61167592600b5490600c54600d54907f0000000000000000000000000000000000000000000000000000000000000000936116e8612454565b5050346102de5760206003193601126102de578060209273ffffffffffffffffffffffffffffffffffffffff611e0161238a565b1681526016845220549051908152f35b9050346103b25760206003193601126103b25735908115158092036103b257611e39336125bf565b60ff19600a541660ff831617600a55519081527fc274c9c09f7e9671b11a6795ddded70309e956077fea0c658625581bc87768fd60203392a280f35b5050346102de57816003193601126102de57602090600b549051908152f35b9050346103b25760206003193601126103b25735907fffffffff0000000000000000000000000000000000000000000000000000000082168092036103b257602092507f5a05180f000000000000000000000000000000000000000000000000000000008214918215611f0b575b50519015158152f35b9091507f7965db0b000000000000000000000000000000000000000000000000000000008114908115611f41575b509038611f02565b7f01ffc9a70000000000000000000000000000000000000000000000000000000091501438611f39565b839150611f7736612370565b94919290611f83612e90565b611f8b612db9565b3385526020956015875260ff84872054166123415760ff600a5416156123195784156122f15760065485106122c957825485116122a15790611fcf91610d4c612454565b61200d600b54600c5490600d547f000000000000000000000000000000000000000000000000000000000000000092612006612454565b9288612ee6565b5050509073ffffffffffffffffffffffffffffffffffffffff806017541684517f70a08231000000000000000000000000000000000000000000000000000000009182825230858301528982602481845afa9182156110ae57899261226c575b5086517f23b872dd000000000000000000000000000000000000000000000000000000008b820152336024820152306044820152606481018990526120e6916120e182608481015b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08101845283612413565b613389565b888360175416926024885180958193825230898301525afa8015610fd357889061223b575b6121159250612be1565b9285840361220657612126906135d8565b6121328360095461337c565b6009556018541690813b15610c0c5783517f40c10f19000000000000000000000000000000000000000000000000000000008152339181019182526020820184905291869183919082908490829060400103925af180156121fc576121c9575b507f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a1592939482519485528401523392a26001815580f35b936121f57f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a1594956123d0565b9392612192565b83513d87823e3d90fd5b60448385888851927f3af0948e0000000000000000000000000000000000000000000000000000000084528301526024820152fd5b50908881813d8311612265575b6122528183612413565b810103126110335790612115915161210b565b503d612248565b9091508981813d831161229a575b6122848183612413565b810103126122965751906120e661206d565b8880fd5b503d61227a565b8284517fd630062d000000000000000000000000000000000000000000000000000000008152fd5b8284517fc24b1b61000000000000000000000000000000000000000000000000000000008152fd5b8284517fcbca5aa2000000000000000000000000000000000000000000000000000000008152fd5b8284517ffb291504000000000000000000000000000000000000000000000000000000008152fd5b83517fdaf49ab90000000000000000000000000000000000000000000000000000000081523381850152602490fd5b6003196060910112610fc757600435906024359060443590565b6004359073ffffffffffffffffffffffffffffffffffffffff82168203610fc757565b6024359073ffffffffffffffffffffffffffffffffffffffff82168203610fc757565b67ffffffffffffffff81116123e457604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176123e457604052565b60405190600060195490600182811c9080841693841561254f575b6020948584108114612522578388528794939291811561250157506001146124a2575b50506124a092500383612413565b565b9093915060196000527f944998273e477b495144fb8794c914197f3ccb46be2900f4698fd0ef743c9695936000915b8183106124e95750506124a093508201013880612492565b855488840185015294850194879450918301916124d1565b90506124a095935060ff1991501682840152151560051b8201013880612492565b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b91607f169161246f565b60208082528251818301819052939260005b8581106125ab575050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006040809697860101520116010190565b81810183015184820160400152820161256b565b73ffffffffffffffffffffffffffffffffffffffff1660008181527f6bc781d8c7f9885ebbb3cefbc18932c491038e2ae5c5b56447891e0bd98ea16360205260409020547f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9299060ff1615612631575050565b60449250604051917fe2517d3f00000000000000000000000000000000000000000000000000000000835260048301526024820152fd5b73ffffffffffffffffffffffffffffffffffffffff1660008181527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b602052604081205460ff1615612631575050565b80600052600260205273ffffffffffffffffffffffffffffffffffffffff60406000209216918260005260205260ff6040600020541615612631575050565b73ffffffffffffffffffffffffffffffffffffffff1660008181527f6bc781d8c7f9885ebbb3cefbc18932c491038e2ae5c5b56447891e0bd98ea16360205260408120549091907f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9299060ff166127b25780835260026020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4600190565b505090565b73ffffffffffffffffffffffffffffffffffffffff1660008181527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b602052604081205490919060ff166128515781805260026020526040822081835260205260408220600160ff1982541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8180a4600190565b5090565b90600091808352600260205273ffffffffffffffffffffffffffffffffffffffff6040842092169182845260205260ff604084205416156000146127b25780835260026020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4600190565b6128e88282612a72565b91826128f357505090565b61285191600052600360205273ffffffffffffffffffffffffffffffffffffffff6040600020911690612c1d565b73ffffffffffffffffffffffffffffffffffffffff1660008181527f6bc781d8c7f9885ebbb3cefbc18932c491038e2ae5c5b56447891e0bd98ea16360205260408120549091907f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9299060ff16156127b2578083526002602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4600190565b73ffffffffffffffffffffffffffffffffffffffff1660008181527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b602052604081205490919060ff1615612851578180526002602052604082208183526020526040822060ff19815416905533917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b8180a4600190565b90600091808352600260205273ffffffffffffffffffffffffffffffffffffffff6040842092169182845260205260ff6040842054166000146127b2578083526002602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4600190565b8054821015612b0f5760005260206000200190600090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b91906001830160009082825280602052604082205415600014612bdb5784549468010000000000000000861015612bae5783612b9e612b87886001604098999a01855584612af7565b81939154906000199060031b92831b921b19161790565b9055549382526020522055600190565b6024837f4e487b710000000000000000000000000000000000000000000000000000000081526041600452fd5b50925050565b91908203918211612bee57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b90600182019060009281845282602052604084205490811515600014612d515760001991828101818111612d2457825490848201918211612cf757818103612cc2575b50505080548015612c9557820191612c788383612af7565b909182549160031b1b191690555582526020526040812055600190565b6024867f4e487b710000000000000000000000000000000000000000000000000000000081526031600452fd5b612ce2612cd2612b879386612af7565b90549060031b1c92839286612af7565b90558652846020526040862055388080612c60565b6024887f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b6024877f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b5050505090565b8015612bee576000190190565b73ffffffffffffffffffffffffffffffffffffffff60015460081c163303612d8957565b60246040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152fd5b60ff60015416612dc557565b60046040517fd93c0665000000000000000000000000000000000000000000000000000000008152fd5b60ff6001541615612dfc57565b60046040517f8dfc202b000000000000000000000000000000000000000000000000000000008152fd5b67ffffffffffffffff81116123e457601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b3d15612e8b573d90612e7182612e26565b91612e7f6040519384612413565b82523d6000602084013e565b606090565b600260005414612ea1576002600055565b60046040517f3ee5aeb5000000000000000000000000000000000000000000000000000000008152fd5b90816060910312610fc7578051916040602083015192015190565b612f4a969392959495612ef7613275565b73ffffffffffffffffffffffffffffffffffffffff6011541690604051907f6f62ebfb0000000000000000000000000000000000000000000000000000000098898352828060609c8d9360048301612559565b0381865afa98891561307a578a90600093849b613086575b5060405194859182528180612fac6004820160609060208152600460208201527f434f54490000000000000000000000000000000000000000000000000000000060408201520190565b03915afa97881561307a57600093849b859a61303d575b505060ff90612fd1846132bf565b612fda856132bf565b612fe38b6132f0565b612fec8c6132f0565b16604d8111612bee576130149461300f9361300a92600a0a916131fe565b6130ac565b613129565b908082111561303657505b8181111561302f57505b93929190565b9050613029565b905061301f565b613066939c508091929a5060ff9550903d10613073575b61305e8183612413565b810190612ecb565b9a9193909a989038612fc3565b503d613054565b6040513d6000823e3d90fd5b909a50816130a19294503d85116130735761305e8183612413565b509290929938612f62565b906000198183098183029182808310920391808303921461311d57620f4240908282111561310a577fde8f6cefed634549b62c77574f722e1ac57e23f24d8fd5cb790fb65668c26139940990828211900360fa1b910360061c170290565b634e487b7160005260116020526024601cfd5b5050620f424091500490565b670de0b6b3a76400009160001983830992808302928380861095039480860395146131c157848311156131a8579082910981600003821680920460028082600302188083028203028083028203028083028203028083028203028083028203028092029003029360018380600003040190848311900302920304170290565b82634e487b71600052156003026011186020526024601cfd5b5050809250156131cf570490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b909160001983830992808302928380861095039480860395146131c157848311156131a8579082910981600003821680920460028082600302188083028203028083028203028083028203028083028203028083028203028092029003029360018380600003040190848311900302920304170290565b73ffffffffffffffffffffffffffffffffffffffff601154161561329557565b60046040517ff9b42874000000000000000000000000000000000000000000000000000000008152fd5b156132c657565b60046040517f1f8f95a0000000000000000000000000000000000000000000000000000000008152fd5b60125442821161334b57806133058342612be1565b1161330e575050565b60649250604051917f938a000400000000000000000000000000000000000000000000000000000000835260048301524260248301526044820152fd5b602482604051907f9a30b3c30000000000000000000000000000000000000000000000000000000082526004820152fd5b91908201809211612bee57565b906000602091828151910182855af11561307a576000513d61340e575073ffffffffffffffffffffffffffffffffffffffff81163b155b6133c75750565b60249073ffffffffffffffffffffffffffffffffffffffff604051917f5274afe7000000000000000000000000000000000000000000000000000000008352166004820152fd5b600114156133c0565b909291613422613275565b73ffffffffffffffffffffffffffffffffffffffff601154169060409182517f6f62ebfb00000000000000000000000000000000000000000000000000000000908181526060958682806134ab6004820160609060208152600460208201527f434f54490000000000000000000000000000000000000000000000000000000060408201520190565b0381875afa9182156135cd576000926135ab575b508082036135765750916134eb93916134d887946132f0565b8551809581948293835260048301612559565b03915afa92831561356b57600093613549575b505083820361351357506124a09192506132f0565b604493925051917f997c558e00000000000000000000000000000000000000000000000000000000835260048301526024820152fd5b613560929350803d106130735761305e8183612413565b5090509038806134fe565b82513d6000823e3d90fd5b6044918651917f997c558e00000000000000000000000000000000000000000000000000000000835260048301526024820152fd5b6135c3919250873d89116130735761305e8183612413565b50905090386134bf565b86513d6000823e3d90fd5b8034106136965780471061366c576135f28160085461337c565b6008558034116135ff5750565b6136099034612be1565b60008080808085335af161361b612e60565b5015613625575050565b60409033815260166020522061363c82825461337c565b90556040519081527ff5f5797c3dbfc23a172664078aa40400f399faae3ab4b9490ff4cd31288caa0460203392a2565b60046040517fb6d6e7d6000000000000000000000000000000000000000000000000000000008152fd5b60046040517f83b5f08b000000000000000000000000000000000000000000000000000000008152fd5b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000602082015273ffffffffffffffffffffffffffffffffffffffff909216602483015260448201929092526124a0916120e182606481016120b556fea164736f6c6343000814000a2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929";
|
|
1799
|
+
|
|
1800
|
+
type PrivacyBridgeWBTCConstructorParams =
|
|
1801
|
+
| [signer?: Signer]
|
|
1802
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
1803
|
+
|
|
1804
|
+
const isSuperArgs = (
|
|
1805
|
+
xs: PrivacyBridgeWBTCConstructorParams
|
|
1806
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1807
|
+
|
|
1808
|
+
export class PrivacyBridgeWBTC__factory extends ContractFactory {
|
|
1809
|
+
constructor(...args: PrivacyBridgeWBTCConstructorParams) {
|
|
1810
|
+
if (isSuperArgs(args)) {
|
|
1811
|
+
super(...args);
|
|
1812
|
+
} else {
|
|
1813
|
+
super(_abi, _bytecode, args[0]);
|
|
1814
|
+
}
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
override getDeployTransaction(
|
|
1818
|
+
_wbtc: AddressLike,
|
|
1819
|
+
_privateWbtc: AddressLike,
|
|
1820
|
+
_feeRecipient: AddressLike,
|
|
1821
|
+
_rescueRecipient: AddressLike,
|
|
1822
|
+
_priceOracle: AddressLike,
|
|
1823
|
+
overrides?: NonPayableOverrides & { from?: string }
|
|
1824
|
+
): Promise<ContractDeployTransaction> {
|
|
1825
|
+
return super.getDeployTransaction(
|
|
1826
|
+
_wbtc,
|
|
1827
|
+
_privateWbtc,
|
|
1828
|
+
_feeRecipient,
|
|
1829
|
+
_rescueRecipient,
|
|
1830
|
+
_priceOracle,
|
|
1831
|
+
overrides || {}
|
|
1832
|
+
);
|
|
1833
|
+
}
|
|
1834
|
+
override deploy(
|
|
1835
|
+
_wbtc: AddressLike,
|
|
1836
|
+
_privateWbtc: AddressLike,
|
|
1837
|
+
_feeRecipient: AddressLike,
|
|
1838
|
+
_rescueRecipient: AddressLike,
|
|
1839
|
+
_priceOracle: AddressLike,
|
|
1840
|
+
overrides?: NonPayableOverrides & { from?: string }
|
|
1841
|
+
) {
|
|
1842
|
+
return super.deploy(
|
|
1843
|
+
_wbtc,
|
|
1844
|
+
_privateWbtc,
|
|
1845
|
+
_feeRecipient,
|
|
1846
|
+
_rescueRecipient,
|
|
1847
|
+
_priceOracle,
|
|
1848
|
+
overrides || {}
|
|
1849
|
+
) as Promise<
|
|
1850
|
+
PrivacyBridgeWBTC & {
|
|
1851
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
1852
|
+
}
|
|
1853
|
+
>;
|
|
1854
|
+
}
|
|
1855
|
+
override connect(runner: ContractRunner | null): PrivacyBridgeWBTC__factory {
|
|
1856
|
+
return super.connect(runner) as PrivacyBridgeWBTC__factory;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
static readonly bytecode = _bytecode;
|
|
1860
|
+
static readonly abi = _abi;
|
|
1861
|
+
static createInterface(): PrivacyBridgeWBTCInterface {
|
|
1862
|
+
return new Interface(_abi) as PrivacyBridgeWBTCInterface;
|
|
1863
|
+
}
|
|
1864
|
+
static connect(
|
|
1865
|
+
address: string,
|
|
1866
|
+
runner?: ContractRunner | null
|
|
1867
|
+
): PrivacyBridgeWBTC {
|
|
1868
|
+
return new Contract(address, _abi, runner) as unknown as PrivacyBridgeWBTC;
|
|
1869
|
+
}
|
|
1870
|
+
}
|