@coti-io/coti-contracts 1.1.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 +19 -15
- package/README.md +3 -1
- package/contracts/disperse/coinByRatio/FixedRatioCoinDisperser.sol +452 -0
- package/contracts/disperse/coinByRatio/FixedRatioCoinDisperserLeftoverS1.sol +490 -0
- package/contracts/disperse/coinByRatio/FixedRatioCoinDisperserUnlimitedWindow.sol +432 -0
- package/contracts/disperse/disperseToken/MintDisperser.sol +120 -0
- package/contracts/disperse/disperseToken/TokenDisperser.sol +139 -0
- package/contracts/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/ERC20Mock.sol +19 -0
- package/contracts/mocks/token/PrivateERC20/EncryptedTokenReceiverMock.sol +18 -0
- package/contracts/mocks/token/PrivateERC20/PrivacyBridgeERC20Mock.sol +18 -0
- package/contracts/mocks/token/PrivateERC20/PrivateERC20AuditorSupplyMock.sol +44 -0
- package/contracts/mocks/token/PrivateERC20/PrivateERC20CappedMock.sol +23 -0
- package/contracts/mocks/token/PrivateERC20/PrivateERC20GtCallerMock.sol +29 -0
- package/contracts/mocks/token/PrivateERC20/PrivateERC20Mock.sol +9 -4
- package/contracts/mocks/token/PrivateERC20/PrivateERC20ReentrantReceiverMock.sol +39 -0
- package/contracts/mocks/token/PrivateERC20/PublicReentrantTokenReceiverMock.sol +29 -0
- package/contracts/mocks/token/PrivateERC20/PublicTokenReceiverBoolMock.sol +18 -0
- package/contracts/mocks/token/PrivateERC20/PublicTokenReceiverMock.sol +12 -0
- package/contracts/mocks/utils/mpc/Arithmetic128TestsContract.sol +123 -0
- package/contracts/mocks/utils/mpc/Arithmetic256TestsContract.sol +122 -0
- package/contracts/mocks/utils/mpc/Bitwise128TestsContract.sol +65 -0
- package/contracts/mocks/utils/mpc/Bitwise256TestsContract.sol +65 -0
- package/contracts/mocks/utils/mpc/CheckedArithmetic128WithOverflowBitTestsContract.sol +64 -0
- package/contracts/mocks/utils/mpc/CheckedArithmetic256WithOverflowBitTestsContract.sol +64 -0
- package/contracts/mocks/utils/mpc/Comparison128TestsContract.sol +98 -0
- package/contracts/mocks/utils/mpc/Comparison256TestsContract.sol +98 -0
- package/contracts/mocks/utils/mpc/MinMax128TestsContract.sol +44 -0
- package/contracts/mocks/utils/mpc/MinMax256TestsContract.sol +44 -0
- package/contracts/mocks/utils/mpc/MinimalImplementation.sol +55 -0
- package/contracts/mocks/utils/mpc/MinimalProxy.sol +27 -0
- package/contracts/mocks/utils/mpc/MpcOperations128TestContract.sol +267 -0
- package/contracts/mocks/utils/mpc/MpcOperationsTestContract.sol +334 -0
- package/contracts/mocks/utils/mpc/Mux128TestsContract.sol +24 -0
- package/contracts/mocks/utils/mpc/Mux256TestsContract.sol +24 -0
- package/contracts/mocks/utils/mpc/OnBoard128TestsContract.sol +93 -0
- package/contracts/mocks/utils/mpc/OnBoard256TestsContract.sol +116 -0
- package/contracts/mocks/utils/mpc/PrivacyImplementationV1.sol +157 -0
- package/contracts/mocks/utils/mpc/PrivacyImplementationV2.sol +133 -0
- package/contracts/mocks/utils/mpc/PrivacyProxy.sol +137 -0
- package/contracts/mocks/utils/mpc/Random128TestsContract.sol +32 -0
- package/contracts/mocks/utils/mpc/Random256TestsContract.sol +32 -0
- package/contracts/mocks/utils/mpc/Shift128TestsContract.sol +36 -0
- package/contracts/mocks/utils/mpc/Shift256TestsContract.sol +36 -0
- package/contracts/mocks/utils/mpc/Transfer128TestsContract.sol +29 -0
- package/contracts/mocks/utils/mpc/Transfer256TestsContract.sol +29 -0
- package/contracts/mocks/utils/mpc/TransferWithAllowance128TestsContract.sol +32 -0
- package/contracts/mocks/utils/mpc/TransferWithAllowance256TestsContract.sol +32 -0
- package/contracts/mocks/utils/mpc/ValidateCiphertext128TestsContract.sol +59 -0
- package/contracts/mocks/utils/mpc/ValidateCiphertext256TestsContract.sol +63 -0
- package/contracts/mocks/utils/mpc/ValidateCiphertextTestsContract.sol +99 -0
- package/contracts/mocks/wallet/PrivateERC20Wallet/PrivateERC20WalletMock.sol +7 -6
- package/contracts/node/CotiNodeRewards.sol +199 -0
- package/contracts/node/SoulboundNodeNFT.sol +519 -0
- package/contracts/oracle/CotiPriceConsumer.sol +103 -0
- package/contracts/oracle/ICotiPriceConsumer.sol +15 -0
- package/contracts/oracle/IStdReference.sol +26 -0
- package/contracts/privacyBridge/PrivacyBridge.sol +600 -0
- package/contracts/privacyBridge/PrivacyBridgeCotiNative.sol +316 -0
- package/contracts/privacyBridge/PrivacyBridgeERC20.sol +333 -0
- package/contracts/privacyBridge/PrivacyBridgeUSDCe.sol +22 -0
- package/contracts/privacyBridge/PrivacyBridgeUSDT.sol +23 -0
- package/contracts/privacyBridge/PrivacyBridgeWADA.sol +23 -0
- package/contracts/privacyBridge/PrivacyBridgeWBTC.sol +23 -0
- package/contracts/privacyBridge/PrivacyBridgeWETH.sol +23 -0
- package/contracts/privacyBridge/PrivacyBridgegCoti.sol +23 -0
- package/contracts/token/PrivateERC20/IPrivateERC20.sol +273 -40
- package/contracts/token/PrivateERC20/ITokenReceiver.sol +17 -0
- package/contracts/token/PrivateERC20/ITokenReceiverEncrypted.sol +20 -0
- package/contracts/token/PrivateERC20/PrivateERC20.sol +861 -152
- package/contracts/token/PrivateERC20/tokens/PrivateBridgedUSDC.sol +17 -0
- package/contracts/token/PrivateERC20/tokens/PrivateCOTI.sol +13 -0
- package/contracts/token/PrivateERC20/tokens/PrivateCOTITreasuryGovernanceToken.sol +17 -0
- package/contracts/token/PrivateERC20/tokens/PrivateTetherUSD.sol +17 -0
- package/contracts/token/PrivateERC20/tokens/PrivateWrappedADA.sol +17 -0
- package/contracts/token/PrivateERC20/tokens/PrivateWrappedBTC.sol +17 -0
- package/contracts/token/PrivateERC20/tokens/PrivateWrappedEther.sol +13 -0
- package/contracts/utils/mpc/MpcCore.sol +10780 -4962
- package/contracts/utils/mpc/MpcInterface.sol +7 -2
- package/hardhat/gasPriceBump.ts +60 -0
- package/hardhat.config.ts +63 -12
- package/package.json +22 -4
- package/scripts/add-bridge-operators.cjs +87 -0
- package/scripts/deploy-coti-price-consumer-mainnet.cjs +49 -0
- package/scripts/deployCotiNodeRewards.ts +51 -0
- package/scripts/deploySoulboundNodeNFT.ts +57 -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 +250 -0
- package/test/token/PrivateERC20/PrivateERC20.test.ts +1109 -268
- package/test/utils/mpc/Bitwise128.test.ts +92 -0
- package/test/utils/mpc/Bitwise256.test.ts +101 -0
- package/test/utils/mpc/BuildInputText128.test.ts +398 -0
- package/test/utils/mpc/CheckedArithmetic128.test.ts +45 -0
- package/test/utils/mpc/CheckedArithmetic256.test.ts +45 -0
- package/test/utils/mpc/Comparison128.test.ts +48 -0
- package/test/utils/mpc/Comparison256.test.ts +48 -0
- package/test/utils/mpc/InvalidCiphertext.test.ts +179 -0
- package/test/utils/mpc/InvalidCiphertext128.test.ts +179 -0
- package/test/utils/mpc/InvalidCiphertext256.test.ts +201 -0
- package/test/utils/mpc/InvalidTransfer128.test.ts +166 -0
- package/test/utils/mpc/InvalidTransfer256.test.ts +158 -0
- package/test/utils/mpc/MinMax128.test.ts +44 -0
- package/test/utils/mpc/MinMax256.test.ts +44 -0
- package/test/utils/mpc/MinimalProxyDemo.test.ts +280 -0
- package/test/utils/mpc/MpcOperations.test.ts +589 -0
- package/test/utils/mpc/MpcOperations128.test.ts +632 -0
- package/test/utils/mpc/Mux128.test.ts +41 -0
- package/test/utils/mpc/Mux256.test.ts +41 -0
- package/test/utils/mpc/NegativeCases.test.ts +478 -0
- package/test/utils/mpc/NegativeCases128.test.ts +237 -0
- package/test/utils/mpc/NegativeCases256.test.ts +236 -0
- package/test/utils/mpc/OnBoard128.test.ts +90 -0
- package/test/utils/mpc/OnBoard256.test.ts +114 -0
- package/test/utils/mpc/Precompile128.test.ts +51 -0
- package/test/utils/mpc/Precompile256.test.ts +115 -0
- package/test/utils/mpc/ProxyValidation.test.ts +199 -0
- package/test/utils/mpc/Random128.test.ts +47 -0
- package/test/utils/mpc/Random256.test.ts +47 -0
- package/test/utils/mpc/Shift128.test.ts +41 -0
- package/test/utils/mpc/Shift256.test.ts +41 -0
- package/test/utils/mpc/Transfer128.test.ts +46 -0
- package/test/utils/mpc/Transfer256.test.ts +46 -0
- package/test/utils/mpc/TransferWithAllowance128.test.ts +48 -0
- package/test/utils/mpc/TransferWithAllowance256.test.ts +48 -0
- package/test/utils/mpc/UpgradeablePrivacyProxy.test.ts +307 -0
- package/test/utils/mpc/ValidateCiphertext.test.ts +221 -0
- package/test/utils/mpc/ValidateCiphertext256.test.ts +161 -0
- package/test/utils/mpc/ValidateCiphertext256Decryption.test.ts +383 -0
- package/test/utils/mpc/WalletEncryptionFailures.test.ts +494 -0
- package/test/utils/privateErc20Helpers.ts +97 -0
- package/typechain-types/@openzeppelin/contracts/access/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/Ownable.ts +153 -0
- package/typechain-types/@openzeppelin/contracts/access/index.ts +8 -0
- package/typechain-types/@openzeppelin/contracts/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/security/Pausable.ts +150 -0
- package/typechain-types/@openzeppelin/contracts/security/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/ERC20.ts +330 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.ts +262 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts +286 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.ts +143 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.ts +5 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/index.ts +7 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC721/ERC721.ts +420 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.ts +420 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC721/index.ts +3 -0
- package/typechain-types/@openzeppelin/contracts/token/index.ts +2 -0
- package/typechain-types/contracts/disperse/coinByRatio/FixedRatioCoinDisperser.ts +679 -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 +6 -0
- package/typechain-types/contracts/disperse/disperseToken/MintDisperser.sol/IMintableERC20.ts +97 -0
- package/typechain-types/contracts/disperse/disperseToken/MintDisperser.sol/IOwnable.ts +95 -0
- package/typechain-types/contracts/disperse/disperseToken/MintDisperser.sol/MintDisperser.ts +228 -0
- package/typechain-types/contracts/disperse/disperseToken/MintDisperser.sol/index.ts +6 -0
- package/typechain-types/contracts/disperse/disperseToken/TokenDisperser.ts +191 -0
- package/typechain-types/contracts/disperse/disperseToken/index.ts +6 -0
- package/typechain-types/contracts/disperse/index.ts +7 -0
- package/typechain-types/contracts/index.ts +10 -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/token/PrivateERC20/PrivateERC20GtCallerMock.ts +166 -0
- package/typechain-types/contracts/mocks/token/PrivateERC20/PrivateERC20Mock.ts +827 -78
- 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/utils/mpc/{Arithmetic128BitTestsContract.ts → Arithmetic128TestsContract.ts} +96 -126
- package/typechain-types/contracts/mocks/utils/mpc/{Arithmetic256BitTestsContract.ts → Arithmetic256TestsContract.ts} +97 -133
- package/typechain-types/contracts/mocks/utils/mpc/{Bitwise128BitTestsContract.ts → Bitwise128TestsContract.ts} +52 -59
- package/typechain-types/contracts/mocks/utils/mpc/{Bitwise256BitTestsContract.ts → Bitwise256TestsContract.ts} +52 -59
- package/typechain-types/contracts/mocks/utils/mpc/CheckedArithmetic128WithOverflowBitTestsContract.ts +206 -0
- package/typechain-types/contracts/mocks/utils/mpc/CheckedArithmetic256WithOverflowBitTestsContract.ts +206 -0
- package/typechain-types/contracts/mocks/utils/mpc/{Comparison128BitTestsContract.ts → Comparison128TestsContract.ts} +115 -97
- package/typechain-types/contracts/mocks/utils/mpc/{Comparison256BitTestsContract.ts → Comparison256TestsContract.ts} +115 -97
- package/typechain-types/contracts/mocks/utils/mpc/MinMax128TestsContract.ts +142 -0
- package/typechain-types/contracts/mocks/utils/mpc/MinMax256TestsContract.ts +142 -0
- package/typechain-types/contracts/mocks/utils/mpc/MinimalImplementation.ts +259 -0
- package/typechain-types/contracts/mocks/utils/mpc/MinimalProxy.ts +90 -0
- package/typechain-types/contracts/mocks/utils/mpc/MpcOperations128TestContract.ts +388 -0
- package/typechain-types/contracts/mocks/utils/mpc/MpcOperationsTestContract.ts +455 -0
- package/typechain-types/contracts/mocks/utils/mpc/Mux128TestsContract.ts +109 -0
- package/typechain-types/contracts/mocks/utils/mpc/Mux256TestsContract.ts +109 -0
- package/typechain-types/contracts/mocks/utils/mpc/OnBoard128TestsContract.ts +166 -0
- package/typechain-types/contracts/mocks/utils/mpc/OnBoard256TestsContract.ts +194 -0
- package/typechain-types/contracts/mocks/utils/mpc/PrivacyImplementationV1.ts +385 -0
- package/typechain-types/contracts/mocks/utils/mpc/PrivacyImplementationV2.ts +441 -0
- package/typechain-types/contracts/mocks/utils/mpc/PrivacyProxy.ts +201 -0
- package/typechain-types/contracts/mocks/utils/mpc/Random128TestsContract.ts +131 -0
- package/typechain-types/contracts/mocks/utils/mpc/Random256TestsContract.ts +131 -0
- package/typechain-types/contracts/mocks/utils/mpc/Shift128TestsContract.ts +142 -0
- package/typechain-types/contracts/mocks/utils/mpc/Shift256TestsContract.ts +142 -0
- package/typechain-types/contracts/mocks/utils/mpc/Transfer128TestsContract.ts +109 -0
- package/typechain-types/contracts/mocks/utils/mpc/Transfer256TestsContract.ts +109 -0
- package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance128TestsContract.ts +128 -0
- package/typechain-types/contracts/mocks/utils/mpc/TransferWithAllowance256TestsContract.ts +128 -0
- package/typechain-types/contracts/mocks/utils/mpc/ValidateCiphertext128TestsContract.ts +198 -0
- package/typechain-types/contracts/mocks/utils/mpc/ValidateCiphertext256TestsContract.ts +182 -0
- package/typechain-types/contracts/mocks/utils/mpc/ValidateCiphertextTestsContract.ts +257 -0
- package/typechain-types/contracts/mocks/utils/mpc/index.ts +32 -8
- 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 +507 -70
- 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 +833 -68
- package/typechain-types/contracts/token/PrivateERC20/index.ts +4 -0
- package/typechain-types/contracts/token/PrivateERC20/tokens/PrivateBridgedUSDC.ts +1270 -0
- package/typechain-types/contracts/token/PrivateERC20/tokens/PrivateCOTI.ts +1270 -0
- package/typechain-types/contracts/token/PrivateERC20/tokens/PrivateCOTITreasuryGovernanceToken.ts +1270 -0
- package/typechain-types/contracts/token/PrivateERC20/tokens/PrivateTetherUSD.ts +1270 -0
- package/typechain-types/contracts/token/PrivateERC20/tokens/PrivateWrappedADA.ts +1270 -0
- package/typechain-types/contracts/token/PrivateERC20/tokens/PrivateWrappedBTC.ts +1270 -0
- package/typechain-types/contracts/token/PrivateERC20/tokens/PrivateWrappedEther.ts +1270 -0
- package/typechain-types/contracts/token/PrivateERC20/tokens/index.ts +10 -0
- package/typechain-types/contracts/utils/mpc/MpcInterface.sol/ExtendedOperations.ts +111 -10
- 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/Ownable__factory.ts +74 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/index.ts +8 -0
- package/typechain-types/factories/@openzeppelin/contracts/index.ts +2 -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/IERC20__factory.ts +205 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts +247 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit__factory.ts +100 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts +5 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.ts +6 -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/@openzeppelin/contracts/token/index.ts +1 -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 +759 -0
- package/typechain-types/factories/contracts/disperse/coinByRatio/index.ts +6 -0
- package/typechain-types/factories/contracts/disperse/disperseToken/MintDisperser.sol/IMintableERC20__factory.ts +43 -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 +203 -0
- package/typechain-types/factories/contracts/disperse/disperseToken/MintDisperser.sol/index.ts +6 -0
- package/typechain-types/factories/contracts/disperse/disperseToken/TokenDisperser__factory.ts +198 -0
- package/typechain-types/factories/contracts/disperse/disperseToken/index.ts +5 -0
- package/typechain-types/factories/contracts/disperse/index.ts +5 -0
- package/typechain-types/factories/contracts/index.ts +5 -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 +975 -127
- 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 +330 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Arithmetic256TestsContract__factory.ts +330 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/ArithmeticTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Bitwise128TestsContract__factory.ts +184 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Bitwise256TestsContract__factory.ts +184 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/BitwiseTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/CheckedArithmetic128WithOverflowBitTestsContract__factory.ts +203 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/CheckedArithmetic256WithOverflowBitTestsContract__factory.ts +203 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/CheckedArithmeticWIthOverflowBitTestsContract.sol/CheckedArithmeticWithOverflowBitTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison128TestsContract__factory.ts +295 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison1TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison256TestsContract__factory.ts +295 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison2TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/MinMax128TestsContract__factory.ts +147 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/MinMax256TestsContract__factory.ts +147 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/MinMaxTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/MinimalImplementation__factory.ts +263 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/MinimalProxy__factory.ts +104 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/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 +723 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/MpcOperationsTestContract__factory.ts +1410 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Mux128TestsContract__factory.ts +115 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Mux256TestsContract__factory.ts +115 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/OffboardToUserKeyTestContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/OnBoard128TestsContract__factory.ts +175 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/OnBoard256TestsContract__factory.ts +205 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/PrivacyImplementationV1__factory.ts +521 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/PrivacyImplementationV2__factory.ts +648 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/PrivacyProxy__factory.ts +179 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Random128TestsContract__factory.ts +131 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Random256TestsContract__factory.ts +131 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Shift128TestsContract__factory.ts +147 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Shift256TestsContract__factory.ts +147 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/ShiftTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/StringTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/Transfer128TestsContract__factory.ts +135 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Transfer256TestsContract__factory.ts +135 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferScalarTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance128TestsContract__factory.ts +154 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance256TestsContract__factory.ts +154 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_16TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_32TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_64TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowance64_8TestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowanceScalarTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/TransferWithAllowanceTestsContract__factory.ts +1 -1
- package/typechain-types/factories/contracts/mocks/utils/mpc/ValidateCiphertext128TestsContract__factory.ts +190 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/ValidateCiphertext256TestsContract__factory.ts +210 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/ValidateCiphertextTestsContract__factory.ts +260 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/index.ts +32 -8
- package/typechain-types/factories/contracts/mocks/wallet/PrivateERC20Wallet/PrivateERC20WalletMock__factory.ts +10 -28
- 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 +639 -61
- 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 +986 -120
- 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/factories/contracts/utils/mpc/MpcInterface.sol/ExtendedOperations__factory.ts +126 -0
- package/typechain-types/hardhat.d.ts +1772 -278
- package/typechain-types/index.ts +182 -16
- package/contracts/mocks/utils/mpc/Arithmetic128BitTestsContract.sol +0 -260
- package/contracts/mocks/utils/mpc/Arithmetic256BitTestsContract.sol +0 -264
- package/contracts/mocks/utils/mpc/Bitwise128BitTestsContract.sol +0 -91
- package/contracts/mocks/utils/mpc/Bitwise256BitTestsContract.sol +0 -91
- package/contracts/mocks/utils/mpc/Comparison128BitTestsContract.sol +0 -158
- package/contracts/mocks/utils/mpc/Comparison256BitTestsContract.sol +0 -158
- package/contracts/mocks/utils/mpc/Miscellaneous128BitTestsContract.sol +0 -185
- package/contracts/mocks/utils/mpc/Miscellaneous256BitTestsContract.sol +0 -190
- package/contracts/mocks/utils/mpc/README.md +0 -486
- package/test/utils/mpc/Unsigned128BitIntegers.test.ts +0 -945
- package/test/utils/mpc/Unsigned256BitIntegers.test.ts +0 -1124
- package/test/utils/mpc/helpers.ts +0 -77
- 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,1628 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumberish,
|
|
7
|
+
BytesLike,
|
|
8
|
+
FunctionFragment,
|
|
9
|
+
Result,
|
|
10
|
+
Interface,
|
|
11
|
+
EventFragment,
|
|
12
|
+
AddressLike,
|
|
13
|
+
ContractRunner,
|
|
14
|
+
ContractMethod,
|
|
15
|
+
Listener,
|
|
16
|
+
} from "ethers";
|
|
17
|
+
import type {
|
|
18
|
+
TypedContractEvent,
|
|
19
|
+
TypedDeferredTopicFilter,
|
|
20
|
+
TypedEventLog,
|
|
21
|
+
TypedLogDescription,
|
|
22
|
+
TypedListener,
|
|
23
|
+
TypedContractMethod,
|
|
24
|
+
} from "../../common";
|
|
25
|
+
|
|
26
|
+
export interface PrivacyBridgeInterface extends Interface {
|
|
27
|
+
getFunction(
|
|
28
|
+
nameOrSignature:
|
|
29
|
+
| "DEFAULT_ADMIN_ROLE"
|
|
30
|
+
| "DEFAULT_MAX_ORACLE_AGE"
|
|
31
|
+
| "FEE_DIVISOR"
|
|
32
|
+
| "MAX_FEE_UNITS"
|
|
33
|
+
| "OPERATOR_ROLE"
|
|
34
|
+
| "accumulatedCotiFees"
|
|
35
|
+
| "addOperator"
|
|
36
|
+
| "addToBlacklist"
|
|
37
|
+
| "blacklisted"
|
|
38
|
+
| "claimRefundableNativeExcess"
|
|
39
|
+
| "depositFixedFee"
|
|
40
|
+
| "depositMaxFee"
|
|
41
|
+
| "depositPercentageBps"
|
|
42
|
+
| "feeRecipient"
|
|
43
|
+
| "getRoleAdmin"
|
|
44
|
+
| "getRoleMember"
|
|
45
|
+
| "getRoleMemberCount"
|
|
46
|
+
| "grantRole"
|
|
47
|
+
| "hasRole"
|
|
48
|
+
| "isDepositEnabled"
|
|
49
|
+
| "isOperator"
|
|
50
|
+
| "maxDepositAmount"
|
|
51
|
+
| "maxOracleAge"
|
|
52
|
+
| "maxWithdrawAmount"
|
|
53
|
+
| "minDepositAmount"
|
|
54
|
+
| "minWithdrawAmount"
|
|
55
|
+
| "owner"
|
|
56
|
+
| "pause"
|
|
57
|
+
| "paused"
|
|
58
|
+
| "priceOracle"
|
|
59
|
+
| "refundableNativeExcess"
|
|
60
|
+
| "removeFromBlacklist"
|
|
61
|
+
| "removeOperator"
|
|
62
|
+
| "renounceOwnership"
|
|
63
|
+
| "renounceRole"
|
|
64
|
+
| "rescueRecipient"
|
|
65
|
+
| "revokeRole"
|
|
66
|
+
| "setDepositDynamicFee"
|
|
67
|
+
| "setIsDepositEnabled"
|
|
68
|
+
| "setLimits"
|
|
69
|
+
| "setMaxOracleAge"
|
|
70
|
+
| "setPriceOracle"
|
|
71
|
+
| "setWithdrawDynamicFee"
|
|
72
|
+
| "supportsInterface"
|
|
73
|
+
| "totalUserLiability"
|
|
74
|
+
| "transferOwnership"
|
|
75
|
+
| "unpause"
|
|
76
|
+
| "withdrawCotiFees"
|
|
77
|
+
| "withdrawFixedFee"
|
|
78
|
+
| "withdrawMaxFee"
|
|
79
|
+
| "withdrawPercentageBps"
|
|
80
|
+
): FunctionFragment;
|
|
81
|
+
|
|
82
|
+
getEvent(
|
|
83
|
+
nameOrSignatureOrTopic:
|
|
84
|
+
| "Blacklisted"
|
|
85
|
+
| "CotiFeesWithdrawn"
|
|
86
|
+
| "Deposit"
|
|
87
|
+
| "DepositEnabledUpdated"
|
|
88
|
+
| "DynamicFeeUpdated"
|
|
89
|
+
| "FeesWithdrawn"
|
|
90
|
+
| "LimitsUpdated"
|
|
91
|
+
| "MaxOracleAgeUpdated"
|
|
92
|
+
| "NativeRefundExcessPushFailed"
|
|
93
|
+
| "OperatorAdded"
|
|
94
|
+
| "OperatorRemoved"
|
|
95
|
+
| "OwnershipTransferred"
|
|
96
|
+
| "Paused"
|
|
97
|
+
| "PriceOracleUpdated"
|
|
98
|
+
| "RefundableNativeExcessClaimed"
|
|
99
|
+
| "RoleAdminChanged"
|
|
100
|
+
| "RoleGranted"
|
|
101
|
+
| "RoleRevoked"
|
|
102
|
+
| "UnBlacklisted"
|
|
103
|
+
| "Unpaused"
|
|
104
|
+
| "Withdraw"
|
|
105
|
+
): EventFragment;
|
|
106
|
+
|
|
107
|
+
encodeFunctionData(
|
|
108
|
+
functionFragment: "DEFAULT_ADMIN_ROLE",
|
|
109
|
+
values?: undefined
|
|
110
|
+
): string;
|
|
111
|
+
encodeFunctionData(
|
|
112
|
+
functionFragment: "DEFAULT_MAX_ORACLE_AGE",
|
|
113
|
+
values?: undefined
|
|
114
|
+
): string;
|
|
115
|
+
encodeFunctionData(
|
|
116
|
+
functionFragment: "FEE_DIVISOR",
|
|
117
|
+
values?: undefined
|
|
118
|
+
): string;
|
|
119
|
+
encodeFunctionData(
|
|
120
|
+
functionFragment: "MAX_FEE_UNITS",
|
|
121
|
+
values?: undefined
|
|
122
|
+
): string;
|
|
123
|
+
encodeFunctionData(
|
|
124
|
+
functionFragment: "OPERATOR_ROLE",
|
|
125
|
+
values?: undefined
|
|
126
|
+
): string;
|
|
127
|
+
encodeFunctionData(
|
|
128
|
+
functionFragment: "accumulatedCotiFees",
|
|
129
|
+
values?: undefined
|
|
130
|
+
): string;
|
|
131
|
+
encodeFunctionData(
|
|
132
|
+
functionFragment: "addOperator",
|
|
133
|
+
values: [AddressLike]
|
|
134
|
+
): string;
|
|
135
|
+
encodeFunctionData(
|
|
136
|
+
functionFragment: "addToBlacklist",
|
|
137
|
+
values: [AddressLike]
|
|
138
|
+
): string;
|
|
139
|
+
encodeFunctionData(
|
|
140
|
+
functionFragment: "blacklisted",
|
|
141
|
+
values: [AddressLike]
|
|
142
|
+
): string;
|
|
143
|
+
encodeFunctionData(
|
|
144
|
+
functionFragment: "claimRefundableNativeExcess",
|
|
145
|
+
values?: undefined
|
|
146
|
+
): string;
|
|
147
|
+
encodeFunctionData(
|
|
148
|
+
functionFragment: "depositFixedFee",
|
|
149
|
+
values?: undefined
|
|
150
|
+
): string;
|
|
151
|
+
encodeFunctionData(
|
|
152
|
+
functionFragment: "depositMaxFee",
|
|
153
|
+
values?: undefined
|
|
154
|
+
): string;
|
|
155
|
+
encodeFunctionData(
|
|
156
|
+
functionFragment: "depositPercentageBps",
|
|
157
|
+
values?: undefined
|
|
158
|
+
): string;
|
|
159
|
+
encodeFunctionData(
|
|
160
|
+
functionFragment: "feeRecipient",
|
|
161
|
+
values?: undefined
|
|
162
|
+
): string;
|
|
163
|
+
encodeFunctionData(
|
|
164
|
+
functionFragment: "getRoleAdmin",
|
|
165
|
+
values: [BytesLike]
|
|
166
|
+
): string;
|
|
167
|
+
encodeFunctionData(
|
|
168
|
+
functionFragment: "getRoleMember",
|
|
169
|
+
values: [BytesLike, BigNumberish]
|
|
170
|
+
): string;
|
|
171
|
+
encodeFunctionData(
|
|
172
|
+
functionFragment: "getRoleMemberCount",
|
|
173
|
+
values: [BytesLike]
|
|
174
|
+
): string;
|
|
175
|
+
encodeFunctionData(
|
|
176
|
+
functionFragment: "grantRole",
|
|
177
|
+
values: [BytesLike, AddressLike]
|
|
178
|
+
): string;
|
|
179
|
+
encodeFunctionData(
|
|
180
|
+
functionFragment: "hasRole",
|
|
181
|
+
values: [BytesLike, AddressLike]
|
|
182
|
+
): string;
|
|
183
|
+
encodeFunctionData(
|
|
184
|
+
functionFragment: "isDepositEnabled",
|
|
185
|
+
values?: undefined
|
|
186
|
+
): string;
|
|
187
|
+
encodeFunctionData(
|
|
188
|
+
functionFragment: "isOperator",
|
|
189
|
+
values: [AddressLike]
|
|
190
|
+
): string;
|
|
191
|
+
encodeFunctionData(
|
|
192
|
+
functionFragment: "maxDepositAmount",
|
|
193
|
+
values?: undefined
|
|
194
|
+
): string;
|
|
195
|
+
encodeFunctionData(
|
|
196
|
+
functionFragment: "maxOracleAge",
|
|
197
|
+
values?: undefined
|
|
198
|
+
): string;
|
|
199
|
+
encodeFunctionData(
|
|
200
|
+
functionFragment: "maxWithdrawAmount",
|
|
201
|
+
values?: undefined
|
|
202
|
+
): string;
|
|
203
|
+
encodeFunctionData(
|
|
204
|
+
functionFragment: "minDepositAmount",
|
|
205
|
+
values?: undefined
|
|
206
|
+
): string;
|
|
207
|
+
encodeFunctionData(
|
|
208
|
+
functionFragment: "minWithdrawAmount",
|
|
209
|
+
values?: undefined
|
|
210
|
+
): string;
|
|
211
|
+
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
212
|
+
encodeFunctionData(functionFragment: "pause", values?: undefined): string;
|
|
213
|
+
encodeFunctionData(functionFragment: "paused", values?: undefined): string;
|
|
214
|
+
encodeFunctionData(
|
|
215
|
+
functionFragment: "priceOracle",
|
|
216
|
+
values?: undefined
|
|
217
|
+
): string;
|
|
218
|
+
encodeFunctionData(
|
|
219
|
+
functionFragment: "refundableNativeExcess",
|
|
220
|
+
values: [AddressLike]
|
|
221
|
+
): string;
|
|
222
|
+
encodeFunctionData(
|
|
223
|
+
functionFragment: "removeFromBlacklist",
|
|
224
|
+
values: [AddressLike]
|
|
225
|
+
): string;
|
|
226
|
+
encodeFunctionData(
|
|
227
|
+
functionFragment: "removeOperator",
|
|
228
|
+
values: [AddressLike]
|
|
229
|
+
): string;
|
|
230
|
+
encodeFunctionData(
|
|
231
|
+
functionFragment: "renounceOwnership",
|
|
232
|
+
values?: undefined
|
|
233
|
+
): string;
|
|
234
|
+
encodeFunctionData(
|
|
235
|
+
functionFragment: "renounceRole",
|
|
236
|
+
values: [BytesLike, AddressLike]
|
|
237
|
+
): string;
|
|
238
|
+
encodeFunctionData(
|
|
239
|
+
functionFragment: "rescueRecipient",
|
|
240
|
+
values?: undefined
|
|
241
|
+
): string;
|
|
242
|
+
encodeFunctionData(
|
|
243
|
+
functionFragment: "revokeRole",
|
|
244
|
+
values: [BytesLike, AddressLike]
|
|
245
|
+
): string;
|
|
246
|
+
encodeFunctionData(
|
|
247
|
+
functionFragment: "setDepositDynamicFee",
|
|
248
|
+
values: [BigNumberish, BigNumberish, BigNumberish]
|
|
249
|
+
): string;
|
|
250
|
+
encodeFunctionData(
|
|
251
|
+
functionFragment: "setIsDepositEnabled",
|
|
252
|
+
values: [boolean]
|
|
253
|
+
): string;
|
|
254
|
+
encodeFunctionData(
|
|
255
|
+
functionFragment: "setLimits",
|
|
256
|
+
values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]
|
|
257
|
+
): string;
|
|
258
|
+
encodeFunctionData(
|
|
259
|
+
functionFragment: "setMaxOracleAge",
|
|
260
|
+
values: [BigNumberish]
|
|
261
|
+
): string;
|
|
262
|
+
encodeFunctionData(
|
|
263
|
+
functionFragment: "setPriceOracle",
|
|
264
|
+
values: [AddressLike]
|
|
265
|
+
): string;
|
|
266
|
+
encodeFunctionData(
|
|
267
|
+
functionFragment: "setWithdrawDynamicFee",
|
|
268
|
+
values: [BigNumberish, BigNumberish, BigNumberish]
|
|
269
|
+
): string;
|
|
270
|
+
encodeFunctionData(
|
|
271
|
+
functionFragment: "supportsInterface",
|
|
272
|
+
values: [BytesLike]
|
|
273
|
+
): string;
|
|
274
|
+
encodeFunctionData(
|
|
275
|
+
functionFragment: "totalUserLiability",
|
|
276
|
+
values?: undefined
|
|
277
|
+
): string;
|
|
278
|
+
encodeFunctionData(
|
|
279
|
+
functionFragment: "transferOwnership",
|
|
280
|
+
values: [AddressLike]
|
|
281
|
+
): string;
|
|
282
|
+
encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
|
|
283
|
+
encodeFunctionData(
|
|
284
|
+
functionFragment: "withdrawCotiFees",
|
|
285
|
+
values: [BigNumberish]
|
|
286
|
+
): string;
|
|
287
|
+
encodeFunctionData(
|
|
288
|
+
functionFragment: "withdrawFixedFee",
|
|
289
|
+
values?: undefined
|
|
290
|
+
): string;
|
|
291
|
+
encodeFunctionData(
|
|
292
|
+
functionFragment: "withdrawMaxFee",
|
|
293
|
+
values?: undefined
|
|
294
|
+
): string;
|
|
295
|
+
encodeFunctionData(
|
|
296
|
+
functionFragment: "withdrawPercentageBps",
|
|
297
|
+
values?: undefined
|
|
298
|
+
): string;
|
|
299
|
+
|
|
300
|
+
decodeFunctionResult(
|
|
301
|
+
functionFragment: "DEFAULT_ADMIN_ROLE",
|
|
302
|
+
data: BytesLike
|
|
303
|
+
): Result;
|
|
304
|
+
decodeFunctionResult(
|
|
305
|
+
functionFragment: "DEFAULT_MAX_ORACLE_AGE",
|
|
306
|
+
data: BytesLike
|
|
307
|
+
): Result;
|
|
308
|
+
decodeFunctionResult(
|
|
309
|
+
functionFragment: "FEE_DIVISOR",
|
|
310
|
+
data: BytesLike
|
|
311
|
+
): Result;
|
|
312
|
+
decodeFunctionResult(
|
|
313
|
+
functionFragment: "MAX_FEE_UNITS",
|
|
314
|
+
data: BytesLike
|
|
315
|
+
): Result;
|
|
316
|
+
decodeFunctionResult(
|
|
317
|
+
functionFragment: "OPERATOR_ROLE",
|
|
318
|
+
data: BytesLike
|
|
319
|
+
): Result;
|
|
320
|
+
decodeFunctionResult(
|
|
321
|
+
functionFragment: "accumulatedCotiFees",
|
|
322
|
+
data: BytesLike
|
|
323
|
+
): Result;
|
|
324
|
+
decodeFunctionResult(
|
|
325
|
+
functionFragment: "addOperator",
|
|
326
|
+
data: BytesLike
|
|
327
|
+
): Result;
|
|
328
|
+
decodeFunctionResult(
|
|
329
|
+
functionFragment: "addToBlacklist",
|
|
330
|
+
data: BytesLike
|
|
331
|
+
): Result;
|
|
332
|
+
decodeFunctionResult(
|
|
333
|
+
functionFragment: "blacklisted",
|
|
334
|
+
data: BytesLike
|
|
335
|
+
): Result;
|
|
336
|
+
decodeFunctionResult(
|
|
337
|
+
functionFragment: "claimRefundableNativeExcess",
|
|
338
|
+
data: BytesLike
|
|
339
|
+
): Result;
|
|
340
|
+
decodeFunctionResult(
|
|
341
|
+
functionFragment: "depositFixedFee",
|
|
342
|
+
data: BytesLike
|
|
343
|
+
): Result;
|
|
344
|
+
decodeFunctionResult(
|
|
345
|
+
functionFragment: "depositMaxFee",
|
|
346
|
+
data: BytesLike
|
|
347
|
+
): Result;
|
|
348
|
+
decodeFunctionResult(
|
|
349
|
+
functionFragment: "depositPercentageBps",
|
|
350
|
+
data: BytesLike
|
|
351
|
+
): Result;
|
|
352
|
+
decodeFunctionResult(
|
|
353
|
+
functionFragment: "feeRecipient",
|
|
354
|
+
data: BytesLike
|
|
355
|
+
): Result;
|
|
356
|
+
decodeFunctionResult(
|
|
357
|
+
functionFragment: "getRoleAdmin",
|
|
358
|
+
data: BytesLike
|
|
359
|
+
): Result;
|
|
360
|
+
decodeFunctionResult(
|
|
361
|
+
functionFragment: "getRoleMember",
|
|
362
|
+
data: BytesLike
|
|
363
|
+
): Result;
|
|
364
|
+
decodeFunctionResult(
|
|
365
|
+
functionFragment: "getRoleMemberCount",
|
|
366
|
+
data: BytesLike
|
|
367
|
+
): Result;
|
|
368
|
+
decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
|
|
369
|
+
decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
|
|
370
|
+
decodeFunctionResult(
|
|
371
|
+
functionFragment: "isDepositEnabled",
|
|
372
|
+
data: BytesLike
|
|
373
|
+
): Result;
|
|
374
|
+
decodeFunctionResult(functionFragment: "isOperator", data: BytesLike): Result;
|
|
375
|
+
decodeFunctionResult(
|
|
376
|
+
functionFragment: "maxDepositAmount",
|
|
377
|
+
data: BytesLike
|
|
378
|
+
): Result;
|
|
379
|
+
decodeFunctionResult(
|
|
380
|
+
functionFragment: "maxOracleAge",
|
|
381
|
+
data: BytesLike
|
|
382
|
+
): Result;
|
|
383
|
+
decodeFunctionResult(
|
|
384
|
+
functionFragment: "maxWithdrawAmount",
|
|
385
|
+
data: BytesLike
|
|
386
|
+
): Result;
|
|
387
|
+
decodeFunctionResult(
|
|
388
|
+
functionFragment: "minDepositAmount",
|
|
389
|
+
data: BytesLike
|
|
390
|
+
): Result;
|
|
391
|
+
decodeFunctionResult(
|
|
392
|
+
functionFragment: "minWithdrawAmount",
|
|
393
|
+
data: BytesLike
|
|
394
|
+
): Result;
|
|
395
|
+
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
396
|
+
decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
|
|
397
|
+
decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
|
|
398
|
+
decodeFunctionResult(
|
|
399
|
+
functionFragment: "priceOracle",
|
|
400
|
+
data: BytesLike
|
|
401
|
+
): Result;
|
|
402
|
+
decodeFunctionResult(
|
|
403
|
+
functionFragment: "refundableNativeExcess",
|
|
404
|
+
data: BytesLike
|
|
405
|
+
): Result;
|
|
406
|
+
decodeFunctionResult(
|
|
407
|
+
functionFragment: "removeFromBlacklist",
|
|
408
|
+
data: BytesLike
|
|
409
|
+
): Result;
|
|
410
|
+
decodeFunctionResult(
|
|
411
|
+
functionFragment: "removeOperator",
|
|
412
|
+
data: BytesLike
|
|
413
|
+
): Result;
|
|
414
|
+
decodeFunctionResult(
|
|
415
|
+
functionFragment: "renounceOwnership",
|
|
416
|
+
data: BytesLike
|
|
417
|
+
): Result;
|
|
418
|
+
decodeFunctionResult(
|
|
419
|
+
functionFragment: "renounceRole",
|
|
420
|
+
data: BytesLike
|
|
421
|
+
): Result;
|
|
422
|
+
decodeFunctionResult(
|
|
423
|
+
functionFragment: "rescueRecipient",
|
|
424
|
+
data: BytesLike
|
|
425
|
+
): Result;
|
|
426
|
+
decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
|
|
427
|
+
decodeFunctionResult(
|
|
428
|
+
functionFragment: "setDepositDynamicFee",
|
|
429
|
+
data: BytesLike
|
|
430
|
+
): Result;
|
|
431
|
+
decodeFunctionResult(
|
|
432
|
+
functionFragment: "setIsDepositEnabled",
|
|
433
|
+
data: BytesLike
|
|
434
|
+
): Result;
|
|
435
|
+
decodeFunctionResult(functionFragment: "setLimits", data: BytesLike): Result;
|
|
436
|
+
decodeFunctionResult(
|
|
437
|
+
functionFragment: "setMaxOracleAge",
|
|
438
|
+
data: BytesLike
|
|
439
|
+
): Result;
|
|
440
|
+
decodeFunctionResult(
|
|
441
|
+
functionFragment: "setPriceOracle",
|
|
442
|
+
data: BytesLike
|
|
443
|
+
): Result;
|
|
444
|
+
decodeFunctionResult(
|
|
445
|
+
functionFragment: "setWithdrawDynamicFee",
|
|
446
|
+
data: BytesLike
|
|
447
|
+
): Result;
|
|
448
|
+
decodeFunctionResult(
|
|
449
|
+
functionFragment: "supportsInterface",
|
|
450
|
+
data: BytesLike
|
|
451
|
+
): Result;
|
|
452
|
+
decodeFunctionResult(
|
|
453
|
+
functionFragment: "totalUserLiability",
|
|
454
|
+
data: BytesLike
|
|
455
|
+
): Result;
|
|
456
|
+
decodeFunctionResult(
|
|
457
|
+
functionFragment: "transferOwnership",
|
|
458
|
+
data: BytesLike
|
|
459
|
+
): Result;
|
|
460
|
+
decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
|
|
461
|
+
decodeFunctionResult(
|
|
462
|
+
functionFragment: "withdrawCotiFees",
|
|
463
|
+
data: BytesLike
|
|
464
|
+
): Result;
|
|
465
|
+
decodeFunctionResult(
|
|
466
|
+
functionFragment: "withdrawFixedFee",
|
|
467
|
+
data: BytesLike
|
|
468
|
+
): Result;
|
|
469
|
+
decodeFunctionResult(
|
|
470
|
+
functionFragment: "withdrawMaxFee",
|
|
471
|
+
data: BytesLike
|
|
472
|
+
): Result;
|
|
473
|
+
decodeFunctionResult(
|
|
474
|
+
functionFragment: "withdrawPercentageBps",
|
|
475
|
+
data: BytesLike
|
|
476
|
+
): Result;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
export namespace BlacklistedEvent {
|
|
480
|
+
export type InputTuple = [account: AddressLike, by: AddressLike];
|
|
481
|
+
export type OutputTuple = [account: string, by: string];
|
|
482
|
+
export interface OutputObject {
|
|
483
|
+
account: string;
|
|
484
|
+
by: string;
|
|
485
|
+
}
|
|
486
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
487
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
488
|
+
export type Log = TypedEventLog<Event>;
|
|
489
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
export namespace CotiFeesWithdrawnEvent {
|
|
493
|
+
export type InputTuple = [feeRecipient: AddressLike, amount: BigNumberish];
|
|
494
|
+
export type OutputTuple = [feeRecipient: string, amount: bigint];
|
|
495
|
+
export interface OutputObject {
|
|
496
|
+
feeRecipient: string;
|
|
497
|
+
amount: bigint;
|
|
498
|
+
}
|
|
499
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
500
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
501
|
+
export type Log = TypedEventLog<Event>;
|
|
502
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
export namespace DepositEvent {
|
|
506
|
+
export type InputTuple = [
|
|
507
|
+
user: AddressLike,
|
|
508
|
+
grossAmount: BigNumberish,
|
|
509
|
+
netAmount: BigNumberish
|
|
510
|
+
];
|
|
511
|
+
export type OutputTuple = [
|
|
512
|
+
user: string,
|
|
513
|
+
grossAmount: bigint,
|
|
514
|
+
netAmount: bigint
|
|
515
|
+
];
|
|
516
|
+
export interface OutputObject {
|
|
517
|
+
user: string;
|
|
518
|
+
grossAmount: bigint;
|
|
519
|
+
netAmount: bigint;
|
|
520
|
+
}
|
|
521
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
522
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
523
|
+
export type Log = TypedEventLog<Event>;
|
|
524
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
export namespace DepositEnabledUpdatedEvent {
|
|
528
|
+
export type InputTuple = [enabled: boolean, by: AddressLike];
|
|
529
|
+
export type OutputTuple = [enabled: boolean, by: string];
|
|
530
|
+
export interface OutputObject {
|
|
531
|
+
enabled: boolean;
|
|
532
|
+
by: string;
|
|
533
|
+
}
|
|
534
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
535
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
536
|
+
export type Log = TypedEventLog<Event>;
|
|
537
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
export namespace DynamicFeeUpdatedEvent {
|
|
541
|
+
export type InputTuple = [
|
|
542
|
+
feeType: string,
|
|
543
|
+
fixedFee: BigNumberish,
|
|
544
|
+
percentageBps: BigNumberish,
|
|
545
|
+
maxFee: BigNumberish
|
|
546
|
+
];
|
|
547
|
+
export type OutputTuple = [
|
|
548
|
+
feeType: string,
|
|
549
|
+
fixedFee: bigint,
|
|
550
|
+
percentageBps: bigint,
|
|
551
|
+
maxFee: bigint
|
|
552
|
+
];
|
|
553
|
+
export interface OutputObject {
|
|
554
|
+
feeType: string;
|
|
555
|
+
fixedFee: bigint;
|
|
556
|
+
percentageBps: bigint;
|
|
557
|
+
maxFee: bigint;
|
|
558
|
+
}
|
|
559
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
560
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
561
|
+
export type Log = TypedEventLog<Event>;
|
|
562
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
export namespace FeesWithdrawnEvent {
|
|
566
|
+
export type InputTuple = [to: AddressLike, amount: BigNumberish];
|
|
567
|
+
export type OutputTuple = [to: string, amount: bigint];
|
|
568
|
+
export interface OutputObject {
|
|
569
|
+
to: string;
|
|
570
|
+
amount: bigint;
|
|
571
|
+
}
|
|
572
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
573
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
574
|
+
export type Log = TypedEventLog<Event>;
|
|
575
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
export namespace LimitsUpdatedEvent {
|
|
579
|
+
export type InputTuple = [
|
|
580
|
+
minDeposit: BigNumberish,
|
|
581
|
+
maxDeposit: BigNumberish,
|
|
582
|
+
minWithdraw: BigNumberish,
|
|
583
|
+
maxWithdraw: BigNumberish
|
|
584
|
+
];
|
|
585
|
+
export type OutputTuple = [
|
|
586
|
+
minDeposit: bigint,
|
|
587
|
+
maxDeposit: bigint,
|
|
588
|
+
minWithdraw: bigint,
|
|
589
|
+
maxWithdraw: bigint
|
|
590
|
+
];
|
|
591
|
+
export interface OutputObject {
|
|
592
|
+
minDeposit: bigint;
|
|
593
|
+
maxDeposit: bigint;
|
|
594
|
+
minWithdraw: bigint;
|
|
595
|
+
maxWithdraw: bigint;
|
|
596
|
+
}
|
|
597
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
598
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
599
|
+
export type Log = TypedEventLog<Event>;
|
|
600
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
export namespace MaxOracleAgeUpdatedEvent {
|
|
604
|
+
export type InputTuple = [maxOracleAge: BigNumberish, by: AddressLike];
|
|
605
|
+
export type OutputTuple = [maxOracleAge: bigint, by: string];
|
|
606
|
+
export interface OutputObject {
|
|
607
|
+
maxOracleAge: bigint;
|
|
608
|
+
by: string;
|
|
609
|
+
}
|
|
610
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
611
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
612
|
+
export type Log = TypedEventLog<Event>;
|
|
613
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
export namespace NativeRefundExcessPushFailedEvent {
|
|
617
|
+
export type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
618
|
+
export type OutputTuple = [user: string, amount: bigint];
|
|
619
|
+
export interface OutputObject {
|
|
620
|
+
user: string;
|
|
621
|
+
amount: bigint;
|
|
622
|
+
}
|
|
623
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
624
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
625
|
+
export type Log = TypedEventLog<Event>;
|
|
626
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
export namespace OperatorAddedEvent {
|
|
630
|
+
export type InputTuple = [account: AddressLike, by: AddressLike];
|
|
631
|
+
export type OutputTuple = [account: string, by: string];
|
|
632
|
+
export interface OutputObject {
|
|
633
|
+
account: string;
|
|
634
|
+
by: string;
|
|
635
|
+
}
|
|
636
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
637
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
638
|
+
export type Log = TypedEventLog<Event>;
|
|
639
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
export namespace OperatorRemovedEvent {
|
|
643
|
+
export type InputTuple = [account: AddressLike, by: AddressLike];
|
|
644
|
+
export type OutputTuple = [account: string, by: string];
|
|
645
|
+
export interface OutputObject {
|
|
646
|
+
account: string;
|
|
647
|
+
by: string;
|
|
648
|
+
}
|
|
649
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
650
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
651
|
+
export type Log = TypedEventLog<Event>;
|
|
652
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
export namespace OwnershipTransferredEvent {
|
|
656
|
+
export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
657
|
+
export type OutputTuple = [previousOwner: string, newOwner: string];
|
|
658
|
+
export interface OutputObject {
|
|
659
|
+
previousOwner: string;
|
|
660
|
+
newOwner: string;
|
|
661
|
+
}
|
|
662
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
663
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
664
|
+
export type Log = TypedEventLog<Event>;
|
|
665
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
export namespace PausedEvent {
|
|
669
|
+
export type InputTuple = [account: AddressLike];
|
|
670
|
+
export type OutputTuple = [account: string];
|
|
671
|
+
export interface OutputObject {
|
|
672
|
+
account: string;
|
|
673
|
+
}
|
|
674
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
675
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
676
|
+
export type Log = TypedEventLog<Event>;
|
|
677
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
export namespace PriceOracleUpdatedEvent {
|
|
681
|
+
export type InputTuple = [oldOracle: AddressLike, newOracle: AddressLike];
|
|
682
|
+
export type OutputTuple = [oldOracle: string, newOracle: string];
|
|
683
|
+
export interface OutputObject {
|
|
684
|
+
oldOracle: string;
|
|
685
|
+
newOracle: string;
|
|
686
|
+
}
|
|
687
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
688
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
689
|
+
export type Log = TypedEventLog<Event>;
|
|
690
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
export namespace RefundableNativeExcessClaimedEvent {
|
|
694
|
+
export type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
695
|
+
export type OutputTuple = [user: string, amount: bigint];
|
|
696
|
+
export interface OutputObject {
|
|
697
|
+
user: string;
|
|
698
|
+
amount: bigint;
|
|
699
|
+
}
|
|
700
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
701
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
702
|
+
export type Log = TypedEventLog<Event>;
|
|
703
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
export namespace RoleAdminChangedEvent {
|
|
707
|
+
export type InputTuple = [
|
|
708
|
+
role: BytesLike,
|
|
709
|
+
previousAdminRole: BytesLike,
|
|
710
|
+
newAdminRole: BytesLike
|
|
711
|
+
];
|
|
712
|
+
export type OutputTuple = [
|
|
713
|
+
role: string,
|
|
714
|
+
previousAdminRole: string,
|
|
715
|
+
newAdminRole: string
|
|
716
|
+
];
|
|
717
|
+
export interface OutputObject {
|
|
718
|
+
role: string;
|
|
719
|
+
previousAdminRole: string;
|
|
720
|
+
newAdminRole: string;
|
|
721
|
+
}
|
|
722
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
723
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
724
|
+
export type Log = TypedEventLog<Event>;
|
|
725
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
export namespace RoleGrantedEvent {
|
|
729
|
+
export type InputTuple = [
|
|
730
|
+
role: BytesLike,
|
|
731
|
+
account: AddressLike,
|
|
732
|
+
sender: AddressLike
|
|
733
|
+
];
|
|
734
|
+
export type OutputTuple = [role: string, account: string, sender: string];
|
|
735
|
+
export interface OutputObject {
|
|
736
|
+
role: string;
|
|
737
|
+
account: string;
|
|
738
|
+
sender: string;
|
|
739
|
+
}
|
|
740
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
741
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
742
|
+
export type Log = TypedEventLog<Event>;
|
|
743
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
export namespace RoleRevokedEvent {
|
|
747
|
+
export type InputTuple = [
|
|
748
|
+
role: BytesLike,
|
|
749
|
+
account: AddressLike,
|
|
750
|
+
sender: AddressLike
|
|
751
|
+
];
|
|
752
|
+
export type OutputTuple = [role: string, account: string, sender: string];
|
|
753
|
+
export interface OutputObject {
|
|
754
|
+
role: string;
|
|
755
|
+
account: string;
|
|
756
|
+
sender: string;
|
|
757
|
+
}
|
|
758
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
759
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
760
|
+
export type Log = TypedEventLog<Event>;
|
|
761
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
export namespace UnBlacklistedEvent {
|
|
765
|
+
export type InputTuple = [account: AddressLike, by: AddressLike];
|
|
766
|
+
export type OutputTuple = [account: string, by: string];
|
|
767
|
+
export interface OutputObject {
|
|
768
|
+
account: string;
|
|
769
|
+
by: string;
|
|
770
|
+
}
|
|
771
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
772
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
773
|
+
export type Log = TypedEventLog<Event>;
|
|
774
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
export namespace UnpausedEvent {
|
|
778
|
+
export type InputTuple = [account: AddressLike];
|
|
779
|
+
export type OutputTuple = [account: string];
|
|
780
|
+
export interface OutputObject {
|
|
781
|
+
account: string;
|
|
782
|
+
}
|
|
783
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
784
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
785
|
+
export type Log = TypedEventLog<Event>;
|
|
786
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
export namespace WithdrawEvent {
|
|
790
|
+
export type InputTuple = [
|
|
791
|
+
user: AddressLike,
|
|
792
|
+
grossAmount: BigNumberish,
|
|
793
|
+
netAmount: BigNumberish
|
|
794
|
+
];
|
|
795
|
+
export type OutputTuple = [
|
|
796
|
+
user: string,
|
|
797
|
+
grossAmount: bigint,
|
|
798
|
+
netAmount: bigint
|
|
799
|
+
];
|
|
800
|
+
export interface OutputObject {
|
|
801
|
+
user: string;
|
|
802
|
+
grossAmount: bigint;
|
|
803
|
+
netAmount: bigint;
|
|
804
|
+
}
|
|
805
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
806
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
807
|
+
export type Log = TypedEventLog<Event>;
|
|
808
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
export interface PrivacyBridge extends BaseContract {
|
|
812
|
+
connect(runner?: ContractRunner | null): PrivacyBridge;
|
|
813
|
+
waitForDeployment(): Promise<this>;
|
|
814
|
+
|
|
815
|
+
interface: PrivacyBridgeInterface;
|
|
816
|
+
|
|
817
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
818
|
+
event: TCEvent,
|
|
819
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
820
|
+
toBlock?: string | number | undefined
|
|
821
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
822
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
823
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
824
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
825
|
+
toBlock?: string | number | undefined
|
|
826
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
827
|
+
|
|
828
|
+
on<TCEvent extends TypedContractEvent>(
|
|
829
|
+
event: TCEvent,
|
|
830
|
+
listener: TypedListener<TCEvent>
|
|
831
|
+
): Promise<this>;
|
|
832
|
+
on<TCEvent extends TypedContractEvent>(
|
|
833
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
834
|
+
listener: TypedListener<TCEvent>
|
|
835
|
+
): Promise<this>;
|
|
836
|
+
|
|
837
|
+
once<TCEvent extends TypedContractEvent>(
|
|
838
|
+
event: TCEvent,
|
|
839
|
+
listener: TypedListener<TCEvent>
|
|
840
|
+
): Promise<this>;
|
|
841
|
+
once<TCEvent extends TypedContractEvent>(
|
|
842
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
843
|
+
listener: TypedListener<TCEvent>
|
|
844
|
+
): Promise<this>;
|
|
845
|
+
|
|
846
|
+
listeners<TCEvent extends TypedContractEvent>(
|
|
847
|
+
event: TCEvent
|
|
848
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
|
849
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
850
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
851
|
+
event?: TCEvent
|
|
852
|
+
): Promise<this>;
|
|
853
|
+
|
|
854
|
+
DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
|
|
855
|
+
|
|
856
|
+
DEFAULT_MAX_ORACLE_AGE: TypedContractMethod<[], [bigint], "view">;
|
|
857
|
+
|
|
858
|
+
FEE_DIVISOR: TypedContractMethod<[], [bigint], "view">;
|
|
859
|
+
|
|
860
|
+
MAX_FEE_UNITS: TypedContractMethod<[], [bigint], "view">;
|
|
861
|
+
|
|
862
|
+
OPERATOR_ROLE: TypedContractMethod<[], [string], "view">;
|
|
863
|
+
|
|
864
|
+
accumulatedCotiFees: TypedContractMethod<[], [bigint], "view">;
|
|
865
|
+
|
|
866
|
+
addOperator: TypedContractMethod<
|
|
867
|
+
[account: AddressLike],
|
|
868
|
+
[void],
|
|
869
|
+
"nonpayable"
|
|
870
|
+
>;
|
|
871
|
+
|
|
872
|
+
addToBlacklist: TypedContractMethod<
|
|
873
|
+
[account: AddressLike],
|
|
874
|
+
[void],
|
|
875
|
+
"nonpayable"
|
|
876
|
+
>;
|
|
877
|
+
|
|
878
|
+
blacklisted: TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
|
|
879
|
+
|
|
880
|
+
claimRefundableNativeExcess: TypedContractMethod<[], [void], "nonpayable">;
|
|
881
|
+
|
|
882
|
+
depositFixedFee: TypedContractMethod<[], [bigint], "view">;
|
|
883
|
+
|
|
884
|
+
depositMaxFee: TypedContractMethod<[], [bigint], "view">;
|
|
885
|
+
|
|
886
|
+
depositPercentageBps: TypedContractMethod<[], [bigint], "view">;
|
|
887
|
+
|
|
888
|
+
feeRecipient: TypedContractMethod<[], [string], "view">;
|
|
889
|
+
|
|
890
|
+
getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
891
|
+
|
|
892
|
+
getRoleMember: TypedContractMethod<
|
|
893
|
+
[role: BytesLike, index: BigNumberish],
|
|
894
|
+
[string],
|
|
895
|
+
"view"
|
|
896
|
+
>;
|
|
897
|
+
|
|
898
|
+
getRoleMemberCount: TypedContractMethod<[role: BytesLike], [bigint], "view">;
|
|
899
|
+
|
|
900
|
+
grantRole: TypedContractMethod<
|
|
901
|
+
[role: BytesLike, account: AddressLike],
|
|
902
|
+
[void],
|
|
903
|
+
"nonpayable"
|
|
904
|
+
>;
|
|
905
|
+
|
|
906
|
+
hasRole: TypedContractMethod<
|
|
907
|
+
[role: BytesLike, account: AddressLike],
|
|
908
|
+
[boolean],
|
|
909
|
+
"view"
|
|
910
|
+
>;
|
|
911
|
+
|
|
912
|
+
isDepositEnabled: TypedContractMethod<[], [boolean], "view">;
|
|
913
|
+
|
|
914
|
+
isOperator: TypedContractMethod<[account: AddressLike], [boolean], "view">;
|
|
915
|
+
|
|
916
|
+
maxDepositAmount: TypedContractMethod<[], [bigint], "view">;
|
|
917
|
+
|
|
918
|
+
maxOracleAge: TypedContractMethod<[], [bigint], "view">;
|
|
919
|
+
|
|
920
|
+
maxWithdrawAmount: TypedContractMethod<[], [bigint], "view">;
|
|
921
|
+
|
|
922
|
+
minDepositAmount: TypedContractMethod<[], [bigint], "view">;
|
|
923
|
+
|
|
924
|
+
minWithdrawAmount: TypedContractMethod<[], [bigint], "view">;
|
|
925
|
+
|
|
926
|
+
owner: TypedContractMethod<[], [string], "view">;
|
|
927
|
+
|
|
928
|
+
pause: TypedContractMethod<[], [void], "nonpayable">;
|
|
929
|
+
|
|
930
|
+
paused: TypedContractMethod<[], [boolean], "view">;
|
|
931
|
+
|
|
932
|
+
priceOracle: TypedContractMethod<[], [string], "view">;
|
|
933
|
+
|
|
934
|
+
refundableNativeExcess: TypedContractMethod<
|
|
935
|
+
[arg0: AddressLike],
|
|
936
|
+
[bigint],
|
|
937
|
+
"view"
|
|
938
|
+
>;
|
|
939
|
+
|
|
940
|
+
removeFromBlacklist: TypedContractMethod<
|
|
941
|
+
[account: AddressLike],
|
|
942
|
+
[void],
|
|
943
|
+
"nonpayable"
|
|
944
|
+
>;
|
|
945
|
+
|
|
946
|
+
removeOperator: TypedContractMethod<
|
|
947
|
+
[account: AddressLike],
|
|
948
|
+
[void],
|
|
949
|
+
"nonpayable"
|
|
950
|
+
>;
|
|
951
|
+
|
|
952
|
+
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
953
|
+
|
|
954
|
+
renounceRole: TypedContractMethod<
|
|
955
|
+
[role: BytesLike, account: AddressLike],
|
|
956
|
+
[void],
|
|
957
|
+
"nonpayable"
|
|
958
|
+
>;
|
|
959
|
+
|
|
960
|
+
rescueRecipient: TypedContractMethod<[], [string], "view">;
|
|
961
|
+
|
|
962
|
+
revokeRole: TypedContractMethod<
|
|
963
|
+
[role: BytesLike, account: AddressLike],
|
|
964
|
+
[void],
|
|
965
|
+
"nonpayable"
|
|
966
|
+
>;
|
|
967
|
+
|
|
968
|
+
setDepositDynamicFee: TypedContractMethod<
|
|
969
|
+
[
|
|
970
|
+
_fixedFee: BigNumberish,
|
|
971
|
+
_percentageBps: BigNumberish,
|
|
972
|
+
_maxFee: BigNumberish
|
|
973
|
+
],
|
|
974
|
+
[void],
|
|
975
|
+
"nonpayable"
|
|
976
|
+
>;
|
|
977
|
+
|
|
978
|
+
setIsDepositEnabled: TypedContractMethod<
|
|
979
|
+
[_enabled: boolean],
|
|
980
|
+
[void],
|
|
981
|
+
"nonpayable"
|
|
982
|
+
>;
|
|
983
|
+
|
|
984
|
+
setLimits: TypedContractMethod<
|
|
985
|
+
[
|
|
986
|
+
_minDeposit: BigNumberish,
|
|
987
|
+
_maxDeposit: BigNumberish,
|
|
988
|
+
_minWithdraw: BigNumberish,
|
|
989
|
+
_maxWithdraw: BigNumberish
|
|
990
|
+
],
|
|
991
|
+
[void],
|
|
992
|
+
"nonpayable"
|
|
993
|
+
>;
|
|
994
|
+
|
|
995
|
+
setMaxOracleAge: TypedContractMethod<
|
|
996
|
+
[_maxOracleAge: BigNumberish],
|
|
997
|
+
[void],
|
|
998
|
+
"nonpayable"
|
|
999
|
+
>;
|
|
1000
|
+
|
|
1001
|
+
setPriceOracle: TypedContractMethod<
|
|
1002
|
+
[_oracle: AddressLike],
|
|
1003
|
+
[void],
|
|
1004
|
+
"nonpayable"
|
|
1005
|
+
>;
|
|
1006
|
+
|
|
1007
|
+
setWithdrawDynamicFee: TypedContractMethod<
|
|
1008
|
+
[
|
|
1009
|
+
_fixedFee: BigNumberish,
|
|
1010
|
+
_percentageBps: BigNumberish,
|
|
1011
|
+
_maxFee: BigNumberish
|
|
1012
|
+
],
|
|
1013
|
+
[void],
|
|
1014
|
+
"nonpayable"
|
|
1015
|
+
>;
|
|
1016
|
+
|
|
1017
|
+
supportsInterface: TypedContractMethod<
|
|
1018
|
+
[interfaceId: BytesLike],
|
|
1019
|
+
[boolean],
|
|
1020
|
+
"view"
|
|
1021
|
+
>;
|
|
1022
|
+
|
|
1023
|
+
totalUserLiability: TypedContractMethod<[], [bigint], "view">;
|
|
1024
|
+
|
|
1025
|
+
transferOwnership: TypedContractMethod<
|
|
1026
|
+
[newOwner: AddressLike],
|
|
1027
|
+
[void],
|
|
1028
|
+
"nonpayable"
|
|
1029
|
+
>;
|
|
1030
|
+
|
|
1031
|
+
unpause: TypedContractMethod<[], [void], "nonpayable">;
|
|
1032
|
+
|
|
1033
|
+
withdrawCotiFees: TypedContractMethod<
|
|
1034
|
+
[amount: BigNumberish],
|
|
1035
|
+
[void],
|
|
1036
|
+
"nonpayable"
|
|
1037
|
+
>;
|
|
1038
|
+
|
|
1039
|
+
withdrawFixedFee: TypedContractMethod<[], [bigint], "view">;
|
|
1040
|
+
|
|
1041
|
+
withdrawMaxFee: TypedContractMethod<[], [bigint], "view">;
|
|
1042
|
+
|
|
1043
|
+
withdrawPercentageBps: TypedContractMethod<[], [bigint], "view">;
|
|
1044
|
+
|
|
1045
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
|
1046
|
+
key: string | FunctionFragment
|
|
1047
|
+
): T;
|
|
1048
|
+
|
|
1049
|
+
getFunction(
|
|
1050
|
+
nameOrSignature: "DEFAULT_ADMIN_ROLE"
|
|
1051
|
+
): TypedContractMethod<[], [string], "view">;
|
|
1052
|
+
getFunction(
|
|
1053
|
+
nameOrSignature: "DEFAULT_MAX_ORACLE_AGE"
|
|
1054
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
1055
|
+
getFunction(
|
|
1056
|
+
nameOrSignature: "FEE_DIVISOR"
|
|
1057
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
1058
|
+
getFunction(
|
|
1059
|
+
nameOrSignature: "MAX_FEE_UNITS"
|
|
1060
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
1061
|
+
getFunction(
|
|
1062
|
+
nameOrSignature: "OPERATOR_ROLE"
|
|
1063
|
+
): TypedContractMethod<[], [string], "view">;
|
|
1064
|
+
getFunction(
|
|
1065
|
+
nameOrSignature: "accumulatedCotiFees"
|
|
1066
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
1067
|
+
getFunction(
|
|
1068
|
+
nameOrSignature: "addOperator"
|
|
1069
|
+
): TypedContractMethod<[account: AddressLike], [void], "nonpayable">;
|
|
1070
|
+
getFunction(
|
|
1071
|
+
nameOrSignature: "addToBlacklist"
|
|
1072
|
+
): TypedContractMethod<[account: AddressLike], [void], "nonpayable">;
|
|
1073
|
+
getFunction(
|
|
1074
|
+
nameOrSignature: "blacklisted"
|
|
1075
|
+
): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
|
|
1076
|
+
getFunction(
|
|
1077
|
+
nameOrSignature: "claimRefundableNativeExcess"
|
|
1078
|
+
): TypedContractMethod<[], [void], "nonpayable">;
|
|
1079
|
+
getFunction(
|
|
1080
|
+
nameOrSignature: "depositFixedFee"
|
|
1081
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
1082
|
+
getFunction(
|
|
1083
|
+
nameOrSignature: "depositMaxFee"
|
|
1084
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
1085
|
+
getFunction(
|
|
1086
|
+
nameOrSignature: "depositPercentageBps"
|
|
1087
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
1088
|
+
getFunction(
|
|
1089
|
+
nameOrSignature: "feeRecipient"
|
|
1090
|
+
): TypedContractMethod<[], [string], "view">;
|
|
1091
|
+
getFunction(
|
|
1092
|
+
nameOrSignature: "getRoleAdmin"
|
|
1093
|
+
): TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
1094
|
+
getFunction(
|
|
1095
|
+
nameOrSignature: "getRoleMember"
|
|
1096
|
+
): TypedContractMethod<
|
|
1097
|
+
[role: BytesLike, index: BigNumberish],
|
|
1098
|
+
[string],
|
|
1099
|
+
"view"
|
|
1100
|
+
>;
|
|
1101
|
+
getFunction(
|
|
1102
|
+
nameOrSignature: "getRoleMemberCount"
|
|
1103
|
+
): TypedContractMethod<[role: BytesLike], [bigint], "view">;
|
|
1104
|
+
getFunction(
|
|
1105
|
+
nameOrSignature: "grantRole"
|
|
1106
|
+
): TypedContractMethod<
|
|
1107
|
+
[role: BytesLike, account: AddressLike],
|
|
1108
|
+
[void],
|
|
1109
|
+
"nonpayable"
|
|
1110
|
+
>;
|
|
1111
|
+
getFunction(
|
|
1112
|
+
nameOrSignature: "hasRole"
|
|
1113
|
+
): TypedContractMethod<
|
|
1114
|
+
[role: BytesLike, account: AddressLike],
|
|
1115
|
+
[boolean],
|
|
1116
|
+
"view"
|
|
1117
|
+
>;
|
|
1118
|
+
getFunction(
|
|
1119
|
+
nameOrSignature: "isDepositEnabled"
|
|
1120
|
+
): TypedContractMethod<[], [boolean], "view">;
|
|
1121
|
+
getFunction(
|
|
1122
|
+
nameOrSignature: "isOperator"
|
|
1123
|
+
): TypedContractMethod<[account: AddressLike], [boolean], "view">;
|
|
1124
|
+
getFunction(
|
|
1125
|
+
nameOrSignature: "maxDepositAmount"
|
|
1126
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
1127
|
+
getFunction(
|
|
1128
|
+
nameOrSignature: "maxOracleAge"
|
|
1129
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
1130
|
+
getFunction(
|
|
1131
|
+
nameOrSignature: "maxWithdrawAmount"
|
|
1132
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
1133
|
+
getFunction(
|
|
1134
|
+
nameOrSignature: "minDepositAmount"
|
|
1135
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
1136
|
+
getFunction(
|
|
1137
|
+
nameOrSignature: "minWithdrawAmount"
|
|
1138
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
1139
|
+
getFunction(
|
|
1140
|
+
nameOrSignature: "owner"
|
|
1141
|
+
): TypedContractMethod<[], [string], "view">;
|
|
1142
|
+
getFunction(
|
|
1143
|
+
nameOrSignature: "pause"
|
|
1144
|
+
): TypedContractMethod<[], [void], "nonpayable">;
|
|
1145
|
+
getFunction(
|
|
1146
|
+
nameOrSignature: "paused"
|
|
1147
|
+
): TypedContractMethod<[], [boolean], "view">;
|
|
1148
|
+
getFunction(
|
|
1149
|
+
nameOrSignature: "priceOracle"
|
|
1150
|
+
): TypedContractMethod<[], [string], "view">;
|
|
1151
|
+
getFunction(
|
|
1152
|
+
nameOrSignature: "refundableNativeExcess"
|
|
1153
|
+
): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
1154
|
+
getFunction(
|
|
1155
|
+
nameOrSignature: "removeFromBlacklist"
|
|
1156
|
+
): TypedContractMethod<[account: AddressLike], [void], "nonpayable">;
|
|
1157
|
+
getFunction(
|
|
1158
|
+
nameOrSignature: "removeOperator"
|
|
1159
|
+
): TypedContractMethod<[account: AddressLike], [void], "nonpayable">;
|
|
1160
|
+
getFunction(
|
|
1161
|
+
nameOrSignature: "renounceOwnership"
|
|
1162
|
+
): TypedContractMethod<[], [void], "nonpayable">;
|
|
1163
|
+
getFunction(
|
|
1164
|
+
nameOrSignature: "renounceRole"
|
|
1165
|
+
): TypedContractMethod<
|
|
1166
|
+
[role: BytesLike, account: AddressLike],
|
|
1167
|
+
[void],
|
|
1168
|
+
"nonpayable"
|
|
1169
|
+
>;
|
|
1170
|
+
getFunction(
|
|
1171
|
+
nameOrSignature: "rescueRecipient"
|
|
1172
|
+
): TypedContractMethod<[], [string], "view">;
|
|
1173
|
+
getFunction(
|
|
1174
|
+
nameOrSignature: "revokeRole"
|
|
1175
|
+
): TypedContractMethod<
|
|
1176
|
+
[role: BytesLike, account: AddressLike],
|
|
1177
|
+
[void],
|
|
1178
|
+
"nonpayable"
|
|
1179
|
+
>;
|
|
1180
|
+
getFunction(
|
|
1181
|
+
nameOrSignature: "setDepositDynamicFee"
|
|
1182
|
+
): TypedContractMethod<
|
|
1183
|
+
[
|
|
1184
|
+
_fixedFee: BigNumberish,
|
|
1185
|
+
_percentageBps: BigNumberish,
|
|
1186
|
+
_maxFee: BigNumberish
|
|
1187
|
+
],
|
|
1188
|
+
[void],
|
|
1189
|
+
"nonpayable"
|
|
1190
|
+
>;
|
|
1191
|
+
getFunction(
|
|
1192
|
+
nameOrSignature: "setIsDepositEnabled"
|
|
1193
|
+
): TypedContractMethod<[_enabled: boolean], [void], "nonpayable">;
|
|
1194
|
+
getFunction(
|
|
1195
|
+
nameOrSignature: "setLimits"
|
|
1196
|
+
): TypedContractMethod<
|
|
1197
|
+
[
|
|
1198
|
+
_minDeposit: BigNumberish,
|
|
1199
|
+
_maxDeposit: BigNumberish,
|
|
1200
|
+
_minWithdraw: BigNumberish,
|
|
1201
|
+
_maxWithdraw: BigNumberish
|
|
1202
|
+
],
|
|
1203
|
+
[void],
|
|
1204
|
+
"nonpayable"
|
|
1205
|
+
>;
|
|
1206
|
+
getFunction(
|
|
1207
|
+
nameOrSignature: "setMaxOracleAge"
|
|
1208
|
+
): TypedContractMethod<[_maxOracleAge: BigNumberish], [void], "nonpayable">;
|
|
1209
|
+
getFunction(
|
|
1210
|
+
nameOrSignature: "setPriceOracle"
|
|
1211
|
+
): TypedContractMethod<[_oracle: AddressLike], [void], "nonpayable">;
|
|
1212
|
+
getFunction(
|
|
1213
|
+
nameOrSignature: "setWithdrawDynamicFee"
|
|
1214
|
+
): TypedContractMethod<
|
|
1215
|
+
[
|
|
1216
|
+
_fixedFee: BigNumberish,
|
|
1217
|
+
_percentageBps: BigNumberish,
|
|
1218
|
+
_maxFee: BigNumberish
|
|
1219
|
+
],
|
|
1220
|
+
[void],
|
|
1221
|
+
"nonpayable"
|
|
1222
|
+
>;
|
|
1223
|
+
getFunction(
|
|
1224
|
+
nameOrSignature: "supportsInterface"
|
|
1225
|
+
): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
1226
|
+
getFunction(
|
|
1227
|
+
nameOrSignature: "totalUserLiability"
|
|
1228
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
1229
|
+
getFunction(
|
|
1230
|
+
nameOrSignature: "transferOwnership"
|
|
1231
|
+
): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
1232
|
+
getFunction(
|
|
1233
|
+
nameOrSignature: "unpause"
|
|
1234
|
+
): TypedContractMethod<[], [void], "nonpayable">;
|
|
1235
|
+
getFunction(
|
|
1236
|
+
nameOrSignature: "withdrawCotiFees"
|
|
1237
|
+
): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
1238
|
+
getFunction(
|
|
1239
|
+
nameOrSignature: "withdrawFixedFee"
|
|
1240
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
1241
|
+
getFunction(
|
|
1242
|
+
nameOrSignature: "withdrawMaxFee"
|
|
1243
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
1244
|
+
getFunction(
|
|
1245
|
+
nameOrSignature: "withdrawPercentageBps"
|
|
1246
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
1247
|
+
|
|
1248
|
+
getEvent(
|
|
1249
|
+
key: "Blacklisted"
|
|
1250
|
+
): TypedContractEvent<
|
|
1251
|
+
BlacklistedEvent.InputTuple,
|
|
1252
|
+
BlacklistedEvent.OutputTuple,
|
|
1253
|
+
BlacklistedEvent.OutputObject
|
|
1254
|
+
>;
|
|
1255
|
+
getEvent(
|
|
1256
|
+
key: "CotiFeesWithdrawn"
|
|
1257
|
+
): TypedContractEvent<
|
|
1258
|
+
CotiFeesWithdrawnEvent.InputTuple,
|
|
1259
|
+
CotiFeesWithdrawnEvent.OutputTuple,
|
|
1260
|
+
CotiFeesWithdrawnEvent.OutputObject
|
|
1261
|
+
>;
|
|
1262
|
+
getEvent(
|
|
1263
|
+
key: "Deposit"
|
|
1264
|
+
): TypedContractEvent<
|
|
1265
|
+
DepositEvent.InputTuple,
|
|
1266
|
+
DepositEvent.OutputTuple,
|
|
1267
|
+
DepositEvent.OutputObject
|
|
1268
|
+
>;
|
|
1269
|
+
getEvent(
|
|
1270
|
+
key: "DepositEnabledUpdated"
|
|
1271
|
+
): TypedContractEvent<
|
|
1272
|
+
DepositEnabledUpdatedEvent.InputTuple,
|
|
1273
|
+
DepositEnabledUpdatedEvent.OutputTuple,
|
|
1274
|
+
DepositEnabledUpdatedEvent.OutputObject
|
|
1275
|
+
>;
|
|
1276
|
+
getEvent(
|
|
1277
|
+
key: "DynamicFeeUpdated"
|
|
1278
|
+
): TypedContractEvent<
|
|
1279
|
+
DynamicFeeUpdatedEvent.InputTuple,
|
|
1280
|
+
DynamicFeeUpdatedEvent.OutputTuple,
|
|
1281
|
+
DynamicFeeUpdatedEvent.OutputObject
|
|
1282
|
+
>;
|
|
1283
|
+
getEvent(
|
|
1284
|
+
key: "FeesWithdrawn"
|
|
1285
|
+
): TypedContractEvent<
|
|
1286
|
+
FeesWithdrawnEvent.InputTuple,
|
|
1287
|
+
FeesWithdrawnEvent.OutputTuple,
|
|
1288
|
+
FeesWithdrawnEvent.OutputObject
|
|
1289
|
+
>;
|
|
1290
|
+
getEvent(
|
|
1291
|
+
key: "LimitsUpdated"
|
|
1292
|
+
): TypedContractEvent<
|
|
1293
|
+
LimitsUpdatedEvent.InputTuple,
|
|
1294
|
+
LimitsUpdatedEvent.OutputTuple,
|
|
1295
|
+
LimitsUpdatedEvent.OutputObject
|
|
1296
|
+
>;
|
|
1297
|
+
getEvent(
|
|
1298
|
+
key: "MaxOracleAgeUpdated"
|
|
1299
|
+
): TypedContractEvent<
|
|
1300
|
+
MaxOracleAgeUpdatedEvent.InputTuple,
|
|
1301
|
+
MaxOracleAgeUpdatedEvent.OutputTuple,
|
|
1302
|
+
MaxOracleAgeUpdatedEvent.OutputObject
|
|
1303
|
+
>;
|
|
1304
|
+
getEvent(
|
|
1305
|
+
key: "NativeRefundExcessPushFailed"
|
|
1306
|
+
): TypedContractEvent<
|
|
1307
|
+
NativeRefundExcessPushFailedEvent.InputTuple,
|
|
1308
|
+
NativeRefundExcessPushFailedEvent.OutputTuple,
|
|
1309
|
+
NativeRefundExcessPushFailedEvent.OutputObject
|
|
1310
|
+
>;
|
|
1311
|
+
getEvent(
|
|
1312
|
+
key: "OperatorAdded"
|
|
1313
|
+
): TypedContractEvent<
|
|
1314
|
+
OperatorAddedEvent.InputTuple,
|
|
1315
|
+
OperatorAddedEvent.OutputTuple,
|
|
1316
|
+
OperatorAddedEvent.OutputObject
|
|
1317
|
+
>;
|
|
1318
|
+
getEvent(
|
|
1319
|
+
key: "OperatorRemoved"
|
|
1320
|
+
): TypedContractEvent<
|
|
1321
|
+
OperatorRemovedEvent.InputTuple,
|
|
1322
|
+
OperatorRemovedEvent.OutputTuple,
|
|
1323
|
+
OperatorRemovedEvent.OutputObject
|
|
1324
|
+
>;
|
|
1325
|
+
getEvent(
|
|
1326
|
+
key: "OwnershipTransferred"
|
|
1327
|
+
): TypedContractEvent<
|
|
1328
|
+
OwnershipTransferredEvent.InputTuple,
|
|
1329
|
+
OwnershipTransferredEvent.OutputTuple,
|
|
1330
|
+
OwnershipTransferredEvent.OutputObject
|
|
1331
|
+
>;
|
|
1332
|
+
getEvent(
|
|
1333
|
+
key: "Paused"
|
|
1334
|
+
): TypedContractEvent<
|
|
1335
|
+
PausedEvent.InputTuple,
|
|
1336
|
+
PausedEvent.OutputTuple,
|
|
1337
|
+
PausedEvent.OutputObject
|
|
1338
|
+
>;
|
|
1339
|
+
getEvent(
|
|
1340
|
+
key: "PriceOracleUpdated"
|
|
1341
|
+
): TypedContractEvent<
|
|
1342
|
+
PriceOracleUpdatedEvent.InputTuple,
|
|
1343
|
+
PriceOracleUpdatedEvent.OutputTuple,
|
|
1344
|
+
PriceOracleUpdatedEvent.OutputObject
|
|
1345
|
+
>;
|
|
1346
|
+
getEvent(
|
|
1347
|
+
key: "RefundableNativeExcessClaimed"
|
|
1348
|
+
): TypedContractEvent<
|
|
1349
|
+
RefundableNativeExcessClaimedEvent.InputTuple,
|
|
1350
|
+
RefundableNativeExcessClaimedEvent.OutputTuple,
|
|
1351
|
+
RefundableNativeExcessClaimedEvent.OutputObject
|
|
1352
|
+
>;
|
|
1353
|
+
getEvent(
|
|
1354
|
+
key: "RoleAdminChanged"
|
|
1355
|
+
): TypedContractEvent<
|
|
1356
|
+
RoleAdminChangedEvent.InputTuple,
|
|
1357
|
+
RoleAdminChangedEvent.OutputTuple,
|
|
1358
|
+
RoleAdminChangedEvent.OutputObject
|
|
1359
|
+
>;
|
|
1360
|
+
getEvent(
|
|
1361
|
+
key: "RoleGranted"
|
|
1362
|
+
): TypedContractEvent<
|
|
1363
|
+
RoleGrantedEvent.InputTuple,
|
|
1364
|
+
RoleGrantedEvent.OutputTuple,
|
|
1365
|
+
RoleGrantedEvent.OutputObject
|
|
1366
|
+
>;
|
|
1367
|
+
getEvent(
|
|
1368
|
+
key: "RoleRevoked"
|
|
1369
|
+
): TypedContractEvent<
|
|
1370
|
+
RoleRevokedEvent.InputTuple,
|
|
1371
|
+
RoleRevokedEvent.OutputTuple,
|
|
1372
|
+
RoleRevokedEvent.OutputObject
|
|
1373
|
+
>;
|
|
1374
|
+
getEvent(
|
|
1375
|
+
key: "UnBlacklisted"
|
|
1376
|
+
): TypedContractEvent<
|
|
1377
|
+
UnBlacklistedEvent.InputTuple,
|
|
1378
|
+
UnBlacklistedEvent.OutputTuple,
|
|
1379
|
+
UnBlacklistedEvent.OutputObject
|
|
1380
|
+
>;
|
|
1381
|
+
getEvent(
|
|
1382
|
+
key: "Unpaused"
|
|
1383
|
+
): TypedContractEvent<
|
|
1384
|
+
UnpausedEvent.InputTuple,
|
|
1385
|
+
UnpausedEvent.OutputTuple,
|
|
1386
|
+
UnpausedEvent.OutputObject
|
|
1387
|
+
>;
|
|
1388
|
+
getEvent(
|
|
1389
|
+
key: "Withdraw"
|
|
1390
|
+
): TypedContractEvent<
|
|
1391
|
+
WithdrawEvent.InputTuple,
|
|
1392
|
+
WithdrawEvent.OutputTuple,
|
|
1393
|
+
WithdrawEvent.OutputObject
|
|
1394
|
+
>;
|
|
1395
|
+
|
|
1396
|
+
filters: {
|
|
1397
|
+
"Blacklisted(address,address)": TypedContractEvent<
|
|
1398
|
+
BlacklistedEvent.InputTuple,
|
|
1399
|
+
BlacklistedEvent.OutputTuple,
|
|
1400
|
+
BlacklistedEvent.OutputObject
|
|
1401
|
+
>;
|
|
1402
|
+
Blacklisted: TypedContractEvent<
|
|
1403
|
+
BlacklistedEvent.InputTuple,
|
|
1404
|
+
BlacklistedEvent.OutputTuple,
|
|
1405
|
+
BlacklistedEvent.OutputObject
|
|
1406
|
+
>;
|
|
1407
|
+
|
|
1408
|
+
"CotiFeesWithdrawn(address,uint256)": TypedContractEvent<
|
|
1409
|
+
CotiFeesWithdrawnEvent.InputTuple,
|
|
1410
|
+
CotiFeesWithdrawnEvent.OutputTuple,
|
|
1411
|
+
CotiFeesWithdrawnEvent.OutputObject
|
|
1412
|
+
>;
|
|
1413
|
+
CotiFeesWithdrawn: TypedContractEvent<
|
|
1414
|
+
CotiFeesWithdrawnEvent.InputTuple,
|
|
1415
|
+
CotiFeesWithdrawnEvent.OutputTuple,
|
|
1416
|
+
CotiFeesWithdrawnEvent.OutputObject
|
|
1417
|
+
>;
|
|
1418
|
+
|
|
1419
|
+
"Deposit(address,uint256,uint256)": TypedContractEvent<
|
|
1420
|
+
DepositEvent.InputTuple,
|
|
1421
|
+
DepositEvent.OutputTuple,
|
|
1422
|
+
DepositEvent.OutputObject
|
|
1423
|
+
>;
|
|
1424
|
+
Deposit: TypedContractEvent<
|
|
1425
|
+
DepositEvent.InputTuple,
|
|
1426
|
+
DepositEvent.OutputTuple,
|
|
1427
|
+
DepositEvent.OutputObject
|
|
1428
|
+
>;
|
|
1429
|
+
|
|
1430
|
+
"DepositEnabledUpdated(bool,address)": TypedContractEvent<
|
|
1431
|
+
DepositEnabledUpdatedEvent.InputTuple,
|
|
1432
|
+
DepositEnabledUpdatedEvent.OutputTuple,
|
|
1433
|
+
DepositEnabledUpdatedEvent.OutputObject
|
|
1434
|
+
>;
|
|
1435
|
+
DepositEnabledUpdated: TypedContractEvent<
|
|
1436
|
+
DepositEnabledUpdatedEvent.InputTuple,
|
|
1437
|
+
DepositEnabledUpdatedEvent.OutputTuple,
|
|
1438
|
+
DepositEnabledUpdatedEvent.OutputObject
|
|
1439
|
+
>;
|
|
1440
|
+
|
|
1441
|
+
"DynamicFeeUpdated(string,uint256,uint256,uint256)": TypedContractEvent<
|
|
1442
|
+
DynamicFeeUpdatedEvent.InputTuple,
|
|
1443
|
+
DynamicFeeUpdatedEvent.OutputTuple,
|
|
1444
|
+
DynamicFeeUpdatedEvent.OutputObject
|
|
1445
|
+
>;
|
|
1446
|
+
DynamicFeeUpdated: TypedContractEvent<
|
|
1447
|
+
DynamicFeeUpdatedEvent.InputTuple,
|
|
1448
|
+
DynamicFeeUpdatedEvent.OutputTuple,
|
|
1449
|
+
DynamicFeeUpdatedEvent.OutputObject
|
|
1450
|
+
>;
|
|
1451
|
+
|
|
1452
|
+
"FeesWithdrawn(address,uint256)": TypedContractEvent<
|
|
1453
|
+
FeesWithdrawnEvent.InputTuple,
|
|
1454
|
+
FeesWithdrawnEvent.OutputTuple,
|
|
1455
|
+
FeesWithdrawnEvent.OutputObject
|
|
1456
|
+
>;
|
|
1457
|
+
FeesWithdrawn: TypedContractEvent<
|
|
1458
|
+
FeesWithdrawnEvent.InputTuple,
|
|
1459
|
+
FeesWithdrawnEvent.OutputTuple,
|
|
1460
|
+
FeesWithdrawnEvent.OutputObject
|
|
1461
|
+
>;
|
|
1462
|
+
|
|
1463
|
+
"LimitsUpdated(uint256,uint256,uint256,uint256)": TypedContractEvent<
|
|
1464
|
+
LimitsUpdatedEvent.InputTuple,
|
|
1465
|
+
LimitsUpdatedEvent.OutputTuple,
|
|
1466
|
+
LimitsUpdatedEvent.OutputObject
|
|
1467
|
+
>;
|
|
1468
|
+
LimitsUpdated: TypedContractEvent<
|
|
1469
|
+
LimitsUpdatedEvent.InputTuple,
|
|
1470
|
+
LimitsUpdatedEvent.OutputTuple,
|
|
1471
|
+
LimitsUpdatedEvent.OutputObject
|
|
1472
|
+
>;
|
|
1473
|
+
|
|
1474
|
+
"MaxOracleAgeUpdated(uint256,address)": TypedContractEvent<
|
|
1475
|
+
MaxOracleAgeUpdatedEvent.InputTuple,
|
|
1476
|
+
MaxOracleAgeUpdatedEvent.OutputTuple,
|
|
1477
|
+
MaxOracleAgeUpdatedEvent.OutputObject
|
|
1478
|
+
>;
|
|
1479
|
+
MaxOracleAgeUpdated: TypedContractEvent<
|
|
1480
|
+
MaxOracleAgeUpdatedEvent.InputTuple,
|
|
1481
|
+
MaxOracleAgeUpdatedEvent.OutputTuple,
|
|
1482
|
+
MaxOracleAgeUpdatedEvent.OutputObject
|
|
1483
|
+
>;
|
|
1484
|
+
|
|
1485
|
+
"NativeRefundExcessPushFailed(address,uint256)": TypedContractEvent<
|
|
1486
|
+
NativeRefundExcessPushFailedEvent.InputTuple,
|
|
1487
|
+
NativeRefundExcessPushFailedEvent.OutputTuple,
|
|
1488
|
+
NativeRefundExcessPushFailedEvent.OutputObject
|
|
1489
|
+
>;
|
|
1490
|
+
NativeRefundExcessPushFailed: TypedContractEvent<
|
|
1491
|
+
NativeRefundExcessPushFailedEvent.InputTuple,
|
|
1492
|
+
NativeRefundExcessPushFailedEvent.OutputTuple,
|
|
1493
|
+
NativeRefundExcessPushFailedEvent.OutputObject
|
|
1494
|
+
>;
|
|
1495
|
+
|
|
1496
|
+
"OperatorAdded(address,address)": TypedContractEvent<
|
|
1497
|
+
OperatorAddedEvent.InputTuple,
|
|
1498
|
+
OperatorAddedEvent.OutputTuple,
|
|
1499
|
+
OperatorAddedEvent.OutputObject
|
|
1500
|
+
>;
|
|
1501
|
+
OperatorAdded: TypedContractEvent<
|
|
1502
|
+
OperatorAddedEvent.InputTuple,
|
|
1503
|
+
OperatorAddedEvent.OutputTuple,
|
|
1504
|
+
OperatorAddedEvent.OutputObject
|
|
1505
|
+
>;
|
|
1506
|
+
|
|
1507
|
+
"OperatorRemoved(address,address)": TypedContractEvent<
|
|
1508
|
+
OperatorRemovedEvent.InputTuple,
|
|
1509
|
+
OperatorRemovedEvent.OutputTuple,
|
|
1510
|
+
OperatorRemovedEvent.OutputObject
|
|
1511
|
+
>;
|
|
1512
|
+
OperatorRemoved: TypedContractEvent<
|
|
1513
|
+
OperatorRemovedEvent.InputTuple,
|
|
1514
|
+
OperatorRemovedEvent.OutputTuple,
|
|
1515
|
+
OperatorRemovedEvent.OutputObject
|
|
1516
|
+
>;
|
|
1517
|
+
|
|
1518
|
+
"OwnershipTransferred(address,address)": TypedContractEvent<
|
|
1519
|
+
OwnershipTransferredEvent.InputTuple,
|
|
1520
|
+
OwnershipTransferredEvent.OutputTuple,
|
|
1521
|
+
OwnershipTransferredEvent.OutputObject
|
|
1522
|
+
>;
|
|
1523
|
+
OwnershipTransferred: TypedContractEvent<
|
|
1524
|
+
OwnershipTransferredEvent.InputTuple,
|
|
1525
|
+
OwnershipTransferredEvent.OutputTuple,
|
|
1526
|
+
OwnershipTransferredEvent.OutputObject
|
|
1527
|
+
>;
|
|
1528
|
+
|
|
1529
|
+
"Paused(address)": TypedContractEvent<
|
|
1530
|
+
PausedEvent.InputTuple,
|
|
1531
|
+
PausedEvent.OutputTuple,
|
|
1532
|
+
PausedEvent.OutputObject
|
|
1533
|
+
>;
|
|
1534
|
+
Paused: TypedContractEvent<
|
|
1535
|
+
PausedEvent.InputTuple,
|
|
1536
|
+
PausedEvent.OutputTuple,
|
|
1537
|
+
PausedEvent.OutputObject
|
|
1538
|
+
>;
|
|
1539
|
+
|
|
1540
|
+
"PriceOracleUpdated(address,address)": TypedContractEvent<
|
|
1541
|
+
PriceOracleUpdatedEvent.InputTuple,
|
|
1542
|
+
PriceOracleUpdatedEvent.OutputTuple,
|
|
1543
|
+
PriceOracleUpdatedEvent.OutputObject
|
|
1544
|
+
>;
|
|
1545
|
+
PriceOracleUpdated: TypedContractEvent<
|
|
1546
|
+
PriceOracleUpdatedEvent.InputTuple,
|
|
1547
|
+
PriceOracleUpdatedEvent.OutputTuple,
|
|
1548
|
+
PriceOracleUpdatedEvent.OutputObject
|
|
1549
|
+
>;
|
|
1550
|
+
|
|
1551
|
+
"RefundableNativeExcessClaimed(address,uint256)": TypedContractEvent<
|
|
1552
|
+
RefundableNativeExcessClaimedEvent.InputTuple,
|
|
1553
|
+
RefundableNativeExcessClaimedEvent.OutputTuple,
|
|
1554
|
+
RefundableNativeExcessClaimedEvent.OutputObject
|
|
1555
|
+
>;
|
|
1556
|
+
RefundableNativeExcessClaimed: TypedContractEvent<
|
|
1557
|
+
RefundableNativeExcessClaimedEvent.InputTuple,
|
|
1558
|
+
RefundableNativeExcessClaimedEvent.OutputTuple,
|
|
1559
|
+
RefundableNativeExcessClaimedEvent.OutputObject
|
|
1560
|
+
>;
|
|
1561
|
+
|
|
1562
|
+
"RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<
|
|
1563
|
+
RoleAdminChangedEvent.InputTuple,
|
|
1564
|
+
RoleAdminChangedEvent.OutputTuple,
|
|
1565
|
+
RoleAdminChangedEvent.OutputObject
|
|
1566
|
+
>;
|
|
1567
|
+
RoleAdminChanged: TypedContractEvent<
|
|
1568
|
+
RoleAdminChangedEvent.InputTuple,
|
|
1569
|
+
RoleAdminChangedEvent.OutputTuple,
|
|
1570
|
+
RoleAdminChangedEvent.OutputObject
|
|
1571
|
+
>;
|
|
1572
|
+
|
|
1573
|
+
"RoleGranted(bytes32,address,address)": TypedContractEvent<
|
|
1574
|
+
RoleGrantedEvent.InputTuple,
|
|
1575
|
+
RoleGrantedEvent.OutputTuple,
|
|
1576
|
+
RoleGrantedEvent.OutputObject
|
|
1577
|
+
>;
|
|
1578
|
+
RoleGranted: TypedContractEvent<
|
|
1579
|
+
RoleGrantedEvent.InputTuple,
|
|
1580
|
+
RoleGrantedEvent.OutputTuple,
|
|
1581
|
+
RoleGrantedEvent.OutputObject
|
|
1582
|
+
>;
|
|
1583
|
+
|
|
1584
|
+
"RoleRevoked(bytes32,address,address)": TypedContractEvent<
|
|
1585
|
+
RoleRevokedEvent.InputTuple,
|
|
1586
|
+
RoleRevokedEvent.OutputTuple,
|
|
1587
|
+
RoleRevokedEvent.OutputObject
|
|
1588
|
+
>;
|
|
1589
|
+
RoleRevoked: TypedContractEvent<
|
|
1590
|
+
RoleRevokedEvent.InputTuple,
|
|
1591
|
+
RoleRevokedEvent.OutputTuple,
|
|
1592
|
+
RoleRevokedEvent.OutputObject
|
|
1593
|
+
>;
|
|
1594
|
+
|
|
1595
|
+
"UnBlacklisted(address,address)": TypedContractEvent<
|
|
1596
|
+
UnBlacklistedEvent.InputTuple,
|
|
1597
|
+
UnBlacklistedEvent.OutputTuple,
|
|
1598
|
+
UnBlacklistedEvent.OutputObject
|
|
1599
|
+
>;
|
|
1600
|
+
UnBlacklisted: TypedContractEvent<
|
|
1601
|
+
UnBlacklistedEvent.InputTuple,
|
|
1602
|
+
UnBlacklistedEvent.OutputTuple,
|
|
1603
|
+
UnBlacklistedEvent.OutputObject
|
|
1604
|
+
>;
|
|
1605
|
+
|
|
1606
|
+
"Unpaused(address)": TypedContractEvent<
|
|
1607
|
+
UnpausedEvent.InputTuple,
|
|
1608
|
+
UnpausedEvent.OutputTuple,
|
|
1609
|
+
UnpausedEvent.OutputObject
|
|
1610
|
+
>;
|
|
1611
|
+
Unpaused: TypedContractEvent<
|
|
1612
|
+
UnpausedEvent.InputTuple,
|
|
1613
|
+
UnpausedEvent.OutputTuple,
|
|
1614
|
+
UnpausedEvent.OutputObject
|
|
1615
|
+
>;
|
|
1616
|
+
|
|
1617
|
+
"Withdraw(address,uint256,uint256)": TypedContractEvent<
|
|
1618
|
+
WithdrawEvent.InputTuple,
|
|
1619
|
+
WithdrawEvent.OutputTuple,
|
|
1620
|
+
WithdrawEvent.OutputObject
|
|
1621
|
+
>;
|
|
1622
|
+
Withdraw: TypedContractEvent<
|
|
1623
|
+
WithdrawEvent.InputTuple,
|
|
1624
|
+
WithdrawEvent.OutputTuple,
|
|
1625
|
+
WithdrawEvent.OutputObject
|
|
1626
|
+
>;
|
|
1627
|
+
};
|
|
1628
|
+
}
|