@meterio/sumer-js 0.1.31 → 0.1.32

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 (114) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +110 -12
  3. package/dist/nodejs/abi.js +6086 -4750
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/comptroller.d.ts +1 -1
  6. package/dist/nodejs/comptroller.js +17 -22
  7. package/dist/nodejs/comptroller.js.map +1 -1
  8. package/dist/nodejs/errors.d.ts +84 -0
  9. package/dist/nodejs/errors.js +84 -0
  10. package/dist/nodejs/errors.js.map +1 -1
  11. package/dist/nodejs/index.d.ts +194 -12
  12. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +21 -175
  13. package/dist/nodejs/typechain/contracts/Comptroller/RedemptionManager.d.ts +82 -79
  14. package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +13 -84
  15. package/dist/nodejs/typechain/contracts/Interfaces/IRedemptionManager.d.ts +34 -54
  16. package/dist/nodejs/typechain/contracts/Interfaces/ITimelock.d.ts +46 -49
  17. package/dist/nodejs/typechain/contracts/Library/RateLimiter.d.ts +66 -0
  18. package/dist/nodejs/typechain/contracts/Library/RateLimiter.js +3 -0
  19. package/dist/nodejs/typechain/contracts/Library/RateLimiter.js.map +1 -0
  20. package/dist/nodejs/typechain/contracts/Library/index.d.ts +1 -0
  21. package/dist/nodejs/typechain/contracts/Library/index.js +3 -0
  22. package/dist/nodejs/typechain/contracts/Library/index.js.map +1 -0
  23. package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +1 -9
  24. package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracleSafe.d.ts +1 -9
  25. package/dist/nodejs/typechain/contracts/Timelock.d.ts +515 -0
  26. package/dist/nodejs/typechain/contracts/Timelock.js +3 -0
  27. package/dist/nodejs/typechain/contracts/Timelock.js.map +1 -0
  28. package/dist/nodejs/typechain/contracts/index.d.ts +3 -2
  29. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.d.ts +1 -1
  30. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.js +1 -1
  31. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts +1 -1
  32. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js +1 -1
  33. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.d.ts +1 -1
  34. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.js +1 -1
  35. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +49 -1
  36. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +61 -1
  37. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  38. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +49 -1
  39. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +61 -1
  40. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  41. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +48 -0
  42. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +60 -0
  43. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
  44. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +49 -1
  45. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +61 -1
  46. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  47. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.d.ts +313 -1
  48. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js +392 -1
  49. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js.map +1 -1
  50. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -1
  51. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -1
  52. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +49 -1
  53. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +61 -1
  54. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
  55. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
  56. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
  57. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +77 -272
  58. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +97 -348
  59. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
  60. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +428 -94
  61. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +536 -121
  62. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
  63. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
  64. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
  65. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +19 -91
  66. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +24 -114
  67. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
  68. package/dist/nodejs/typechain/factories/contracts/Interfaces/IRedemptionManager__factory.d.ts +46 -60
  69. package/dist/nodejs/typechain/factories/contracts/Interfaces/IRedemptionManager__factory.js +45 -67
  70. package/dist/nodejs/typechain/factories/contracts/Interfaces/IRedemptionManager__factory.js.map +1 -1
  71. package/dist/nodejs/typechain/factories/contracts/Interfaces/ITimelock__factory.d.ts +34 -47
  72. package/dist/nodejs/typechain/factories/contracts/Interfaces/ITimelock__factory.js +37 -54
  73. package/dist/nodejs/typechain/factories/contracts/Interfaces/ITimelock__factory.js.map +1 -1
  74. package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.d.ts +165 -0
  75. package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.js +228 -0
  76. package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.js.map +1 -0
  77. package/dist/nodejs/typechain/factories/contracts/Library/index.d.ts +1 -0
  78. package/dist/nodejs/typechain/factories/contracts/Library/index.js +9 -0
  79. package/dist/nodejs/typechain/factories/contracts/Library/index.js.map +1 -0
  80. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracleSafe__factory.d.ts +1 -15
  81. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracleSafe__factory.js +1 -20
  82. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracleSafe__factory.js.map +1 -1
  83. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +1 -15
  84. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +1 -20
  85. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
  86. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +49 -1
  87. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +61 -1
  88. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
  89. package/dist/nodejs/typechain/factories/contracts/Timelock.sol/Timelock__factory.d.ts +1 -1
  90. package/dist/nodejs/typechain/factories/contracts/Timelock.sol/Timelock__factory.js +1 -1
  91. package/dist/nodejs/typechain/factories/contracts/Timelock.sol/Timelock__factory.js.map +1 -1
  92. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +989 -0
  93. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +1277 -0
  94. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -0
  95. package/dist/nodejs/typechain/factories/contracts/index.d.ts +2 -1
  96. package/dist/nodejs/typechain/factories/contracts/index.js +4 -2
  97. package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
  98. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.d.ts +1 -1
  99. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js +1 -1
  100. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.d.ts +1 -1
  101. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js +1 -1
  102. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.d.ts +1 -1
  103. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js +1 -1
  104. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.d.ts +1 -1
  105. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.js +1 -1
  106. package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.d.ts +1 -1
  107. package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.js +1 -1
  108. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.d.ts +1 -1
  109. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js +1 -1
  110. package/dist/nodejs/typechain/hardhat.d.ts +18 -18
  111. package/dist/nodejs/typechain/index.d.ts +4 -2
  112. package/dist/nodejs/typechain/index.js +5 -3
  113. package/dist/nodejs/typechain/index.js.map +1 -1
  114. package/package.json +1 -1
@@ -11,15 +11,15 @@ const _abi = [
11
11
  inputs: [
12
12
  {
13
13
  indexed: true,
14
- internalType: "address",
15
- name: "beneficiary",
16
- type: "address",
14
+ internalType: "uint256",
15
+ name: "agreementId",
16
+ type: "uint256",
17
17
  },
18
18
  {
19
19
  indexed: true,
20
- internalType: "uint256",
21
- name: "agreementIndex",
22
- type: "uint256",
20
+ internalType: "address",
21
+ name: "beneficiary",
22
+ type: "address",
23
23
  },
24
24
  {
25
25
  indexed: true,
@@ -48,15 +48,15 @@ const _abi = [
48
48
  inputs: [
49
49
  {
50
50
  indexed: true,
51
- internalType: "address",
52
- name: "beneficiary",
53
- type: "address",
51
+ internalType: "uint256",
52
+ name: "agreementId",
53
+ type: "uint256",
54
54
  },
55
55
  {
56
56
  indexed: true,
57
- internalType: "uint256",
58
- name: "agreementIndex",
59
- type: "uint256",
57
+ internalType: "address",
58
+ name: "beneficiary",
59
+ type: "address",
60
60
  },
61
61
  {
62
62
  indexed: true,
@@ -79,7 +79,7 @@ const _abi = [
79
79
  {
80
80
  indexed: false,
81
81
  internalType: "uint256",
82
- name: "releaseTime",
82
+ name: "timestamp",
83
83
  type: "uint256",
84
84
  },
85
85
  ],
@@ -89,16 +89,10 @@ const _abi = [
89
89
  {
90
90
  anonymous: false,
91
91
  inputs: [
92
- {
93
- indexed: false,
94
- internalType: "address",
95
- name: "beneficiary",
96
- type: "address",
97
- },
98
92
  {
99
93
  indexed: false,
100
94
  internalType: "uint256",
101
- name: "agreementIndex",
95
+ name: "agreementId",
102
96
  type: "uint256",
103
97
  },
104
98
  {
@@ -151,47 +145,36 @@ const _abi = [
151
145
  },
152
146
  {
153
147
  inputs: [
154
- {
155
- internalType: "enum ITimelock.TimeLockActionType",
156
- name: "actionType",
157
- type: "uint8",
158
- },
159
- {
160
- internalType: "address",
161
- name: "underlying",
162
- type: "address",
163
- },
164
148
  {
165
149
  internalType: "uint256",
166
- name: "amount",
150
+ name: "underlyAmount",
167
151
  type: "uint256",
168
152
  },
169
153
  {
170
154
  internalType: "address",
171
- name: "beneficiary",
155
+ name: "cToken",
172
156
  type: "address",
173
157
  },
174
158
  ],
175
- name: "createAgreement",
176
- outputs: [
177
- {
178
- internalType: "uint256",
179
- name: "",
180
- type: "uint256",
181
- },
182
- ],
159
+ name: "consumeValue",
160
+ outputs: [],
183
161
  stateMutability: "nonpayable",
184
162
  type: "function",
185
163
  },
186
164
  {
187
165
  inputs: [
166
+ {
167
+ internalType: "uint256",
168
+ name: "underlyAmount",
169
+ type: "uint256",
170
+ },
188
171
  {
189
172
  internalType: "address",
190
- name: "underlying",
173
+ name: "cToken",
191
174
  type: "address",
192
175
  },
193
176
  ],
194
- name: "isSupport",
177
+ name: "consumeValuePreview",
195
178
  outputs: [
196
179
  {
197
180
  internalType: "bool",
@@ -205,35 +188,35 @@ const _abi = [
205
188
  {
206
189
  inputs: [
207
190
  {
208
- internalType: "address",
209
- name: "underlying",
210
- type: "address",
191
+ internalType: "enum ITimelock.TimeLockActionType",
192
+ name: "actionType",
193
+ type: "uint8",
211
194
  },
212
195
  {
213
196
  internalType: "address",
214
- name: "oracle",
197
+ name: "cToken",
215
198
  type: "address",
216
199
  },
217
200
  {
218
201
  internalType: "uint256",
219
- name: "usdValue",
202
+ name: "underlyAmount",
220
203
  type: "uint256",
221
204
  },
222
205
  {
223
- internalType: "uint8",
224
- name: "decimals",
225
- type: "uint8",
206
+ internalType: "address",
207
+ name: "beneficiary",
208
+ type: "address",
226
209
  },
227
210
  ],
228
- name: "overThreshold",
211
+ name: "createAgreement",
229
212
  outputs: [
230
213
  {
231
- internalType: "bool",
214
+ internalType: "uint256",
232
215
  name: "",
233
- type: "bool",
216
+ type: "uint256",
234
217
  },
235
218
  ],
236
- stateMutability: "view",
219
+ stateMutability: "nonpayable",
237
220
  type: "function",
238
221
  },
239
222
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"ITimelock__factory.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/Inter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,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,OAAO;aACd;SACF;QACD,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,MAAM;aACb;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,kBAAkB;IAE7B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAuB,CAAC;IACnD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,MAA8B;QAC5D,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAyB,CAAC;IACrE,CAAC;;AAPH,gDAQC;AAPiB,sBAAG,GAAG,IAAI,CAAC"}
1
+ {"version":3,"file":"ITimelock__factory.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/Interfaces/ITimelock__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE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AAE,qBAAqB;QAC3B,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,MAAM;aACb;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,mCAAmC;gBACjD,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,OAAO;aACd;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,kBAAkB;IAE7B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAuB,CAAC;IACnD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,MAA8B;QAC5D,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAyB,CAAC;IACrE,CAAC;;AAPH,gDAQC;AAPiB,sBAAG,GAAG,IAAI,CAAC"}
@@ -0,0 +1,165 @@
1
+ import { ContractFactory, ContractTransactionResponse } from "ethers";
2
+ import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
3
+ import type { NonPayableOverrides } from "../../../common";
4
+ import type { RateLimiter, RateLimiterInterface } from "../../../contracts/Library/RateLimiter";
5
+ type RateLimiterConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
6
+ export declare class RateLimiter__factory extends ContractFactory {
7
+ constructor(...args: RateLimiterConstructorParams);
8
+ getDeployTransaction(overrides?: NonPayableOverrides & {
9
+ from?: string;
10
+ }): Promise<ContractDeployTransaction>;
11
+ deploy(overrides?: NonPayableOverrides & {
12
+ from?: string;
13
+ }): Promise<RateLimiter & {
14
+ deploymentTransaction(): ContractTransactionResponse;
15
+ }>;
16
+ connect(runner: ContractRunner | null): RateLimiter__factory;
17
+ static readonly bytecode = "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220fa4c31e6b7fe2327893aa9de69d905306142205eb5c20aa8156a17fe0ec193bc64736f6c63430008130033";
18
+ static readonly abi: readonly [{
19
+ readonly inputs: readonly [{
20
+ readonly internalType: "uint256";
21
+ readonly name: "capacity";
22
+ readonly type: "uint256";
23
+ }, {
24
+ readonly internalType: "uint256";
25
+ readonly name: "requested";
26
+ readonly type: "uint256";
27
+ }];
28
+ readonly name: "AggregateValueMaxCapacityExceeded";
29
+ readonly type: "error";
30
+ }, {
31
+ readonly inputs: readonly [{
32
+ readonly internalType: "uint256";
33
+ readonly name: "minWaitInSeconds";
34
+ readonly type: "uint256";
35
+ }, {
36
+ readonly internalType: "uint256";
37
+ readonly name: "available";
38
+ readonly type: "uint256";
39
+ }];
40
+ readonly name: "AggregateValueRateLimitReached";
41
+ readonly type: "error";
42
+ }, {
43
+ readonly inputs: readonly [];
44
+ readonly name: "BucketOverfilled";
45
+ readonly type: "error";
46
+ }, {
47
+ readonly inputs: readonly [{
48
+ readonly components: readonly [{
49
+ readonly internalType: "bool";
50
+ readonly name: "isEnabled";
51
+ readonly type: "bool";
52
+ }, {
53
+ readonly internalType: "uint256";
54
+ readonly name: "capacity";
55
+ readonly type: "uint256";
56
+ }, {
57
+ readonly internalType: "uint256";
58
+ readonly name: "rate";
59
+ readonly type: "uint256";
60
+ }];
61
+ readonly internalType: "struct RateLimiter.Config";
62
+ readonly name: "config";
63
+ readonly type: "tuple";
64
+ }];
65
+ readonly name: "DisabledNonZeroRateLimit";
66
+ readonly type: "error";
67
+ }, {
68
+ readonly inputs: readonly [{
69
+ readonly components: readonly [{
70
+ readonly internalType: "bool";
71
+ readonly name: "isEnabled";
72
+ readonly type: "bool";
73
+ }, {
74
+ readonly internalType: "uint256";
75
+ readonly name: "capacity";
76
+ readonly type: "uint256";
77
+ }, {
78
+ readonly internalType: "uint256";
79
+ readonly name: "rate";
80
+ readonly type: "uint256";
81
+ }];
82
+ readonly internalType: "struct RateLimiter.Config";
83
+ readonly name: "rateLimiterConfig";
84
+ readonly type: "tuple";
85
+ }];
86
+ readonly name: "InvalidRatelimitRate";
87
+ readonly type: "error";
88
+ }, {
89
+ readonly inputs: readonly [];
90
+ readonly name: "OnlyCallableByAdminOrOwner";
91
+ readonly type: "error";
92
+ }, {
93
+ readonly inputs: readonly [];
94
+ readonly name: "RateLimitMustBeDisabled";
95
+ readonly type: "error";
96
+ }, {
97
+ readonly inputs: readonly [{
98
+ readonly internalType: "uint256";
99
+ readonly name: "capacity";
100
+ readonly type: "uint256";
101
+ }, {
102
+ readonly internalType: "uint256";
103
+ readonly name: "requested";
104
+ readonly type: "uint256";
105
+ }, {
106
+ readonly internalType: "address";
107
+ readonly name: "tokenAddress";
108
+ readonly type: "address";
109
+ }];
110
+ readonly name: "TokenMaxCapacityExceeded";
111
+ readonly type: "error";
112
+ }, {
113
+ readonly inputs: readonly [{
114
+ readonly internalType: "uint256";
115
+ readonly name: "minWaitInSeconds";
116
+ readonly type: "uint256";
117
+ }, {
118
+ readonly internalType: "uint256";
119
+ readonly name: "available";
120
+ readonly type: "uint256";
121
+ }, {
122
+ readonly internalType: "address";
123
+ readonly name: "tokenAddress";
124
+ readonly type: "address";
125
+ }];
126
+ readonly name: "TokenRateLimitReached";
127
+ readonly type: "error";
128
+ }, {
129
+ readonly anonymous: false;
130
+ readonly inputs: readonly [{
131
+ readonly components: readonly [{
132
+ readonly internalType: "bool";
133
+ readonly name: "isEnabled";
134
+ readonly type: "bool";
135
+ }, {
136
+ readonly internalType: "uint256";
137
+ readonly name: "capacity";
138
+ readonly type: "uint256";
139
+ }, {
140
+ readonly internalType: "uint256";
141
+ readonly name: "rate";
142
+ readonly type: "uint256";
143
+ }];
144
+ readonly indexed: false;
145
+ readonly internalType: "struct RateLimiter.Config";
146
+ readonly name: "config";
147
+ readonly type: "tuple";
148
+ }];
149
+ readonly name: "ConfigChanged";
150
+ readonly type: "event";
151
+ }, {
152
+ readonly anonymous: false;
153
+ readonly inputs: readonly [{
154
+ readonly indexed: false;
155
+ readonly internalType: "uint256";
156
+ readonly name: "tokens";
157
+ readonly type: "uint256";
158
+ }];
159
+ readonly name: "TokensConsumed";
160
+ readonly type: "event";
161
+ }];
162
+ static createInterface(): RateLimiterInterface;
163
+ static connect(address: string, runner?: ContractRunner | null): RateLimiter;
164
+ }
165
+ export {};
@@ -0,0 +1,228 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RateLimiter__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "uint256",
13
+ name: "capacity",
14
+ type: "uint256",
15
+ },
16
+ {
17
+ internalType: "uint256",
18
+ name: "requested",
19
+ type: "uint256",
20
+ },
21
+ ],
22
+ name: "AggregateValueMaxCapacityExceeded",
23
+ type: "error",
24
+ },
25
+ {
26
+ inputs: [
27
+ {
28
+ internalType: "uint256",
29
+ name: "minWaitInSeconds",
30
+ type: "uint256",
31
+ },
32
+ {
33
+ internalType: "uint256",
34
+ name: "available",
35
+ type: "uint256",
36
+ },
37
+ ],
38
+ name: "AggregateValueRateLimitReached",
39
+ type: "error",
40
+ },
41
+ {
42
+ inputs: [],
43
+ name: "BucketOverfilled",
44
+ type: "error",
45
+ },
46
+ {
47
+ inputs: [
48
+ {
49
+ components: [
50
+ {
51
+ internalType: "bool",
52
+ name: "isEnabled",
53
+ type: "bool",
54
+ },
55
+ {
56
+ internalType: "uint256",
57
+ name: "capacity",
58
+ type: "uint256",
59
+ },
60
+ {
61
+ internalType: "uint256",
62
+ name: "rate",
63
+ type: "uint256",
64
+ },
65
+ ],
66
+ internalType: "struct RateLimiter.Config",
67
+ name: "config",
68
+ type: "tuple",
69
+ },
70
+ ],
71
+ name: "DisabledNonZeroRateLimit",
72
+ type: "error",
73
+ },
74
+ {
75
+ inputs: [
76
+ {
77
+ components: [
78
+ {
79
+ internalType: "bool",
80
+ name: "isEnabled",
81
+ type: "bool",
82
+ },
83
+ {
84
+ internalType: "uint256",
85
+ name: "capacity",
86
+ type: "uint256",
87
+ },
88
+ {
89
+ internalType: "uint256",
90
+ name: "rate",
91
+ type: "uint256",
92
+ },
93
+ ],
94
+ internalType: "struct RateLimiter.Config",
95
+ name: "rateLimiterConfig",
96
+ type: "tuple",
97
+ },
98
+ ],
99
+ name: "InvalidRatelimitRate",
100
+ type: "error",
101
+ },
102
+ {
103
+ inputs: [],
104
+ name: "OnlyCallableByAdminOrOwner",
105
+ type: "error",
106
+ },
107
+ {
108
+ inputs: [],
109
+ name: "RateLimitMustBeDisabled",
110
+ type: "error",
111
+ },
112
+ {
113
+ inputs: [
114
+ {
115
+ internalType: "uint256",
116
+ name: "capacity",
117
+ type: "uint256",
118
+ },
119
+ {
120
+ internalType: "uint256",
121
+ name: "requested",
122
+ type: "uint256",
123
+ },
124
+ {
125
+ internalType: "address",
126
+ name: "tokenAddress",
127
+ type: "address",
128
+ },
129
+ ],
130
+ name: "TokenMaxCapacityExceeded",
131
+ type: "error",
132
+ },
133
+ {
134
+ inputs: [
135
+ {
136
+ internalType: "uint256",
137
+ name: "minWaitInSeconds",
138
+ type: "uint256",
139
+ },
140
+ {
141
+ internalType: "uint256",
142
+ name: "available",
143
+ type: "uint256",
144
+ },
145
+ {
146
+ internalType: "address",
147
+ name: "tokenAddress",
148
+ type: "address",
149
+ },
150
+ ],
151
+ name: "TokenRateLimitReached",
152
+ type: "error",
153
+ },
154
+ {
155
+ anonymous: false,
156
+ inputs: [
157
+ {
158
+ components: [
159
+ {
160
+ internalType: "bool",
161
+ name: "isEnabled",
162
+ type: "bool",
163
+ },
164
+ {
165
+ internalType: "uint256",
166
+ name: "capacity",
167
+ type: "uint256",
168
+ },
169
+ {
170
+ internalType: "uint256",
171
+ name: "rate",
172
+ type: "uint256",
173
+ },
174
+ ],
175
+ indexed: false,
176
+ internalType: "struct RateLimiter.Config",
177
+ name: "config",
178
+ type: "tuple",
179
+ },
180
+ ],
181
+ name: "ConfigChanged",
182
+ type: "event",
183
+ },
184
+ {
185
+ anonymous: false,
186
+ inputs: [
187
+ {
188
+ indexed: false,
189
+ internalType: "uint256",
190
+ name: "tokens",
191
+ type: "uint256",
192
+ },
193
+ ],
194
+ name: "TokensConsumed",
195
+ type: "event",
196
+ },
197
+ ];
198
+ const _bytecode = "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220fa4c31e6b7fe2327893aa9de69d905306142205eb5c20aa8156a17fe0ec193bc64736f6c63430008130033";
199
+ const isSuperArgs = (xs) => xs.length > 1;
200
+ class RateLimiter__factory extends ethers_1.ContractFactory {
201
+ constructor(...args) {
202
+ if (isSuperArgs(args)) {
203
+ super(...args);
204
+ }
205
+ else {
206
+ super(_abi, _bytecode, args[0]);
207
+ }
208
+ }
209
+ getDeployTransaction(overrides) {
210
+ return super.getDeployTransaction(overrides || {});
211
+ }
212
+ deploy(overrides) {
213
+ return super.deploy(overrides || {});
214
+ }
215
+ connect(runner) {
216
+ return super.connect(runner);
217
+ }
218
+ static createInterface() {
219
+ return new ethers_1.Interface(_abi);
220
+ }
221
+ static connect(address, runner) {
222
+ return new ethers_1.Contract(address, _abi, runner);
223
+ }
224
+ }
225
+ exports.RateLimiter__factory = RateLimiter__factory;
226
+ RateLimiter__factory.bytecode = _bytecode;
227
+ RateLimiter__factory.abi = _abi;
228
+ //# sourceMappingURL=RateLimiter__factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RateLimiter__factory.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/Library/RateLimiter__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAKgB;AAQhB,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,gCAAgC;QACtC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,UAAU,EAAE;oBACV;wBACE,YAAY,EAAE,MAAM;wBACpB,IAAI,EAAE,WAAW;wBACjB,IAAI,EAAE,MAAM;qBACb;oBACD;wBACE,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,UAAU;wBAChB,IAAI,EAAE,SAAS;qBAChB;oBACD;wBACE,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,SAAS;qBAChB;iBACF;gBACD,YAAY,EAAE,2BAA2B;gBACzC,IAAI,EAAE,QAAQ;gBACd,IAAI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,CAAC,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;IAEQ,oBAAoB,CAC3B,SAAmD;QAEnD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,SAAmD;QACjE,OAAO,KAAK,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE,CAIlC,CAAC;IACJ,CAAC;IACQ,OAAO,CAAC,MAA6B;QAC5C,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAyB,CAAC;IACvD,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAyB,CAAC;IACrD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,MAA8B;QAC5D,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAA2B,CAAC;IACvE,CAAC;;AAhCH,oDAiCC;AARiB,6BAAQ,GAAG,SAAS,CAAC;AACrB,wBAAG,GAAG,IAAI,CAAC"}
@@ -0,0 +1 @@
1
+ export { RateLimiter__factory } from "./RateLimiter__factory";
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RateLimiter__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ var RateLimiter__factory_1 = require("./RateLimiter__factory");
8
+ Object.defineProperty(exports, "RateLimiter__factory", { enumerable: true, get: function () { return RateLimiter__factory_1.RateLimiter__factory; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/Library/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,+DAA8D;AAArD,4HAAA,oBAAoB,OAAA"}