@layerzerolabs/oft-evm-contracts 0.2.74

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 (143) hide show
  1. package/.turbo/turbo-build.log +68 -0
  2. package/.turbo/turbo-lint.log +185 -0
  3. package/.turbo/turbo-test.log +144 -0
  4. package/LICENSE +23 -0
  5. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.dbg.json +4 -0
  6. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.json +1899 -0
  7. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +4 -0
  8. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +121 -0
  9. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.dbg.json +4 -0
  10. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.json +646 -0
  11. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.dbg.json +4 -0
  12. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.json +373 -0
  13. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.dbg.json +4 -0
  14. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.json +246 -0
  15. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.dbg.json +4 -0
  16. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.json +42 -0
  17. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.dbg.json +4 -0
  18. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.json +148 -0
  19. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.dbg.json +4 -0
  20. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.json +467 -0
  21. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.dbg.json +4 -0
  22. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.json +50 -0
  23. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.dbg.json +4 -0
  24. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.json +135 -0
  25. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.dbg.json +4 -0
  26. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.json +167 -0
  27. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.dbg.json +4 -0
  28. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.json +188 -0
  29. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.dbg.json +4 -0
  30. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.json +55 -0
  31. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.dbg.json +4 -0
  32. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.json +177 -0
  33. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.dbg.json +4 -0
  34. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.json +532 -0
  35. package/artifacts/build-info/eba77569fb49f02e67cb445bb3ee5d37.json +1 -0
  36. package/artifacts/contracts/interfaces/IOFT.sol/IOFT.dbg.json +4 -0
  37. package/artifacts/contracts/interfaces/IOFT.sol/IOFT.json +467 -0
  38. package/artifacts/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.dbg.json +4 -0
  39. package/artifacts/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.json +66 -0
  40. package/artifacts/contracts/interfaces/IOFTExtended.sol/IOFTExtended.dbg.json +4 -0
  41. package/artifacts/contracts/interfaces/IOFTExtended.sol/IOFTExtended.json +1831 -0
  42. package/artifacts/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.dbg.json +4 -0
  43. package/artifacts/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +10 -0
  44. package/artifacts/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.dbg.json +4 -0
  45. package/artifacts/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.json +10 -0
  46. package/artifacts/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.dbg.json +4 -0
  47. package/artifacts/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.json +66 -0
  48. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.dbg.json +4 -0
  49. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.json +1899 -0
  50. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +4 -0
  51. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +121 -0
  52. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.dbg.json +4 -0
  53. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.json +646 -0
  54. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.dbg.json +4 -0
  55. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.json +373 -0
  56. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.dbg.json +4 -0
  57. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.json +246 -0
  58. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.dbg.json +4 -0
  59. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.json +42 -0
  60. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.dbg.json +4 -0
  61. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.json +148 -0
  62. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.dbg.json +4 -0
  63. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.json +467 -0
  64. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.dbg.json +4 -0
  65. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.json +50 -0
  66. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.dbg.json +4 -0
  67. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.json +135 -0
  68. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.dbg.json +4 -0
  69. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.json +167 -0
  70. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.dbg.json +4 -0
  71. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.json +188 -0
  72. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.dbg.json +4 -0
  73. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.json +55 -0
  74. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.dbg.json +4 -0
  75. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.json +177 -0
  76. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.dbg.json +4 -0
  77. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.json +532 -0
  78. package/artifacts-tron/build-info/8846688aca1ca86abc2af4e130f3effa.json +1 -0
  79. package/artifacts-tron/contracts/interfaces/IOFT.sol/IOFT.dbg.json +4 -0
  80. package/artifacts-tron/contracts/interfaces/IOFT.sol/IOFT.json +467 -0
  81. package/artifacts-tron/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.dbg.json +4 -0
  82. package/artifacts-tron/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.json +66 -0
  83. package/artifacts-tron/contracts/interfaces/IOFTExtended.sol/IOFTExtended.dbg.json +4 -0
  84. package/artifacts-tron/contracts/interfaces/IOFTExtended.sol/IOFTExtended.json +1831 -0
  85. package/artifacts-tron/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.dbg.json +4 -0
  86. package/artifacts-tron/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +10 -0
  87. package/artifacts-tron/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.dbg.json +4 -0
  88. package/artifacts-tron/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.json +10 -0
  89. package/artifacts-tron/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.dbg.json +4 -0
  90. package/artifacts-tron/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.json +66 -0
  91. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.dbg.json +4 -0
  92. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.json +1900 -0
  93. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +4 -0
  94. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +122 -0
  95. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.dbg.json +4 -0
  96. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.json +647 -0
  97. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.dbg.json +4 -0
  98. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.json +374 -0
  99. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.dbg.json +4 -0
  100. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.json +247 -0
  101. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.dbg.json +4 -0
  102. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.json +43 -0
  103. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.dbg.json +4 -0
  104. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.json +149 -0
  105. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.dbg.json +4 -0
  106. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.json +468 -0
  107. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.dbg.json +4 -0
  108. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.json +51 -0
  109. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.dbg.json +4 -0
  110. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.json +136 -0
  111. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.dbg.json +4 -0
  112. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.json +168 -0
  113. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.dbg.json +4 -0
  114. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.json +189 -0
  115. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.dbg.json +4 -0
  116. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.json +56 -0
  117. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.dbg.json +4 -0
  118. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.json +178 -0
  119. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.dbg.json +4 -0
  120. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.json +533 -0
  121. package/artifacts-zk/build-info/be85166c48418856c8b56dff21efc105.json +1 -0
  122. package/artifacts-zk/contracts/interfaces/IOFT.sol/IOFT.dbg.json +4 -0
  123. package/artifacts-zk/contracts/interfaces/IOFT.sol/IOFT.json +468 -0
  124. package/artifacts-zk/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.dbg.json +4 -0
  125. package/artifacts-zk/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.json +67 -0
  126. package/artifacts-zk/contracts/interfaces/IOFTExtended.sol/IOFTExtended.dbg.json +4 -0
  127. package/artifacts-zk/contracts/interfaces/IOFTExtended.sol/IOFTExtended.json +1832 -0
  128. package/artifacts-zk/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.dbg.json +4 -0
  129. package/artifacts-zk/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +11 -0
  130. package/artifacts-zk/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.dbg.json +4 -0
  131. package/artifacts-zk/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.json +11 -0
  132. package/artifacts-zk/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.dbg.json +4 -0
  133. package/artifacts-zk/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.json +67 -0
  134. package/contracts/interfaces/IOFT.sol +158 -0
  135. package/contracts/interfaces/IOFTDecimalUtils.sol +39 -0
  136. package/contracts/interfaces/IOFTExtended.sol +17 -0
  137. package/contracts/libs/OFTComposeMsgCodec.sol +90 -0
  138. package/contracts/libs/OFTMsgCodec.sol +82 -0
  139. package/contracts/utils/OFTDecimalUtils.sol +88 -0
  140. package/foundry.toml +21 -0
  141. package/package.json +44 -0
  142. package/solhint.config.js +3 -0
  143. package/test/OFTDecimalUtils.t.sol +354 -0
@@ -0,0 +1,1831 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IOFTExtended",
4
+ "sourceName": "contracts/interfaces/IOFTExtended.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "uint256",
10
+ "name": "amountSD",
11
+ "type": "uint256"
12
+ }
13
+ ],
14
+ "name": "AmountSDOverflowed",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "user",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "bool",
26
+ "name": "isExempt",
27
+ "type": "bool"
28
+ }
29
+ ],
30
+ "name": "ExemptionStateIdempotent",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "uint16",
37
+ "name": "feeBps",
38
+ "type": "uint16"
39
+ }
40
+ ],
41
+ "name": "InvalidBps",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "InvalidDelegate",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "InvalidEndpointCall",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "InvalidFeeDeposit",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [],
61
+ "name": "InvalidLocalDecimals",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "inputs": [
66
+ {
67
+ "internalType": "bytes",
68
+ "name": "options",
69
+ "type": "bytes"
70
+ }
71
+ ],
72
+ "name": "InvalidOptions",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [
77
+ {
78
+ "internalType": "uint8",
79
+ "name": "scaledDecimals",
80
+ "type": "uint8"
81
+ }
82
+ ],
83
+ "name": "InvalidScaledDecimals",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [
88
+ {
89
+ "internalType": "uint40",
90
+ "name": "lastUpdated",
91
+ "type": "uint40"
92
+ },
93
+ {
94
+ "internalType": "uint40",
95
+ "name": "currentTimestamp",
96
+ "type": "uint40"
97
+ }
98
+ ],
99
+ "name": "LastUpdatedInFuture",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [
104
+ {
105
+ "internalType": "uint32",
106
+ "name": "eid",
107
+ "type": "uint32"
108
+ }
109
+ ],
110
+ "name": "NoPeer",
111
+ "type": "error"
112
+ },
113
+ {
114
+ "inputs": [
115
+ {
116
+ "internalType": "uint32",
117
+ "name": "eid",
118
+ "type": "uint32"
119
+ },
120
+ {
121
+ "internalType": "bytes32",
122
+ "name": "sender",
123
+ "type": "bytes32"
124
+ }
125
+ ],
126
+ "name": "OnlyPeer",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "bool",
133
+ "name": "isPaused",
134
+ "type": "bool"
135
+ }
136
+ ],
137
+ "name": "PauseStateIdempotent",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "uint256",
144
+ "name": "id",
145
+ "type": "uint256"
146
+ }
147
+ ],
148
+ "name": "Paused",
149
+ "type": "error"
150
+ },
151
+ {
152
+ "inputs": [
153
+ {
154
+ "internalType": "uint256",
155
+ "name": "availableAmount",
156
+ "type": "uint256"
157
+ },
158
+ {
159
+ "internalType": "uint256",
160
+ "name": "requestedAmount",
161
+ "type": "uint256"
162
+ }
163
+ ],
164
+ "name": "RateLimitExceeded",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "uint256",
171
+ "name": "amountLD",
172
+ "type": "uint256"
173
+ },
174
+ {
175
+ "internalType": "uint256",
176
+ "name": "minAmountLD",
177
+ "type": "uint256"
178
+ }
179
+ ],
180
+ "name": "SlippageExceeded",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "anonymous": false,
185
+ "inputs": [
186
+ {
187
+ "indexed": false,
188
+ "internalType": "uint16",
189
+ "name": "feeBps",
190
+ "type": "uint16"
191
+ }
192
+ ],
193
+ "name": "DefaultFeeBpsSet",
194
+ "type": "event"
195
+ },
196
+ {
197
+ "anonymous": false,
198
+ "inputs": [
199
+ {
200
+ "indexed": false,
201
+ "internalType": "bool",
202
+ "name": "paused",
203
+ "type": "bool"
204
+ }
205
+ ],
206
+ "name": "DefaultPauseSet",
207
+ "type": "event"
208
+ },
209
+ {
210
+ "anonymous": false,
211
+ "inputs": [
212
+ {
213
+ "components": [
214
+ {
215
+ "internalType": "uint32",
216
+ "name": "eid",
217
+ "type": "uint32"
218
+ },
219
+ {
220
+ "internalType": "uint16",
221
+ "name": "msgType",
222
+ "type": "uint16"
223
+ },
224
+ {
225
+ "internalType": "bytes",
226
+ "name": "options",
227
+ "type": "bytes"
228
+ }
229
+ ],
230
+ "indexed": false,
231
+ "internalType": "struct IOAppOptionsType3.EnforcedOptionParam[]",
232
+ "name": "_enforcedOptions",
233
+ "type": "tuple[]"
234
+ }
235
+ ],
236
+ "name": "EnforcedOptionSet",
237
+ "type": "event"
238
+ },
239
+ {
240
+ "anonymous": false,
241
+ "inputs": [
242
+ {
243
+ "indexed": false,
244
+ "internalType": "uint256",
245
+ "name": "id",
246
+ "type": "uint256"
247
+ },
248
+ {
249
+ "indexed": false,
250
+ "internalType": "uint16",
251
+ "name": "feeBps",
252
+ "type": "uint16"
253
+ },
254
+ {
255
+ "indexed": false,
256
+ "internalType": "bool",
257
+ "name": "enabled",
258
+ "type": "bool"
259
+ }
260
+ ],
261
+ "name": "FeeBpsSet",
262
+ "type": "event"
263
+ },
264
+ {
265
+ "anonymous": false,
266
+ "inputs": [
267
+ {
268
+ "indexed": true,
269
+ "internalType": "address",
270
+ "name": "feeDeposit",
271
+ "type": "address"
272
+ }
273
+ ],
274
+ "name": "FeeDepositSet",
275
+ "type": "event"
276
+ },
277
+ {
278
+ "anonymous": false,
279
+ "inputs": [
280
+ {
281
+ "indexed": false,
282
+ "internalType": "address",
283
+ "name": "msgInspector",
284
+ "type": "address"
285
+ }
286
+ ],
287
+ "name": "MsgInspectorSet",
288
+ "type": "event"
289
+ },
290
+ {
291
+ "anonymous": false,
292
+ "inputs": [
293
+ {
294
+ "indexed": true,
295
+ "internalType": "bytes32",
296
+ "name": "guid",
297
+ "type": "bytes32"
298
+ },
299
+ {
300
+ "indexed": false,
301
+ "internalType": "uint32",
302
+ "name": "srcEid",
303
+ "type": "uint32"
304
+ },
305
+ {
306
+ "indexed": true,
307
+ "internalType": "address",
308
+ "name": "toAddress",
309
+ "type": "address"
310
+ },
311
+ {
312
+ "indexed": false,
313
+ "internalType": "uint256",
314
+ "name": "amountReceivedLD",
315
+ "type": "uint256"
316
+ }
317
+ ],
318
+ "name": "OFTReceived",
319
+ "type": "event"
320
+ },
321
+ {
322
+ "anonymous": false,
323
+ "inputs": [
324
+ {
325
+ "indexed": true,
326
+ "internalType": "bytes32",
327
+ "name": "guid",
328
+ "type": "bytes32"
329
+ },
330
+ {
331
+ "indexed": false,
332
+ "internalType": "uint32",
333
+ "name": "dstEid",
334
+ "type": "uint32"
335
+ },
336
+ {
337
+ "indexed": true,
338
+ "internalType": "address",
339
+ "name": "fromAddress",
340
+ "type": "address"
341
+ },
342
+ {
343
+ "indexed": false,
344
+ "internalType": "uint256",
345
+ "name": "amountSentLD",
346
+ "type": "uint256"
347
+ },
348
+ {
349
+ "indexed": false,
350
+ "internalType": "uint256",
351
+ "name": "amountReceivedLD",
352
+ "type": "uint256"
353
+ }
354
+ ],
355
+ "name": "OFTSent",
356
+ "type": "event"
357
+ },
358
+ {
359
+ "anonymous": false,
360
+ "inputs": [
361
+ {
362
+ "indexed": false,
363
+ "internalType": "uint256",
364
+ "name": "id",
365
+ "type": "uint256"
366
+ },
367
+ {
368
+ "indexed": false,
369
+ "internalType": "bool",
370
+ "name": "paused",
371
+ "type": "bool"
372
+ },
373
+ {
374
+ "indexed": false,
375
+ "internalType": "bool",
376
+ "name": "enabled",
377
+ "type": "bool"
378
+ }
379
+ ],
380
+ "name": "PauseSet",
381
+ "type": "event"
382
+ },
383
+ {
384
+ "anonymous": false,
385
+ "inputs": [
386
+ {
387
+ "indexed": false,
388
+ "internalType": "uint32",
389
+ "name": "eid",
390
+ "type": "uint32"
391
+ },
392
+ {
393
+ "indexed": false,
394
+ "internalType": "bytes32",
395
+ "name": "peer",
396
+ "type": "bytes32"
397
+ }
398
+ ],
399
+ "name": "PeerSet",
400
+ "type": "event"
401
+ },
402
+ {
403
+ "anonymous": false,
404
+ "inputs": [
405
+ {
406
+ "indexed": true,
407
+ "internalType": "address",
408
+ "name": "user",
409
+ "type": "address"
410
+ },
411
+ {
412
+ "indexed": false,
413
+ "internalType": "bool",
414
+ "name": "isExempt",
415
+ "type": "bool"
416
+ }
417
+ ],
418
+ "name": "RateLimitAddressExemptionUpdated",
419
+ "type": "event"
420
+ },
421
+ {
422
+ "anonymous": false,
423
+ "inputs": [
424
+ {
425
+ "indexed": true,
426
+ "internalType": "uint256",
427
+ "name": "id",
428
+ "type": "uint256"
429
+ },
430
+ {
431
+ "components": [
432
+ {
433
+ "internalType": "bool",
434
+ "name": "overrideDefaultConfig",
435
+ "type": "bool"
436
+ },
437
+ {
438
+ "internalType": "bool",
439
+ "name": "outboundEnabled",
440
+ "type": "bool"
441
+ },
442
+ {
443
+ "internalType": "bool",
444
+ "name": "inboundEnabled",
445
+ "type": "bool"
446
+ },
447
+ {
448
+ "internalType": "bool",
449
+ "name": "netAccountingEnabled",
450
+ "type": "bool"
451
+ },
452
+ {
453
+ "internalType": "bool",
454
+ "name": "addressExemptionEnabled",
455
+ "type": "bool"
456
+ },
457
+ {
458
+ "internalType": "uint96",
459
+ "name": "outboundLimit",
460
+ "type": "uint96"
461
+ },
462
+ {
463
+ "internalType": "uint96",
464
+ "name": "inboundLimit",
465
+ "type": "uint96"
466
+ },
467
+ {
468
+ "internalType": "uint32",
469
+ "name": "outboundWindow",
470
+ "type": "uint32"
471
+ },
472
+ {
473
+ "internalType": "uint32",
474
+ "name": "inboundWindow",
475
+ "type": "uint32"
476
+ }
477
+ ],
478
+ "indexed": false,
479
+ "internalType": "struct IRateLimiter.RateLimitConfig",
480
+ "name": "config",
481
+ "type": "tuple"
482
+ }
483
+ ],
484
+ "name": "RateLimitConfigUpdated",
485
+ "type": "event"
486
+ },
487
+ {
488
+ "anonymous": false,
489
+ "inputs": [
490
+ {
491
+ "components": [
492
+ {
493
+ "internalType": "bool",
494
+ "name": "useGlobalState",
495
+ "type": "bool"
496
+ },
497
+ {
498
+ "internalType": "bool",
499
+ "name": "isGloballyDisabled",
500
+ "type": "bool"
501
+ }
502
+ ],
503
+ "indexed": false,
504
+ "internalType": "struct IRateLimiter.RateLimitGlobalConfig",
505
+ "name": "globalConfig",
506
+ "type": "tuple"
507
+ }
508
+ ],
509
+ "name": "RateLimitGlobalConfigUpdated",
510
+ "type": "event"
511
+ },
512
+ {
513
+ "anonymous": false,
514
+ "inputs": [
515
+ {
516
+ "indexed": true,
517
+ "internalType": "uint256",
518
+ "name": "id",
519
+ "type": "uint256"
520
+ },
521
+ {
522
+ "components": [
523
+ {
524
+ "internalType": "uint96",
525
+ "name": "outboundUsage",
526
+ "type": "uint96"
527
+ },
528
+ {
529
+ "internalType": "uint96",
530
+ "name": "inboundUsage",
531
+ "type": "uint96"
532
+ },
533
+ {
534
+ "internalType": "uint40",
535
+ "name": "lastUpdated",
536
+ "type": "uint40"
537
+ }
538
+ ],
539
+ "indexed": false,
540
+ "internalType": "struct IRateLimiter.RateLimitState",
541
+ "name": "state",
542
+ "type": "tuple"
543
+ }
544
+ ],
545
+ "name": "RateLimitStateUpdated",
546
+ "type": "event"
547
+ },
548
+ {
549
+ "inputs": [
550
+ {
551
+ "components": [
552
+ {
553
+ "internalType": "uint32",
554
+ "name": "srcEid",
555
+ "type": "uint32"
556
+ },
557
+ {
558
+ "internalType": "bytes32",
559
+ "name": "sender",
560
+ "type": "bytes32"
561
+ },
562
+ {
563
+ "internalType": "uint64",
564
+ "name": "nonce",
565
+ "type": "uint64"
566
+ }
567
+ ],
568
+ "internalType": "struct Origin",
569
+ "name": "_origin",
570
+ "type": "tuple"
571
+ }
572
+ ],
573
+ "name": "allowInitializePath",
574
+ "outputs": [
575
+ {
576
+ "internalType": "bool",
577
+ "name": "",
578
+ "type": "bool"
579
+ }
580
+ ],
581
+ "stateMutability": "view",
582
+ "type": "function"
583
+ },
584
+ {
585
+ "inputs": [],
586
+ "name": "approvalRequired",
587
+ "outputs": [
588
+ {
589
+ "internalType": "bool",
590
+ "name": "requiresApproval",
591
+ "type": "bool"
592
+ }
593
+ ],
594
+ "stateMutability": "view",
595
+ "type": "function"
596
+ },
597
+ {
598
+ "inputs": [
599
+ {
600
+ "internalType": "uint256[]",
601
+ "name": "_ids",
602
+ "type": "uint256[]"
603
+ }
604
+ ],
605
+ "name": "checkpointRateLimits",
606
+ "outputs": [],
607
+ "stateMutability": "nonpayable",
608
+ "type": "function"
609
+ },
610
+ {
611
+ "inputs": [
612
+ {
613
+ "internalType": "uint32",
614
+ "name": "_eid",
615
+ "type": "uint32"
616
+ },
617
+ {
618
+ "internalType": "uint16",
619
+ "name": "_msgType",
620
+ "type": "uint16"
621
+ },
622
+ {
623
+ "internalType": "bytes",
624
+ "name": "_extraOptions",
625
+ "type": "bytes"
626
+ }
627
+ ],
628
+ "name": "combineOptions",
629
+ "outputs": [
630
+ {
631
+ "internalType": "bytes",
632
+ "name": "options",
633
+ "type": "bytes"
634
+ }
635
+ ],
636
+ "stateMutability": "view",
637
+ "type": "function"
638
+ },
639
+ {
640
+ "inputs": [],
641
+ "name": "defaultFeeBps",
642
+ "outputs": [
643
+ {
644
+ "internalType": "uint16",
645
+ "name": "fee",
646
+ "type": "uint16"
647
+ }
648
+ ],
649
+ "stateMutability": "view",
650
+ "type": "function"
651
+ },
652
+ {
653
+ "inputs": [],
654
+ "name": "defaultPaused",
655
+ "outputs": [
656
+ {
657
+ "internalType": "bool",
658
+ "name": "paused",
659
+ "type": "bool"
660
+ }
661
+ ],
662
+ "stateMutability": "view",
663
+ "type": "function"
664
+ },
665
+ {
666
+ "inputs": [],
667
+ "name": "endpoint",
668
+ "outputs": [
669
+ {
670
+ "internalType": "contract ILayerZeroEndpointV2",
671
+ "name": "iEndpoint",
672
+ "type": "address"
673
+ }
674
+ ],
675
+ "stateMutability": "view",
676
+ "type": "function"
677
+ },
678
+ {
679
+ "inputs": [
680
+ {
681
+ "internalType": "uint32",
682
+ "name": "_eid",
683
+ "type": "uint32"
684
+ },
685
+ {
686
+ "internalType": "uint16",
687
+ "name": "_msgType",
688
+ "type": "uint16"
689
+ }
690
+ ],
691
+ "name": "enforcedOptions",
692
+ "outputs": [
693
+ {
694
+ "internalType": "bytes",
695
+ "name": "options",
696
+ "type": "bytes"
697
+ }
698
+ ],
699
+ "stateMutability": "view",
700
+ "type": "function"
701
+ },
702
+ {
703
+ "inputs": [
704
+ {
705
+ "internalType": "uint256",
706
+ "name": "_id",
707
+ "type": "uint256"
708
+ }
709
+ ],
710
+ "name": "feeBps",
711
+ "outputs": [
712
+ {
713
+ "components": [
714
+ {
715
+ "internalType": "uint16",
716
+ "name": "feeBps",
717
+ "type": "uint16"
718
+ },
719
+ {
720
+ "internalType": "bool",
721
+ "name": "enabled",
722
+ "type": "bool"
723
+ }
724
+ ],
725
+ "internalType": "struct IFeeConfig.FeeConfig",
726
+ "name": "config",
727
+ "type": "tuple"
728
+ }
729
+ ],
730
+ "stateMutability": "view",
731
+ "type": "function"
732
+ },
733
+ {
734
+ "inputs": [],
735
+ "name": "feeDeposit",
736
+ "outputs": [
737
+ {
738
+ "internalType": "address",
739
+ "name": "deposit",
740
+ "type": "address"
741
+ }
742
+ ],
743
+ "stateMutability": "view",
744
+ "type": "function"
745
+ },
746
+ {
747
+ "inputs": [
748
+ {
749
+ "internalType": "uint256",
750
+ "name": "_id",
751
+ "type": "uint256"
752
+ },
753
+ {
754
+ "internalType": "uint256",
755
+ "name": "_amountAfterFee",
756
+ "type": "uint256"
757
+ }
758
+ ],
759
+ "name": "getAmountBeforeFee",
760
+ "outputs": [
761
+ {
762
+ "internalType": "uint256",
763
+ "name": "amountBeforeFee",
764
+ "type": "uint256"
765
+ }
766
+ ],
767
+ "stateMutability": "view",
768
+ "type": "function"
769
+ },
770
+ {
771
+ "inputs": [
772
+ {
773
+ "internalType": "uint256",
774
+ "name": "_id",
775
+ "type": "uint256"
776
+ },
777
+ {
778
+ "internalType": "uint256",
779
+ "name": "_amount",
780
+ "type": "uint256"
781
+ }
782
+ ],
783
+ "name": "getFee",
784
+ "outputs": [
785
+ {
786
+ "internalType": "uint256",
787
+ "name": "fee",
788
+ "type": "uint256"
789
+ }
790
+ ],
791
+ "stateMutability": "view",
792
+ "type": "function"
793
+ },
794
+ {
795
+ "inputs": [],
796
+ "name": "getRateLimitGlobalConfig",
797
+ "outputs": [
798
+ {
799
+ "components": [
800
+ {
801
+ "internalType": "bool",
802
+ "name": "useGlobalState",
803
+ "type": "bool"
804
+ },
805
+ {
806
+ "internalType": "bool",
807
+ "name": "isGloballyDisabled",
808
+ "type": "bool"
809
+ }
810
+ ],
811
+ "internalType": "struct IRateLimiter.RateLimitGlobalConfig",
812
+ "name": "globalConfig",
813
+ "type": "tuple"
814
+ }
815
+ ],
816
+ "stateMutability": "view",
817
+ "type": "function"
818
+ },
819
+ {
820
+ "inputs": [
821
+ {
822
+ "internalType": "uint256",
823
+ "name": "_id",
824
+ "type": "uint256"
825
+ }
826
+ ],
827
+ "name": "getRateLimitUsages",
828
+ "outputs": [
829
+ {
830
+ "internalType": "uint256",
831
+ "name": "outboundUsage",
832
+ "type": "uint256"
833
+ },
834
+ {
835
+ "internalType": "uint256",
836
+ "name": "outboundAvailableAmount",
837
+ "type": "uint256"
838
+ },
839
+ {
840
+ "internalType": "uint256",
841
+ "name": "inboundUsage",
842
+ "type": "uint256"
843
+ },
844
+ {
845
+ "internalType": "uint256",
846
+ "name": "inboundAvailableAmount",
847
+ "type": "uint256"
848
+ }
849
+ ],
850
+ "stateMutability": "view",
851
+ "type": "function"
852
+ },
853
+ {
854
+ "inputs": [
855
+ {
856
+ "components": [
857
+ {
858
+ "internalType": "uint32",
859
+ "name": "srcEid",
860
+ "type": "uint32"
861
+ },
862
+ {
863
+ "internalType": "bytes32",
864
+ "name": "sender",
865
+ "type": "bytes32"
866
+ },
867
+ {
868
+ "internalType": "uint64",
869
+ "name": "nonce",
870
+ "type": "uint64"
871
+ }
872
+ ],
873
+ "internalType": "struct Origin",
874
+ "name": "_origin",
875
+ "type": "tuple"
876
+ },
877
+ {
878
+ "internalType": "bytes",
879
+ "name": "_message",
880
+ "type": "bytes"
881
+ },
882
+ {
883
+ "internalType": "address",
884
+ "name": "_sender",
885
+ "type": "address"
886
+ }
887
+ ],
888
+ "name": "isComposeMsgSender",
889
+ "outputs": [
890
+ {
891
+ "internalType": "bool",
892
+ "name": "isSender",
893
+ "type": "bool"
894
+ }
895
+ ],
896
+ "stateMutability": "view",
897
+ "type": "function"
898
+ },
899
+ {
900
+ "inputs": [
901
+ {
902
+ "internalType": "uint256",
903
+ "name": "_id",
904
+ "type": "uint256"
905
+ }
906
+ ],
907
+ "name": "isPaused",
908
+ "outputs": [
909
+ {
910
+ "internalType": "bool",
911
+ "name": "paused",
912
+ "type": "bool"
913
+ }
914
+ ],
915
+ "stateMutability": "view",
916
+ "type": "function"
917
+ },
918
+ {
919
+ "inputs": [
920
+ {
921
+ "internalType": "address",
922
+ "name": "_user",
923
+ "type": "address"
924
+ }
925
+ ],
926
+ "name": "isRateLimitAddressExempt",
927
+ "outputs": [
928
+ {
929
+ "internalType": "bool",
930
+ "name": "isExempt",
931
+ "type": "bool"
932
+ }
933
+ ],
934
+ "stateMutability": "view",
935
+ "type": "function"
936
+ },
937
+ {
938
+ "inputs": [
939
+ {
940
+ "components": [
941
+ {
942
+ "internalType": "uint32",
943
+ "name": "srcEid",
944
+ "type": "uint32"
945
+ },
946
+ {
947
+ "internalType": "bytes32",
948
+ "name": "sender",
949
+ "type": "bytes32"
950
+ },
951
+ {
952
+ "internalType": "uint64",
953
+ "name": "nonce",
954
+ "type": "uint64"
955
+ }
956
+ ],
957
+ "internalType": "struct Origin",
958
+ "name": "_origin",
959
+ "type": "tuple"
960
+ },
961
+ {
962
+ "internalType": "bytes32",
963
+ "name": "_guid",
964
+ "type": "bytes32"
965
+ },
966
+ {
967
+ "internalType": "bytes",
968
+ "name": "_message",
969
+ "type": "bytes"
970
+ },
971
+ {
972
+ "internalType": "address",
973
+ "name": "_executor",
974
+ "type": "address"
975
+ },
976
+ {
977
+ "internalType": "bytes",
978
+ "name": "_extraData",
979
+ "type": "bytes"
980
+ }
981
+ ],
982
+ "name": "lzReceive",
983
+ "outputs": [],
984
+ "stateMutability": "payable",
985
+ "type": "function"
986
+ },
987
+ {
988
+ "inputs": [],
989
+ "name": "msgInspector",
990
+ "outputs": [
991
+ {
992
+ "internalType": "address",
993
+ "name": "inspector",
994
+ "type": "address"
995
+ }
996
+ ],
997
+ "stateMutability": "view",
998
+ "type": "function"
999
+ },
1000
+ {
1001
+ "inputs": [
1002
+ {
1003
+ "internalType": "uint32",
1004
+ "name": "_eid",
1005
+ "type": "uint32"
1006
+ },
1007
+ {
1008
+ "internalType": "bytes32",
1009
+ "name": "_sender",
1010
+ "type": "bytes32"
1011
+ }
1012
+ ],
1013
+ "name": "nextNonce",
1014
+ "outputs": [
1015
+ {
1016
+ "internalType": "uint64",
1017
+ "name": "",
1018
+ "type": "uint64"
1019
+ }
1020
+ ],
1021
+ "stateMutability": "view",
1022
+ "type": "function"
1023
+ },
1024
+ {
1025
+ "inputs": [],
1026
+ "name": "oAppVersion",
1027
+ "outputs": [
1028
+ {
1029
+ "internalType": "uint64",
1030
+ "name": "senderVersion",
1031
+ "type": "uint64"
1032
+ },
1033
+ {
1034
+ "internalType": "uint64",
1035
+ "name": "receiverVersion",
1036
+ "type": "uint64"
1037
+ }
1038
+ ],
1039
+ "stateMutability": "view",
1040
+ "type": "function"
1041
+ },
1042
+ {
1043
+ "inputs": [],
1044
+ "name": "oftVersion",
1045
+ "outputs": [
1046
+ {
1047
+ "internalType": "bytes4",
1048
+ "name": "interfaceId",
1049
+ "type": "bytes4"
1050
+ },
1051
+ {
1052
+ "internalType": "uint64",
1053
+ "name": "version",
1054
+ "type": "uint64"
1055
+ }
1056
+ ],
1057
+ "stateMutability": "view",
1058
+ "type": "function"
1059
+ },
1060
+ {
1061
+ "inputs": [
1062
+ {
1063
+ "internalType": "uint256",
1064
+ "name": "_id",
1065
+ "type": "uint256"
1066
+ }
1067
+ ],
1068
+ "name": "pauseConfig",
1069
+ "outputs": [
1070
+ {
1071
+ "components": [
1072
+ {
1073
+ "internalType": "bool",
1074
+ "name": "paused",
1075
+ "type": "bool"
1076
+ },
1077
+ {
1078
+ "internalType": "bool",
1079
+ "name": "enabled",
1080
+ "type": "bool"
1081
+ }
1082
+ ],
1083
+ "internalType": "struct IPauseByID.PauseConfig",
1084
+ "name": "config",
1085
+ "type": "tuple"
1086
+ }
1087
+ ],
1088
+ "stateMutability": "view",
1089
+ "type": "function"
1090
+ },
1091
+ {
1092
+ "inputs": [
1093
+ {
1094
+ "internalType": "uint32",
1095
+ "name": "_eid",
1096
+ "type": "uint32"
1097
+ }
1098
+ ],
1099
+ "name": "peers",
1100
+ "outputs": [
1101
+ {
1102
+ "internalType": "bytes32",
1103
+ "name": "peer",
1104
+ "type": "bytes32"
1105
+ }
1106
+ ],
1107
+ "stateMutability": "view",
1108
+ "type": "function"
1109
+ },
1110
+ {
1111
+ "inputs": [
1112
+ {
1113
+ "components": [
1114
+ {
1115
+ "internalType": "uint32",
1116
+ "name": "dstEid",
1117
+ "type": "uint32"
1118
+ },
1119
+ {
1120
+ "internalType": "bytes32",
1121
+ "name": "to",
1122
+ "type": "bytes32"
1123
+ },
1124
+ {
1125
+ "internalType": "uint256",
1126
+ "name": "amountLD",
1127
+ "type": "uint256"
1128
+ },
1129
+ {
1130
+ "internalType": "uint256",
1131
+ "name": "minAmountLD",
1132
+ "type": "uint256"
1133
+ },
1134
+ {
1135
+ "internalType": "bytes",
1136
+ "name": "extraOptions",
1137
+ "type": "bytes"
1138
+ },
1139
+ {
1140
+ "internalType": "bytes",
1141
+ "name": "composeMsg",
1142
+ "type": "bytes"
1143
+ },
1144
+ {
1145
+ "internalType": "bytes",
1146
+ "name": "oftCmd",
1147
+ "type": "bytes"
1148
+ }
1149
+ ],
1150
+ "internalType": "struct SendParam",
1151
+ "name": "_sendParam",
1152
+ "type": "tuple"
1153
+ }
1154
+ ],
1155
+ "name": "quoteOFT",
1156
+ "outputs": [
1157
+ {
1158
+ "components": [
1159
+ {
1160
+ "internalType": "uint256",
1161
+ "name": "minAmountLD",
1162
+ "type": "uint256"
1163
+ },
1164
+ {
1165
+ "internalType": "uint256",
1166
+ "name": "maxAmountLD",
1167
+ "type": "uint256"
1168
+ }
1169
+ ],
1170
+ "internalType": "struct OFTLimit",
1171
+ "name": "oftLimit",
1172
+ "type": "tuple"
1173
+ },
1174
+ {
1175
+ "components": [
1176
+ {
1177
+ "internalType": "int256",
1178
+ "name": "feeAmountLD",
1179
+ "type": "int256"
1180
+ },
1181
+ {
1182
+ "internalType": "string",
1183
+ "name": "description",
1184
+ "type": "string"
1185
+ }
1186
+ ],
1187
+ "internalType": "struct OFTFeeDetail[]",
1188
+ "name": "oftFeeDetails",
1189
+ "type": "tuple[]"
1190
+ },
1191
+ {
1192
+ "components": [
1193
+ {
1194
+ "internalType": "uint256",
1195
+ "name": "amountSentLD",
1196
+ "type": "uint256"
1197
+ },
1198
+ {
1199
+ "internalType": "uint256",
1200
+ "name": "amountReceivedLD",
1201
+ "type": "uint256"
1202
+ }
1203
+ ],
1204
+ "internalType": "struct OFTReceipt",
1205
+ "name": "oftReceipt",
1206
+ "type": "tuple"
1207
+ }
1208
+ ],
1209
+ "stateMutability": "view",
1210
+ "type": "function"
1211
+ },
1212
+ {
1213
+ "inputs": [
1214
+ {
1215
+ "components": [
1216
+ {
1217
+ "internalType": "uint32",
1218
+ "name": "dstEid",
1219
+ "type": "uint32"
1220
+ },
1221
+ {
1222
+ "internalType": "bytes32",
1223
+ "name": "to",
1224
+ "type": "bytes32"
1225
+ },
1226
+ {
1227
+ "internalType": "uint256",
1228
+ "name": "amountLD",
1229
+ "type": "uint256"
1230
+ },
1231
+ {
1232
+ "internalType": "uint256",
1233
+ "name": "minAmountLD",
1234
+ "type": "uint256"
1235
+ },
1236
+ {
1237
+ "internalType": "bytes",
1238
+ "name": "extraOptions",
1239
+ "type": "bytes"
1240
+ },
1241
+ {
1242
+ "internalType": "bytes",
1243
+ "name": "composeMsg",
1244
+ "type": "bytes"
1245
+ },
1246
+ {
1247
+ "internalType": "bytes",
1248
+ "name": "oftCmd",
1249
+ "type": "bytes"
1250
+ }
1251
+ ],
1252
+ "internalType": "struct SendParam",
1253
+ "name": "_sendParam",
1254
+ "type": "tuple"
1255
+ },
1256
+ {
1257
+ "internalType": "bool",
1258
+ "name": "_payInLzToken",
1259
+ "type": "bool"
1260
+ }
1261
+ ],
1262
+ "name": "quoteSend",
1263
+ "outputs": [
1264
+ {
1265
+ "components": [
1266
+ {
1267
+ "internalType": "uint256",
1268
+ "name": "nativeFee",
1269
+ "type": "uint256"
1270
+ },
1271
+ {
1272
+ "internalType": "uint256",
1273
+ "name": "lzTokenFee",
1274
+ "type": "uint256"
1275
+ }
1276
+ ],
1277
+ "internalType": "struct MessagingFee",
1278
+ "name": "msgFee",
1279
+ "type": "tuple"
1280
+ }
1281
+ ],
1282
+ "stateMutability": "view",
1283
+ "type": "function"
1284
+ },
1285
+ {
1286
+ "inputs": [
1287
+ {
1288
+ "internalType": "uint256",
1289
+ "name": "_id",
1290
+ "type": "uint256"
1291
+ }
1292
+ ],
1293
+ "name": "rateLimits",
1294
+ "outputs": [
1295
+ {
1296
+ "components": [
1297
+ {
1298
+ "internalType": "uint96",
1299
+ "name": "outboundUsage",
1300
+ "type": "uint96"
1301
+ },
1302
+ {
1303
+ "internalType": "uint96",
1304
+ "name": "inboundUsage",
1305
+ "type": "uint96"
1306
+ },
1307
+ {
1308
+ "internalType": "uint40",
1309
+ "name": "lastUpdated",
1310
+ "type": "uint40"
1311
+ },
1312
+ {
1313
+ "internalType": "uint24",
1314
+ "name": "configBitmap",
1315
+ "type": "uint24"
1316
+ },
1317
+ {
1318
+ "internalType": "uint96",
1319
+ "name": "outboundLimit",
1320
+ "type": "uint96"
1321
+ },
1322
+ {
1323
+ "internalType": "uint32",
1324
+ "name": "outboundWindow",
1325
+ "type": "uint32"
1326
+ },
1327
+ {
1328
+ "internalType": "uint96",
1329
+ "name": "inboundLimit",
1330
+ "type": "uint96"
1331
+ },
1332
+ {
1333
+ "internalType": "uint32",
1334
+ "name": "inboundWindow",
1335
+ "type": "uint32"
1336
+ }
1337
+ ],
1338
+ "internalType": "struct IRateLimiter.RateLimit",
1339
+ "name": "rateLimit",
1340
+ "type": "tuple"
1341
+ }
1342
+ ],
1343
+ "stateMutability": "view",
1344
+ "type": "function"
1345
+ },
1346
+ {
1347
+ "inputs": [
1348
+ {
1349
+ "components": [
1350
+ {
1351
+ "internalType": "uint32",
1352
+ "name": "dstEid",
1353
+ "type": "uint32"
1354
+ },
1355
+ {
1356
+ "internalType": "bytes32",
1357
+ "name": "to",
1358
+ "type": "bytes32"
1359
+ },
1360
+ {
1361
+ "internalType": "uint256",
1362
+ "name": "amountLD",
1363
+ "type": "uint256"
1364
+ },
1365
+ {
1366
+ "internalType": "uint256",
1367
+ "name": "minAmountLD",
1368
+ "type": "uint256"
1369
+ },
1370
+ {
1371
+ "internalType": "bytes",
1372
+ "name": "extraOptions",
1373
+ "type": "bytes"
1374
+ },
1375
+ {
1376
+ "internalType": "bytes",
1377
+ "name": "composeMsg",
1378
+ "type": "bytes"
1379
+ },
1380
+ {
1381
+ "internalType": "bytes",
1382
+ "name": "oftCmd",
1383
+ "type": "bytes"
1384
+ }
1385
+ ],
1386
+ "internalType": "struct SendParam",
1387
+ "name": "_sendParam",
1388
+ "type": "tuple"
1389
+ },
1390
+ {
1391
+ "components": [
1392
+ {
1393
+ "internalType": "uint256",
1394
+ "name": "nativeFee",
1395
+ "type": "uint256"
1396
+ },
1397
+ {
1398
+ "internalType": "uint256",
1399
+ "name": "lzTokenFee",
1400
+ "type": "uint256"
1401
+ }
1402
+ ],
1403
+ "internalType": "struct MessagingFee",
1404
+ "name": "_fee",
1405
+ "type": "tuple"
1406
+ },
1407
+ {
1408
+ "internalType": "address",
1409
+ "name": "_refundAddress",
1410
+ "type": "address"
1411
+ }
1412
+ ],
1413
+ "name": "send",
1414
+ "outputs": [
1415
+ {
1416
+ "components": [
1417
+ {
1418
+ "internalType": "bytes32",
1419
+ "name": "guid",
1420
+ "type": "bytes32"
1421
+ },
1422
+ {
1423
+ "internalType": "uint64",
1424
+ "name": "nonce",
1425
+ "type": "uint64"
1426
+ },
1427
+ {
1428
+ "components": [
1429
+ {
1430
+ "internalType": "uint256",
1431
+ "name": "nativeFee",
1432
+ "type": "uint256"
1433
+ },
1434
+ {
1435
+ "internalType": "uint256",
1436
+ "name": "lzTokenFee",
1437
+ "type": "uint256"
1438
+ }
1439
+ ],
1440
+ "internalType": "struct MessagingFee",
1441
+ "name": "fee",
1442
+ "type": "tuple"
1443
+ }
1444
+ ],
1445
+ "internalType": "struct MessagingReceipt",
1446
+ "name": "msgReceipt",
1447
+ "type": "tuple"
1448
+ },
1449
+ {
1450
+ "components": [
1451
+ {
1452
+ "internalType": "uint256",
1453
+ "name": "amountSentLD",
1454
+ "type": "uint256"
1455
+ },
1456
+ {
1457
+ "internalType": "uint256",
1458
+ "name": "amountReceivedLD",
1459
+ "type": "uint256"
1460
+ }
1461
+ ],
1462
+ "internalType": "struct OFTReceipt",
1463
+ "name": "oftReceipt",
1464
+ "type": "tuple"
1465
+ }
1466
+ ],
1467
+ "stateMutability": "payable",
1468
+ "type": "function"
1469
+ },
1470
+ {
1471
+ "inputs": [
1472
+ {
1473
+ "internalType": "uint16",
1474
+ "name": "_feeBps",
1475
+ "type": "uint16"
1476
+ }
1477
+ ],
1478
+ "name": "setDefaultFeeBps",
1479
+ "outputs": [],
1480
+ "stateMutability": "nonpayable",
1481
+ "type": "function"
1482
+ },
1483
+ {
1484
+ "inputs": [
1485
+ {
1486
+ "internalType": "bool",
1487
+ "name": "_paused",
1488
+ "type": "bool"
1489
+ }
1490
+ ],
1491
+ "name": "setDefaultPaused",
1492
+ "outputs": [],
1493
+ "stateMutability": "nonpayable",
1494
+ "type": "function"
1495
+ },
1496
+ {
1497
+ "inputs": [
1498
+ {
1499
+ "internalType": "address",
1500
+ "name": "_delegate",
1501
+ "type": "address"
1502
+ }
1503
+ ],
1504
+ "name": "setDelegate",
1505
+ "outputs": [],
1506
+ "stateMutability": "nonpayable",
1507
+ "type": "function"
1508
+ },
1509
+ {
1510
+ "inputs": [
1511
+ {
1512
+ "components": [
1513
+ {
1514
+ "internalType": "uint32",
1515
+ "name": "eid",
1516
+ "type": "uint32"
1517
+ },
1518
+ {
1519
+ "internalType": "uint16",
1520
+ "name": "msgType",
1521
+ "type": "uint16"
1522
+ },
1523
+ {
1524
+ "internalType": "bytes",
1525
+ "name": "options",
1526
+ "type": "bytes"
1527
+ }
1528
+ ],
1529
+ "internalType": "struct IOAppOptionsType3.EnforcedOptionParam[]",
1530
+ "name": "_enforcedOptions",
1531
+ "type": "tuple[]"
1532
+ }
1533
+ ],
1534
+ "name": "setEnforcedOptions",
1535
+ "outputs": [],
1536
+ "stateMutability": "nonpayable",
1537
+ "type": "function"
1538
+ },
1539
+ {
1540
+ "inputs": [
1541
+ {
1542
+ "internalType": "uint256",
1543
+ "name": "_id",
1544
+ "type": "uint256"
1545
+ },
1546
+ {
1547
+ "internalType": "uint16",
1548
+ "name": "_feeBps",
1549
+ "type": "uint16"
1550
+ },
1551
+ {
1552
+ "internalType": "bool",
1553
+ "name": "_enabled",
1554
+ "type": "bool"
1555
+ }
1556
+ ],
1557
+ "name": "setFeeBps",
1558
+ "outputs": [],
1559
+ "stateMutability": "nonpayable",
1560
+ "type": "function"
1561
+ },
1562
+ {
1563
+ "inputs": [
1564
+ {
1565
+ "internalType": "address",
1566
+ "name": "_feeDeposit",
1567
+ "type": "address"
1568
+ }
1569
+ ],
1570
+ "name": "setFeeDeposit",
1571
+ "outputs": [],
1572
+ "stateMutability": "nonpayable",
1573
+ "type": "function"
1574
+ },
1575
+ {
1576
+ "inputs": [
1577
+ {
1578
+ "internalType": "address",
1579
+ "name": "_msgInspector",
1580
+ "type": "address"
1581
+ }
1582
+ ],
1583
+ "name": "setMsgInspector",
1584
+ "outputs": [],
1585
+ "stateMutability": "nonpayable",
1586
+ "type": "function"
1587
+ },
1588
+ {
1589
+ "inputs": [
1590
+ {
1591
+ "components": [
1592
+ {
1593
+ "internalType": "uint256",
1594
+ "name": "id",
1595
+ "type": "uint256"
1596
+ },
1597
+ {
1598
+ "internalType": "bool",
1599
+ "name": "paused",
1600
+ "type": "bool"
1601
+ },
1602
+ {
1603
+ "internalType": "bool",
1604
+ "name": "enabled",
1605
+ "type": "bool"
1606
+ }
1607
+ ],
1608
+ "internalType": "struct IPauseByID.SetPausedParam[]",
1609
+ "name": "_params",
1610
+ "type": "tuple[]"
1611
+ }
1612
+ ],
1613
+ "name": "setPaused",
1614
+ "outputs": [],
1615
+ "stateMutability": "nonpayable",
1616
+ "type": "function"
1617
+ },
1618
+ {
1619
+ "inputs": [
1620
+ {
1621
+ "internalType": "uint32",
1622
+ "name": "_eid",
1623
+ "type": "uint32"
1624
+ },
1625
+ {
1626
+ "internalType": "bytes32",
1627
+ "name": "_peer",
1628
+ "type": "bytes32"
1629
+ }
1630
+ ],
1631
+ "name": "setPeer",
1632
+ "outputs": [],
1633
+ "stateMutability": "nonpayable",
1634
+ "type": "function"
1635
+ },
1636
+ {
1637
+ "inputs": [
1638
+ {
1639
+ "components": [
1640
+ {
1641
+ "internalType": "address",
1642
+ "name": "user",
1643
+ "type": "address"
1644
+ },
1645
+ {
1646
+ "internalType": "bool",
1647
+ "name": "isExempt",
1648
+ "type": "bool"
1649
+ }
1650
+ ],
1651
+ "internalType": "struct IRateLimiter.SetRateLimitAddressExemptionParam[]",
1652
+ "name": "_exemptions",
1653
+ "type": "tuple[]"
1654
+ }
1655
+ ],
1656
+ "name": "setRateLimitAddressExemptions",
1657
+ "outputs": [],
1658
+ "stateMutability": "nonpayable",
1659
+ "type": "function"
1660
+ },
1661
+ {
1662
+ "inputs": [
1663
+ {
1664
+ "components": [
1665
+ {
1666
+ "internalType": "uint256",
1667
+ "name": "id",
1668
+ "type": "uint256"
1669
+ },
1670
+ {
1671
+ "components": [
1672
+ {
1673
+ "internalType": "bool",
1674
+ "name": "overrideDefaultConfig",
1675
+ "type": "bool"
1676
+ },
1677
+ {
1678
+ "internalType": "bool",
1679
+ "name": "outboundEnabled",
1680
+ "type": "bool"
1681
+ },
1682
+ {
1683
+ "internalType": "bool",
1684
+ "name": "inboundEnabled",
1685
+ "type": "bool"
1686
+ },
1687
+ {
1688
+ "internalType": "bool",
1689
+ "name": "netAccountingEnabled",
1690
+ "type": "bool"
1691
+ },
1692
+ {
1693
+ "internalType": "bool",
1694
+ "name": "addressExemptionEnabled",
1695
+ "type": "bool"
1696
+ },
1697
+ {
1698
+ "internalType": "uint96",
1699
+ "name": "outboundLimit",
1700
+ "type": "uint96"
1701
+ },
1702
+ {
1703
+ "internalType": "uint96",
1704
+ "name": "inboundLimit",
1705
+ "type": "uint96"
1706
+ },
1707
+ {
1708
+ "internalType": "uint32",
1709
+ "name": "outboundWindow",
1710
+ "type": "uint32"
1711
+ },
1712
+ {
1713
+ "internalType": "uint32",
1714
+ "name": "inboundWindow",
1715
+ "type": "uint32"
1716
+ }
1717
+ ],
1718
+ "internalType": "struct IRateLimiter.RateLimitConfig",
1719
+ "name": "config",
1720
+ "type": "tuple"
1721
+ }
1722
+ ],
1723
+ "internalType": "struct IRateLimiter.SetRateLimitConfigParam[]",
1724
+ "name": "_params",
1725
+ "type": "tuple[]"
1726
+ }
1727
+ ],
1728
+ "name": "setRateLimitConfigs",
1729
+ "outputs": [],
1730
+ "stateMutability": "nonpayable",
1731
+ "type": "function"
1732
+ },
1733
+ {
1734
+ "inputs": [
1735
+ {
1736
+ "components": [
1737
+ {
1738
+ "internalType": "bool",
1739
+ "name": "useGlobalState",
1740
+ "type": "bool"
1741
+ },
1742
+ {
1743
+ "internalType": "bool",
1744
+ "name": "isGloballyDisabled",
1745
+ "type": "bool"
1746
+ }
1747
+ ],
1748
+ "internalType": "struct IRateLimiter.RateLimitGlobalConfig",
1749
+ "name": "_globalConfig",
1750
+ "type": "tuple"
1751
+ }
1752
+ ],
1753
+ "name": "setRateLimitGlobalConfig",
1754
+ "outputs": [],
1755
+ "stateMutability": "nonpayable",
1756
+ "type": "function"
1757
+ },
1758
+ {
1759
+ "inputs": [
1760
+ {
1761
+ "components": [
1762
+ {
1763
+ "internalType": "uint256",
1764
+ "name": "id",
1765
+ "type": "uint256"
1766
+ },
1767
+ {
1768
+ "components": [
1769
+ {
1770
+ "internalType": "uint96",
1771
+ "name": "outboundUsage",
1772
+ "type": "uint96"
1773
+ },
1774
+ {
1775
+ "internalType": "uint96",
1776
+ "name": "inboundUsage",
1777
+ "type": "uint96"
1778
+ },
1779
+ {
1780
+ "internalType": "uint40",
1781
+ "name": "lastUpdated",
1782
+ "type": "uint40"
1783
+ }
1784
+ ],
1785
+ "internalType": "struct IRateLimiter.RateLimitState",
1786
+ "name": "state",
1787
+ "type": "tuple"
1788
+ }
1789
+ ],
1790
+ "internalType": "struct IRateLimiter.SetRateLimitStateParam[]",
1791
+ "name": "_params",
1792
+ "type": "tuple[]"
1793
+ }
1794
+ ],
1795
+ "name": "setRateLimitStates",
1796
+ "outputs": [],
1797
+ "stateMutability": "nonpayable",
1798
+ "type": "function"
1799
+ },
1800
+ {
1801
+ "inputs": [],
1802
+ "name": "sharedDecimals",
1803
+ "outputs": [
1804
+ {
1805
+ "internalType": "uint8",
1806
+ "name": "sd",
1807
+ "type": "uint8"
1808
+ }
1809
+ ],
1810
+ "stateMutability": "view",
1811
+ "type": "function"
1812
+ },
1813
+ {
1814
+ "inputs": [],
1815
+ "name": "token",
1816
+ "outputs": [
1817
+ {
1818
+ "internalType": "address",
1819
+ "name": "tokenAddress",
1820
+ "type": "address"
1821
+ }
1822
+ ],
1823
+ "stateMutability": "view",
1824
+ "type": "function"
1825
+ }
1826
+ ],
1827
+ "bytecode": "0x",
1828
+ "deployedBytecode": "0x",
1829
+ "linkReferences": {},
1830
+ "deployedLinkReferences": {}
1831
+ }