@coti-io/coti-contracts 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/npm-publish.yml +1 -1
- package/contracts/messaging/PrivateMessaging.sol +456 -0
- 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/PrivateERC20/PrivacyBridgeERC20Mock.sol +8 -3
- package/contracts/node/SoulboundNodeNFT.sol +22 -22
- package/contracts/oracle/CotiPriceConsumer.sol +103 -0
- package/contracts/oracle/ICotiPriceConsumer.sol +15 -0
- package/contracts/oracle/IStdReference.sol +26 -0
- package/contracts/privacyBridge/PrivacyBridge.sol +373 -91
- package/contracts/privacyBridge/PrivacyBridgeCotiNative.sol +209 -161
- package/contracts/privacyBridge/PrivacyBridgeERC20.sol +241 -159
- package/contracts/privacyBridge/PrivacyBridgeUSDCe.sol +7 -1
- package/contracts/privacyBridge/PrivacyBridgeUSDT.sol +7 -1
- package/contracts/privacyBridge/PrivacyBridgeWADA.sol +7 -1
- package/contracts/privacyBridge/PrivacyBridgeWBTC.sol +7 -1
- package/contracts/privacyBridge/PrivacyBridgeWETH.sol +7 -1
- package/contracts/privacyBridge/PrivacyBridgegCoti.sol +7 -1
- package/hardhat.config.ts +5 -2
- package/package.json +2 -2
- 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/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/sonar-project.properties +11 -0
- package/test/messaging/PrivateMessaging.test.ts +158 -0
- package/test/privacyBridge/UnifiedPrivacyBridges.test.cjs +1663 -0
- package/test/token/PrivateERC20/PrivacyBridge.fees.test.ts +162 -239
- 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/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/index.ts +2 -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 +330 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts +286 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.ts +1 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/index.ts +1 -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/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 +349 -0
- package/typechain-types/contracts/mocks/token/ERC20Mock.ts +368 -0
- package/typechain-types/contracts/mocks/token/PrivateERC20/EncryptedTokenReceiverMock.ts +108 -0
- package/typechain-types/contracts/mocks/token/PrivateERC20/PrivacyBridgeERC20Mock.ts +1892 -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 +1628 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeCotiNative.ts +1870 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeERC20.sol/IHasDecimals.ts +84 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeERC20.sol/PrivacyBridgeERC20.ts +1892 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeERC20.sol/index.ts +5 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeUSDCe.ts +1892 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeUSDT.ts +1892 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeWADA.ts +1892 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeWBTC.ts +1892 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgeWETH.ts +1892 -0
- package/typechain-types/contracts/privacyBridge/PrivacyBridgegCoti.ts +1892 -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/factories/@openzeppelin/contracts/access/AccessControlEnumerable__factory.ts +276 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/AccessControl__factory.ts +229 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/IAccessControlEnumerable__factory.ts +244 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/IAccessControl__factory.ts +197 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/index.ts +1 -0
- package/typechain-types/factories/@openzeppelin/contracts/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 +356 -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 +1 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.ts +1 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/ERC721__factory.ts +416 -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/contracts/disperse/coinByRatio/FixedRatioCoinDisperserLeftoverS1__factory.ts +791 -0
- package/typechain-types/factories/contracts/disperse/coinByRatio/FixedRatioCoinDisperserUnlimitedWindow__factory.ts +711 -0
- package/typechain-types/factories/contracts/disperse/coinByRatio/FixedRatioCoinDisperser__factory.ts +1 -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 +19 -1
- package/typechain-types/factories/contracts/disperse/disperseToken/MintDisperser.sol/index.ts +1 -0
- package/typechain-types/factories/contracts/disperse/disperseToken/TokenDisperser__factory.ts +1 -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 +394 -0
- package/typechain-types/factories/contracts/mocks/token/ERC20Mock__factory.ts +392 -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 +1797 -0
- package/typechain-types/factories/contracts/mocks/token/PrivateERC20/PrivateERC20AuditorSupplyMock__factory.ts +1514 -0
- package/typechain-types/factories/contracts/mocks/token/PrivateERC20/PrivateERC20CappedMock__factory.ts +1466 -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 +771 -55
- 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 +549 -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 +947 -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 +1676 -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 +1678 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridgeERC20.sol/index.ts +5 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridgeUSDCe__factory.ts +1782 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridgeUSDT__factory.ts +1782 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridgeWADA__factory.ts +1782 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridgeWBTC__factory.ts +1782 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridgeWETH__factory.ts +1782 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridge__factory.ts +1367 -0
- package/typechain-types/factories/contracts/privacyBridge/PrivacyBridgegCoti__factory.ts +1782 -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 +793 -59
- package/typechain-types/factories/contracts/token/PrivateERC20/index.ts +3 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/tokens/PrivateBridgedUSDC__factory.ts +1445 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/tokens/PrivateCOTITreasuryGovernanceToken__factory.ts +1451 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/tokens/PrivateCOTI__factory.ts +1442 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/tokens/PrivateTetherUSD__factory.ts +1445 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/tokens/PrivateWrappedADA__factory.ts +1445 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/tokens/PrivateWrappedBTC__factory.ts +1445 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/tokens/PrivateWrappedEther__factory.ts +1451 -0
- package/typechain-types/factories/contracts/token/PrivateERC20/tokens/index.ts +10 -0
- package/typechain-types/factories/contracts/utils/mpc/MpcCore__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +953 -17
- package/typechain-types/index.ts +104 -0
- 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,1676 @@
|
|
|
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
|
+
PrivacyBridgeCotiNative,
|
|
19
|
+
PrivacyBridgeCotiNativeInterface,
|
|
20
|
+
} from "../../../contracts/privacyBridge/PrivacyBridgeCotiNative";
|
|
21
|
+
|
|
22
|
+
const _abi = [
|
|
23
|
+
{
|
|
24
|
+
inputs: [
|
|
25
|
+
{
|
|
26
|
+
internalType: "address",
|
|
27
|
+
name: "_privateCoti",
|
|
28
|
+
type: "address",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
internalType: "address",
|
|
32
|
+
name: "_feeRecipient",
|
|
33
|
+
type: "address",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
internalType: "address",
|
|
37
|
+
name: "_rescueRecipient",
|
|
38
|
+
type: "address",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
internalType: "address",
|
|
42
|
+
name: "_priceOracle",
|
|
43
|
+
type: "address",
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
stateMutability: "nonpayable",
|
|
47
|
+
type: "constructor",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
inputs: [
|
|
51
|
+
{
|
|
52
|
+
internalType: "address",
|
|
53
|
+
name: "account",
|
|
54
|
+
type: "address",
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
name: "AddressBlacklisted",
|
|
58
|
+
type: "error",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
inputs: [],
|
|
62
|
+
name: "AmountZero",
|
|
63
|
+
type: "error",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
inputs: [],
|
|
67
|
+
name: "BridgePaused",
|
|
68
|
+
type: "error",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
inputs: [],
|
|
72
|
+
name: "DepositBelowMinimum",
|
|
73
|
+
type: "error",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
inputs: [],
|
|
77
|
+
name: "DepositDisabled",
|
|
78
|
+
type: "error",
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
inputs: [],
|
|
82
|
+
name: "DepositExceedsMaximum",
|
|
83
|
+
type: "error",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
inputs: [],
|
|
87
|
+
name: "EthTransferFailed",
|
|
88
|
+
type: "error",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
inputs: [],
|
|
92
|
+
name: "FeeRecipientNotSet",
|
|
93
|
+
type: "error",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
inputs: [],
|
|
97
|
+
name: "InsufficientAccumulatedFees",
|
|
98
|
+
type: "error",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
inputs: [],
|
|
102
|
+
name: "InsufficientCotiFee",
|
|
103
|
+
type: "error",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
inputs: [],
|
|
107
|
+
name: "InsufficientEthBalance",
|
|
108
|
+
type: "error",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
inputs: [],
|
|
112
|
+
name: "InvalidAddress",
|
|
113
|
+
type: "error",
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
inputs: [],
|
|
117
|
+
name: "InvalidFee",
|
|
118
|
+
type: "error",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
inputs: [],
|
|
122
|
+
name: "InvalidFeeConfiguration",
|
|
123
|
+
type: "error",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
inputs: [],
|
|
127
|
+
name: "InvalidLimitConfiguration",
|
|
128
|
+
type: "error",
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
inputs: [],
|
|
132
|
+
name: "InvalidOraclePrice",
|
|
133
|
+
type: "error",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
inputs: [
|
|
137
|
+
{
|
|
138
|
+
internalType: "uint256",
|
|
139
|
+
name: "lastUpdated",
|
|
140
|
+
type: "uint256",
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
name: "OracleLastUpdatedInFuture",
|
|
144
|
+
type: "error",
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
inputs: [],
|
|
148
|
+
name: "OracleMaxAgeZeroDisallowed",
|
|
149
|
+
type: "error",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
inputs: [
|
|
153
|
+
{
|
|
154
|
+
internalType: "uint256",
|
|
155
|
+
name: "oracleLastUpdated",
|
|
156
|
+
type: "uint256",
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
internalType: "uint256",
|
|
160
|
+
name: "blockTimestamp",
|
|
161
|
+
type: "uint256",
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
internalType: "uint256",
|
|
165
|
+
name: "maxOracleAge",
|
|
166
|
+
type: "uint256",
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
name: "OraclePriceStale",
|
|
170
|
+
type: "error",
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
inputs: [
|
|
174
|
+
{
|
|
175
|
+
internalType: "uint256",
|
|
176
|
+
name: "expected",
|
|
177
|
+
type: "uint256",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
internalType: "uint256",
|
|
181
|
+
name: "actual",
|
|
182
|
+
type: "uint256",
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
name: "OracleTimestampMismatch",
|
|
186
|
+
type: "error",
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
inputs: [],
|
|
190
|
+
name: "PriceOracleNotSet",
|
|
191
|
+
type: "error",
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
inputs: [],
|
|
195
|
+
name: "WithdrawBelowMinimum",
|
|
196
|
+
type: "error",
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
inputs: [],
|
|
200
|
+
name: "WithdrawExceedsMaximum",
|
|
201
|
+
type: "error",
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
anonymous: false,
|
|
205
|
+
inputs: [
|
|
206
|
+
{
|
|
207
|
+
indexed: true,
|
|
208
|
+
internalType: "address",
|
|
209
|
+
name: "account",
|
|
210
|
+
type: "address",
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
indexed: true,
|
|
214
|
+
internalType: "address",
|
|
215
|
+
name: "by",
|
|
216
|
+
type: "address",
|
|
217
|
+
},
|
|
218
|
+
],
|
|
219
|
+
name: "Blacklisted",
|
|
220
|
+
type: "event",
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
anonymous: false,
|
|
224
|
+
inputs: [
|
|
225
|
+
{
|
|
226
|
+
indexed: true,
|
|
227
|
+
internalType: "address",
|
|
228
|
+
name: "feeRecipient",
|
|
229
|
+
type: "address",
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
indexed: false,
|
|
233
|
+
internalType: "uint256",
|
|
234
|
+
name: "amount",
|
|
235
|
+
type: "uint256",
|
|
236
|
+
},
|
|
237
|
+
],
|
|
238
|
+
name: "CotiFeesWithdrawn",
|
|
239
|
+
type: "event",
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
anonymous: false,
|
|
243
|
+
inputs: [
|
|
244
|
+
{
|
|
245
|
+
indexed: true,
|
|
246
|
+
internalType: "address",
|
|
247
|
+
name: "user",
|
|
248
|
+
type: "address",
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
indexed: false,
|
|
252
|
+
internalType: "uint256",
|
|
253
|
+
name: "grossAmount",
|
|
254
|
+
type: "uint256",
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
indexed: false,
|
|
258
|
+
internalType: "uint256",
|
|
259
|
+
name: "netAmount",
|
|
260
|
+
type: "uint256",
|
|
261
|
+
},
|
|
262
|
+
],
|
|
263
|
+
name: "Deposit",
|
|
264
|
+
type: "event",
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
anonymous: false,
|
|
268
|
+
inputs: [
|
|
269
|
+
{
|
|
270
|
+
indexed: false,
|
|
271
|
+
internalType: "bool",
|
|
272
|
+
name: "enabled",
|
|
273
|
+
type: "bool",
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
indexed: true,
|
|
277
|
+
internalType: "address",
|
|
278
|
+
name: "by",
|
|
279
|
+
type: "address",
|
|
280
|
+
},
|
|
281
|
+
],
|
|
282
|
+
name: "DepositEnabledUpdated",
|
|
283
|
+
type: "event",
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
anonymous: false,
|
|
287
|
+
inputs: [
|
|
288
|
+
{
|
|
289
|
+
indexed: false,
|
|
290
|
+
internalType: "string",
|
|
291
|
+
name: "feeType",
|
|
292
|
+
type: "string",
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
indexed: false,
|
|
296
|
+
internalType: "uint256",
|
|
297
|
+
name: "fixedFee",
|
|
298
|
+
type: "uint256",
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
indexed: false,
|
|
302
|
+
internalType: "uint256",
|
|
303
|
+
name: "percentageBps",
|
|
304
|
+
type: "uint256",
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
indexed: false,
|
|
308
|
+
internalType: "uint256",
|
|
309
|
+
name: "maxFee",
|
|
310
|
+
type: "uint256",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
name: "DynamicFeeUpdated",
|
|
314
|
+
type: "event",
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
anonymous: false,
|
|
318
|
+
inputs: [
|
|
319
|
+
{
|
|
320
|
+
indexed: true,
|
|
321
|
+
internalType: "address",
|
|
322
|
+
name: "to",
|
|
323
|
+
type: "address",
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
indexed: false,
|
|
327
|
+
internalType: "uint256",
|
|
328
|
+
name: "amount",
|
|
329
|
+
type: "uint256",
|
|
330
|
+
},
|
|
331
|
+
],
|
|
332
|
+
name: "FeesWithdrawn",
|
|
333
|
+
type: "event",
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
anonymous: false,
|
|
337
|
+
inputs: [
|
|
338
|
+
{
|
|
339
|
+
indexed: false,
|
|
340
|
+
internalType: "uint256",
|
|
341
|
+
name: "minDeposit",
|
|
342
|
+
type: "uint256",
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
indexed: false,
|
|
346
|
+
internalType: "uint256",
|
|
347
|
+
name: "maxDeposit",
|
|
348
|
+
type: "uint256",
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
indexed: false,
|
|
352
|
+
internalType: "uint256",
|
|
353
|
+
name: "minWithdraw",
|
|
354
|
+
type: "uint256",
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
indexed: false,
|
|
358
|
+
internalType: "uint256",
|
|
359
|
+
name: "maxWithdraw",
|
|
360
|
+
type: "uint256",
|
|
361
|
+
},
|
|
362
|
+
],
|
|
363
|
+
name: "LimitsUpdated",
|
|
364
|
+
type: "event",
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
anonymous: false,
|
|
368
|
+
inputs: [
|
|
369
|
+
{
|
|
370
|
+
indexed: false,
|
|
371
|
+
internalType: "uint256",
|
|
372
|
+
name: "maxOracleAge",
|
|
373
|
+
type: "uint256",
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
indexed: true,
|
|
377
|
+
internalType: "address",
|
|
378
|
+
name: "by",
|
|
379
|
+
type: "address",
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
name: "MaxOracleAgeUpdated",
|
|
383
|
+
type: "event",
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
anonymous: false,
|
|
387
|
+
inputs: [
|
|
388
|
+
{
|
|
389
|
+
indexed: true,
|
|
390
|
+
internalType: "address",
|
|
391
|
+
name: "user",
|
|
392
|
+
type: "address",
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
indexed: false,
|
|
396
|
+
internalType: "uint256",
|
|
397
|
+
name: "amount",
|
|
398
|
+
type: "uint256",
|
|
399
|
+
},
|
|
400
|
+
],
|
|
401
|
+
name: "NativeRefundExcessPushFailed",
|
|
402
|
+
type: "event",
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
anonymous: false,
|
|
406
|
+
inputs: [
|
|
407
|
+
{
|
|
408
|
+
indexed: true,
|
|
409
|
+
internalType: "address",
|
|
410
|
+
name: "to",
|
|
411
|
+
type: "address",
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
indexed: false,
|
|
415
|
+
internalType: "uint256",
|
|
416
|
+
name: "amount",
|
|
417
|
+
type: "uint256",
|
|
418
|
+
},
|
|
419
|
+
],
|
|
420
|
+
name: "NativeRescued",
|
|
421
|
+
type: "event",
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
anonymous: false,
|
|
425
|
+
inputs: [
|
|
426
|
+
{
|
|
427
|
+
indexed: true,
|
|
428
|
+
internalType: "address",
|
|
429
|
+
name: "account",
|
|
430
|
+
type: "address",
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
indexed: true,
|
|
434
|
+
internalType: "address",
|
|
435
|
+
name: "by",
|
|
436
|
+
type: "address",
|
|
437
|
+
},
|
|
438
|
+
],
|
|
439
|
+
name: "OperatorAdded",
|
|
440
|
+
type: "event",
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
anonymous: false,
|
|
444
|
+
inputs: [
|
|
445
|
+
{
|
|
446
|
+
indexed: true,
|
|
447
|
+
internalType: "address",
|
|
448
|
+
name: "account",
|
|
449
|
+
type: "address",
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
indexed: true,
|
|
453
|
+
internalType: "address",
|
|
454
|
+
name: "by",
|
|
455
|
+
type: "address",
|
|
456
|
+
},
|
|
457
|
+
],
|
|
458
|
+
name: "OperatorRemoved",
|
|
459
|
+
type: "event",
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
anonymous: false,
|
|
463
|
+
inputs: [
|
|
464
|
+
{
|
|
465
|
+
indexed: true,
|
|
466
|
+
internalType: "address",
|
|
467
|
+
name: "previousOwner",
|
|
468
|
+
type: "address",
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
indexed: true,
|
|
472
|
+
internalType: "address",
|
|
473
|
+
name: "newOwner",
|
|
474
|
+
type: "address",
|
|
475
|
+
},
|
|
476
|
+
],
|
|
477
|
+
name: "OwnershipTransferred",
|
|
478
|
+
type: "event",
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
anonymous: false,
|
|
482
|
+
inputs: [
|
|
483
|
+
{
|
|
484
|
+
indexed: false,
|
|
485
|
+
internalType: "address",
|
|
486
|
+
name: "account",
|
|
487
|
+
type: "address",
|
|
488
|
+
},
|
|
489
|
+
],
|
|
490
|
+
name: "Paused",
|
|
491
|
+
type: "event",
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
anonymous: false,
|
|
495
|
+
inputs: [
|
|
496
|
+
{
|
|
497
|
+
indexed: true,
|
|
498
|
+
internalType: "address",
|
|
499
|
+
name: "oldOracle",
|
|
500
|
+
type: "address",
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
indexed: true,
|
|
504
|
+
internalType: "address",
|
|
505
|
+
name: "newOracle",
|
|
506
|
+
type: "address",
|
|
507
|
+
},
|
|
508
|
+
],
|
|
509
|
+
name: "PriceOracleUpdated",
|
|
510
|
+
type: "event",
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
anonymous: false,
|
|
514
|
+
inputs: [
|
|
515
|
+
{
|
|
516
|
+
indexed: true,
|
|
517
|
+
internalType: "address",
|
|
518
|
+
name: "user",
|
|
519
|
+
type: "address",
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
indexed: false,
|
|
523
|
+
internalType: "uint256",
|
|
524
|
+
name: "amount",
|
|
525
|
+
type: "uint256",
|
|
526
|
+
},
|
|
527
|
+
],
|
|
528
|
+
name: "RefundableNativeExcessClaimed",
|
|
529
|
+
type: "event",
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
anonymous: false,
|
|
533
|
+
inputs: [
|
|
534
|
+
{
|
|
535
|
+
indexed: true,
|
|
536
|
+
internalType: "bytes32",
|
|
537
|
+
name: "role",
|
|
538
|
+
type: "bytes32",
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
indexed: true,
|
|
542
|
+
internalType: "bytes32",
|
|
543
|
+
name: "previousAdminRole",
|
|
544
|
+
type: "bytes32",
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
indexed: true,
|
|
548
|
+
internalType: "bytes32",
|
|
549
|
+
name: "newAdminRole",
|
|
550
|
+
type: "bytes32",
|
|
551
|
+
},
|
|
552
|
+
],
|
|
553
|
+
name: "RoleAdminChanged",
|
|
554
|
+
type: "event",
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
anonymous: false,
|
|
558
|
+
inputs: [
|
|
559
|
+
{
|
|
560
|
+
indexed: true,
|
|
561
|
+
internalType: "bytes32",
|
|
562
|
+
name: "role",
|
|
563
|
+
type: "bytes32",
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
indexed: true,
|
|
567
|
+
internalType: "address",
|
|
568
|
+
name: "account",
|
|
569
|
+
type: "address",
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
indexed: true,
|
|
573
|
+
internalType: "address",
|
|
574
|
+
name: "sender",
|
|
575
|
+
type: "address",
|
|
576
|
+
},
|
|
577
|
+
],
|
|
578
|
+
name: "RoleGranted",
|
|
579
|
+
type: "event",
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
anonymous: false,
|
|
583
|
+
inputs: [
|
|
584
|
+
{
|
|
585
|
+
indexed: true,
|
|
586
|
+
internalType: "bytes32",
|
|
587
|
+
name: "role",
|
|
588
|
+
type: "bytes32",
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
indexed: true,
|
|
592
|
+
internalType: "address",
|
|
593
|
+
name: "account",
|
|
594
|
+
type: "address",
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
indexed: true,
|
|
598
|
+
internalType: "address",
|
|
599
|
+
name: "sender",
|
|
600
|
+
type: "address",
|
|
601
|
+
},
|
|
602
|
+
],
|
|
603
|
+
name: "RoleRevoked",
|
|
604
|
+
type: "event",
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
anonymous: false,
|
|
608
|
+
inputs: [
|
|
609
|
+
{
|
|
610
|
+
indexed: true,
|
|
611
|
+
internalType: "address",
|
|
612
|
+
name: "account",
|
|
613
|
+
type: "address",
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
indexed: true,
|
|
617
|
+
internalType: "address",
|
|
618
|
+
name: "by",
|
|
619
|
+
type: "address",
|
|
620
|
+
},
|
|
621
|
+
],
|
|
622
|
+
name: "UnBlacklisted",
|
|
623
|
+
type: "event",
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
anonymous: false,
|
|
627
|
+
inputs: [
|
|
628
|
+
{
|
|
629
|
+
indexed: false,
|
|
630
|
+
internalType: "address",
|
|
631
|
+
name: "account",
|
|
632
|
+
type: "address",
|
|
633
|
+
},
|
|
634
|
+
],
|
|
635
|
+
name: "Unpaused",
|
|
636
|
+
type: "event",
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
anonymous: false,
|
|
640
|
+
inputs: [
|
|
641
|
+
{
|
|
642
|
+
indexed: true,
|
|
643
|
+
internalType: "address",
|
|
644
|
+
name: "user",
|
|
645
|
+
type: "address",
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
indexed: false,
|
|
649
|
+
internalType: "uint256",
|
|
650
|
+
name: "grossAmount",
|
|
651
|
+
type: "uint256",
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
indexed: false,
|
|
655
|
+
internalType: "uint256",
|
|
656
|
+
name: "netAmount",
|
|
657
|
+
type: "uint256",
|
|
658
|
+
},
|
|
659
|
+
],
|
|
660
|
+
name: "Withdraw",
|
|
661
|
+
type: "event",
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
inputs: [],
|
|
665
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
666
|
+
outputs: [
|
|
667
|
+
{
|
|
668
|
+
internalType: "bytes32",
|
|
669
|
+
name: "",
|
|
670
|
+
type: "bytes32",
|
|
671
|
+
},
|
|
672
|
+
],
|
|
673
|
+
stateMutability: "view",
|
|
674
|
+
type: "function",
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
inputs: [],
|
|
678
|
+
name: "DEFAULT_MAX_ORACLE_AGE",
|
|
679
|
+
outputs: [
|
|
680
|
+
{
|
|
681
|
+
internalType: "uint256",
|
|
682
|
+
name: "",
|
|
683
|
+
type: "uint256",
|
|
684
|
+
},
|
|
685
|
+
],
|
|
686
|
+
stateMutability: "view",
|
|
687
|
+
type: "function",
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
inputs: [],
|
|
691
|
+
name: "FEE_DIVISOR",
|
|
692
|
+
outputs: [
|
|
693
|
+
{
|
|
694
|
+
internalType: "uint256",
|
|
695
|
+
name: "",
|
|
696
|
+
type: "uint256",
|
|
697
|
+
},
|
|
698
|
+
],
|
|
699
|
+
stateMutability: "view",
|
|
700
|
+
type: "function",
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
inputs: [],
|
|
704
|
+
name: "MAX_FEE_UNITS",
|
|
705
|
+
outputs: [
|
|
706
|
+
{
|
|
707
|
+
internalType: "uint256",
|
|
708
|
+
name: "",
|
|
709
|
+
type: "uint256",
|
|
710
|
+
},
|
|
711
|
+
],
|
|
712
|
+
stateMutability: "view",
|
|
713
|
+
type: "function",
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
inputs: [],
|
|
717
|
+
name: "OPERATOR_ROLE",
|
|
718
|
+
outputs: [
|
|
719
|
+
{
|
|
720
|
+
internalType: "bytes32",
|
|
721
|
+
name: "",
|
|
722
|
+
type: "bytes32",
|
|
723
|
+
},
|
|
724
|
+
],
|
|
725
|
+
stateMutability: "view",
|
|
726
|
+
type: "function",
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
inputs: [],
|
|
730
|
+
name: "accumulatedCotiFees",
|
|
731
|
+
outputs: [
|
|
732
|
+
{
|
|
733
|
+
internalType: "uint256",
|
|
734
|
+
name: "",
|
|
735
|
+
type: "uint256",
|
|
736
|
+
},
|
|
737
|
+
],
|
|
738
|
+
stateMutability: "view",
|
|
739
|
+
type: "function",
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
inputs: [
|
|
743
|
+
{
|
|
744
|
+
internalType: "address",
|
|
745
|
+
name: "account",
|
|
746
|
+
type: "address",
|
|
747
|
+
},
|
|
748
|
+
],
|
|
749
|
+
name: "addOperator",
|
|
750
|
+
outputs: [],
|
|
751
|
+
stateMutability: "nonpayable",
|
|
752
|
+
type: "function",
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
inputs: [
|
|
756
|
+
{
|
|
757
|
+
internalType: "address",
|
|
758
|
+
name: "account",
|
|
759
|
+
type: "address",
|
|
760
|
+
},
|
|
761
|
+
],
|
|
762
|
+
name: "addToBlacklist",
|
|
763
|
+
outputs: [],
|
|
764
|
+
stateMutability: "nonpayable",
|
|
765
|
+
type: "function",
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
inputs: [
|
|
769
|
+
{
|
|
770
|
+
internalType: "address",
|
|
771
|
+
name: "",
|
|
772
|
+
type: "address",
|
|
773
|
+
},
|
|
774
|
+
],
|
|
775
|
+
name: "blacklisted",
|
|
776
|
+
outputs: [
|
|
777
|
+
{
|
|
778
|
+
internalType: "bool",
|
|
779
|
+
name: "",
|
|
780
|
+
type: "bool",
|
|
781
|
+
},
|
|
782
|
+
],
|
|
783
|
+
stateMutability: "view",
|
|
784
|
+
type: "function",
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
inputs: [],
|
|
788
|
+
name: "claimRefundableNativeExcess",
|
|
789
|
+
outputs: [],
|
|
790
|
+
stateMutability: "nonpayable",
|
|
791
|
+
type: "function",
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
inputs: [
|
|
795
|
+
{
|
|
796
|
+
internalType: "uint256",
|
|
797
|
+
name: "cotiAmount",
|
|
798
|
+
type: "uint256",
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
internalType: "uint256",
|
|
802
|
+
name: "fixedFee",
|
|
803
|
+
type: "uint256",
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
internalType: "uint256",
|
|
807
|
+
name: "percentageBps",
|
|
808
|
+
type: "uint256",
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
internalType: "uint256",
|
|
812
|
+
name: "maxFee",
|
|
813
|
+
type: "uint256",
|
|
814
|
+
},
|
|
815
|
+
],
|
|
816
|
+
name: "computeCotiFee",
|
|
817
|
+
outputs: [
|
|
818
|
+
{
|
|
819
|
+
internalType: "uint256",
|
|
820
|
+
name: "",
|
|
821
|
+
type: "uint256",
|
|
822
|
+
},
|
|
823
|
+
],
|
|
824
|
+
stateMutability: "view",
|
|
825
|
+
type: "function",
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
inputs: [
|
|
829
|
+
{
|
|
830
|
+
internalType: "uint256",
|
|
831
|
+
name: "cotiOracleTimestamp",
|
|
832
|
+
type: "uint256",
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
internalType: "uint256",
|
|
836
|
+
name: "tokenOracleTimestamp",
|
|
837
|
+
type: "uint256",
|
|
838
|
+
},
|
|
839
|
+
],
|
|
840
|
+
name: "deposit",
|
|
841
|
+
outputs: [],
|
|
842
|
+
stateMutability: "payable",
|
|
843
|
+
type: "function",
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
inputs: [],
|
|
847
|
+
name: "depositFixedFee",
|
|
848
|
+
outputs: [
|
|
849
|
+
{
|
|
850
|
+
internalType: "uint256",
|
|
851
|
+
name: "",
|
|
852
|
+
type: "uint256",
|
|
853
|
+
},
|
|
854
|
+
],
|
|
855
|
+
stateMutability: "view",
|
|
856
|
+
type: "function",
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
inputs: [],
|
|
860
|
+
name: "depositMaxFee",
|
|
861
|
+
outputs: [
|
|
862
|
+
{
|
|
863
|
+
internalType: "uint256",
|
|
864
|
+
name: "",
|
|
865
|
+
type: "uint256",
|
|
866
|
+
},
|
|
867
|
+
],
|
|
868
|
+
stateMutability: "view",
|
|
869
|
+
type: "function",
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
inputs: [],
|
|
873
|
+
name: "depositPercentageBps",
|
|
874
|
+
outputs: [
|
|
875
|
+
{
|
|
876
|
+
internalType: "uint256",
|
|
877
|
+
name: "",
|
|
878
|
+
type: "uint256",
|
|
879
|
+
},
|
|
880
|
+
],
|
|
881
|
+
stateMutability: "view",
|
|
882
|
+
type: "function",
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
inputs: [
|
|
886
|
+
{
|
|
887
|
+
internalType: "uint256",
|
|
888
|
+
name: "cotiAmount",
|
|
889
|
+
type: "uint256",
|
|
890
|
+
},
|
|
891
|
+
],
|
|
892
|
+
name: "estimateDepositFee",
|
|
893
|
+
outputs: [
|
|
894
|
+
{
|
|
895
|
+
internalType: "uint256",
|
|
896
|
+
name: "fee",
|
|
897
|
+
type: "uint256",
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
internalType: "uint256",
|
|
901
|
+
name: "cotiLastUpdated",
|
|
902
|
+
type: "uint256",
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
internalType: "uint256",
|
|
906
|
+
name: "blockTimestamp",
|
|
907
|
+
type: "uint256",
|
|
908
|
+
},
|
|
909
|
+
],
|
|
910
|
+
stateMutability: "view",
|
|
911
|
+
type: "function",
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
inputs: [
|
|
915
|
+
{
|
|
916
|
+
internalType: "uint256",
|
|
917
|
+
name: "cotiAmount",
|
|
918
|
+
type: "uint256",
|
|
919
|
+
},
|
|
920
|
+
],
|
|
921
|
+
name: "estimateWithdrawFee",
|
|
922
|
+
outputs: [
|
|
923
|
+
{
|
|
924
|
+
internalType: "uint256",
|
|
925
|
+
name: "fee",
|
|
926
|
+
type: "uint256",
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
internalType: "uint256",
|
|
930
|
+
name: "cotiLastUpdated",
|
|
931
|
+
type: "uint256",
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
internalType: "uint256",
|
|
935
|
+
name: "blockTimestamp",
|
|
936
|
+
type: "uint256",
|
|
937
|
+
},
|
|
938
|
+
],
|
|
939
|
+
stateMutability: "view",
|
|
940
|
+
type: "function",
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
inputs: [],
|
|
944
|
+
name: "feeRecipient",
|
|
945
|
+
outputs: [
|
|
946
|
+
{
|
|
947
|
+
internalType: "address",
|
|
948
|
+
name: "",
|
|
949
|
+
type: "address",
|
|
950
|
+
},
|
|
951
|
+
],
|
|
952
|
+
stateMutability: "view",
|
|
953
|
+
type: "function",
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
inputs: [],
|
|
957
|
+
name: "getBridgeBalance",
|
|
958
|
+
outputs: [
|
|
959
|
+
{
|
|
960
|
+
internalType: "uint256",
|
|
961
|
+
name: "",
|
|
962
|
+
type: "uint256",
|
|
963
|
+
},
|
|
964
|
+
],
|
|
965
|
+
stateMutability: "view",
|
|
966
|
+
type: "function",
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
inputs: [
|
|
970
|
+
{
|
|
971
|
+
internalType: "bytes32",
|
|
972
|
+
name: "role",
|
|
973
|
+
type: "bytes32",
|
|
974
|
+
},
|
|
975
|
+
],
|
|
976
|
+
name: "getRoleAdmin",
|
|
977
|
+
outputs: [
|
|
978
|
+
{
|
|
979
|
+
internalType: "bytes32",
|
|
980
|
+
name: "",
|
|
981
|
+
type: "bytes32",
|
|
982
|
+
},
|
|
983
|
+
],
|
|
984
|
+
stateMutability: "view",
|
|
985
|
+
type: "function",
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
inputs: [
|
|
989
|
+
{
|
|
990
|
+
internalType: "bytes32",
|
|
991
|
+
name: "role",
|
|
992
|
+
type: "bytes32",
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
internalType: "uint256",
|
|
996
|
+
name: "index",
|
|
997
|
+
type: "uint256",
|
|
998
|
+
},
|
|
999
|
+
],
|
|
1000
|
+
name: "getRoleMember",
|
|
1001
|
+
outputs: [
|
|
1002
|
+
{
|
|
1003
|
+
internalType: "address",
|
|
1004
|
+
name: "",
|
|
1005
|
+
type: "address",
|
|
1006
|
+
},
|
|
1007
|
+
],
|
|
1008
|
+
stateMutability: "view",
|
|
1009
|
+
type: "function",
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
inputs: [
|
|
1013
|
+
{
|
|
1014
|
+
internalType: "bytes32",
|
|
1015
|
+
name: "role",
|
|
1016
|
+
type: "bytes32",
|
|
1017
|
+
},
|
|
1018
|
+
],
|
|
1019
|
+
name: "getRoleMemberCount",
|
|
1020
|
+
outputs: [
|
|
1021
|
+
{
|
|
1022
|
+
internalType: "uint256",
|
|
1023
|
+
name: "",
|
|
1024
|
+
type: "uint256",
|
|
1025
|
+
},
|
|
1026
|
+
],
|
|
1027
|
+
stateMutability: "view",
|
|
1028
|
+
type: "function",
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
inputs: [
|
|
1032
|
+
{
|
|
1033
|
+
internalType: "bytes32",
|
|
1034
|
+
name: "role",
|
|
1035
|
+
type: "bytes32",
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
internalType: "address",
|
|
1039
|
+
name: "account",
|
|
1040
|
+
type: "address",
|
|
1041
|
+
},
|
|
1042
|
+
],
|
|
1043
|
+
name: "grantRole",
|
|
1044
|
+
outputs: [],
|
|
1045
|
+
stateMutability: "nonpayable",
|
|
1046
|
+
type: "function",
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
inputs: [
|
|
1050
|
+
{
|
|
1051
|
+
internalType: "bytes32",
|
|
1052
|
+
name: "role",
|
|
1053
|
+
type: "bytes32",
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
internalType: "address",
|
|
1057
|
+
name: "account",
|
|
1058
|
+
type: "address",
|
|
1059
|
+
},
|
|
1060
|
+
],
|
|
1061
|
+
name: "hasRole",
|
|
1062
|
+
outputs: [
|
|
1063
|
+
{
|
|
1064
|
+
internalType: "bool",
|
|
1065
|
+
name: "",
|
|
1066
|
+
type: "bool",
|
|
1067
|
+
},
|
|
1068
|
+
],
|
|
1069
|
+
stateMutability: "view",
|
|
1070
|
+
type: "function",
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
inputs: [],
|
|
1074
|
+
name: "isDepositEnabled",
|
|
1075
|
+
outputs: [
|
|
1076
|
+
{
|
|
1077
|
+
internalType: "bool",
|
|
1078
|
+
name: "",
|
|
1079
|
+
type: "bool",
|
|
1080
|
+
},
|
|
1081
|
+
],
|
|
1082
|
+
stateMutability: "view",
|
|
1083
|
+
type: "function",
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
inputs: [
|
|
1087
|
+
{
|
|
1088
|
+
internalType: "address",
|
|
1089
|
+
name: "account",
|
|
1090
|
+
type: "address",
|
|
1091
|
+
},
|
|
1092
|
+
],
|
|
1093
|
+
name: "isOperator",
|
|
1094
|
+
outputs: [
|
|
1095
|
+
{
|
|
1096
|
+
internalType: "bool",
|
|
1097
|
+
name: "",
|
|
1098
|
+
type: "bool",
|
|
1099
|
+
},
|
|
1100
|
+
],
|
|
1101
|
+
stateMutability: "view",
|
|
1102
|
+
type: "function",
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
inputs: [],
|
|
1106
|
+
name: "maxDepositAmount",
|
|
1107
|
+
outputs: [
|
|
1108
|
+
{
|
|
1109
|
+
internalType: "uint256",
|
|
1110
|
+
name: "",
|
|
1111
|
+
type: "uint256",
|
|
1112
|
+
},
|
|
1113
|
+
],
|
|
1114
|
+
stateMutability: "view",
|
|
1115
|
+
type: "function",
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
inputs: [],
|
|
1119
|
+
name: "maxOracleAge",
|
|
1120
|
+
outputs: [
|
|
1121
|
+
{
|
|
1122
|
+
internalType: "uint256",
|
|
1123
|
+
name: "",
|
|
1124
|
+
type: "uint256",
|
|
1125
|
+
},
|
|
1126
|
+
],
|
|
1127
|
+
stateMutability: "view",
|
|
1128
|
+
type: "function",
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
inputs: [],
|
|
1132
|
+
name: "maxWithdrawAmount",
|
|
1133
|
+
outputs: [
|
|
1134
|
+
{
|
|
1135
|
+
internalType: "uint256",
|
|
1136
|
+
name: "",
|
|
1137
|
+
type: "uint256",
|
|
1138
|
+
},
|
|
1139
|
+
],
|
|
1140
|
+
stateMutability: "view",
|
|
1141
|
+
type: "function",
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
inputs: [],
|
|
1145
|
+
name: "minDepositAmount",
|
|
1146
|
+
outputs: [
|
|
1147
|
+
{
|
|
1148
|
+
internalType: "uint256",
|
|
1149
|
+
name: "",
|
|
1150
|
+
type: "uint256",
|
|
1151
|
+
},
|
|
1152
|
+
],
|
|
1153
|
+
stateMutability: "view",
|
|
1154
|
+
type: "function",
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
inputs: [],
|
|
1158
|
+
name: "minWithdrawAmount",
|
|
1159
|
+
outputs: [
|
|
1160
|
+
{
|
|
1161
|
+
internalType: "uint256",
|
|
1162
|
+
name: "",
|
|
1163
|
+
type: "uint256",
|
|
1164
|
+
},
|
|
1165
|
+
],
|
|
1166
|
+
stateMutability: "view",
|
|
1167
|
+
type: "function",
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
inputs: [],
|
|
1171
|
+
name: "owner",
|
|
1172
|
+
outputs: [
|
|
1173
|
+
{
|
|
1174
|
+
internalType: "address",
|
|
1175
|
+
name: "",
|
|
1176
|
+
type: "address",
|
|
1177
|
+
},
|
|
1178
|
+
],
|
|
1179
|
+
stateMutability: "view",
|
|
1180
|
+
type: "function",
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
inputs: [],
|
|
1184
|
+
name: "pause",
|
|
1185
|
+
outputs: [],
|
|
1186
|
+
stateMutability: "nonpayable",
|
|
1187
|
+
type: "function",
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
inputs: [],
|
|
1191
|
+
name: "paused",
|
|
1192
|
+
outputs: [
|
|
1193
|
+
{
|
|
1194
|
+
internalType: "bool",
|
|
1195
|
+
name: "",
|
|
1196
|
+
type: "bool",
|
|
1197
|
+
},
|
|
1198
|
+
],
|
|
1199
|
+
stateMutability: "view",
|
|
1200
|
+
type: "function",
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
inputs: [],
|
|
1204
|
+
name: "priceOracle",
|
|
1205
|
+
outputs: [
|
|
1206
|
+
{
|
|
1207
|
+
internalType: "address",
|
|
1208
|
+
name: "",
|
|
1209
|
+
type: "address",
|
|
1210
|
+
},
|
|
1211
|
+
],
|
|
1212
|
+
stateMutability: "view",
|
|
1213
|
+
type: "function",
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
inputs: [],
|
|
1217
|
+
name: "privateCoti",
|
|
1218
|
+
outputs: [
|
|
1219
|
+
{
|
|
1220
|
+
internalType: "contract PrivateCOTI",
|
|
1221
|
+
name: "",
|
|
1222
|
+
type: "address",
|
|
1223
|
+
},
|
|
1224
|
+
],
|
|
1225
|
+
stateMutability: "view",
|
|
1226
|
+
type: "function",
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
inputs: [
|
|
1230
|
+
{
|
|
1231
|
+
internalType: "address",
|
|
1232
|
+
name: "",
|
|
1233
|
+
type: "address",
|
|
1234
|
+
},
|
|
1235
|
+
],
|
|
1236
|
+
name: "refundableNativeExcess",
|
|
1237
|
+
outputs: [
|
|
1238
|
+
{
|
|
1239
|
+
internalType: "uint256",
|
|
1240
|
+
name: "",
|
|
1241
|
+
type: "uint256",
|
|
1242
|
+
},
|
|
1243
|
+
],
|
|
1244
|
+
stateMutability: "view",
|
|
1245
|
+
type: "function",
|
|
1246
|
+
},
|
|
1247
|
+
{
|
|
1248
|
+
inputs: [
|
|
1249
|
+
{
|
|
1250
|
+
internalType: "address",
|
|
1251
|
+
name: "account",
|
|
1252
|
+
type: "address",
|
|
1253
|
+
},
|
|
1254
|
+
],
|
|
1255
|
+
name: "removeFromBlacklist",
|
|
1256
|
+
outputs: [],
|
|
1257
|
+
stateMutability: "nonpayable",
|
|
1258
|
+
type: "function",
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
inputs: [
|
|
1262
|
+
{
|
|
1263
|
+
internalType: "address",
|
|
1264
|
+
name: "account",
|
|
1265
|
+
type: "address",
|
|
1266
|
+
},
|
|
1267
|
+
],
|
|
1268
|
+
name: "removeOperator",
|
|
1269
|
+
outputs: [],
|
|
1270
|
+
stateMutability: "nonpayable",
|
|
1271
|
+
type: "function",
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
inputs: [],
|
|
1275
|
+
name: "renounceOwnership",
|
|
1276
|
+
outputs: [],
|
|
1277
|
+
stateMutability: "nonpayable",
|
|
1278
|
+
type: "function",
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
inputs: [
|
|
1282
|
+
{
|
|
1283
|
+
internalType: "bytes32",
|
|
1284
|
+
name: "role",
|
|
1285
|
+
type: "bytes32",
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
internalType: "address",
|
|
1289
|
+
name: "account",
|
|
1290
|
+
type: "address",
|
|
1291
|
+
},
|
|
1292
|
+
],
|
|
1293
|
+
name: "renounceRole",
|
|
1294
|
+
outputs: [],
|
|
1295
|
+
stateMutability: "nonpayable",
|
|
1296
|
+
type: "function",
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
inputs: [
|
|
1300
|
+
{
|
|
1301
|
+
internalType: "uint256",
|
|
1302
|
+
name: "amount",
|
|
1303
|
+
type: "uint256",
|
|
1304
|
+
},
|
|
1305
|
+
],
|
|
1306
|
+
name: "rescueNative",
|
|
1307
|
+
outputs: [],
|
|
1308
|
+
stateMutability: "nonpayable",
|
|
1309
|
+
type: "function",
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
inputs: [],
|
|
1313
|
+
name: "rescueRecipient",
|
|
1314
|
+
outputs: [
|
|
1315
|
+
{
|
|
1316
|
+
internalType: "address",
|
|
1317
|
+
name: "",
|
|
1318
|
+
type: "address",
|
|
1319
|
+
},
|
|
1320
|
+
],
|
|
1321
|
+
stateMutability: "view",
|
|
1322
|
+
type: "function",
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
inputs: [
|
|
1326
|
+
{
|
|
1327
|
+
internalType: "bytes32",
|
|
1328
|
+
name: "role",
|
|
1329
|
+
type: "bytes32",
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
internalType: "address",
|
|
1333
|
+
name: "account",
|
|
1334
|
+
type: "address",
|
|
1335
|
+
},
|
|
1336
|
+
],
|
|
1337
|
+
name: "revokeRole",
|
|
1338
|
+
outputs: [],
|
|
1339
|
+
stateMutability: "nonpayable",
|
|
1340
|
+
type: "function",
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
inputs: [
|
|
1344
|
+
{
|
|
1345
|
+
internalType: "uint256",
|
|
1346
|
+
name: "_fixedFee",
|
|
1347
|
+
type: "uint256",
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
internalType: "uint256",
|
|
1351
|
+
name: "_percentageBps",
|
|
1352
|
+
type: "uint256",
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
internalType: "uint256",
|
|
1356
|
+
name: "_maxFee",
|
|
1357
|
+
type: "uint256",
|
|
1358
|
+
},
|
|
1359
|
+
],
|
|
1360
|
+
name: "setDepositDynamicFee",
|
|
1361
|
+
outputs: [],
|
|
1362
|
+
stateMutability: "nonpayable",
|
|
1363
|
+
type: "function",
|
|
1364
|
+
},
|
|
1365
|
+
{
|
|
1366
|
+
inputs: [
|
|
1367
|
+
{
|
|
1368
|
+
internalType: "bool",
|
|
1369
|
+
name: "_enabled",
|
|
1370
|
+
type: "bool",
|
|
1371
|
+
},
|
|
1372
|
+
],
|
|
1373
|
+
name: "setIsDepositEnabled",
|
|
1374
|
+
outputs: [],
|
|
1375
|
+
stateMutability: "nonpayable",
|
|
1376
|
+
type: "function",
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
inputs: [
|
|
1380
|
+
{
|
|
1381
|
+
internalType: "uint256",
|
|
1382
|
+
name: "_minDeposit",
|
|
1383
|
+
type: "uint256",
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
internalType: "uint256",
|
|
1387
|
+
name: "_maxDeposit",
|
|
1388
|
+
type: "uint256",
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
internalType: "uint256",
|
|
1392
|
+
name: "_minWithdraw",
|
|
1393
|
+
type: "uint256",
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
internalType: "uint256",
|
|
1397
|
+
name: "_maxWithdraw",
|
|
1398
|
+
type: "uint256",
|
|
1399
|
+
},
|
|
1400
|
+
],
|
|
1401
|
+
name: "setLimits",
|
|
1402
|
+
outputs: [],
|
|
1403
|
+
stateMutability: "nonpayable",
|
|
1404
|
+
type: "function",
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
inputs: [
|
|
1408
|
+
{
|
|
1409
|
+
internalType: "uint256",
|
|
1410
|
+
name: "_maxOracleAge",
|
|
1411
|
+
type: "uint256",
|
|
1412
|
+
},
|
|
1413
|
+
],
|
|
1414
|
+
name: "setMaxOracleAge",
|
|
1415
|
+
outputs: [],
|
|
1416
|
+
stateMutability: "nonpayable",
|
|
1417
|
+
type: "function",
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
inputs: [
|
|
1421
|
+
{
|
|
1422
|
+
internalType: "address",
|
|
1423
|
+
name: "_oracle",
|
|
1424
|
+
type: "address",
|
|
1425
|
+
},
|
|
1426
|
+
],
|
|
1427
|
+
name: "setPriceOracle",
|
|
1428
|
+
outputs: [],
|
|
1429
|
+
stateMutability: "nonpayable",
|
|
1430
|
+
type: "function",
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
inputs: [
|
|
1434
|
+
{
|
|
1435
|
+
internalType: "uint256",
|
|
1436
|
+
name: "_fixedFee",
|
|
1437
|
+
type: "uint256",
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
internalType: "uint256",
|
|
1441
|
+
name: "_percentageBps",
|
|
1442
|
+
type: "uint256",
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
internalType: "uint256",
|
|
1446
|
+
name: "_maxFee",
|
|
1447
|
+
type: "uint256",
|
|
1448
|
+
},
|
|
1449
|
+
],
|
|
1450
|
+
name: "setWithdrawDynamicFee",
|
|
1451
|
+
outputs: [],
|
|
1452
|
+
stateMutability: "nonpayable",
|
|
1453
|
+
type: "function",
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
inputs: [
|
|
1457
|
+
{
|
|
1458
|
+
internalType: "bytes4",
|
|
1459
|
+
name: "interfaceId",
|
|
1460
|
+
type: "bytes4",
|
|
1461
|
+
},
|
|
1462
|
+
],
|
|
1463
|
+
name: "supportsInterface",
|
|
1464
|
+
outputs: [
|
|
1465
|
+
{
|
|
1466
|
+
internalType: "bool",
|
|
1467
|
+
name: "",
|
|
1468
|
+
type: "bool",
|
|
1469
|
+
},
|
|
1470
|
+
],
|
|
1471
|
+
stateMutability: "view",
|
|
1472
|
+
type: "function",
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
inputs: [],
|
|
1476
|
+
name: "totalUserLiability",
|
|
1477
|
+
outputs: [
|
|
1478
|
+
{
|
|
1479
|
+
internalType: "uint256",
|
|
1480
|
+
name: "",
|
|
1481
|
+
type: "uint256",
|
|
1482
|
+
},
|
|
1483
|
+
],
|
|
1484
|
+
stateMutability: "view",
|
|
1485
|
+
type: "function",
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
inputs: [
|
|
1489
|
+
{
|
|
1490
|
+
internalType: "address",
|
|
1491
|
+
name: "newOwner",
|
|
1492
|
+
type: "address",
|
|
1493
|
+
},
|
|
1494
|
+
],
|
|
1495
|
+
name: "transferOwnership",
|
|
1496
|
+
outputs: [],
|
|
1497
|
+
stateMutability: "nonpayable",
|
|
1498
|
+
type: "function",
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
inputs: [],
|
|
1502
|
+
name: "unpause",
|
|
1503
|
+
outputs: [],
|
|
1504
|
+
stateMutability: "nonpayable",
|
|
1505
|
+
type: "function",
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
inputs: [
|
|
1509
|
+
{
|
|
1510
|
+
internalType: "uint256",
|
|
1511
|
+
name: "amount",
|
|
1512
|
+
type: "uint256",
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
internalType: "uint256",
|
|
1516
|
+
name: "cotiOracleTimestamp",
|
|
1517
|
+
type: "uint256",
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
internalType: "uint256",
|
|
1521
|
+
name: "tokenOracleTimestamp",
|
|
1522
|
+
type: "uint256",
|
|
1523
|
+
},
|
|
1524
|
+
],
|
|
1525
|
+
name: "withdraw",
|
|
1526
|
+
outputs: [],
|
|
1527
|
+
stateMutability: "nonpayable",
|
|
1528
|
+
type: "function",
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
inputs: [
|
|
1532
|
+
{
|
|
1533
|
+
internalType: "uint256",
|
|
1534
|
+
name: "amount",
|
|
1535
|
+
type: "uint256",
|
|
1536
|
+
},
|
|
1537
|
+
],
|
|
1538
|
+
name: "withdrawCotiFees",
|
|
1539
|
+
outputs: [],
|
|
1540
|
+
stateMutability: "nonpayable",
|
|
1541
|
+
type: "function",
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
inputs: [
|
|
1545
|
+
{
|
|
1546
|
+
internalType: "uint256",
|
|
1547
|
+
name: "amount",
|
|
1548
|
+
type: "uint256",
|
|
1549
|
+
},
|
|
1550
|
+
],
|
|
1551
|
+
name: "withdrawFees",
|
|
1552
|
+
outputs: [],
|
|
1553
|
+
stateMutability: "nonpayable",
|
|
1554
|
+
type: "function",
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
inputs: [],
|
|
1558
|
+
name: "withdrawFixedFee",
|
|
1559
|
+
outputs: [
|
|
1560
|
+
{
|
|
1561
|
+
internalType: "uint256",
|
|
1562
|
+
name: "",
|
|
1563
|
+
type: "uint256",
|
|
1564
|
+
},
|
|
1565
|
+
],
|
|
1566
|
+
stateMutability: "view",
|
|
1567
|
+
type: "function",
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
inputs: [],
|
|
1571
|
+
name: "withdrawMaxFee",
|
|
1572
|
+
outputs: [
|
|
1573
|
+
{
|
|
1574
|
+
internalType: "uint256",
|
|
1575
|
+
name: "",
|
|
1576
|
+
type: "uint256",
|
|
1577
|
+
},
|
|
1578
|
+
],
|
|
1579
|
+
stateMutability: "view",
|
|
1580
|
+
type: "function",
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
inputs: [],
|
|
1584
|
+
name: "withdrawPercentageBps",
|
|
1585
|
+
outputs: [
|
|
1586
|
+
{
|
|
1587
|
+
internalType: "uint256",
|
|
1588
|
+
name: "",
|
|
1589
|
+
type: "uint256",
|
|
1590
|
+
},
|
|
1591
|
+
],
|
|
1592
|
+
stateMutability: "view",
|
|
1593
|
+
type: "function",
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
stateMutability: "payable",
|
|
1597
|
+
type: "receive",
|
|
1598
|
+
},
|
|
1599
|
+
] as const;
|
|
1600
|
+
|
|
1601
|
+
const _bytecode =
|
|
1602
|
+
"0x608034620002f657601f6200392338819003918201601f191683019291906001600160401b03841183851017620002fb578160809284926040968752833981010312620002f657620000518162000311565b6020906200006182840162000311565b6200007c60606200007487870162000311565b950162000311565b6001600081815581546001600160a81b0319811633600881811b610100600160a81b03169290921785558a51996001600160a01b0399949794969390921c89167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08880a38760ff19938585600a541617600a55678ac7230489e80000600b556101f4600c5568a2a15d09519be00000600d556729a2241af62c0000600e5560fa600f55685150ae84a8cdf0000060105516988915620002e757508716908115620002d6578716908115620002d65791600393916200023896959360001980600455600555836006558360075560018060a01b03199a8b60135416176013558a6014541617601455808a6011541617601155610834601255857f56b5f80d8cac1479698aa7d01605fd6111e90b15fc4d2b377417f46034876cbd8180a384805260028352898520338652835260ff8a8620541615620002a0575b848052838352620001e9338b872062000326565b507f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92991828652600284528a8620338752845260ff8b872054161562000269575b50508352528533912062000326565b5016908115620002585760175416176017555161354f9081620003b48239f35b825163e6c4247b60e01b8152600490fd5b828652600284528a862033875284528a862091825416179055333382600080516020620039038339815191528780a4388062000229565b8480526002835289852033865283528985208282825416179055333386600080516020620039038339815191528180a4620001d5565b895163e6c4247b60e01b8152600490fd5b63e6c4247b60e01b8152600490fd5b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b0382168203620002f657565b91906001830160009082825280602052604082205415600014620003ad57845494680100000000000000008610156200039957600186018082558610156200038557836040949596828552602085200155549382526020522055600190565b634e487b7160e01b83526032600452602483fd5b634e487b7160e01b83526041600452602483fd5b5092505056fe6080604081815260049182361015610234575b50361561001e57600080fd5b610026612e20565b61002e612ced565b600090338252601560205260ff81832054166102065760ff600a5416156101de5734156101b65761005e34613318565b610071600b54600c54600d549134612eaa565b50509061007e8234612b6e565b91821561018e5761009190600854612955565b6008556100a082600954612955565b60095573ffffffffffffffffffffffffffffffffffffffff6017541693843b1561018a5781517f40c10f19000000000000000000000000000000000000000000000000000000008152339181019182526020820184905294849186919082908490829060400103925af19384156101805760019461014d575b50807f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a1591519234845260208401523392a255005b926101797f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a1592946121b1565b9290610119565b81513d85823e3d90fd5b8380fd5b8482517fcbca5aa2000000000000000000000000000000000000000000000000000000008152fd5b9050517fcbca5aa2000000000000000000000000000000000000000000000000000000008152fd5b9050517ffb291504000000000000000000000000000000000000000000000000000000008152fd5b517fdaf49ab90000000000000000000000000000000000000000000000000000000081523381840152602490fd5b600090813560e01c90816301ffc9a7146120395750806302ef36c71461201a5780630593149514611fe55780630593816d14611f815780631413703314611f3d5780631823090d14611f12578063248a9ca314611ee757806324a88d8c14611ec85780632630c12f14611e935780632f2ff15d14611dc957806336568abe14611d035780633f4ba83a14611cab57806344337ea114611c2b578063454aa66914611b4d578063457e1a4914611b2e5780634690484014611af95780634a96e64a14611ada57806351533f2e14611a2c578063530e784f14611994578063537df3b6146118f05780635656fc78146118cc5780635c975abb146118a85780635e318e07146117f0578063645006ca146117d157806367b16967146117b25780636d70f7ae14611740578063715018a6146116c857806376bddaaf1461167a57806377cfbf261461165257806379cef02f146116335780637c87a993146116145780638456cb59146115ba5780638da5cb5b146115825780638ed83271146115645780639010d07c1461151557806391d14854146114c25780639870d7fe1461144b5780639e93ad8e1461142d5780639f578e461461140e578063a075b7c71461136e578063a217fddf14611353578063a41fe49f14611040578063ac8a584a14610fa3578063b67b62b914610f6e578063bcd0a5d214610e54578063ca15c87314610e2c578063d547741f14610dee578063d6501cbb14610cf2578063dbac26e914610ca9578063e2bbb15814610a97578063e490dd7014610a7a578063f0bc86de14610a5f578063f169b47214610a41578063f2fde38b1461076d578063f516440c1461074e578063f5b541a614610713578063f74598b214610594578063f835c9d014610512578063fa4f4a52146104f35763fdb1f56a036100125790346104ef57816003193601126104ef57602090600d549051908152f35b5080fd5b5090346104ef57816003193601126104ef576020906009549051908152f35b5091903461059057602060031936011261059057813591610531612c6b565b8215610569575081601255519081527f6adc88f5461ba8cdd7d391cfe694a80b1ce722232a2a11690b4c11df049ae64560203392a280f35b90517fe7a59d50000000000000000000000000000000000000000000000000000000008152fd5b8280fd5b509134610590576020600319360112610590578035906105b2612c6b565b6105ba612e20565b73ffffffffffffffffffffffffffffffffffffffff90816013541680156106eb5783156106c35760085480851161069b57478511610673578680868194610602828496612b6e565b6008555af161060f612dc2565b501561064c57507f6713db2cbc67f02bd2006245076c3e8a482a624218d1e3bc5313216d3347fb7a91602091601354169351908152a26001815580f35b83517f6d963f88000000000000000000000000000000000000000000000000000000008152fd5b8286517fb6d6e7d6000000000000000000000000000000000000000000000000000000008152fd5b8286517f80d4440f000000000000000000000000000000000000000000000000000000008152fd5b5083517fcbca5aa2000000000000000000000000000000000000000000000000000000008152fd5b5083517f6dd72d47000000000000000000000000000000000000000000000000000000008152fd5b5090346104ef57816003193601126104ef57602090517f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9298152f35b5090346104ef57816003193601126104ef576020906005549051908152f35b50919034610590576020908160031936011261018a5761078b61210b565b92610794612c6b565b73ffffffffffffffffffffffffffffffffffffffff92838516938415610a19577f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9299283885260039384845285892054805b6109c957505087805283835284882054805b61090257886108b1896108ab8a8a8a8a838b610811612c6b565b60015474ffffffffffffffffffffffffffffffffffffffff008960081b167fffffffffffffffffffffff0000000000000000000000000000000000000000ff82161760015560081c167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08a80a360008052600281528260002084600052815260ff836000205416156108b4575b6000805252600020612ae4565b5061276f565b80f35b60008052600281528260002084600052815282600020600160ff19825416179055338460007f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8180a461089e565b60001981018181116109b6579061096084610928610966948a8e8080528b8b5220612acc565b905490891b1c166000805260028088528960002082600052885260ff8a600020541661096c575b506000805287875288600020612b7b565b5061299f565b806107f7565b600080528752886000208160005287528860002060ff198154169055338160007ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b8180a43861094f565b60248a601185634e487b7160e01b835252fd5b6000198101818111610a0657906109fb856109ef610a00948b8f8881528c8c5220612acc565b9054908a1b1c16612840565b61299f565b806107e5565b60248b601186634e487b7160e01b835252fd5b8284517fe6c4247b000000000000000000000000000000000000000000000000000000008152fd5b5090346104ef57816003193601126104ef5760209051620186a08152f35b5090346104ef57816003193601126104ef5751478152602090f35b5090346104ef57816003193601126104ef57602090516108348152f35b5091908060031936011261059057610aad612e20565b610ab5612ced565b338352601560205260ff8184205416610c795760ff600a541615610c53573415610c2d57610ae234613318565b610af7610aed6132ce565b602435843561337f565b610b0a600b54600c54600d549134612eaa565b505091610b178334612b6e565b928315610c055790610b2c8592600854612955565b600855610b3b84600954612955565b60095573ffffffffffffffffffffffffffffffffffffffff60175416803b156105905783517f40c10f190000000000000000000000000000000000000000000000000000000081523392810192835260208301869052918391839182908490829060400103925af18015610bfb57610be7575b5050807f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a1591519234845260208401523392a26001815580f35b610bf0906121b1565b610590578238610bae565b83513d84823e3d90fd5b5090517fcbca5aa2000000000000000000000000000000000000000000000000000000008152fd5b517fcbca5aa2000000000000000000000000000000000000000000000000000000008152fd5b517ffb291504000000000000000000000000000000000000000000000000000000008152fd5b6024925051907fdaf49ab90000000000000000000000000000000000000000000000000000000082523390820152fd5b5090346104ef5760206003193601126104ef5760ff8160209373ffffffffffffffffffffffffffffffffffffffff610cdf61210b565b1681526015855220541690519015158152f35b5091903461059057610d0336612156565b92909193610d1033612282565b8315610dc757838511610dc757620186a08311610da0575091839160c0937f31f26ae97f0679c414281c4a96005dcd58f94f687f26c8cd694339591ec527e995600b5581600c5582600d5580519360808552600760808601527f6465706f7369740000000000000000000000000000000000000000000000000060a086015260208501528301526060820152a180f35b90517f58d620b3000000000000000000000000000000000000000000000000000000008152fd5b90517f6d24edae000000000000000000000000000000000000000000000000000000008152fd5b509190346105905780600319360112610590576108b19135610e276001610e13612133565b938387526002602052862001543390612645565b61290a565b5091346105905760206003193601126105905760209282913581526003845220549051908152f35b50919034610590578260031936011261059057610e6f612e20565b338352601560205260ff8184205416610c7957338352601660205280832054918215610f475733845260166020528382812055824710610f20578380808086335af1610eb9612dc2565b5015610ef15750519081527f8f15f7693914bf0bc5306dcc835a56be260fe9007cca42d7b3e85f01820678b560203392a26001815580f35b338452601660205290517f6d963f88000000000000000000000000000000000000000000000000000000008152fd5b90517fb6d6e7d6000000000000000000000000000000000000000000000000000000008152fd5b90517fcbca5aa2000000000000000000000000000000000000000000000000000000008152fd5b5090346104ef57816003193601126104ef5760209073ffffffffffffffffffffffffffffffffffffffff601454169051908152f35b50913461059057602060031936011261059057610fbe61210b565b90610fc833612501565b73ffffffffffffffffffffffffffffffffffffffff821692831561101a575050610ff190612840565b33907f17d7f044d47e4fae1701f86266d0a674db3f792671bd1b974ace77a09af1c8278380a380f35b517fe6c4247b000000000000000000000000000000000000000000000000000000008152fd5b509190346105905761105136612156565b61105c949294612e20565b611064612ced565b338652601560205260ff84872054166113245784156112fc5760075485106112d45760055485116112ac57906110a29161109c6132ce565b9161337f565b6110b5600e54600f546010549186612eaa565b5050906110c28285612b6e565b918215611284576110d590600854612955565b60085581471061125d576110eb84600954612b6e565b60095573ffffffffffffffffffffffffffffffffffffffff858160175416803b156104ef57819060648751809481937f23b872dd00000000000000000000000000000000000000000000000000000000835233898401523060248401528b60448401525af1801561125357611240575b50859060175416803b156104ef5781809160248751809481937f42966c680000000000000000000000000000000000000000000000000000000083528b898401525af180156112365761121e575b5080808085335af16111b9612dc2565b50156111f75750907ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b56891815193845260208401523392a26001815580f35b82517f6d963f88000000000000000000000000000000000000000000000000000000008152fd5b611227906121b1565b6112325784386111a9565b8480fd5b85513d84823e3d90fd5b61124c909691966121b1565b943861115b565b85513d89823e3d90fd5b82517fb6d6e7d6000000000000000000000000000000000000000000000000000000008152fd5b5082517fcbca5aa2000000000000000000000000000000000000000000000000000000008152fd5b8284517f9aae5367000000000000000000000000000000000000000000000000000000008152fd5b8284517f0fdbcf37000000000000000000000000000000000000000000000000000000008152fd5b8284517fcbca5aa2000000000000000000000000000000000000000000000000000000008152fd5b83517fdaf49ab90000000000000000000000000000000000000000000000000000000081523381850152602490fd5b5090346104ef57816003193601126104ef5751908152602090f35b509190346105905761137f36612170565b939190929461138c612c6b565b8186116113e7578484116113e7579181869492608096947fe3eb5d4eccdae2d96efa105f65c8db865f9fc72984f2b879a27448fed50d181598600655558260075583600555815194855260208501528301526060820152a180f35b82517f401f33c6000000000000000000000000000000000000000000000000000000008152fd5b5090346104ef57816003193601126104ef57602090600c549051908152f35b5090346104ef57816003193601126104ef5760209051620f42408152f35b5091346105905760206003193601126105905761146661210b565b9061147033612501565b73ffffffffffffffffffffffffffffffffffffffff821692831561101a5750506114999061276f565b33907f0780dc183feb0e4f9714cd802b3c0a21894b7ccb4172c992569d2acb5d45f91c8380a380f35b5091346105905781600319360112610590578160209360ff926114e3612133565b903582526002865273ffffffffffffffffffffffffffffffffffffffff83832091168252855220541690519015158152f35b50913461059057816003193601126105905761155560209373ffffffffffffffffffffffffffffffffffffffff9235815260038552836024359120612acc565b90549060031b1c169051908152f35b50913461059057826003193601126105905760209250549051908152f35b5090346104ef57816003193601126104ef5760209073ffffffffffffffffffffffffffffffffffffffff60015460081c169051908152f35b5090346104ef57816003193601126104ef5760207f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258916115f8612c6b565b611600612ced565b600160ff198154161760015551338152a180f35b5090346104ef57816003193601126104ef576020906012549051908152f35b5090346104ef57816003193601126104ef57602090600e549051908152f35b5090346104ef5760209061167161166836612170565b92919091612eaa565b50509051908152f35b50346116c55760206003193601126116c557506116a56116c192600e54600f54906010549235612eaa565b9251918252602082015260408101919091529081906060820190565b0390f35b80fd5b508290346116c557806003193601126116c5575060206064926116e9612c6b565b51917f08c379a0000000000000000000000000000000000000000000000000000000008352820152601a60248201527f72656e6f756e63654f776e6572736869702064697361626c65640000000000006044820152fd5b5090346104ef5760206003193601126104ef5760ff8160209361176161210b565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92982526002865273ffffffffffffffffffffffffffffffffffffffff83832091168252855220541690519015158152f35b5090346104ef57816003193601126104ef576020906008549051908152f35b5090346104ef57816003193601126104ef576020906006549051908152f35b5091346105905760206003193601126105905780359061180e612c6b565b611816612e20565b73ffffffffffffffffffffffffffffffffffffffff90816013541680156106eb5783156106c35760085480851161069b5747851161067357868086819461185e828496612b6e565b6008555af161186b612dc2565b501561064c57507fc0819c13be868895eb93e40eaceb96de976442fa1d404e5c55f14bb65a8c489a91602091601354169351908152a26001815580f35b5090346104ef57816003193601126104ef5760209060ff6001541690519015158152f35b5090346104ef57816003193601126104ef5760209060ff600a541690519015158152f35b509190346105905760206003193601126105905773ffffffffffffffffffffffffffffffffffffffff61192161210b565b611929612c6b565b1691821561196d57508183526015602052822060ff19815416905533907fddefc0a59221feeeed94e0dfd671eaea15033e71db0fd1d9963a95a37dc90e768380a380f35b90517fe6c4247b000000000000000000000000000000000000000000000000000000008152fd5b509134610590576020600319360112610590576119af61210b565b906119b8612c6b565b73ffffffffffffffffffffffffffffffffffffffff80921692831561101a575050601154827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617601155167f56b5f80d8cac1479698aa7d01605fd6111e90b15fc4d2b377417f46034876cbd8380a380f35b5091903461059057611a3d36612156565b92909193611a4a33612282565b8315610dc757838511610dc757620186a08311610da0575091839160c0937f31f26ae97f0679c414281c4a96005dcd58f94f687f26c8cd694339591ec527e995600e5581600f558260105580519360808552600860808601527f776974686472617700000000000000000000000000000000000000000000000060a086015260208501528301526060820152a180f35b5090346104ef57816003193601126104ef576020906010549051908152f35b5090346104ef57816003193601126104ef5760209073ffffffffffffffffffffffffffffffffffffffff601354169051908152f35b5090346104ef57816003193601126104ef576020906007549051908152f35b50913461059057602060031936011261059057803590611b6b612c6b565b611b73612e20565b611b7b612d57565b8115611c045747821161125d5773ffffffffffffffffffffffffffffffffffffffff90848080808686601454165af1611bb2612dc2565b501561064c57507fe3eb98b7fe2a0c1d490b92af73eeae611e9b00ab3c3f70b20bd7bb43f67a0f4391602091478060085411611bfb575b50601454169351908152a26001815580f35b60085538611be9565b82517fcbca5aa2000000000000000000000000000000000000000000000000000000008152fd5b509190346105905760206003193601126105905773ffffffffffffffffffffffffffffffffffffffff611c5c61210b565b611c64612c6b565b1691821561196d575081835260156020528220600160ff1982541617905533907fd36871fdf6981136f3ac0564927005901eda06f7a9dff1e8b2a1d7846b8ebb508380a380f35b5090346104ef57816003193601126104ef5760207f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa91611ce9612c6b565b611cf1612d57565b60ff196001541660015551338152a180f35b5082346104ef57826003193601126104ef57611d1d612133565b903373ffffffffffffffffffffffffffffffffffffffff831603611d4657906108b1913561290a565b60849060208551917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152fd5b50919034610590578060031936011261059057611e469135906003611dec612133565b9280865260209060028252611e08600185892001543390612645565b8087526002825273ffffffffffffffffffffffffffffffffffffffff848820951694858852825260ff848820541615611e4a575b8652528320612ae4565b5080f35b808752600282528387208588528252838720600160ff198254161790553385827f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8a80a4611e3c565b5090346104ef57816003193601126104ef5760209073ffffffffffffffffffffffffffffffffffffffff601154169051908152f35b5090346104ef57816003193601126104ef57602090600f549051908152f35b5091346105905760206003193601126105905781602093600192358152600285522001549051908152f35b50346116c55760206003193601126116c557506116a56116c192600b54600c5490600d549235612eaa565b5090346104ef5760206003193601126104ef578060209273ffffffffffffffffffffffffffffffffffffffff611f7161210b565b1681526016845220549051908152f35b50913461059057602060031936011261059057359081151580920361059057611fa933612282565b60ff19600a541660ff831617600a55519081527fc274c9c09f7e9671b11a6795ddded70309e956077fea0c658625581bc87768fd60203392a280f35b5090346104ef57816003193601126104ef5760209073ffffffffffffffffffffffffffffffffffffffff601754169051908152f35b5090346104ef57816003193601126104ef57602090600b549051908152f35b9050833461059057602060031936011261059057357fffffffff00000000000000000000000000000000000000000000000000000000811680910361059057602092507f5a05180f0000000000000000000000000000000000000000000000000000000081149081156120ae575b5015158152f35b7f7965db0b000000000000000000000000000000000000000000000000000000008114915081156120e1575b50836120a7565b7f01ffc9a700000000000000000000000000000000000000000000000000000000915014836120da565b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361212e57565b600080fd5b6024359073ffffffffffffffffffffffffffffffffffffffff8216820361212e57565b600319606091011261212e57600435906024359060443590565b600319608091011261212e5760043590602435906044359060643590565b60005b8381106121a15750506000910152565b8181015183820152602001612191565b67ffffffffffffffff81116121c557604052565b634e487b7160e01b600052604160045260246000fd5b6080810190811067ffffffffffffffff8211176121c557604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176121c557604052565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f6040936020845261227b815180928160208801526020888801910161218e565b0116010190565b73ffffffffffffffffffffffffffffffffffffffff1660008181527f6bc781d8c7f9885ebbb3cefbc18932c491038e2ae5c5b56447891e0bd98ea163602090815260408083205490939192917f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9299160ff16156122ff575050505050565b612308906129ac565b845191612314836121db565b604283528483019360603686378351156124ed576030855383516001908110156124d95790607860218601536041915b808311612473575050506124175761239f9385936123e3936123d4604894612413995198857f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008b97880152825192839160378901910161218e565b8401917f206973206d697373696e6720726f6c652000000000000000000000000000000060378401525180938684019061218e565b010360288101855201836121f7565b519182917f08c379a000000000000000000000000000000000000000000000000000000000835260048301612238565b0390fd5b6064848651907f08c379a000000000000000000000000000000000000000000000000000000000825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b909192600f811660108110156124c557907f30313233343536373839616263646566000000000000000000000000000000006124be921a6124b48689612978565b5360041c9361299f565b9190612344565b602484634e487b7160e01b81526032600452fd5b602482634e487b7160e01b81526032600452fd5b80634e487b7160e01b602492526032600452fd5b73ffffffffffffffffffffffffffffffffffffffff1660008181527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b602090815260408083205490939192919060ff161561255c5750505050565b612565906129ac565b83519082612572836121db565b604283528483019360603686378351156124ed576030855383516001908110156124d95790607860218601536041915b8083116125fd575050506124175761239f9385936123e3936123d4604894612413995198857f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008b97880152825192839160378901910161218e565b909192600f811660108110156124c557907f303132333435363738396162636465660000000000000000000000000000000061263e921a6124b48689612978565b91906125a2565b60008181526020916002835260409373ffffffffffffffffffffffffffffffffffffffff858420911690818452845260ff858420541615612687575050505050565b612690906129ac565b84519161269c836121db565b604283528483019360603686378351156124ed576030855383516001908110156124d95790607860218601536041915b808311612727575050506124175761239f9385936123e3936123d4604894612413995198857f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008b97880152825192839160378901910161218e565b909192600f811660108110156124c557907f3031323334353637383961626364656600000000000000000000000000000000612768921a6124b48689612978565b91906126cc565b73ffffffffffffffffffffffffffffffffffffffff1660008181527f6bc781d8c7f9885ebbb3cefbc18932c491038e2ae5c5b56447891e0bd98ea1636020526040808220546127f29392907f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9299060ff16156127f5575b8152600360205220612ae4565b50565b8082526002602052828220848352602052828220600160ff198254161790553384827f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8580a46127e5565b73ffffffffffffffffffffffffffffffffffffffff1660008181527f6bc781d8c7f9885ebbb3cefbc18932c491038e2ae5c5b56447891e0bd98ea1636020526040808220546127f29392907f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9299060ff166128c2575b8152600360205220612b7b565b808252600260205282822084835260205282822060ff1981541690553384827ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b8580a46128b5565b9060406127f292600090808252600260205273ffffffffffffffffffffffffffffffffffffffff83832094169384835260205260ff83832054166128c2578152600360205220612b7b565b9190820180921161296257565b634e487b7160e01b600052601160045260246000fd5b908151811015612989570160200190565b634e487b7160e01b600052603260045260246000fd5b8015612962576000190190565b604051906060820182811067ffffffffffffffff8211176121c557604052602a82526020820160403682378251156129895760309053815160019081101561298957607860218401536029905b808211612a67575050612a095790565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b9091600f8116906010821015612ab7577f3031323334353637383961626364656600000000000000000000000000000000612ab1921a612aa78587612978565b5360041c9261299f565b906129f9565b60246000634e487b7160e01b81526032600452fd5b80548210156129895760005260206000200190600090565b91906001830160009082825280602052604082205415600014612b685784549468010000000000000000861015612b545783612b44612b2d886001604098999a01855584612acc565b81939154906000199060031b92831b921b19161790565b9055549382526020522055600190565b602483634e487b7160e01b81526041600452fd5b50925050565b9190820391821161296257565b90600182019060009281845282602052604084205490811515600014612c645760001991828101818111612c5057825490848201918211612c3c57808203612c07575b50505080548015612bf357820191612bd68383612acc565b909182549160031b1b191690555582526020526040812055600190565b602486634e487b7160e01b81526031600452fd5b612c27612c17612b2d9386612acc565b90549060031b1c92839286612acc565b90558652846020526040862055388080612bbe565b602488634e487b7160e01b81526011600452fd5b602487634e487b7160e01b81526011600452fd5b5050505090565b73ffffffffffffffffffffffffffffffffffffffff60015460081c163303612c8f57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b60ff60015416612cf957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152fd5b60ff6001541615612d6457565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152fd5b3d15612e1b573d9067ffffffffffffffff82116121c55760405191612e0f60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601846121f7565b82523d6000602084013e565b606090565b600260005414612e31576002600055565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152fd5b9081606091031261212e578051916040602083015192015190565b9290939193612eb76131f3565b73ffffffffffffffffffffffffffffffffffffffff6011541694606060405180977f6f62ebfb0000000000000000000000000000000000000000000000000000000082528180612f3c6004820160609060208152600460208201527f434f54490000000000000000000000000000000000000000000000000000000060408201520190565b03915afa9485156130075760009081978297612fcf575b508115612fa557612f7e92612f7483612f7993612f6f8c61323d565b613013565b6130e5565b61314f565b9080821115612f9e57505b81811115612f975750929190565b9050929190565b9050612f89565b60046040517f1f8f95a0000000000000000000000000000000000000000000000000000000008152fd5b91509550612ff591965060603d8111613000575b612fed81836121f7565b810190612e8f565b969190969538612f53565b503d612fe3565b6040513d6000823e3d90fd5b90600019818309818302918280831092039180830392146130d457670de0b6b3a76400009082821115613076577faccb18165bd6fe31ae1cf318dc5b51eee0e1ba569b88cd74c1773b91fac10669940990828211900360ee1b910360121c170290565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d6174683a206d756c446976206f766572666c6f7700000000000000000000006044820152fd5b5050670de0b6b3a764000091500490565b906000198183098183029182808310920391808303921461314357620f42409082821115613076577fde8f6cefed634549b62c77574f722e1ac57e23f24d8fd5cb790fb65668c26139940990828211900360fa1b910360061c170290565b5050620f424091500490565b90670de0b6b3a76400009060001982840992828102928380861095039480860395146131cf5784831115613076578291096001821901821680920460028082600302188083028203028083028203028083028203028083028203028083028203028092029003029360018380600003040190848311900302920304170290565b5050809250156131dd570490565b634e487b7160e01b600052601260045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff601154161561321357565b60046040517ff9b42874000000000000000000000000000000000000000000000000000000008152fd5b6012549042811161329d57816132538242612b6e565b1161325c575050565b6040517f938a000400000000000000000000000000000000000000000000000000000000815260048101919091524260248201526044810191909152606490fd5b602490604051907f9a30b3c30000000000000000000000000000000000000000000000000000000082526004820152fd5b604051906040820182811067ffffffffffffffff8211176121c557604052600482527f434f5449000000000000000000000000000000000000000000000000000000006020830152565b6006548110613355576004541061332b57565b60046040517fd630062d000000000000000000000000000000000000000000000000000000008152fd5b60046040517fc24b1b61000000000000000000000000000000000000000000000000000000008152fd5b90929161338a6131f3565b73ffffffffffffffffffffffffffffffffffffffff601154169060409182517f6f62ebfb00000000000000000000000000000000000000000000000000000000908181526060958682806134136004820160609060208152600460208201527f434f54490000000000000000000000000000000000000000000000000000000060408201520190565b0381875afa91821561353757600092613515575b508082036134e05750916134539391613440879461323d565b8551809581948293835260048301612238565b03915afa9283156134d5576000936134b3575b505083820361347d575061347b91925061323d565b565b604493925051917f997c558e00000000000000000000000000000000000000000000000000000000835260048301526024820152fd5b6134ca929350803d1061300057612fed81836121f7565b509050903880613466565b82513d6000823e3d90fd5b6044918651917f997c558e00000000000000000000000000000000000000000000000000000000835260048301526024820152fd5b61352d919250873d891161300057612fed81836121f7565b5090509038613427565b86513d6000823e3d90fdfea164736f6c6343000813000a2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d";
|
|
1603
|
+
|
|
1604
|
+
type PrivacyBridgeCotiNativeConstructorParams =
|
|
1605
|
+
| [signer?: Signer]
|
|
1606
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
1607
|
+
|
|
1608
|
+
const isSuperArgs = (
|
|
1609
|
+
xs: PrivacyBridgeCotiNativeConstructorParams
|
|
1610
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1611
|
+
|
|
1612
|
+
export class PrivacyBridgeCotiNative__factory extends ContractFactory {
|
|
1613
|
+
constructor(...args: PrivacyBridgeCotiNativeConstructorParams) {
|
|
1614
|
+
if (isSuperArgs(args)) {
|
|
1615
|
+
super(...args);
|
|
1616
|
+
} else {
|
|
1617
|
+
super(_abi, _bytecode, args[0]);
|
|
1618
|
+
}
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
override getDeployTransaction(
|
|
1622
|
+
_privateCoti: AddressLike,
|
|
1623
|
+
_feeRecipient: AddressLike,
|
|
1624
|
+
_rescueRecipient: AddressLike,
|
|
1625
|
+
_priceOracle: AddressLike,
|
|
1626
|
+
overrides?: NonPayableOverrides & { from?: string }
|
|
1627
|
+
): Promise<ContractDeployTransaction> {
|
|
1628
|
+
return super.getDeployTransaction(
|
|
1629
|
+
_privateCoti,
|
|
1630
|
+
_feeRecipient,
|
|
1631
|
+
_rescueRecipient,
|
|
1632
|
+
_priceOracle,
|
|
1633
|
+
overrides || {}
|
|
1634
|
+
);
|
|
1635
|
+
}
|
|
1636
|
+
override deploy(
|
|
1637
|
+
_privateCoti: AddressLike,
|
|
1638
|
+
_feeRecipient: AddressLike,
|
|
1639
|
+
_rescueRecipient: AddressLike,
|
|
1640
|
+
_priceOracle: AddressLike,
|
|
1641
|
+
overrides?: NonPayableOverrides & { from?: string }
|
|
1642
|
+
) {
|
|
1643
|
+
return super.deploy(
|
|
1644
|
+
_privateCoti,
|
|
1645
|
+
_feeRecipient,
|
|
1646
|
+
_rescueRecipient,
|
|
1647
|
+
_priceOracle,
|
|
1648
|
+
overrides || {}
|
|
1649
|
+
) as Promise<
|
|
1650
|
+
PrivacyBridgeCotiNative & {
|
|
1651
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
1652
|
+
}
|
|
1653
|
+
>;
|
|
1654
|
+
}
|
|
1655
|
+
override connect(
|
|
1656
|
+
runner: ContractRunner | null
|
|
1657
|
+
): PrivacyBridgeCotiNative__factory {
|
|
1658
|
+
return super.connect(runner) as PrivacyBridgeCotiNative__factory;
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
static readonly bytecode = _bytecode;
|
|
1662
|
+
static readonly abi = _abi;
|
|
1663
|
+
static createInterface(): PrivacyBridgeCotiNativeInterface {
|
|
1664
|
+
return new Interface(_abi) as PrivacyBridgeCotiNativeInterface;
|
|
1665
|
+
}
|
|
1666
|
+
static connect(
|
|
1667
|
+
address: string,
|
|
1668
|
+
runner?: ContractRunner | null
|
|
1669
|
+
): PrivacyBridgeCotiNative {
|
|
1670
|
+
return new Contract(
|
|
1671
|
+
address,
|
|
1672
|
+
_abi,
|
|
1673
|
+
runner
|
|
1674
|
+
) as unknown as PrivacyBridgeCotiNative;
|
|
1675
|
+
}
|
|
1676
|
+
}
|