@layerzerolabs/oft-evm-contracts 1.2.26 → 1.2.29

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 (146) hide show
  1. package/README.md +3 -0
  2. package/package.json +5 -5
  3. package/.turbo/turbo-build.log +0 -217
  4. package/.turbo/turbo-lint.log +0 -185
  5. package/.turbo/turbo-test.log +0 -78
  6. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.dbg.json +0 -4
  7. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.json +0 -1899
  8. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +0 -4
  9. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +0 -121
  10. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.dbg.json +0 -4
  11. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.json +0 -646
  12. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.dbg.json +0 -4
  13. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.json +0 -373
  14. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.dbg.json +0 -4
  15. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.json +0 -246
  16. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.dbg.json +0 -4
  17. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.json +0 -42
  18. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.dbg.json +0 -4
  19. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.json +0 -148
  20. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.dbg.json +0 -4
  21. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.json +0 -586
  22. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.dbg.json +0 -4
  23. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.json +0 -130
  24. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.dbg.json +0 -4
  25. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.json +0 -50
  26. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.dbg.json +0 -4
  27. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.json +0 -135
  28. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.dbg.json +0 -4
  29. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.json +0 -167
  30. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.dbg.json +0 -4
  31. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.json +0 -116
  32. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.dbg.json +0 -4
  33. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.json +0 -188
  34. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.dbg.json +0 -4
  35. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.json +0 -55
  36. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.dbg.json +0 -4
  37. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.json +0 -177
  38. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.dbg.json +0 -4
  39. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.json +0 -532
  40. package/artifacts/build-info/0534f1d5f0d8cd63830d8f134ee75e3e.json +0 -1
  41. package/artifacts/contracts/interfaces/IOFT.sol/IOFT.dbg.json +0 -4
  42. package/artifacts/contracts/interfaces/IOFT.sol/IOFT.json +0 -467
  43. package/artifacts/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.dbg.json +0 -4
  44. package/artifacts/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.json +0 -66
  45. package/artifacts/contracts/interfaces/IOFTExtended.sol/IOFTExtended.dbg.json +0 -4
  46. package/artifacts/contracts/interfaces/IOFTExtended.sol/IOFTExtended.json +0 -2055
  47. package/artifacts/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.dbg.json +0 -4
  48. package/artifacts/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +0 -10
  49. package/artifacts/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.dbg.json +0 -4
  50. package/artifacts/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.json +0 -10
  51. package/artifacts/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.dbg.json +0 -4
  52. package/artifacts/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.json +0 -66
  53. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.dbg.json +0 -4
  54. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.json +0 -1899
  55. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +0 -4
  56. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +0 -121
  57. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.dbg.json +0 -4
  58. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.json +0 -646
  59. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.dbg.json +0 -4
  60. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.json +0 -373
  61. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.dbg.json +0 -4
  62. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.json +0 -246
  63. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.dbg.json +0 -4
  64. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.json +0 -42
  65. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.dbg.json +0 -4
  66. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.json +0 -148
  67. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.dbg.json +0 -4
  68. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.json +0 -586
  69. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.dbg.json +0 -4
  70. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.json +0 -130
  71. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.dbg.json +0 -4
  72. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.json +0 -50
  73. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.dbg.json +0 -4
  74. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.json +0 -135
  75. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.dbg.json +0 -4
  76. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.json +0 -167
  77. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.dbg.json +0 -4
  78. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.json +0 -116
  79. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.dbg.json +0 -4
  80. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.json +0 -188
  81. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.dbg.json +0 -4
  82. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.json +0 -55
  83. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.dbg.json +0 -4
  84. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.json +0 -177
  85. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.dbg.json +0 -4
  86. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.json +0 -532
  87. package/artifacts-tron/build-info/6372fe30cb41b2f9b7315d1272ecb0f3.json +0 -1
  88. package/artifacts-tron/contracts/interfaces/IOFT.sol/IOFT.dbg.json +0 -4
  89. package/artifacts-tron/contracts/interfaces/IOFT.sol/IOFT.json +0 -467
  90. package/artifacts-tron/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.dbg.json +0 -4
  91. package/artifacts-tron/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.json +0 -66
  92. package/artifacts-tron/contracts/interfaces/IOFTExtended.sol/IOFTExtended.dbg.json +0 -4
  93. package/artifacts-tron/contracts/interfaces/IOFTExtended.sol/IOFTExtended.json +0 -2055
  94. package/artifacts-tron/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.dbg.json +0 -4
  95. package/artifacts-tron/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +0 -10
  96. package/artifacts-tron/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.dbg.json +0 -4
  97. package/artifacts-tron/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.json +0 -10
  98. package/artifacts-tron/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.dbg.json +0 -4
  99. package/artifacts-tron/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.json +0 -66
  100. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.dbg.json +0 -4
  101. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.json +0 -1900
  102. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +0 -4
  103. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +0 -122
  104. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.dbg.json +0 -4
  105. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.json +0 -647
  106. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.dbg.json +0 -4
  107. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.json +0 -374
  108. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.dbg.json +0 -4
  109. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.json +0 -247
  110. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.dbg.json +0 -4
  111. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.json +0 -43
  112. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.dbg.json +0 -4
  113. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.json +0 -149
  114. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.dbg.json +0 -4
  115. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.json +0 -587
  116. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.dbg.json +0 -4
  117. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.json +0 -131
  118. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.dbg.json +0 -4
  119. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.json +0 -51
  120. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.dbg.json +0 -4
  121. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.json +0 -136
  122. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.dbg.json +0 -4
  123. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.json +0 -168
  124. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.dbg.json +0 -4
  125. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.json +0 -117
  126. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.dbg.json +0 -4
  127. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.json +0 -189
  128. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.dbg.json +0 -4
  129. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.json +0 -56
  130. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.dbg.json +0 -4
  131. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.json +0 -178
  132. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.dbg.json +0 -4
  133. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.json +0 -533
  134. package/artifacts-zk/build-info/d2467fad10cf5fa07f3c4c460f383314.json +0 -1
  135. package/artifacts-zk/contracts/interfaces/IOFT.sol/IOFT.dbg.json +0 -4
  136. package/artifacts-zk/contracts/interfaces/IOFT.sol/IOFT.json +0 -468
  137. package/artifacts-zk/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.dbg.json +0 -4
  138. package/artifacts-zk/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.json +0 -67
  139. package/artifacts-zk/contracts/interfaces/IOFTExtended.sol/IOFTExtended.dbg.json +0 -4
  140. package/artifacts-zk/contracts/interfaces/IOFTExtended.sol/IOFTExtended.json +0 -2056
  141. package/artifacts-zk/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.dbg.json +0 -4
  142. package/artifacts-zk/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +0 -11
  143. package/artifacts-zk/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.dbg.json +0 -4
  144. package/artifacts-zk/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.json +0 -11
  145. package/artifacts-zk/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.dbg.json +0 -4
  146. package/artifacts-zk/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.json +0 -67
@@ -1,532 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "IRateLimiter",
4
- "sourceName": "@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "user",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "bool",
15
- "name": "isExempt",
16
- "type": "bool"
17
- }
18
- ],
19
- "name": "ExemptionStateIdempotent",
20
- "type": "error"
21
- },
22
- {
23
- "inputs": [
24
- {
25
- "internalType": "uint8",
26
- "name": "scaledDecimals",
27
- "type": "uint8"
28
- }
29
- ],
30
- "name": "InvalidScaledDecimals",
31
- "type": "error"
32
- },
33
- {
34
- "inputs": [
35
- {
36
- "internalType": "uint40",
37
- "name": "lastUpdated",
38
- "type": "uint40"
39
- },
40
- {
41
- "internalType": "uint40",
42
- "name": "currentTimestamp",
43
- "type": "uint40"
44
- }
45
- ],
46
- "name": "LastUpdatedInFuture",
47
- "type": "error"
48
- },
49
- {
50
- "inputs": [
51
- {
52
- "internalType": "uint256",
53
- "name": "availableAmount",
54
- "type": "uint256"
55
- },
56
- {
57
- "internalType": "uint256",
58
- "name": "requestedAmount",
59
- "type": "uint256"
60
- }
61
- ],
62
- "name": "RateLimitExceeded",
63
- "type": "error"
64
- },
65
- {
66
- "anonymous": false,
67
- "inputs": [
68
- {
69
- "indexed": true,
70
- "internalType": "address",
71
- "name": "user",
72
- "type": "address"
73
- },
74
- {
75
- "indexed": false,
76
- "internalType": "bool",
77
- "name": "isExempt",
78
- "type": "bool"
79
- }
80
- ],
81
- "name": "RateLimitAddressExemptionUpdated",
82
- "type": "event"
83
- },
84
- {
85
- "anonymous": false,
86
- "inputs": [
87
- {
88
- "indexed": true,
89
- "internalType": "uint256",
90
- "name": "id",
91
- "type": "uint256"
92
- },
93
- {
94
- "components": [
95
- {
96
- "internalType": "bool",
97
- "name": "overrideDefaultConfig",
98
- "type": "bool"
99
- },
100
- {
101
- "internalType": "bool",
102
- "name": "outboundEnabled",
103
- "type": "bool"
104
- },
105
- {
106
- "internalType": "bool",
107
- "name": "inboundEnabled",
108
- "type": "bool"
109
- },
110
- {
111
- "internalType": "bool",
112
- "name": "netAccountingEnabled",
113
- "type": "bool"
114
- },
115
- {
116
- "internalType": "bool",
117
- "name": "addressExemptionEnabled",
118
- "type": "bool"
119
- },
120
- {
121
- "internalType": "uint96",
122
- "name": "outboundLimit",
123
- "type": "uint96"
124
- },
125
- {
126
- "internalType": "uint96",
127
- "name": "inboundLimit",
128
- "type": "uint96"
129
- },
130
- {
131
- "internalType": "uint32",
132
- "name": "outboundWindow",
133
- "type": "uint32"
134
- },
135
- {
136
- "internalType": "uint32",
137
- "name": "inboundWindow",
138
- "type": "uint32"
139
- }
140
- ],
141
- "indexed": false,
142
- "internalType": "struct IRateLimiter.RateLimitConfig",
143
- "name": "config",
144
- "type": "tuple"
145
- }
146
- ],
147
- "name": "RateLimitConfigUpdated",
148
- "type": "event"
149
- },
150
- {
151
- "anonymous": false,
152
- "inputs": [
153
- {
154
- "components": [
155
- {
156
- "internalType": "bool",
157
- "name": "useGlobalState",
158
- "type": "bool"
159
- },
160
- {
161
- "internalType": "bool",
162
- "name": "isGloballyDisabled",
163
- "type": "bool"
164
- }
165
- ],
166
- "indexed": false,
167
- "internalType": "struct IRateLimiter.RateLimitGlobalConfig",
168
- "name": "globalConfig",
169
- "type": "tuple"
170
- }
171
- ],
172
- "name": "RateLimitGlobalConfigUpdated",
173
- "type": "event"
174
- },
175
- {
176
- "anonymous": false,
177
- "inputs": [
178
- {
179
- "indexed": true,
180
- "internalType": "uint256",
181
- "name": "id",
182
- "type": "uint256"
183
- },
184
- {
185
- "components": [
186
- {
187
- "internalType": "uint96",
188
- "name": "outboundUsage",
189
- "type": "uint96"
190
- },
191
- {
192
- "internalType": "uint96",
193
- "name": "inboundUsage",
194
- "type": "uint96"
195
- },
196
- {
197
- "internalType": "uint40",
198
- "name": "lastUpdated",
199
- "type": "uint40"
200
- }
201
- ],
202
- "indexed": false,
203
- "internalType": "struct IRateLimiter.RateLimitState",
204
- "name": "state",
205
- "type": "tuple"
206
- }
207
- ],
208
- "name": "RateLimitStateUpdated",
209
- "type": "event"
210
- },
211
- {
212
- "inputs": [
213
- {
214
- "internalType": "uint256[]",
215
- "name": "_ids",
216
- "type": "uint256[]"
217
- }
218
- ],
219
- "name": "checkpointRateLimits",
220
- "outputs": [],
221
- "stateMutability": "nonpayable",
222
- "type": "function"
223
- },
224
- {
225
- "inputs": [],
226
- "name": "getRateLimitGlobalConfig",
227
- "outputs": [
228
- {
229
- "components": [
230
- {
231
- "internalType": "bool",
232
- "name": "useGlobalState",
233
- "type": "bool"
234
- },
235
- {
236
- "internalType": "bool",
237
- "name": "isGloballyDisabled",
238
- "type": "bool"
239
- }
240
- ],
241
- "internalType": "struct IRateLimiter.RateLimitGlobalConfig",
242
- "name": "globalConfig",
243
- "type": "tuple"
244
- }
245
- ],
246
- "stateMutability": "view",
247
- "type": "function"
248
- },
249
- {
250
- "inputs": [
251
- {
252
- "internalType": "uint256",
253
- "name": "_id",
254
- "type": "uint256"
255
- }
256
- ],
257
- "name": "getRateLimitUsages",
258
- "outputs": [
259
- {
260
- "internalType": "uint256",
261
- "name": "outboundUsage",
262
- "type": "uint256"
263
- },
264
- {
265
- "internalType": "uint256",
266
- "name": "outboundAvailableAmount",
267
- "type": "uint256"
268
- },
269
- {
270
- "internalType": "uint256",
271
- "name": "inboundUsage",
272
- "type": "uint256"
273
- },
274
- {
275
- "internalType": "uint256",
276
- "name": "inboundAvailableAmount",
277
- "type": "uint256"
278
- }
279
- ],
280
- "stateMutability": "view",
281
- "type": "function"
282
- },
283
- {
284
- "inputs": [
285
- {
286
- "internalType": "address",
287
- "name": "_user",
288
- "type": "address"
289
- }
290
- ],
291
- "name": "isRateLimitAddressExempt",
292
- "outputs": [
293
- {
294
- "internalType": "bool",
295
- "name": "isExempt",
296
- "type": "bool"
297
- }
298
- ],
299
- "stateMutability": "view",
300
- "type": "function"
301
- },
302
- {
303
- "inputs": [
304
- {
305
- "internalType": "uint256",
306
- "name": "_id",
307
- "type": "uint256"
308
- }
309
- ],
310
- "name": "rateLimits",
311
- "outputs": [
312
- {
313
- "components": [
314
- {
315
- "internalType": "uint96",
316
- "name": "outboundUsage",
317
- "type": "uint96"
318
- },
319
- {
320
- "internalType": "uint96",
321
- "name": "inboundUsage",
322
- "type": "uint96"
323
- },
324
- {
325
- "internalType": "uint40",
326
- "name": "lastUpdated",
327
- "type": "uint40"
328
- },
329
- {
330
- "internalType": "uint24",
331
- "name": "configBitmap",
332
- "type": "uint24"
333
- },
334
- {
335
- "internalType": "uint96",
336
- "name": "outboundLimit",
337
- "type": "uint96"
338
- },
339
- {
340
- "internalType": "uint32",
341
- "name": "outboundWindow",
342
- "type": "uint32"
343
- },
344
- {
345
- "internalType": "uint96",
346
- "name": "inboundLimit",
347
- "type": "uint96"
348
- },
349
- {
350
- "internalType": "uint32",
351
- "name": "inboundWindow",
352
- "type": "uint32"
353
- }
354
- ],
355
- "internalType": "struct IRateLimiter.RateLimit",
356
- "name": "rateLimit",
357
- "type": "tuple"
358
- }
359
- ],
360
- "stateMutability": "view",
361
- "type": "function"
362
- },
363
- {
364
- "inputs": [
365
- {
366
- "components": [
367
- {
368
- "internalType": "address",
369
- "name": "user",
370
- "type": "address"
371
- },
372
- {
373
- "internalType": "bool",
374
- "name": "isExempt",
375
- "type": "bool"
376
- }
377
- ],
378
- "internalType": "struct IRateLimiter.SetRateLimitAddressExemptionParam[]",
379
- "name": "_exemptions",
380
- "type": "tuple[]"
381
- }
382
- ],
383
- "name": "setRateLimitAddressExemptions",
384
- "outputs": [],
385
- "stateMutability": "nonpayable",
386
- "type": "function"
387
- },
388
- {
389
- "inputs": [
390
- {
391
- "components": [
392
- {
393
- "internalType": "uint256",
394
- "name": "id",
395
- "type": "uint256"
396
- },
397
- {
398
- "components": [
399
- {
400
- "internalType": "bool",
401
- "name": "overrideDefaultConfig",
402
- "type": "bool"
403
- },
404
- {
405
- "internalType": "bool",
406
- "name": "outboundEnabled",
407
- "type": "bool"
408
- },
409
- {
410
- "internalType": "bool",
411
- "name": "inboundEnabled",
412
- "type": "bool"
413
- },
414
- {
415
- "internalType": "bool",
416
- "name": "netAccountingEnabled",
417
- "type": "bool"
418
- },
419
- {
420
- "internalType": "bool",
421
- "name": "addressExemptionEnabled",
422
- "type": "bool"
423
- },
424
- {
425
- "internalType": "uint96",
426
- "name": "outboundLimit",
427
- "type": "uint96"
428
- },
429
- {
430
- "internalType": "uint96",
431
- "name": "inboundLimit",
432
- "type": "uint96"
433
- },
434
- {
435
- "internalType": "uint32",
436
- "name": "outboundWindow",
437
- "type": "uint32"
438
- },
439
- {
440
- "internalType": "uint32",
441
- "name": "inboundWindow",
442
- "type": "uint32"
443
- }
444
- ],
445
- "internalType": "struct IRateLimiter.RateLimitConfig",
446
- "name": "config",
447
- "type": "tuple"
448
- }
449
- ],
450
- "internalType": "struct IRateLimiter.SetRateLimitConfigParam[]",
451
- "name": "_params",
452
- "type": "tuple[]"
453
- }
454
- ],
455
- "name": "setRateLimitConfigs",
456
- "outputs": [],
457
- "stateMutability": "nonpayable",
458
- "type": "function"
459
- },
460
- {
461
- "inputs": [
462
- {
463
- "components": [
464
- {
465
- "internalType": "bool",
466
- "name": "useGlobalState",
467
- "type": "bool"
468
- },
469
- {
470
- "internalType": "bool",
471
- "name": "isGloballyDisabled",
472
- "type": "bool"
473
- }
474
- ],
475
- "internalType": "struct IRateLimiter.RateLimitGlobalConfig",
476
- "name": "_globalConfig",
477
- "type": "tuple"
478
- }
479
- ],
480
- "name": "setRateLimitGlobalConfig",
481
- "outputs": [],
482
- "stateMutability": "nonpayable",
483
- "type": "function"
484
- },
485
- {
486
- "inputs": [
487
- {
488
- "components": [
489
- {
490
- "internalType": "uint256",
491
- "name": "id",
492
- "type": "uint256"
493
- },
494
- {
495
- "components": [
496
- {
497
- "internalType": "uint96",
498
- "name": "outboundUsage",
499
- "type": "uint96"
500
- },
501
- {
502
- "internalType": "uint96",
503
- "name": "inboundUsage",
504
- "type": "uint96"
505
- },
506
- {
507
- "internalType": "uint40",
508
- "name": "lastUpdated",
509
- "type": "uint40"
510
- }
511
- ],
512
- "internalType": "struct IRateLimiter.RateLimitState",
513
- "name": "state",
514
- "type": "tuple"
515
- }
516
- ],
517
- "internalType": "struct IRateLimiter.SetRateLimitStateParam[]",
518
- "name": "_params",
519
- "type": "tuple[]"
520
- }
521
- ],
522
- "name": "setRateLimitStates",
523
- "outputs": [],
524
- "stateMutability": "nonpayable",
525
- "type": "function"
526
- }
527
- ],
528
- "bytecode": "0x",
529
- "deployedBytecode": "0x",
530
- "linkReferences": {},
531
- "deployedLinkReferences": {}
532
- }