@coti-io/coti-contracts 1.2.0 → 1.3.0

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