@layerzerolabs/oft-evm-contracts 1.2.25 → 1.2.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/package.json +5 -5
- package/.turbo/turbo-build.log +0 -202
- package/.turbo/turbo-lint.log +0 -185
- package/.turbo/turbo-test.log +0 -156
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.dbg.json +0 -4
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.json +0 -1899
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +0 -4
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +0 -121
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.dbg.json +0 -4
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.json +0 -646
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.dbg.json +0 -4
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.json +0 -373
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.dbg.json +0 -4
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.json +0 -246
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.dbg.json +0 -4
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.json +0 -42
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.dbg.json +0 -4
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.json +0 -148
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.dbg.json +0 -4
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.json +0 -586
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.dbg.json +0 -4
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.json +0 -130
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.dbg.json +0 -4
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.json +0 -50
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.dbg.json +0 -4
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.json +0 -135
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.dbg.json +0 -4
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.json +0 -167
- package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.dbg.json +0 -4
- package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.json +0 -116
- package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.dbg.json +0 -4
- package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.json +0 -188
- package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.dbg.json +0 -4
- package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.json +0 -55
- package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.dbg.json +0 -4
- package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.json +0 -177
- package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.dbg.json +0 -4
- package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.json +0 -532
- package/artifacts/build-info/0534f1d5f0d8cd63830d8f134ee75e3e.json +0 -1
- package/artifacts/contracts/interfaces/IOFT.sol/IOFT.dbg.json +0 -4
- package/artifacts/contracts/interfaces/IOFT.sol/IOFT.json +0 -467
- package/artifacts/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.dbg.json +0 -4
- package/artifacts/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.json +0 -66
- package/artifacts/contracts/interfaces/IOFTExtended.sol/IOFTExtended.dbg.json +0 -4
- package/artifacts/contracts/interfaces/IOFTExtended.sol/IOFTExtended.json +0 -2055
- package/artifacts/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.dbg.json +0 -4
- package/artifacts/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +0 -10
- package/artifacts/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.dbg.json +0 -4
- package/artifacts/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.json +0 -10
- package/artifacts/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.dbg.json +0 -4
- package/artifacts/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.json +0 -66
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.dbg.json +0 -4
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.json +0 -1899
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +0 -4
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +0 -121
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.dbg.json +0 -4
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.json +0 -646
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.dbg.json +0 -4
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.json +0 -373
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.dbg.json +0 -4
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.json +0 -246
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.dbg.json +0 -4
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.json +0 -42
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.dbg.json +0 -4
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.json +0 -148
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.dbg.json +0 -4
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.json +0 -586
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.dbg.json +0 -4
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.json +0 -130
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.dbg.json +0 -4
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.json +0 -50
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.dbg.json +0 -4
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.json +0 -135
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.dbg.json +0 -4
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.json +0 -167
- package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.dbg.json +0 -4
- package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.json +0 -116
- package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.dbg.json +0 -4
- package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.json +0 -188
- package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.dbg.json +0 -4
- package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.json +0 -55
- package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.dbg.json +0 -4
- package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.json +0 -177
- package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.dbg.json +0 -4
- package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.json +0 -532
- package/artifacts-tron/build-info/6372fe30cb41b2f9b7315d1272ecb0f3.json +0 -1
- package/artifacts-tron/contracts/interfaces/IOFT.sol/IOFT.dbg.json +0 -4
- package/artifacts-tron/contracts/interfaces/IOFT.sol/IOFT.json +0 -467
- package/artifacts-tron/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.dbg.json +0 -4
- package/artifacts-tron/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.json +0 -66
- package/artifacts-tron/contracts/interfaces/IOFTExtended.sol/IOFTExtended.dbg.json +0 -4
- package/artifacts-tron/contracts/interfaces/IOFTExtended.sol/IOFTExtended.json +0 -2055
- package/artifacts-tron/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.dbg.json +0 -4
- package/artifacts-tron/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +0 -10
- package/artifacts-tron/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.dbg.json +0 -4
- package/artifacts-tron/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.json +0 -10
- package/artifacts-tron/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.dbg.json +0 -4
- package/artifacts-tron/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.json +0 -66
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.dbg.json +0 -4
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.json +0 -1900
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +0 -4
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +0 -122
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.dbg.json +0 -4
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.json +0 -647
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.dbg.json +0 -4
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.json +0 -374
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.dbg.json +0 -4
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.json +0 -247
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.dbg.json +0 -4
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.json +0 -43
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.dbg.json +0 -4
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.json +0 -149
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.dbg.json +0 -4
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.json +0 -587
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.dbg.json +0 -4
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.json +0 -131
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.dbg.json +0 -4
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.json +0 -51
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.dbg.json +0 -4
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.json +0 -136
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.dbg.json +0 -4
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.json +0 -168
- package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.dbg.json +0 -4
- package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.json +0 -117
- package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.dbg.json +0 -4
- package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.json +0 -189
- package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.dbg.json +0 -4
- package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.json +0 -56
- package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.dbg.json +0 -4
- package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.json +0 -178
- package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.dbg.json +0 -4
- package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.json +0 -533
- package/artifacts-zk/build-info/d2467fad10cf5fa07f3c4c460f383314.json +0 -1
- package/artifacts-zk/contracts/interfaces/IOFT.sol/IOFT.dbg.json +0 -4
- package/artifacts-zk/contracts/interfaces/IOFT.sol/IOFT.json +0 -468
- package/artifacts-zk/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.dbg.json +0 -4
- package/artifacts-zk/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.json +0 -67
- package/artifacts-zk/contracts/interfaces/IOFTExtended.sol/IOFTExtended.dbg.json +0 -4
- package/artifacts-zk/contracts/interfaces/IOFTExtended.sol/IOFTExtended.json +0 -2056
- package/artifacts-zk/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.dbg.json +0 -4
- package/artifacts-zk/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +0 -11
- package/artifacts-zk/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.dbg.json +0 -4
- package/artifacts-zk/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.json +0 -11
- package/artifacts-zk/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.dbg.json +0 -4
- package/artifacts-zk/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.json +0 -67
|
@@ -1,533 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-zksolc-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
|
-
"factoryDeps": {}
|
|
533
|
-
}
|