@bgd-labs/toolbox 0.0.47 → 0.0.49
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/dist/index.d.mts +1514 -60
- package/dist/index.d.ts +1514 -60
- package/dist/index.js +1953 -52
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1950 -52
- package/dist/index.mjs.map +1 -1
- package/dist/node.d.mts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +1953 -52
- package/dist/node.js.map +1 -1
- package/dist/node.mjs +1950 -52
- package/dist/node.mjs.map +1 -1
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -17255,132 +17255,1528 @@ declare const IUmbrella_ABI: readonly [{
|
|
|
17255
17255
|
readonly inputs: readonly [];
|
|
17256
17256
|
}];
|
|
17257
17257
|
|
|
17258
|
-
declare const
|
|
17258
|
+
declare const Umbrella_IRewardsDistributor_ABI: readonly [{
|
|
17259
17259
|
readonly type: "function";
|
|
17260
|
-
readonly name: "
|
|
17261
|
-
readonly inputs: readonly [
|
|
17260
|
+
readonly name: "claimAllRewards";
|
|
17261
|
+
readonly inputs: readonly [{
|
|
17262
|
+
readonly name: "asset";
|
|
17263
|
+
readonly type: "address";
|
|
17264
|
+
readonly internalType: "address";
|
|
17265
|
+
}, {
|
|
17266
|
+
readonly name: "receiver";
|
|
17267
|
+
readonly type: "address";
|
|
17268
|
+
readonly internalType: "address";
|
|
17269
|
+
}];
|
|
17270
|
+
readonly outputs: readonly [{
|
|
17271
|
+
readonly name: "rewards";
|
|
17272
|
+
readonly type: "address[]";
|
|
17273
|
+
readonly internalType: "address[]";
|
|
17274
|
+
}, {
|
|
17275
|
+
readonly name: "amounts";
|
|
17276
|
+
readonly type: "uint256[]";
|
|
17277
|
+
readonly internalType: "uint256[]";
|
|
17278
|
+
}];
|
|
17279
|
+
readonly stateMutability: "nonpayable";
|
|
17280
|
+
}, {
|
|
17281
|
+
readonly type: "function";
|
|
17282
|
+
readonly name: "claimAllRewards";
|
|
17283
|
+
readonly inputs: readonly [{
|
|
17284
|
+
readonly name: "assets";
|
|
17285
|
+
readonly type: "address[]";
|
|
17286
|
+
readonly internalType: "address[]";
|
|
17287
|
+
}, {
|
|
17288
|
+
readonly name: "receiver";
|
|
17289
|
+
readonly type: "address";
|
|
17290
|
+
readonly internalType: "address";
|
|
17291
|
+
}];
|
|
17292
|
+
readonly outputs: readonly [{
|
|
17293
|
+
readonly name: "rewards";
|
|
17294
|
+
readonly type: "address[][]";
|
|
17295
|
+
readonly internalType: "address[][]";
|
|
17296
|
+
}, {
|
|
17297
|
+
readonly name: "amounts";
|
|
17298
|
+
readonly type: "uint256[][]";
|
|
17299
|
+
readonly internalType: "uint256[][]";
|
|
17300
|
+
}];
|
|
17301
|
+
readonly stateMutability: "nonpayable";
|
|
17302
|
+
}, {
|
|
17303
|
+
readonly type: "function";
|
|
17304
|
+
readonly name: "claimAllRewardsOnBehalf";
|
|
17305
|
+
readonly inputs: readonly [{
|
|
17306
|
+
readonly name: "assets";
|
|
17307
|
+
readonly type: "address[]";
|
|
17308
|
+
readonly internalType: "address[]";
|
|
17309
|
+
}, {
|
|
17310
|
+
readonly name: "user";
|
|
17311
|
+
readonly type: "address";
|
|
17312
|
+
readonly internalType: "address";
|
|
17313
|
+
}, {
|
|
17314
|
+
readonly name: "receiver";
|
|
17315
|
+
readonly type: "address";
|
|
17316
|
+
readonly internalType: "address";
|
|
17317
|
+
}];
|
|
17318
|
+
readonly outputs: readonly [{
|
|
17319
|
+
readonly name: "rewards";
|
|
17320
|
+
readonly type: "address[][]";
|
|
17321
|
+
readonly internalType: "address[][]";
|
|
17322
|
+
}, {
|
|
17323
|
+
readonly name: "amounts";
|
|
17324
|
+
readonly type: "uint256[][]";
|
|
17325
|
+
readonly internalType: "uint256[][]";
|
|
17326
|
+
}];
|
|
17327
|
+
readonly stateMutability: "nonpayable";
|
|
17328
|
+
}, {
|
|
17329
|
+
readonly type: "function";
|
|
17330
|
+
readonly name: "claimAllRewardsOnBehalf";
|
|
17331
|
+
readonly inputs: readonly [{
|
|
17332
|
+
readonly name: "asset";
|
|
17333
|
+
readonly type: "address";
|
|
17334
|
+
readonly internalType: "address";
|
|
17335
|
+
}, {
|
|
17336
|
+
readonly name: "user";
|
|
17337
|
+
readonly type: "address";
|
|
17338
|
+
readonly internalType: "address";
|
|
17339
|
+
}, {
|
|
17340
|
+
readonly name: "receiver";
|
|
17341
|
+
readonly type: "address";
|
|
17342
|
+
readonly internalType: "address";
|
|
17343
|
+
}];
|
|
17344
|
+
readonly outputs: readonly [{
|
|
17345
|
+
readonly name: "rewards";
|
|
17346
|
+
readonly type: "address[]";
|
|
17347
|
+
readonly internalType: "address[]";
|
|
17348
|
+
}, {
|
|
17349
|
+
readonly name: "amounts";
|
|
17350
|
+
readonly type: "uint256[]";
|
|
17351
|
+
readonly internalType: "uint256[]";
|
|
17352
|
+
}];
|
|
17353
|
+
readonly stateMutability: "nonpayable";
|
|
17354
|
+
}, {
|
|
17355
|
+
readonly type: "function";
|
|
17356
|
+
readonly name: "claimAllRewardsPermit";
|
|
17357
|
+
readonly inputs: readonly [{
|
|
17358
|
+
readonly name: "asset";
|
|
17359
|
+
readonly type: "address";
|
|
17360
|
+
readonly internalType: "address";
|
|
17361
|
+
}, {
|
|
17362
|
+
readonly name: "user";
|
|
17363
|
+
readonly type: "address";
|
|
17364
|
+
readonly internalType: "address";
|
|
17365
|
+
}, {
|
|
17366
|
+
readonly name: "receiver";
|
|
17367
|
+
readonly type: "address";
|
|
17368
|
+
readonly internalType: "address";
|
|
17369
|
+
}, {
|
|
17370
|
+
readonly name: "deadline";
|
|
17371
|
+
readonly type: "uint256";
|
|
17372
|
+
readonly internalType: "uint256";
|
|
17373
|
+
}, {
|
|
17374
|
+
readonly name: "sig";
|
|
17375
|
+
readonly type: "tuple";
|
|
17376
|
+
readonly internalType: "struct IRewardsStructs.SignatureParams";
|
|
17377
|
+
readonly components: readonly [{
|
|
17378
|
+
readonly name: "v";
|
|
17379
|
+
readonly type: "uint8";
|
|
17380
|
+
readonly internalType: "uint8";
|
|
17381
|
+
}, {
|
|
17382
|
+
readonly name: "r";
|
|
17383
|
+
readonly type: "bytes32";
|
|
17384
|
+
readonly internalType: "bytes32";
|
|
17385
|
+
}, {
|
|
17386
|
+
readonly name: "s";
|
|
17387
|
+
readonly type: "bytes32";
|
|
17388
|
+
readonly internalType: "bytes32";
|
|
17389
|
+
}];
|
|
17390
|
+
}];
|
|
17391
|
+
readonly outputs: readonly [{
|
|
17392
|
+
readonly name: "rewards";
|
|
17393
|
+
readonly type: "address[]";
|
|
17394
|
+
readonly internalType: "address[]";
|
|
17395
|
+
}, {
|
|
17396
|
+
readonly name: "amounts";
|
|
17397
|
+
readonly type: "uint256[]";
|
|
17398
|
+
readonly internalType: "uint256[]";
|
|
17399
|
+
}];
|
|
17400
|
+
readonly stateMutability: "nonpayable";
|
|
17401
|
+
}, {
|
|
17402
|
+
readonly type: "function";
|
|
17403
|
+
readonly name: "claimSelectedRewards";
|
|
17404
|
+
readonly inputs: readonly [{
|
|
17405
|
+
readonly name: "assets";
|
|
17406
|
+
readonly type: "address[]";
|
|
17407
|
+
readonly internalType: "address[]";
|
|
17408
|
+
}, {
|
|
17409
|
+
readonly name: "rewards";
|
|
17410
|
+
readonly type: "address[][]";
|
|
17411
|
+
readonly internalType: "address[][]";
|
|
17412
|
+
}, {
|
|
17413
|
+
readonly name: "receiver";
|
|
17414
|
+
readonly type: "address";
|
|
17415
|
+
readonly internalType: "address";
|
|
17416
|
+
}];
|
|
17262
17417
|
readonly outputs: readonly [{
|
|
17263
17418
|
readonly name: "";
|
|
17419
|
+
readonly type: "uint256[][]";
|
|
17420
|
+
readonly internalType: "uint256[][]";
|
|
17421
|
+
}];
|
|
17422
|
+
readonly stateMutability: "nonpayable";
|
|
17423
|
+
}, {
|
|
17424
|
+
readonly type: "function";
|
|
17425
|
+
readonly name: "claimSelectedRewards";
|
|
17426
|
+
readonly inputs: readonly [{
|
|
17427
|
+
readonly name: "asset";
|
|
17264
17428
|
readonly type: "address";
|
|
17265
|
-
readonly internalType: "
|
|
17429
|
+
readonly internalType: "address";
|
|
17430
|
+
}, {
|
|
17431
|
+
readonly name: "rewards";
|
|
17432
|
+
readonly type: "address[]";
|
|
17433
|
+
readonly internalType: "address[]";
|
|
17434
|
+
}, {
|
|
17435
|
+
readonly name: "receiver";
|
|
17436
|
+
readonly type: "address";
|
|
17437
|
+
readonly internalType: "address";
|
|
17266
17438
|
}];
|
|
17267
|
-
readonly
|
|
17439
|
+
readonly outputs: readonly [{
|
|
17440
|
+
readonly name: "amounts";
|
|
17441
|
+
readonly type: "uint256[]";
|
|
17442
|
+
readonly internalType: "uint256[]";
|
|
17443
|
+
}];
|
|
17444
|
+
readonly stateMutability: "nonpayable";
|
|
17268
17445
|
}, {
|
|
17269
17446
|
readonly type: "function";
|
|
17270
|
-
readonly name: "
|
|
17271
|
-
readonly inputs: readonly [
|
|
17447
|
+
readonly name: "claimSelectedRewardsOnBehalf";
|
|
17448
|
+
readonly inputs: readonly [{
|
|
17449
|
+
readonly name: "asset";
|
|
17450
|
+
readonly type: "address";
|
|
17451
|
+
readonly internalType: "address";
|
|
17452
|
+
}, {
|
|
17453
|
+
readonly name: "rewards";
|
|
17454
|
+
readonly type: "address[]";
|
|
17455
|
+
readonly internalType: "address[]";
|
|
17456
|
+
}, {
|
|
17457
|
+
readonly name: "user";
|
|
17458
|
+
readonly type: "address";
|
|
17459
|
+
readonly internalType: "address";
|
|
17460
|
+
}, {
|
|
17461
|
+
readonly name: "receiver";
|
|
17462
|
+
readonly type: "address";
|
|
17463
|
+
readonly internalType: "address";
|
|
17464
|
+
}];
|
|
17465
|
+
readonly outputs: readonly [{
|
|
17466
|
+
readonly name: "amounts";
|
|
17467
|
+
readonly type: "uint256[]";
|
|
17468
|
+
readonly internalType: "uint256[]";
|
|
17469
|
+
}];
|
|
17470
|
+
readonly stateMutability: "nonpayable";
|
|
17471
|
+
}, {
|
|
17472
|
+
readonly type: "function";
|
|
17473
|
+
readonly name: "claimSelectedRewardsOnBehalf";
|
|
17474
|
+
readonly inputs: readonly [{
|
|
17475
|
+
readonly name: "assets";
|
|
17476
|
+
readonly type: "address[]";
|
|
17477
|
+
readonly internalType: "address[]";
|
|
17478
|
+
}, {
|
|
17479
|
+
readonly name: "rewards";
|
|
17480
|
+
readonly type: "address[][]";
|
|
17481
|
+
readonly internalType: "address[][]";
|
|
17482
|
+
}, {
|
|
17483
|
+
readonly name: "user";
|
|
17484
|
+
readonly type: "address";
|
|
17485
|
+
readonly internalType: "address";
|
|
17486
|
+
}, {
|
|
17487
|
+
readonly name: "receiver";
|
|
17488
|
+
readonly type: "address";
|
|
17489
|
+
readonly internalType: "address";
|
|
17490
|
+
}];
|
|
17272
17491
|
readonly outputs: readonly [{
|
|
17273
17492
|
readonly name: "";
|
|
17493
|
+
readonly type: "uint256[][]";
|
|
17494
|
+
readonly internalType: "uint256[][]";
|
|
17495
|
+
}];
|
|
17496
|
+
readonly stateMutability: "nonpayable";
|
|
17497
|
+
}, {
|
|
17498
|
+
readonly type: "function";
|
|
17499
|
+
readonly name: "claimSelectedRewardsPermit";
|
|
17500
|
+
readonly inputs: readonly [{
|
|
17501
|
+
readonly name: "asset";
|
|
17502
|
+
readonly type: "address";
|
|
17503
|
+
readonly internalType: "address";
|
|
17504
|
+
}, {
|
|
17505
|
+
readonly name: "rewards";
|
|
17506
|
+
readonly type: "address[]";
|
|
17507
|
+
readonly internalType: "address[]";
|
|
17508
|
+
}, {
|
|
17509
|
+
readonly name: "user";
|
|
17510
|
+
readonly type: "address";
|
|
17511
|
+
readonly internalType: "address";
|
|
17512
|
+
}, {
|
|
17513
|
+
readonly name: "receiver";
|
|
17514
|
+
readonly type: "address";
|
|
17515
|
+
readonly internalType: "address";
|
|
17516
|
+
}, {
|
|
17517
|
+
readonly name: "deadline";
|
|
17518
|
+
readonly type: "uint256";
|
|
17519
|
+
readonly internalType: "uint256";
|
|
17520
|
+
}, {
|
|
17521
|
+
readonly name: "sig";
|
|
17522
|
+
readonly type: "tuple";
|
|
17523
|
+
readonly internalType: "struct IRewardsStructs.SignatureParams";
|
|
17524
|
+
readonly components: readonly [{
|
|
17525
|
+
readonly name: "v";
|
|
17526
|
+
readonly type: "uint8";
|
|
17527
|
+
readonly internalType: "uint8";
|
|
17528
|
+
}, {
|
|
17529
|
+
readonly name: "r";
|
|
17530
|
+
readonly type: "bytes32";
|
|
17531
|
+
readonly internalType: "bytes32";
|
|
17532
|
+
}, {
|
|
17533
|
+
readonly name: "s";
|
|
17534
|
+
readonly type: "bytes32";
|
|
17535
|
+
readonly internalType: "bytes32";
|
|
17536
|
+
}];
|
|
17537
|
+
}];
|
|
17538
|
+
readonly outputs: readonly [{
|
|
17539
|
+
readonly name: "amounts";
|
|
17540
|
+
readonly type: "uint256[]";
|
|
17541
|
+
readonly internalType: "uint256[]";
|
|
17542
|
+
}];
|
|
17543
|
+
readonly stateMutability: "nonpayable";
|
|
17544
|
+
}, {
|
|
17545
|
+
readonly type: "function";
|
|
17546
|
+
readonly name: "setClaimer";
|
|
17547
|
+
readonly inputs: readonly [{
|
|
17548
|
+
readonly name: "claimer";
|
|
17549
|
+
readonly type: "address";
|
|
17550
|
+
readonly internalType: "address";
|
|
17551
|
+
}, {
|
|
17552
|
+
readonly name: "flag";
|
|
17553
|
+
readonly type: "bool";
|
|
17554
|
+
readonly internalType: "bool";
|
|
17555
|
+
}];
|
|
17556
|
+
readonly outputs: readonly [];
|
|
17557
|
+
readonly stateMutability: "nonpayable";
|
|
17558
|
+
}, {
|
|
17559
|
+
readonly type: "function";
|
|
17560
|
+
readonly name: "setClaimer";
|
|
17561
|
+
readonly inputs: readonly [{
|
|
17562
|
+
readonly name: "user";
|
|
17563
|
+
readonly type: "address";
|
|
17564
|
+
readonly internalType: "address";
|
|
17565
|
+
}, {
|
|
17566
|
+
readonly name: "claimer";
|
|
17567
|
+
readonly type: "address";
|
|
17568
|
+
readonly internalType: "address";
|
|
17569
|
+
}, {
|
|
17570
|
+
readonly name: "flag";
|
|
17571
|
+
readonly type: "bool";
|
|
17572
|
+
readonly internalType: "bool";
|
|
17573
|
+
}];
|
|
17574
|
+
readonly outputs: readonly [];
|
|
17575
|
+
readonly stateMutability: "nonpayable";
|
|
17576
|
+
}, {
|
|
17577
|
+
readonly type: "event";
|
|
17578
|
+
readonly name: "ClaimerSet";
|
|
17579
|
+
readonly inputs: readonly [{
|
|
17580
|
+
readonly name: "user";
|
|
17581
|
+
readonly type: "address";
|
|
17582
|
+
readonly indexed: true;
|
|
17583
|
+
readonly internalType: "address";
|
|
17584
|
+
}, {
|
|
17585
|
+
readonly name: "claimer";
|
|
17586
|
+
readonly type: "address";
|
|
17587
|
+
readonly indexed: true;
|
|
17588
|
+
readonly internalType: "address";
|
|
17589
|
+
}, {
|
|
17590
|
+
readonly name: "caller";
|
|
17591
|
+
readonly type: "address";
|
|
17592
|
+
readonly indexed: true;
|
|
17593
|
+
readonly internalType: "address";
|
|
17594
|
+
}, {
|
|
17595
|
+
readonly name: "flag";
|
|
17596
|
+
readonly type: "bool";
|
|
17597
|
+
readonly indexed: false;
|
|
17598
|
+
readonly internalType: "bool";
|
|
17599
|
+
}];
|
|
17600
|
+
readonly anonymous: false;
|
|
17601
|
+
}, {
|
|
17602
|
+
readonly type: "error";
|
|
17603
|
+
readonly name: "ClaimerNotAuthorized";
|
|
17604
|
+
readonly inputs: readonly [{
|
|
17605
|
+
readonly name: "claimer";
|
|
17606
|
+
readonly type: "address";
|
|
17607
|
+
readonly internalType: "address";
|
|
17608
|
+
}, {
|
|
17609
|
+
readonly name: "user";
|
|
17610
|
+
readonly type: "address";
|
|
17611
|
+
readonly internalType: "address";
|
|
17612
|
+
}];
|
|
17613
|
+
}, {
|
|
17614
|
+
readonly type: "error";
|
|
17615
|
+
readonly name: "ExpiredSignature";
|
|
17616
|
+
readonly inputs: readonly [{
|
|
17617
|
+
readonly name: "deadline";
|
|
17618
|
+
readonly type: "uint256";
|
|
17619
|
+
readonly internalType: "uint256";
|
|
17620
|
+
}];
|
|
17621
|
+
}, {
|
|
17622
|
+
readonly type: "error";
|
|
17623
|
+
readonly name: "InvalidSigner";
|
|
17624
|
+
readonly inputs: readonly [{
|
|
17625
|
+
readonly name: "signer";
|
|
17626
|
+
readonly type: "address";
|
|
17627
|
+
readonly internalType: "address";
|
|
17628
|
+
}, {
|
|
17629
|
+
readonly name: "owner";
|
|
17630
|
+
readonly type: "address";
|
|
17631
|
+
readonly internalType: "address";
|
|
17632
|
+
}];
|
|
17633
|
+
}, {
|
|
17634
|
+
readonly type: "error";
|
|
17635
|
+
readonly name: "LengthsDontMatch";
|
|
17636
|
+
readonly inputs: readonly [];
|
|
17637
|
+
}, {
|
|
17638
|
+
readonly type: "error";
|
|
17639
|
+
readonly name: "ZeroAddress";
|
|
17640
|
+
readonly inputs: readonly [];
|
|
17641
|
+
}];
|
|
17642
|
+
|
|
17643
|
+
declare const IWrappedTokenGatewayV3_ABI: readonly [{
|
|
17644
|
+
readonly type: "function";
|
|
17645
|
+
readonly name: "POOL";
|
|
17646
|
+
readonly inputs: readonly [];
|
|
17647
|
+
readonly outputs: readonly [{
|
|
17648
|
+
readonly name: "";
|
|
17649
|
+
readonly type: "address";
|
|
17650
|
+
readonly internalType: "contract IPool";
|
|
17651
|
+
}];
|
|
17652
|
+
readonly stateMutability: "view";
|
|
17653
|
+
}, {
|
|
17654
|
+
readonly type: "function";
|
|
17655
|
+
readonly name: "WETH";
|
|
17656
|
+
readonly inputs: readonly [];
|
|
17657
|
+
readonly outputs: readonly [{
|
|
17658
|
+
readonly name: "";
|
|
17659
|
+
readonly type: "address";
|
|
17660
|
+
readonly internalType: "contract IWETH";
|
|
17661
|
+
}];
|
|
17662
|
+
readonly stateMutability: "view";
|
|
17663
|
+
}, {
|
|
17664
|
+
readonly type: "function";
|
|
17665
|
+
readonly name: "borrowETH";
|
|
17666
|
+
readonly inputs: readonly [{
|
|
17667
|
+
readonly name: "pool";
|
|
17668
|
+
readonly type: "address";
|
|
17669
|
+
readonly internalType: "address";
|
|
17670
|
+
}, {
|
|
17671
|
+
readonly name: "amount";
|
|
17672
|
+
readonly type: "uint256";
|
|
17673
|
+
readonly internalType: "uint256";
|
|
17674
|
+
}, {
|
|
17675
|
+
readonly name: "referralCode";
|
|
17676
|
+
readonly type: "uint16";
|
|
17677
|
+
readonly internalType: "uint16";
|
|
17678
|
+
}];
|
|
17679
|
+
readonly outputs: readonly [];
|
|
17680
|
+
readonly stateMutability: "nonpayable";
|
|
17681
|
+
}, {
|
|
17682
|
+
readonly type: "function";
|
|
17683
|
+
readonly name: "depositETH";
|
|
17684
|
+
readonly inputs: readonly [{
|
|
17685
|
+
readonly name: "pool";
|
|
17686
|
+
readonly type: "address";
|
|
17687
|
+
readonly internalType: "address";
|
|
17688
|
+
}, {
|
|
17689
|
+
readonly name: "onBehalfOf";
|
|
17690
|
+
readonly type: "address";
|
|
17691
|
+
readonly internalType: "address";
|
|
17692
|
+
}, {
|
|
17693
|
+
readonly name: "referralCode";
|
|
17694
|
+
readonly type: "uint16";
|
|
17695
|
+
readonly internalType: "uint16";
|
|
17696
|
+
}];
|
|
17697
|
+
readonly outputs: readonly [];
|
|
17698
|
+
readonly stateMutability: "payable";
|
|
17699
|
+
}, {
|
|
17700
|
+
readonly type: "function";
|
|
17701
|
+
readonly name: "repayETH";
|
|
17702
|
+
readonly inputs: readonly [{
|
|
17703
|
+
readonly name: "pool";
|
|
17704
|
+
readonly type: "address";
|
|
17705
|
+
readonly internalType: "address";
|
|
17706
|
+
}, {
|
|
17707
|
+
readonly name: "amount";
|
|
17708
|
+
readonly type: "uint256";
|
|
17709
|
+
readonly internalType: "uint256";
|
|
17710
|
+
}, {
|
|
17711
|
+
readonly name: "onBehalfOf";
|
|
17712
|
+
readonly type: "address";
|
|
17713
|
+
readonly internalType: "address";
|
|
17714
|
+
}];
|
|
17715
|
+
readonly outputs: readonly [];
|
|
17716
|
+
readonly stateMutability: "payable";
|
|
17717
|
+
}, {
|
|
17718
|
+
readonly type: "function";
|
|
17719
|
+
readonly name: "withdrawETH";
|
|
17720
|
+
readonly inputs: readonly [{
|
|
17721
|
+
readonly name: "pool";
|
|
17722
|
+
readonly type: "address";
|
|
17723
|
+
readonly internalType: "address";
|
|
17724
|
+
}, {
|
|
17725
|
+
readonly name: "amount";
|
|
17726
|
+
readonly type: "uint256";
|
|
17727
|
+
readonly internalType: "uint256";
|
|
17728
|
+
}, {
|
|
17729
|
+
readonly name: "onBehalfOf";
|
|
17730
|
+
readonly type: "address";
|
|
17731
|
+
readonly internalType: "address";
|
|
17732
|
+
}];
|
|
17733
|
+
readonly outputs: readonly [];
|
|
17734
|
+
readonly stateMutability: "nonpayable";
|
|
17735
|
+
}, {
|
|
17736
|
+
readonly type: "function";
|
|
17737
|
+
readonly name: "withdrawETHWithPermit";
|
|
17738
|
+
readonly inputs: readonly [{
|
|
17739
|
+
readonly name: "pool";
|
|
17740
|
+
readonly type: "address";
|
|
17741
|
+
readonly internalType: "address";
|
|
17742
|
+
}, {
|
|
17743
|
+
readonly name: "amount";
|
|
17744
|
+
readonly type: "uint256";
|
|
17745
|
+
readonly internalType: "uint256";
|
|
17746
|
+
}, {
|
|
17747
|
+
readonly name: "to";
|
|
17748
|
+
readonly type: "address";
|
|
17749
|
+
readonly internalType: "address";
|
|
17750
|
+
}, {
|
|
17751
|
+
readonly name: "deadline";
|
|
17752
|
+
readonly type: "uint256";
|
|
17753
|
+
readonly internalType: "uint256";
|
|
17754
|
+
}, {
|
|
17755
|
+
readonly name: "permitV";
|
|
17756
|
+
readonly type: "uint8";
|
|
17757
|
+
readonly internalType: "uint8";
|
|
17758
|
+
}, {
|
|
17759
|
+
readonly name: "permitR";
|
|
17760
|
+
readonly type: "bytes32";
|
|
17761
|
+
readonly internalType: "bytes32";
|
|
17762
|
+
}, {
|
|
17763
|
+
readonly name: "permitS";
|
|
17764
|
+
readonly type: "bytes32";
|
|
17765
|
+
readonly internalType: "bytes32";
|
|
17766
|
+
}];
|
|
17767
|
+
readonly outputs: readonly [];
|
|
17768
|
+
readonly stateMutability: "nonpayable";
|
|
17769
|
+
}];
|
|
17770
|
+
|
|
17771
|
+
declare const Umbrella_IRewardsController_ABI: readonly [{
|
|
17772
|
+
readonly type: "function";
|
|
17773
|
+
readonly name: "calculateCurrentEmission";
|
|
17774
|
+
readonly inputs: readonly [{
|
|
17775
|
+
readonly name: "asset";
|
|
17776
|
+
readonly type: "address";
|
|
17777
|
+
readonly internalType: "address";
|
|
17778
|
+
}, {
|
|
17779
|
+
readonly name: "reward";
|
|
17780
|
+
readonly type: "address";
|
|
17781
|
+
readonly internalType: "address";
|
|
17782
|
+
}];
|
|
17783
|
+
readonly outputs: readonly [{
|
|
17784
|
+
readonly name: "emissionPerSecond";
|
|
17785
|
+
readonly type: "uint256";
|
|
17786
|
+
readonly internalType: "uint256";
|
|
17787
|
+
}];
|
|
17788
|
+
readonly stateMutability: "view";
|
|
17789
|
+
}, {
|
|
17790
|
+
readonly type: "function";
|
|
17791
|
+
readonly name: "calculateCurrentEmissionScaled";
|
|
17792
|
+
readonly inputs: readonly [{
|
|
17793
|
+
readonly name: "asset";
|
|
17794
|
+
readonly type: "address";
|
|
17795
|
+
readonly internalType: "address";
|
|
17796
|
+
}, {
|
|
17797
|
+
readonly name: "reward";
|
|
17798
|
+
readonly type: "address";
|
|
17799
|
+
readonly internalType: "address";
|
|
17800
|
+
}];
|
|
17801
|
+
readonly outputs: readonly [{
|
|
17802
|
+
readonly name: "emissionPerSecondScaled";
|
|
17803
|
+
readonly type: "uint256";
|
|
17804
|
+
readonly internalType: "uint256";
|
|
17805
|
+
}];
|
|
17806
|
+
readonly stateMutability: "view";
|
|
17807
|
+
}, {
|
|
17808
|
+
readonly type: "function";
|
|
17809
|
+
readonly name: "calculateCurrentUserReward";
|
|
17810
|
+
readonly inputs: readonly [{
|
|
17811
|
+
readonly name: "asset";
|
|
17812
|
+
readonly type: "address";
|
|
17813
|
+
readonly internalType: "address";
|
|
17814
|
+
}, {
|
|
17815
|
+
readonly name: "reward";
|
|
17816
|
+
readonly type: "address";
|
|
17817
|
+
readonly internalType: "address";
|
|
17818
|
+
}, {
|
|
17819
|
+
readonly name: "user";
|
|
17820
|
+
readonly type: "address";
|
|
17821
|
+
readonly internalType: "address";
|
|
17822
|
+
}];
|
|
17823
|
+
readonly outputs: readonly [{
|
|
17824
|
+
readonly name: "rewardAccrued";
|
|
17825
|
+
readonly type: "uint256";
|
|
17826
|
+
readonly internalType: "uint256";
|
|
17827
|
+
}];
|
|
17828
|
+
readonly stateMutability: "view";
|
|
17829
|
+
}, {
|
|
17830
|
+
readonly type: "function";
|
|
17831
|
+
readonly name: "calculateCurrentUserRewards";
|
|
17832
|
+
readonly inputs: readonly [{
|
|
17833
|
+
readonly name: "asset";
|
|
17834
|
+
readonly type: "address";
|
|
17835
|
+
readonly internalType: "address";
|
|
17836
|
+
}, {
|
|
17837
|
+
readonly name: "user";
|
|
17838
|
+
readonly type: "address";
|
|
17839
|
+
readonly internalType: "address";
|
|
17840
|
+
}];
|
|
17841
|
+
readonly outputs: readonly [{
|
|
17842
|
+
readonly name: "rewards";
|
|
17843
|
+
readonly type: "address[]";
|
|
17844
|
+
readonly internalType: "address[]";
|
|
17845
|
+
}, {
|
|
17846
|
+
readonly name: "rewardsAccrued";
|
|
17847
|
+
readonly type: "uint256[]";
|
|
17848
|
+
readonly internalType: "uint256[]";
|
|
17849
|
+
}];
|
|
17850
|
+
readonly stateMutability: "view";
|
|
17851
|
+
}, {
|
|
17852
|
+
readonly type: "function";
|
|
17853
|
+
readonly name: "calculateRewardIndex";
|
|
17854
|
+
readonly inputs: readonly [{
|
|
17855
|
+
readonly name: "asset";
|
|
17856
|
+
readonly type: "address";
|
|
17857
|
+
readonly internalType: "address";
|
|
17858
|
+
}, {
|
|
17859
|
+
readonly name: "reward";
|
|
17860
|
+
readonly type: "address";
|
|
17861
|
+
readonly internalType: "address";
|
|
17862
|
+
}];
|
|
17863
|
+
readonly outputs: readonly [{
|
|
17864
|
+
readonly name: "index";
|
|
17865
|
+
readonly type: "uint256";
|
|
17866
|
+
readonly internalType: "uint256";
|
|
17867
|
+
}];
|
|
17868
|
+
readonly stateMutability: "view";
|
|
17869
|
+
}, {
|
|
17870
|
+
readonly type: "function";
|
|
17871
|
+
readonly name: "calculateRewardIndexes";
|
|
17872
|
+
readonly inputs: readonly [{
|
|
17873
|
+
readonly name: "asset";
|
|
17874
|
+
readonly type: "address";
|
|
17875
|
+
readonly internalType: "address";
|
|
17876
|
+
}];
|
|
17877
|
+
readonly outputs: readonly [{
|
|
17878
|
+
readonly name: "rewards";
|
|
17879
|
+
readonly type: "address[]";
|
|
17880
|
+
readonly internalType: "address[]";
|
|
17881
|
+
}, {
|
|
17882
|
+
readonly name: "indexes";
|
|
17883
|
+
readonly type: "uint256[]";
|
|
17884
|
+
readonly internalType: "uint256[]";
|
|
17885
|
+
}];
|
|
17886
|
+
readonly stateMutability: "view";
|
|
17887
|
+
}, {
|
|
17888
|
+
readonly type: "function";
|
|
17889
|
+
readonly name: "claimAllRewards";
|
|
17890
|
+
readonly inputs: readonly [{
|
|
17891
|
+
readonly name: "asset";
|
|
17892
|
+
readonly type: "address";
|
|
17893
|
+
readonly internalType: "address";
|
|
17894
|
+
}, {
|
|
17895
|
+
readonly name: "receiver";
|
|
17896
|
+
readonly type: "address";
|
|
17897
|
+
readonly internalType: "address";
|
|
17898
|
+
}];
|
|
17899
|
+
readonly outputs: readonly [{
|
|
17900
|
+
readonly name: "rewards";
|
|
17901
|
+
readonly type: "address[]";
|
|
17902
|
+
readonly internalType: "address[]";
|
|
17903
|
+
}, {
|
|
17904
|
+
readonly name: "amounts";
|
|
17905
|
+
readonly type: "uint256[]";
|
|
17906
|
+
readonly internalType: "uint256[]";
|
|
17907
|
+
}];
|
|
17908
|
+
readonly stateMutability: "nonpayable";
|
|
17909
|
+
}, {
|
|
17910
|
+
readonly type: "function";
|
|
17911
|
+
readonly name: "claimAllRewards";
|
|
17912
|
+
readonly inputs: readonly [{
|
|
17913
|
+
readonly name: "assets";
|
|
17914
|
+
readonly type: "address[]";
|
|
17915
|
+
readonly internalType: "address[]";
|
|
17916
|
+
}, {
|
|
17917
|
+
readonly name: "receiver";
|
|
17918
|
+
readonly type: "address";
|
|
17919
|
+
readonly internalType: "address";
|
|
17920
|
+
}];
|
|
17921
|
+
readonly outputs: readonly [{
|
|
17922
|
+
readonly name: "rewards";
|
|
17923
|
+
readonly type: "address[][]";
|
|
17924
|
+
readonly internalType: "address[][]";
|
|
17925
|
+
}, {
|
|
17926
|
+
readonly name: "amounts";
|
|
17927
|
+
readonly type: "uint256[][]";
|
|
17928
|
+
readonly internalType: "uint256[][]";
|
|
17929
|
+
}];
|
|
17930
|
+
readonly stateMutability: "nonpayable";
|
|
17931
|
+
}, {
|
|
17932
|
+
readonly type: "function";
|
|
17933
|
+
readonly name: "claimAllRewardsOnBehalf";
|
|
17934
|
+
readonly inputs: readonly [{
|
|
17935
|
+
readonly name: "assets";
|
|
17936
|
+
readonly type: "address[]";
|
|
17937
|
+
readonly internalType: "address[]";
|
|
17938
|
+
}, {
|
|
17939
|
+
readonly name: "user";
|
|
17940
|
+
readonly type: "address";
|
|
17941
|
+
readonly internalType: "address";
|
|
17942
|
+
}, {
|
|
17943
|
+
readonly name: "receiver";
|
|
17944
|
+
readonly type: "address";
|
|
17945
|
+
readonly internalType: "address";
|
|
17946
|
+
}];
|
|
17947
|
+
readonly outputs: readonly [{
|
|
17948
|
+
readonly name: "rewards";
|
|
17949
|
+
readonly type: "address[][]";
|
|
17950
|
+
readonly internalType: "address[][]";
|
|
17951
|
+
}, {
|
|
17952
|
+
readonly name: "amounts";
|
|
17953
|
+
readonly type: "uint256[][]";
|
|
17954
|
+
readonly internalType: "uint256[][]";
|
|
17955
|
+
}];
|
|
17956
|
+
readonly stateMutability: "nonpayable";
|
|
17957
|
+
}, {
|
|
17958
|
+
readonly type: "function";
|
|
17959
|
+
readonly name: "claimAllRewardsOnBehalf";
|
|
17960
|
+
readonly inputs: readonly [{
|
|
17961
|
+
readonly name: "asset";
|
|
17962
|
+
readonly type: "address";
|
|
17963
|
+
readonly internalType: "address";
|
|
17964
|
+
}, {
|
|
17965
|
+
readonly name: "user";
|
|
17966
|
+
readonly type: "address";
|
|
17967
|
+
readonly internalType: "address";
|
|
17968
|
+
}, {
|
|
17969
|
+
readonly name: "receiver";
|
|
17970
|
+
readonly type: "address";
|
|
17971
|
+
readonly internalType: "address";
|
|
17972
|
+
}];
|
|
17973
|
+
readonly outputs: readonly [{
|
|
17974
|
+
readonly name: "rewards";
|
|
17975
|
+
readonly type: "address[]";
|
|
17976
|
+
readonly internalType: "address[]";
|
|
17977
|
+
}, {
|
|
17978
|
+
readonly name: "amounts";
|
|
17979
|
+
readonly type: "uint256[]";
|
|
17980
|
+
readonly internalType: "uint256[]";
|
|
17981
|
+
}];
|
|
17982
|
+
readonly stateMutability: "nonpayable";
|
|
17983
|
+
}, {
|
|
17984
|
+
readonly type: "function";
|
|
17985
|
+
readonly name: "claimAllRewardsPermit";
|
|
17986
|
+
readonly inputs: readonly [{
|
|
17987
|
+
readonly name: "asset";
|
|
17988
|
+
readonly type: "address";
|
|
17989
|
+
readonly internalType: "address";
|
|
17990
|
+
}, {
|
|
17991
|
+
readonly name: "user";
|
|
17992
|
+
readonly type: "address";
|
|
17993
|
+
readonly internalType: "address";
|
|
17994
|
+
}, {
|
|
17995
|
+
readonly name: "receiver";
|
|
17996
|
+
readonly type: "address";
|
|
17997
|
+
readonly internalType: "address";
|
|
17998
|
+
}, {
|
|
17999
|
+
readonly name: "deadline";
|
|
18000
|
+
readonly type: "uint256";
|
|
18001
|
+
readonly internalType: "uint256";
|
|
18002
|
+
}, {
|
|
18003
|
+
readonly name: "sig";
|
|
18004
|
+
readonly type: "tuple";
|
|
18005
|
+
readonly internalType: "struct IRewardsStructs.SignatureParams";
|
|
18006
|
+
readonly components: readonly [{
|
|
18007
|
+
readonly name: "v";
|
|
18008
|
+
readonly type: "uint8";
|
|
18009
|
+
readonly internalType: "uint8";
|
|
18010
|
+
}, {
|
|
18011
|
+
readonly name: "r";
|
|
18012
|
+
readonly type: "bytes32";
|
|
18013
|
+
readonly internalType: "bytes32";
|
|
18014
|
+
}, {
|
|
18015
|
+
readonly name: "s";
|
|
18016
|
+
readonly type: "bytes32";
|
|
18017
|
+
readonly internalType: "bytes32";
|
|
18018
|
+
}];
|
|
18019
|
+
}];
|
|
18020
|
+
readonly outputs: readonly [{
|
|
18021
|
+
readonly name: "rewards";
|
|
18022
|
+
readonly type: "address[]";
|
|
18023
|
+
readonly internalType: "address[]";
|
|
18024
|
+
}, {
|
|
18025
|
+
readonly name: "amounts";
|
|
18026
|
+
readonly type: "uint256[]";
|
|
18027
|
+
readonly internalType: "uint256[]";
|
|
18028
|
+
}];
|
|
18029
|
+
readonly stateMutability: "nonpayable";
|
|
18030
|
+
}, {
|
|
18031
|
+
readonly type: "function";
|
|
18032
|
+
readonly name: "claimSelectedRewards";
|
|
18033
|
+
readonly inputs: readonly [{
|
|
18034
|
+
readonly name: "assets";
|
|
18035
|
+
readonly type: "address[]";
|
|
18036
|
+
readonly internalType: "address[]";
|
|
18037
|
+
}, {
|
|
18038
|
+
readonly name: "rewards";
|
|
18039
|
+
readonly type: "address[][]";
|
|
18040
|
+
readonly internalType: "address[][]";
|
|
18041
|
+
}, {
|
|
18042
|
+
readonly name: "receiver";
|
|
18043
|
+
readonly type: "address";
|
|
18044
|
+
readonly internalType: "address";
|
|
18045
|
+
}];
|
|
18046
|
+
readonly outputs: readonly [{
|
|
18047
|
+
readonly name: "";
|
|
18048
|
+
readonly type: "uint256[][]";
|
|
18049
|
+
readonly internalType: "uint256[][]";
|
|
18050
|
+
}];
|
|
18051
|
+
readonly stateMutability: "nonpayable";
|
|
18052
|
+
}, {
|
|
18053
|
+
readonly type: "function";
|
|
18054
|
+
readonly name: "claimSelectedRewards";
|
|
18055
|
+
readonly inputs: readonly [{
|
|
18056
|
+
readonly name: "asset";
|
|
18057
|
+
readonly type: "address";
|
|
18058
|
+
readonly internalType: "address";
|
|
18059
|
+
}, {
|
|
18060
|
+
readonly name: "rewards";
|
|
18061
|
+
readonly type: "address[]";
|
|
18062
|
+
readonly internalType: "address[]";
|
|
18063
|
+
}, {
|
|
18064
|
+
readonly name: "receiver";
|
|
18065
|
+
readonly type: "address";
|
|
18066
|
+
readonly internalType: "address";
|
|
18067
|
+
}];
|
|
18068
|
+
readonly outputs: readonly [{
|
|
18069
|
+
readonly name: "amounts";
|
|
18070
|
+
readonly type: "uint256[]";
|
|
18071
|
+
readonly internalType: "uint256[]";
|
|
18072
|
+
}];
|
|
18073
|
+
readonly stateMutability: "nonpayable";
|
|
18074
|
+
}, {
|
|
18075
|
+
readonly type: "function";
|
|
18076
|
+
readonly name: "claimSelectedRewardsOnBehalf";
|
|
18077
|
+
readonly inputs: readonly [{
|
|
18078
|
+
readonly name: "asset";
|
|
18079
|
+
readonly type: "address";
|
|
18080
|
+
readonly internalType: "address";
|
|
18081
|
+
}, {
|
|
18082
|
+
readonly name: "rewards";
|
|
18083
|
+
readonly type: "address[]";
|
|
18084
|
+
readonly internalType: "address[]";
|
|
18085
|
+
}, {
|
|
18086
|
+
readonly name: "user";
|
|
18087
|
+
readonly type: "address";
|
|
18088
|
+
readonly internalType: "address";
|
|
18089
|
+
}, {
|
|
18090
|
+
readonly name: "receiver";
|
|
18091
|
+
readonly type: "address";
|
|
18092
|
+
readonly internalType: "address";
|
|
18093
|
+
}];
|
|
18094
|
+
readonly outputs: readonly [{
|
|
18095
|
+
readonly name: "amounts";
|
|
18096
|
+
readonly type: "uint256[]";
|
|
18097
|
+
readonly internalType: "uint256[]";
|
|
18098
|
+
}];
|
|
18099
|
+
readonly stateMutability: "nonpayable";
|
|
18100
|
+
}, {
|
|
18101
|
+
readonly type: "function";
|
|
18102
|
+
readonly name: "claimSelectedRewardsOnBehalf";
|
|
18103
|
+
readonly inputs: readonly [{
|
|
18104
|
+
readonly name: "assets";
|
|
18105
|
+
readonly type: "address[]";
|
|
18106
|
+
readonly internalType: "address[]";
|
|
18107
|
+
}, {
|
|
18108
|
+
readonly name: "rewards";
|
|
18109
|
+
readonly type: "address[][]";
|
|
18110
|
+
readonly internalType: "address[][]";
|
|
18111
|
+
}, {
|
|
18112
|
+
readonly name: "user";
|
|
18113
|
+
readonly type: "address";
|
|
18114
|
+
readonly internalType: "address";
|
|
18115
|
+
}, {
|
|
18116
|
+
readonly name: "receiver";
|
|
18117
|
+
readonly type: "address";
|
|
18118
|
+
readonly internalType: "address";
|
|
18119
|
+
}];
|
|
18120
|
+
readonly outputs: readonly [{
|
|
18121
|
+
readonly name: "";
|
|
18122
|
+
readonly type: "uint256[][]";
|
|
18123
|
+
readonly internalType: "uint256[][]";
|
|
18124
|
+
}];
|
|
18125
|
+
readonly stateMutability: "nonpayable";
|
|
18126
|
+
}, {
|
|
18127
|
+
readonly type: "function";
|
|
18128
|
+
readonly name: "claimSelectedRewardsPermit";
|
|
18129
|
+
readonly inputs: readonly [{
|
|
18130
|
+
readonly name: "asset";
|
|
18131
|
+
readonly type: "address";
|
|
18132
|
+
readonly internalType: "address";
|
|
18133
|
+
}, {
|
|
18134
|
+
readonly name: "rewards";
|
|
18135
|
+
readonly type: "address[]";
|
|
18136
|
+
readonly internalType: "address[]";
|
|
18137
|
+
}, {
|
|
18138
|
+
readonly name: "user";
|
|
18139
|
+
readonly type: "address";
|
|
18140
|
+
readonly internalType: "address";
|
|
18141
|
+
}, {
|
|
18142
|
+
readonly name: "receiver";
|
|
18143
|
+
readonly type: "address";
|
|
18144
|
+
readonly internalType: "address";
|
|
18145
|
+
}, {
|
|
18146
|
+
readonly name: "deadline";
|
|
18147
|
+
readonly type: "uint256";
|
|
18148
|
+
readonly internalType: "uint256";
|
|
18149
|
+
}, {
|
|
18150
|
+
readonly name: "sig";
|
|
18151
|
+
readonly type: "tuple";
|
|
18152
|
+
readonly internalType: "struct IRewardsStructs.SignatureParams";
|
|
18153
|
+
readonly components: readonly [{
|
|
18154
|
+
readonly name: "v";
|
|
18155
|
+
readonly type: "uint8";
|
|
18156
|
+
readonly internalType: "uint8";
|
|
18157
|
+
}, {
|
|
18158
|
+
readonly name: "r";
|
|
18159
|
+
readonly type: "bytes32";
|
|
18160
|
+
readonly internalType: "bytes32";
|
|
18161
|
+
}, {
|
|
18162
|
+
readonly name: "s";
|
|
18163
|
+
readonly type: "bytes32";
|
|
18164
|
+
readonly internalType: "bytes32";
|
|
18165
|
+
}];
|
|
18166
|
+
}];
|
|
18167
|
+
readonly outputs: readonly [{
|
|
18168
|
+
readonly name: "amounts";
|
|
18169
|
+
readonly type: "uint256[]";
|
|
18170
|
+
readonly internalType: "uint256[]";
|
|
18171
|
+
}];
|
|
18172
|
+
readonly stateMutability: "nonpayable";
|
|
18173
|
+
}, {
|
|
18174
|
+
readonly type: "function";
|
|
18175
|
+
readonly name: "configureAssetWithRewards";
|
|
18176
|
+
readonly inputs: readonly [{
|
|
18177
|
+
readonly name: "asset";
|
|
18178
|
+
readonly type: "address";
|
|
18179
|
+
readonly internalType: "address";
|
|
18180
|
+
}, {
|
|
18181
|
+
readonly name: "targetLiquidity";
|
|
18182
|
+
readonly type: "uint256";
|
|
18183
|
+
readonly internalType: "uint256";
|
|
18184
|
+
}, {
|
|
18185
|
+
readonly name: "rewardConfigs";
|
|
18186
|
+
readonly type: "tuple[]";
|
|
18187
|
+
readonly internalType: "struct IRewardsStructs.RewardSetupConfig[]";
|
|
18188
|
+
readonly components: readonly [{
|
|
18189
|
+
readonly name: "reward";
|
|
18190
|
+
readonly type: "address";
|
|
18191
|
+
readonly internalType: "address";
|
|
18192
|
+
}, {
|
|
18193
|
+
readonly name: "rewardPayer";
|
|
18194
|
+
readonly type: "address";
|
|
18195
|
+
readonly internalType: "address";
|
|
18196
|
+
}, {
|
|
18197
|
+
readonly name: "maxEmissionPerSecond";
|
|
18198
|
+
readonly type: "uint256";
|
|
18199
|
+
readonly internalType: "uint256";
|
|
18200
|
+
}, {
|
|
18201
|
+
readonly name: "distributionEnd";
|
|
18202
|
+
readonly type: "uint256";
|
|
18203
|
+
readonly internalType: "uint256";
|
|
18204
|
+
}];
|
|
18205
|
+
}];
|
|
18206
|
+
readonly outputs: readonly [];
|
|
18207
|
+
readonly stateMutability: "nonpayable";
|
|
18208
|
+
}, {
|
|
18209
|
+
readonly type: "function";
|
|
18210
|
+
readonly name: "configureRewards";
|
|
18211
|
+
readonly inputs: readonly [{
|
|
18212
|
+
readonly name: "asset";
|
|
18213
|
+
readonly type: "address";
|
|
18214
|
+
readonly internalType: "address";
|
|
18215
|
+
}, {
|
|
18216
|
+
readonly name: "rewardConfigs";
|
|
18217
|
+
readonly type: "tuple[]";
|
|
18218
|
+
readonly internalType: "struct IRewardsStructs.RewardSetupConfig[]";
|
|
18219
|
+
readonly components: readonly [{
|
|
18220
|
+
readonly name: "reward";
|
|
18221
|
+
readonly type: "address";
|
|
18222
|
+
readonly internalType: "address";
|
|
18223
|
+
}, {
|
|
18224
|
+
readonly name: "rewardPayer";
|
|
18225
|
+
readonly type: "address";
|
|
18226
|
+
readonly internalType: "address";
|
|
18227
|
+
}, {
|
|
18228
|
+
readonly name: "maxEmissionPerSecond";
|
|
18229
|
+
readonly type: "uint256";
|
|
18230
|
+
readonly internalType: "uint256";
|
|
18231
|
+
}, {
|
|
18232
|
+
readonly name: "distributionEnd";
|
|
18233
|
+
readonly type: "uint256";
|
|
18234
|
+
readonly internalType: "uint256";
|
|
18235
|
+
}];
|
|
18236
|
+
}];
|
|
18237
|
+
readonly outputs: readonly [];
|
|
18238
|
+
readonly stateMutability: "nonpayable";
|
|
18239
|
+
}, {
|
|
18240
|
+
readonly type: "function";
|
|
18241
|
+
readonly name: "getAllAssets";
|
|
18242
|
+
readonly inputs: readonly [];
|
|
18243
|
+
readonly outputs: readonly [{
|
|
18244
|
+
readonly name: "assets";
|
|
18245
|
+
readonly type: "address[]";
|
|
18246
|
+
readonly internalType: "address[]";
|
|
18247
|
+
}];
|
|
18248
|
+
readonly stateMutability: "view";
|
|
18249
|
+
}, {
|
|
18250
|
+
readonly type: "function";
|
|
18251
|
+
readonly name: "getAllRewards";
|
|
18252
|
+
readonly inputs: readonly [{
|
|
18253
|
+
readonly name: "asset";
|
|
18254
|
+
readonly type: "address";
|
|
18255
|
+
readonly internalType: "address";
|
|
18256
|
+
}];
|
|
18257
|
+
readonly outputs: readonly [{
|
|
18258
|
+
readonly name: "rewards";
|
|
18259
|
+
readonly type: "address[]";
|
|
18260
|
+
readonly internalType: "address[]";
|
|
18261
|
+
}];
|
|
18262
|
+
readonly stateMutability: "view";
|
|
18263
|
+
}, {
|
|
18264
|
+
readonly type: "function";
|
|
18265
|
+
readonly name: "getAssetAndRewardsData";
|
|
18266
|
+
readonly inputs: readonly [{
|
|
18267
|
+
readonly name: "asset";
|
|
18268
|
+
readonly type: "address";
|
|
18269
|
+
readonly internalType: "address";
|
|
18270
|
+
}];
|
|
18271
|
+
readonly outputs: readonly [{
|
|
18272
|
+
readonly name: "assetData";
|
|
18273
|
+
readonly type: "tuple";
|
|
18274
|
+
readonly internalType: "struct IRewardsStructs.AssetDataExternal";
|
|
18275
|
+
readonly components: readonly [{
|
|
18276
|
+
readonly name: "targetLiquidity";
|
|
18277
|
+
readonly type: "uint256";
|
|
18278
|
+
readonly internalType: "uint256";
|
|
18279
|
+
}, {
|
|
18280
|
+
readonly name: "lastUpdateTimestamp";
|
|
18281
|
+
readonly type: "uint256";
|
|
18282
|
+
readonly internalType: "uint256";
|
|
18283
|
+
}];
|
|
18284
|
+
}, {
|
|
18285
|
+
readonly name: "rewardsData";
|
|
18286
|
+
readonly type: "tuple[]";
|
|
18287
|
+
readonly internalType: "struct IRewardsStructs.RewardDataExternal[]";
|
|
18288
|
+
readonly components: readonly [{
|
|
18289
|
+
readonly name: "addr";
|
|
18290
|
+
readonly type: "address";
|
|
18291
|
+
readonly internalType: "address";
|
|
18292
|
+
}, {
|
|
18293
|
+
readonly name: "index";
|
|
18294
|
+
readonly type: "uint256";
|
|
18295
|
+
readonly internalType: "uint256";
|
|
18296
|
+
}, {
|
|
18297
|
+
readonly name: "maxEmissionPerSecond";
|
|
18298
|
+
readonly type: "uint256";
|
|
18299
|
+
readonly internalType: "uint256";
|
|
18300
|
+
}, {
|
|
18301
|
+
readonly name: "distributionEnd";
|
|
18302
|
+
readonly type: "uint256";
|
|
18303
|
+
readonly internalType: "uint256";
|
|
18304
|
+
}];
|
|
18305
|
+
}];
|
|
18306
|
+
readonly stateMutability: "view";
|
|
18307
|
+
}, {
|
|
18308
|
+
readonly type: "function";
|
|
18309
|
+
readonly name: "getAssetData";
|
|
18310
|
+
readonly inputs: readonly [{
|
|
18311
|
+
readonly name: "asset";
|
|
18312
|
+
readonly type: "address";
|
|
18313
|
+
readonly internalType: "address";
|
|
18314
|
+
}];
|
|
18315
|
+
readonly outputs: readonly [{
|
|
18316
|
+
readonly name: "assetData";
|
|
18317
|
+
readonly type: "tuple";
|
|
18318
|
+
readonly internalType: "struct IRewardsStructs.AssetDataExternal";
|
|
18319
|
+
readonly components: readonly [{
|
|
18320
|
+
readonly name: "targetLiquidity";
|
|
18321
|
+
readonly type: "uint256";
|
|
18322
|
+
readonly internalType: "uint256";
|
|
18323
|
+
}, {
|
|
18324
|
+
readonly name: "lastUpdateTimestamp";
|
|
18325
|
+
readonly type: "uint256";
|
|
18326
|
+
readonly internalType: "uint256";
|
|
18327
|
+
}];
|
|
18328
|
+
}];
|
|
18329
|
+
readonly stateMutability: "view";
|
|
18330
|
+
}, {
|
|
18331
|
+
readonly type: "function";
|
|
18332
|
+
readonly name: "getEmissionData";
|
|
18333
|
+
readonly inputs: readonly [{
|
|
18334
|
+
readonly name: "asset";
|
|
18335
|
+
readonly type: "address";
|
|
18336
|
+
readonly internalType: "address";
|
|
18337
|
+
}, {
|
|
18338
|
+
readonly name: "reward";
|
|
18339
|
+
readonly type: "address";
|
|
18340
|
+
readonly internalType: "address";
|
|
18341
|
+
}];
|
|
18342
|
+
readonly outputs: readonly [{
|
|
18343
|
+
readonly name: "emissionData";
|
|
18344
|
+
readonly type: "tuple";
|
|
18345
|
+
readonly internalType: "struct IRewardsStructs.EmissionData";
|
|
18346
|
+
readonly components: readonly [{
|
|
18347
|
+
readonly name: "targetLiquidity";
|
|
18348
|
+
readonly type: "uint256";
|
|
18349
|
+
readonly internalType: "uint256";
|
|
18350
|
+
}, {
|
|
18351
|
+
readonly name: "targetLiquidityExcess";
|
|
18352
|
+
readonly type: "uint256";
|
|
18353
|
+
readonly internalType: "uint256";
|
|
18354
|
+
}, {
|
|
18355
|
+
readonly name: "maxEmission";
|
|
18356
|
+
readonly type: "uint256";
|
|
18357
|
+
readonly internalType: "uint256";
|
|
18358
|
+
}, {
|
|
18359
|
+
readonly name: "flatEmission";
|
|
18360
|
+
readonly type: "uint256";
|
|
18361
|
+
readonly internalType: "uint256";
|
|
18362
|
+
}];
|
|
18363
|
+
}];
|
|
18364
|
+
readonly stateMutability: "view";
|
|
18365
|
+
}, {
|
|
18366
|
+
readonly type: "function";
|
|
18367
|
+
readonly name: "getRewardData";
|
|
18368
|
+
readonly inputs: readonly [{
|
|
18369
|
+
readonly name: "asset";
|
|
18370
|
+
readonly type: "address";
|
|
18371
|
+
readonly internalType: "address";
|
|
18372
|
+
}, {
|
|
18373
|
+
readonly name: "reward";
|
|
18374
|
+
readonly type: "address";
|
|
18375
|
+
readonly internalType: "address";
|
|
18376
|
+
}];
|
|
18377
|
+
readonly outputs: readonly [{
|
|
18378
|
+
readonly name: "rewardData";
|
|
18379
|
+
readonly type: "tuple";
|
|
18380
|
+
readonly internalType: "struct IRewardsStructs.RewardDataExternal";
|
|
18381
|
+
readonly components: readonly [{
|
|
18382
|
+
readonly name: "addr";
|
|
18383
|
+
readonly type: "address";
|
|
18384
|
+
readonly internalType: "address";
|
|
18385
|
+
}, {
|
|
18386
|
+
readonly name: "index";
|
|
18387
|
+
readonly type: "uint256";
|
|
18388
|
+
readonly internalType: "uint256";
|
|
18389
|
+
}, {
|
|
18390
|
+
readonly name: "maxEmissionPerSecond";
|
|
18391
|
+
readonly type: "uint256";
|
|
18392
|
+
readonly internalType: "uint256";
|
|
18393
|
+
}, {
|
|
18394
|
+
readonly name: "distributionEnd";
|
|
18395
|
+
readonly type: "uint256";
|
|
18396
|
+
readonly internalType: "uint256";
|
|
18397
|
+
}];
|
|
18398
|
+
}];
|
|
18399
|
+
readonly stateMutability: "view";
|
|
18400
|
+
}, {
|
|
18401
|
+
readonly type: "function";
|
|
18402
|
+
readonly name: "getUserDataByAsset";
|
|
18403
|
+
readonly inputs: readonly [{
|
|
18404
|
+
readonly name: "asset";
|
|
18405
|
+
readonly type: "address";
|
|
18406
|
+
readonly internalType: "address";
|
|
18407
|
+
}, {
|
|
18408
|
+
readonly name: "user";
|
|
18409
|
+
readonly type: "address";
|
|
18410
|
+
readonly internalType: "address";
|
|
18411
|
+
}];
|
|
18412
|
+
readonly outputs: readonly [{
|
|
18413
|
+
readonly name: "rewards";
|
|
18414
|
+
readonly type: "address[]";
|
|
18415
|
+
readonly internalType: "address[]";
|
|
18416
|
+
}, {
|
|
18417
|
+
readonly name: "userData";
|
|
18418
|
+
readonly type: "tuple[]";
|
|
18419
|
+
readonly internalType: "struct IRewardsStructs.UserDataExternal[]";
|
|
18420
|
+
readonly components: readonly [{
|
|
18421
|
+
readonly name: "index";
|
|
18422
|
+
readonly type: "uint256";
|
|
18423
|
+
readonly internalType: "uint256";
|
|
18424
|
+
}, {
|
|
18425
|
+
readonly name: "accrued";
|
|
18426
|
+
readonly type: "uint256";
|
|
18427
|
+
readonly internalType: "uint256";
|
|
18428
|
+
}];
|
|
18429
|
+
}];
|
|
18430
|
+
readonly stateMutability: "view";
|
|
18431
|
+
}, {
|
|
18432
|
+
readonly type: "function";
|
|
18433
|
+
readonly name: "getUserDataByReward";
|
|
18434
|
+
readonly inputs: readonly [{
|
|
18435
|
+
readonly name: "asset";
|
|
18436
|
+
readonly type: "address";
|
|
18437
|
+
readonly internalType: "address";
|
|
18438
|
+
}, {
|
|
18439
|
+
readonly name: "reward";
|
|
18440
|
+
readonly type: "address";
|
|
18441
|
+
readonly internalType: "address";
|
|
18442
|
+
}, {
|
|
18443
|
+
readonly name: "user";
|
|
18444
|
+
readonly type: "address";
|
|
18445
|
+
readonly internalType: "address";
|
|
18446
|
+
}];
|
|
18447
|
+
readonly outputs: readonly [{
|
|
18448
|
+
readonly name: "data";
|
|
18449
|
+
readonly type: "tuple";
|
|
18450
|
+
readonly internalType: "struct IRewardsStructs.UserDataExternal";
|
|
18451
|
+
readonly components: readonly [{
|
|
18452
|
+
readonly name: "index";
|
|
18453
|
+
readonly type: "uint256";
|
|
18454
|
+
readonly internalType: "uint256";
|
|
18455
|
+
}, {
|
|
18456
|
+
readonly name: "accrued";
|
|
18457
|
+
readonly type: "uint256";
|
|
18458
|
+
readonly internalType: "uint256";
|
|
18459
|
+
}];
|
|
18460
|
+
}];
|
|
18461
|
+
readonly stateMutability: "view";
|
|
18462
|
+
}, {
|
|
18463
|
+
readonly type: "function";
|
|
18464
|
+
readonly name: "handleAction";
|
|
18465
|
+
readonly inputs: readonly [{
|
|
18466
|
+
readonly name: "totalSupply";
|
|
18467
|
+
readonly type: "uint256";
|
|
18468
|
+
readonly internalType: "uint256";
|
|
18469
|
+
}, {
|
|
18470
|
+
readonly name: "totalAssets";
|
|
18471
|
+
readonly type: "uint256";
|
|
18472
|
+
readonly internalType: "uint256";
|
|
18473
|
+
}, {
|
|
18474
|
+
readonly name: "user";
|
|
18475
|
+
readonly type: "address";
|
|
18476
|
+
readonly internalType: "address";
|
|
18477
|
+
}, {
|
|
18478
|
+
readonly name: "userBalance";
|
|
18479
|
+
readonly type: "uint256";
|
|
18480
|
+
readonly internalType: "uint256";
|
|
18481
|
+
}];
|
|
18482
|
+
readonly outputs: readonly [];
|
|
18483
|
+
readonly stateMutability: "nonpayable";
|
|
18484
|
+
}, {
|
|
18485
|
+
readonly type: "function";
|
|
18486
|
+
readonly name: "setClaimer";
|
|
18487
|
+
readonly inputs: readonly [{
|
|
18488
|
+
readonly name: "claimer";
|
|
18489
|
+
readonly type: "address";
|
|
18490
|
+
readonly internalType: "address";
|
|
18491
|
+
}, {
|
|
18492
|
+
readonly name: "flag";
|
|
18493
|
+
readonly type: "bool";
|
|
18494
|
+
readonly internalType: "bool";
|
|
18495
|
+
}];
|
|
18496
|
+
readonly outputs: readonly [];
|
|
18497
|
+
readonly stateMutability: "nonpayable";
|
|
18498
|
+
}, {
|
|
18499
|
+
readonly type: "function";
|
|
18500
|
+
readonly name: "setClaimer";
|
|
18501
|
+
readonly inputs: readonly [{
|
|
18502
|
+
readonly name: "user";
|
|
18503
|
+
readonly type: "address";
|
|
18504
|
+
readonly internalType: "address";
|
|
18505
|
+
}, {
|
|
18506
|
+
readonly name: "claimer";
|
|
18507
|
+
readonly type: "address";
|
|
18508
|
+
readonly internalType: "address";
|
|
18509
|
+
}, {
|
|
18510
|
+
readonly name: "flag";
|
|
18511
|
+
readonly type: "bool";
|
|
18512
|
+
readonly internalType: "bool";
|
|
18513
|
+
}];
|
|
18514
|
+
readonly outputs: readonly [];
|
|
18515
|
+
readonly stateMutability: "nonpayable";
|
|
18516
|
+
}, {
|
|
18517
|
+
readonly type: "function";
|
|
18518
|
+
readonly name: "updateAsset";
|
|
18519
|
+
readonly inputs: readonly [{
|
|
18520
|
+
readonly name: "asset";
|
|
18521
|
+
readonly type: "address";
|
|
18522
|
+
readonly internalType: "address";
|
|
18523
|
+
}];
|
|
18524
|
+
readonly outputs: readonly [];
|
|
18525
|
+
readonly stateMutability: "nonpayable";
|
|
18526
|
+
}, {
|
|
18527
|
+
readonly type: "event";
|
|
18528
|
+
readonly name: "AssetInitialized";
|
|
18529
|
+
readonly inputs: readonly [{
|
|
18530
|
+
readonly name: "asset";
|
|
18531
|
+
readonly type: "address";
|
|
18532
|
+
readonly indexed: true;
|
|
18533
|
+
readonly internalType: "address";
|
|
18534
|
+
}];
|
|
18535
|
+
readonly anonymous: false;
|
|
18536
|
+
}, {
|
|
18537
|
+
readonly type: "event";
|
|
18538
|
+
readonly name: "ClaimerSet";
|
|
18539
|
+
readonly inputs: readonly [{
|
|
18540
|
+
readonly name: "user";
|
|
18541
|
+
readonly type: "address";
|
|
18542
|
+
readonly indexed: true;
|
|
18543
|
+
readonly internalType: "address";
|
|
18544
|
+
}, {
|
|
18545
|
+
readonly name: "claimer";
|
|
17274
18546
|
readonly type: "address";
|
|
17275
|
-
readonly
|
|
18547
|
+
readonly indexed: true;
|
|
18548
|
+
readonly internalType: "address";
|
|
18549
|
+
}, {
|
|
18550
|
+
readonly name: "caller";
|
|
18551
|
+
readonly type: "address";
|
|
18552
|
+
readonly indexed: true;
|
|
18553
|
+
readonly internalType: "address";
|
|
18554
|
+
}, {
|
|
18555
|
+
readonly name: "flag";
|
|
18556
|
+
readonly type: "bool";
|
|
18557
|
+
readonly indexed: false;
|
|
18558
|
+
readonly internalType: "bool";
|
|
17276
18559
|
}];
|
|
17277
|
-
readonly
|
|
18560
|
+
readonly anonymous: false;
|
|
17278
18561
|
}, {
|
|
17279
|
-
readonly type: "
|
|
17280
|
-
readonly name: "
|
|
18562
|
+
readonly type: "event";
|
|
18563
|
+
readonly name: "LastTimestampUpdated";
|
|
17281
18564
|
readonly inputs: readonly [{
|
|
17282
|
-
readonly name: "
|
|
18565
|
+
readonly name: "asset";
|
|
17283
18566
|
readonly type: "address";
|
|
18567
|
+
readonly indexed: true;
|
|
17284
18568
|
readonly internalType: "address";
|
|
17285
18569
|
}, {
|
|
17286
|
-
readonly name: "
|
|
18570
|
+
readonly name: "newTimestamp";
|
|
17287
18571
|
readonly type: "uint256";
|
|
18572
|
+
readonly indexed: false;
|
|
17288
18573
|
readonly internalType: "uint256";
|
|
17289
|
-
}, {
|
|
17290
|
-
readonly name: "referralCode";
|
|
17291
|
-
readonly type: "uint16";
|
|
17292
|
-
readonly internalType: "uint16";
|
|
17293
18574
|
}];
|
|
17294
|
-
readonly
|
|
17295
|
-
readonly stateMutability: "nonpayable";
|
|
18575
|
+
readonly anonymous: false;
|
|
17296
18576
|
}, {
|
|
17297
|
-
readonly type: "
|
|
17298
|
-
readonly name: "
|
|
18577
|
+
readonly type: "event";
|
|
18578
|
+
readonly name: "RewardClaimed";
|
|
17299
18579
|
readonly inputs: readonly [{
|
|
17300
|
-
readonly name: "
|
|
18580
|
+
readonly name: "asset";
|
|
17301
18581
|
readonly type: "address";
|
|
18582
|
+
readonly indexed: true;
|
|
17302
18583
|
readonly internalType: "address";
|
|
17303
18584
|
}, {
|
|
17304
|
-
readonly name: "
|
|
18585
|
+
readonly name: "reward";
|
|
17305
18586
|
readonly type: "address";
|
|
18587
|
+
readonly indexed: true;
|
|
17306
18588
|
readonly internalType: "address";
|
|
17307
18589
|
}, {
|
|
17308
|
-
readonly name: "
|
|
17309
|
-
readonly type: "
|
|
17310
|
-
readonly
|
|
18590
|
+
readonly name: "user";
|
|
18591
|
+
readonly type: "address";
|
|
18592
|
+
readonly indexed: true;
|
|
18593
|
+
readonly internalType: "address";
|
|
18594
|
+
}, {
|
|
18595
|
+
readonly name: "receiver";
|
|
18596
|
+
readonly type: "address";
|
|
18597
|
+
readonly indexed: false;
|
|
18598
|
+
readonly internalType: "address";
|
|
18599
|
+
}, {
|
|
18600
|
+
readonly name: "amount";
|
|
18601
|
+
readonly type: "uint256";
|
|
18602
|
+
readonly indexed: false;
|
|
18603
|
+
readonly internalType: "uint256";
|
|
17311
18604
|
}];
|
|
17312
|
-
readonly
|
|
17313
|
-
readonly stateMutability: "payable";
|
|
18605
|
+
readonly anonymous: false;
|
|
17314
18606
|
}, {
|
|
17315
|
-
readonly type: "
|
|
17316
|
-
readonly name: "
|
|
18607
|
+
readonly type: "event";
|
|
18608
|
+
readonly name: "RewardConfigUpdated";
|
|
17317
18609
|
readonly inputs: readonly [{
|
|
17318
|
-
readonly name: "
|
|
18610
|
+
readonly name: "asset";
|
|
17319
18611
|
readonly type: "address";
|
|
18612
|
+
readonly indexed: true;
|
|
17320
18613
|
readonly internalType: "address";
|
|
17321
18614
|
}, {
|
|
17322
|
-
readonly name: "
|
|
18615
|
+
readonly name: "reward";
|
|
18616
|
+
readonly type: "address";
|
|
18617
|
+
readonly indexed: true;
|
|
18618
|
+
readonly internalType: "address";
|
|
18619
|
+
}, {
|
|
18620
|
+
readonly name: "maxEmissionPerSecond";
|
|
17323
18621
|
readonly type: "uint256";
|
|
18622
|
+
readonly indexed: false;
|
|
17324
18623
|
readonly internalType: "uint256";
|
|
17325
18624
|
}, {
|
|
17326
|
-
readonly name: "
|
|
18625
|
+
readonly name: "distributionEnd";
|
|
18626
|
+
readonly type: "uint256";
|
|
18627
|
+
readonly indexed: false;
|
|
18628
|
+
readonly internalType: "uint256";
|
|
18629
|
+
}, {
|
|
18630
|
+
readonly name: "rewardPayer";
|
|
17327
18631
|
readonly type: "address";
|
|
18632
|
+
readonly indexed: false;
|
|
17328
18633
|
readonly internalType: "address";
|
|
17329
18634
|
}];
|
|
17330
|
-
readonly
|
|
17331
|
-
readonly stateMutability: "payable";
|
|
18635
|
+
readonly anonymous: false;
|
|
17332
18636
|
}, {
|
|
17333
|
-
readonly type: "
|
|
17334
|
-
readonly name: "
|
|
18637
|
+
readonly type: "event";
|
|
18638
|
+
readonly name: "RewardIndexUpdated";
|
|
17335
18639
|
readonly inputs: readonly [{
|
|
17336
|
-
readonly name: "
|
|
18640
|
+
readonly name: "asset";
|
|
17337
18641
|
readonly type: "address";
|
|
18642
|
+
readonly indexed: true;
|
|
17338
18643
|
readonly internalType: "address";
|
|
17339
18644
|
}, {
|
|
17340
|
-
readonly name: "
|
|
18645
|
+
readonly name: "reward";
|
|
18646
|
+
readonly type: "address";
|
|
18647
|
+
readonly indexed: true;
|
|
18648
|
+
readonly internalType: "address";
|
|
18649
|
+
}, {
|
|
18650
|
+
readonly name: "newIndex";
|
|
17341
18651
|
readonly type: "uint256";
|
|
18652
|
+
readonly indexed: false;
|
|
17342
18653
|
readonly internalType: "uint256";
|
|
18654
|
+
}];
|
|
18655
|
+
readonly anonymous: false;
|
|
18656
|
+
}, {
|
|
18657
|
+
readonly type: "event";
|
|
18658
|
+
readonly name: "RewardInitialized";
|
|
18659
|
+
readonly inputs: readonly [{
|
|
18660
|
+
readonly name: "asset";
|
|
18661
|
+
readonly type: "address";
|
|
18662
|
+
readonly indexed: true;
|
|
18663
|
+
readonly internalType: "address";
|
|
17343
18664
|
}, {
|
|
17344
|
-
readonly name: "
|
|
18665
|
+
readonly name: "reward";
|
|
17345
18666
|
readonly type: "address";
|
|
18667
|
+
readonly indexed: true;
|
|
17346
18668
|
readonly internalType: "address";
|
|
17347
18669
|
}];
|
|
17348
|
-
readonly
|
|
17349
|
-
readonly stateMutability: "nonpayable";
|
|
18670
|
+
readonly anonymous: false;
|
|
17350
18671
|
}, {
|
|
17351
|
-
readonly type: "
|
|
17352
|
-
readonly name: "
|
|
18672
|
+
readonly type: "event";
|
|
18673
|
+
readonly name: "TargetLiquidityUpdated";
|
|
17353
18674
|
readonly inputs: readonly [{
|
|
17354
|
-
readonly name: "
|
|
18675
|
+
readonly name: "asset";
|
|
17355
18676
|
readonly type: "address";
|
|
18677
|
+
readonly indexed: true;
|
|
17356
18678
|
readonly internalType: "address";
|
|
17357
18679
|
}, {
|
|
17358
|
-
readonly name: "
|
|
18680
|
+
readonly name: "newTargetLiquidity";
|
|
17359
18681
|
readonly type: "uint256";
|
|
18682
|
+
readonly indexed: false;
|
|
17360
18683
|
readonly internalType: "uint256";
|
|
18684
|
+
}];
|
|
18685
|
+
readonly anonymous: false;
|
|
18686
|
+
}, {
|
|
18687
|
+
readonly type: "event";
|
|
18688
|
+
readonly name: "UserDataUpdated";
|
|
18689
|
+
readonly inputs: readonly [{
|
|
18690
|
+
readonly name: "asset";
|
|
18691
|
+
readonly type: "address";
|
|
18692
|
+
readonly indexed: true;
|
|
18693
|
+
readonly internalType: "address";
|
|
17361
18694
|
}, {
|
|
17362
|
-
readonly name: "
|
|
18695
|
+
readonly name: "reward";
|
|
17363
18696
|
readonly type: "address";
|
|
18697
|
+
readonly indexed: true;
|
|
17364
18698
|
readonly internalType: "address";
|
|
17365
18699
|
}, {
|
|
17366
|
-
readonly name: "
|
|
18700
|
+
readonly name: "user";
|
|
18701
|
+
readonly type: "address";
|
|
18702
|
+
readonly indexed: true;
|
|
18703
|
+
readonly internalType: "address";
|
|
18704
|
+
}, {
|
|
18705
|
+
readonly name: "newIndex";
|
|
17367
18706
|
readonly type: "uint256";
|
|
18707
|
+
readonly indexed: false;
|
|
17368
18708
|
readonly internalType: "uint256";
|
|
17369
18709
|
}, {
|
|
17370
|
-
readonly name: "
|
|
17371
|
-
readonly type: "
|
|
17372
|
-
readonly
|
|
18710
|
+
readonly name: "accruedFromLastUpdate";
|
|
18711
|
+
readonly type: "uint256";
|
|
18712
|
+
readonly indexed: false;
|
|
18713
|
+
readonly internalType: "uint256";
|
|
18714
|
+
}];
|
|
18715
|
+
readonly anonymous: false;
|
|
18716
|
+
}, {
|
|
18717
|
+
readonly type: "error";
|
|
18718
|
+
readonly name: "AssetNotInitialized";
|
|
18719
|
+
readonly inputs: readonly [{
|
|
18720
|
+
readonly name: "asset";
|
|
18721
|
+
readonly type: "address";
|
|
18722
|
+
readonly internalType: "address";
|
|
18723
|
+
}];
|
|
18724
|
+
}, {
|
|
18725
|
+
readonly type: "error";
|
|
18726
|
+
readonly name: "ClaimerNotAuthorized";
|
|
18727
|
+
readonly inputs: readonly [{
|
|
18728
|
+
readonly name: "claimer";
|
|
18729
|
+
readonly type: "address";
|
|
18730
|
+
readonly internalType: "address";
|
|
17373
18731
|
}, {
|
|
17374
|
-
readonly name: "
|
|
17375
|
-
readonly type: "
|
|
17376
|
-
readonly internalType: "
|
|
18732
|
+
readonly name: "user";
|
|
18733
|
+
readonly type: "address";
|
|
18734
|
+
readonly internalType: "address";
|
|
18735
|
+
}];
|
|
18736
|
+
}, {
|
|
18737
|
+
readonly type: "error";
|
|
18738
|
+
readonly name: "ExpiredSignature";
|
|
18739
|
+
readonly inputs: readonly [{
|
|
18740
|
+
readonly name: "deadline";
|
|
18741
|
+
readonly type: "uint256";
|
|
18742
|
+
readonly internalType: "uint256";
|
|
18743
|
+
}];
|
|
18744
|
+
}, {
|
|
18745
|
+
readonly type: "error";
|
|
18746
|
+
readonly name: "InvalidDistributionEnd";
|
|
18747
|
+
readonly inputs: readonly [];
|
|
18748
|
+
}, {
|
|
18749
|
+
readonly type: "error";
|
|
18750
|
+
readonly name: "InvalidSigner";
|
|
18751
|
+
readonly inputs: readonly [{
|
|
18752
|
+
readonly name: "signer";
|
|
18753
|
+
readonly type: "address";
|
|
18754
|
+
readonly internalType: "address";
|
|
17377
18755
|
}, {
|
|
17378
|
-
readonly name: "
|
|
17379
|
-
readonly type: "
|
|
17380
|
-
readonly internalType: "
|
|
18756
|
+
readonly name: "owner";
|
|
18757
|
+
readonly type: "address";
|
|
18758
|
+
readonly internalType: "address";
|
|
17381
18759
|
}];
|
|
17382
|
-
|
|
17383
|
-
readonly
|
|
18760
|
+
}, {
|
|
18761
|
+
readonly type: "error";
|
|
18762
|
+
readonly name: "LengthsDontMatch";
|
|
18763
|
+
readonly inputs: readonly [];
|
|
18764
|
+
}, {
|
|
18765
|
+
readonly type: "error";
|
|
18766
|
+
readonly name: "MaxRewardsLengthReached";
|
|
18767
|
+
readonly inputs: readonly [];
|
|
18768
|
+
}, {
|
|
18769
|
+
readonly type: "error";
|
|
18770
|
+
readonly name: "RewardNotInitialized";
|
|
18771
|
+
readonly inputs: readonly [{
|
|
18772
|
+
readonly name: "reward";
|
|
18773
|
+
readonly type: "address";
|
|
18774
|
+
readonly internalType: "address";
|
|
18775
|
+
}];
|
|
18776
|
+
}, {
|
|
18777
|
+
readonly type: "error";
|
|
18778
|
+
readonly name: "ZeroAddress";
|
|
18779
|
+
readonly inputs: readonly [];
|
|
17384
18780
|
}];
|
|
17385
18781
|
|
|
17386
18782
|
declare const IPoolAddressesProvider_ABI: readonly [{
|
|
@@ -26203,6 +27599,64 @@ declare const IERC1967_ABI: readonly [{
|
|
|
26203
27599
|
readonly anonymous: false;
|
|
26204
27600
|
}];
|
|
26205
27601
|
|
|
27602
|
+
declare const PausableUpgradeable_ABI: readonly [{
|
|
27603
|
+
readonly type: "function";
|
|
27604
|
+
readonly name: "paused";
|
|
27605
|
+
readonly inputs: readonly [];
|
|
27606
|
+
readonly outputs: readonly [{
|
|
27607
|
+
readonly name: "";
|
|
27608
|
+
readonly type: "bool";
|
|
27609
|
+
readonly internalType: "bool";
|
|
27610
|
+
}];
|
|
27611
|
+
readonly stateMutability: "view";
|
|
27612
|
+
}, {
|
|
27613
|
+
readonly type: "event";
|
|
27614
|
+
readonly name: "Initialized";
|
|
27615
|
+
readonly inputs: readonly [{
|
|
27616
|
+
readonly name: "version";
|
|
27617
|
+
readonly type: "uint64";
|
|
27618
|
+
readonly indexed: false;
|
|
27619
|
+
readonly internalType: "uint64";
|
|
27620
|
+
}];
|
|
27621
|
+
readonly anonymous: false;
|
|
27622
|
+
}, {
|
|
27623
|
+
readonly type: "event";
|
|
27624
|
+
readonly name: "Paused";
|
|
27625
|
+
readonly inputs: readonly [{
|
|
27626
|
+
readonly name: "account";
|
|
27627
|
+
readonly type: "address";
|
|
27628
|
+
readonly indexed: false;
|
|
27629
|
+
readonly internalType: "address";
|
|
27630
|
+
}];
|
|
27631
|
+
readonly anonymous: false;
|
|
27632
|
+
}, {
|
|
27633
|
+
readonly type: "event";
|
|
27634
|
+
readonly name: "Unpaused";
|
|
27635
|
+
readonly inputs: readonly [{
|
|
27636
|
+
readonly name: "account";
|
|
27637
|
+
readonly type: "address";
|
|
27638
|
+
readonly indexed: false;
|
|
27639
|
+
readonly internalType: "address";
|
|
27640
|
+
}];
|
|
27641
|
+
readonly anonymous: false;
|
|
27642
|
+
}, {
|
|
27643
|
+
readonly type: "error";
|
|
27644
|
+
readonly name: "EnforcedPause";
|
|
27645
|
+
readonly inputs: readonly [];
|
|
27646
|
+
}, {
|
|
27647
|
+
readonly type: "error";
|
|
27648
|
+
readonly name: "ExpectedPause";
|
|
27649
|
+
readonly inputs: readonly [];
|
|
27650
|
+
}, {
|
|
27651
|
+
readonly type: "error";
|
|
27652
|
+
readonly name: "InvalidInitialization";
|
|
27653
|
+
readonly inputs: readonly [];
|
|
27654
|
+
}, {
|
|
27655
|
+
readonly type: "error";
|
|
27656
|
+
readonly name: "NotInitializing";
|
|
27657
|
+
readonly inputs: readonly [];
|
|
27658
|
+
}];
|
|
27659
|
+
|
|
26206
27660
|
declare const IAuthorizedForwarder_ABI: readonly [{
|
|
26207
27661
|
readonly inputs: readonly [{
|
|
26208
27662
|
readonly internalType: "address";
|
|
@@ -26485,4 +27939,4 @@ declare const Ownable_ABI: readonly [{
|
|
|
26485
27939
|
}];
|
|
26486
27940
|
}];
|
|
26487
27941
|
|
|
26488
|
-
export { AggregatorInterface_ABI, Aip, type AssetInfo, type BlockscoutStyleSourceCode, type BundleParams, ChainId, ChainList, type ContractObject, EVENT_DB, type EtherscanStyleSourceCode, type ExplorerConfig, type GenericIndexerArgs, type GovernanceContract, HALF_RAY, HALF_WAD, HUMAN_READABLE_PAYLOAD_STATE, HUMAN_READABLE_PROPOSAL_STATE, IAToken_ABI, IAaveOracle_ABI, IAaveV3ConfigEngine_ABI, IAccessControl_ABI, IAuthorizedForwarder_ABI, ICollector_ABI, IDualAggregator_ABI, IERC1967_ABI, IERC20Metadata_ABI, IERC20_ABI, IEmissionManager_ABI, IPoolAddressesProvider_ABI, IPoolConfigurator_ABI, IPool_ABI, IReserveInterestRateStrategy_ABI, IRewardsController_ABI, IStataTokenFactory_ABI, IStataTokenV2_ABI, IUmbrellaStakeToken_ABI, IUmbrella_ABI, IWithGuardian_ABI, IWrappedTokenGatewayV3_ABI, type IndexerTopicState, type Input, LTV_PRECISION, Ownable_ABI, type Payload, PayloadState, type PayloadsControllerContract, type Proposal, ProposalState, ProxyAdmin_ABI, RAY, type ReserveConfiguration, SECONDS_PER_YEAR, SelfdestructCheckState, type SoltypeElement, SoltypeType, type StandardJsonInput, type StateDiff, type StateObject, type SupportedChainIds, type TenderlyLog, type TenderlyLogRaw, type TenderlySimRequest, type TenderlySimulationResponse, type TenderlySimulationResponseObject, type TenderlyStackTrace, type Tenderly_createVnetParamsResponse, type Trace, type TransactionInfo, VerificationStatus, WAD, WAD_RAY_RATIO, aaveAddressesProvider_IncentivesControllerSlot, addAssetPrice, addAssetSymbol, alchemyNetworkMap, alchemySupportedChainIds, assetIndexesToAsset, assetToBase, bitmapToIndexes, blockscoutExplorers, calculateAvailableBorrowsMarketReferenceCurrency, calculateCompoundedInterest, calculateHealthFactor, calculateHealthFactorFromBalances, calculateLinearInterest, chainlinkFeeds, checkForSelfdestruct, decodeReserveConfiguration, decodeReserveConfigurationV2, decodeUserConfiguration, diffCode, enhanceLogs, enhanceStateDiff, erc1967_AdminSlot, erc1967_ImplementationSlot, etherscanExplorers, fetchImmutablePoolAddresses, fetchMutablePoolAddresses, fetchPoolAddresses, findAsset, flashbotsClientExtension, flashbotsOnFetchRequest, formatNumberString, genericIndexer, getAlchemyRPC, getBits, getClient, getContractDeploymentBlock, getCurrentDebtBalance, getCurrentLiquidityBalance, getExplicitRPC, getExplorer, getGovernance, getHyperRPC, getImplementationSlot, getLogsRecursive, getMarketReferenceCurrencyAndUsdBalance, getMdContractName, getNetworkEnv, getNonFinalizedPayloads, getNonFinalizedProposals, getNormalizedDebt, getNormalizedIncome, getObjectDiff, getPayloadStorageOverrides, getPayloadsController, getPublicRpc, getQuicknodeRpc, getRPCUrl, getReserveConfigurations, getReserveTokens, getSourceCode, getTenderlyRpc, getVerificationStatus, hyperRPCSupportedNetworks, isPayloadFinal, isProposalFinal, makePayloadExecutableOnTestClient, makeProposalExecutableOnTestClient, onMevHandler, parseBlockscoutStyleSourceCode, parseEtherscanStyleSourceCode, parseLogs, prettifyNumber, priceUpdateDecoder, publicRPCs, quicknodeNetworkMap, rayDiv, rayMul, rayToWad, renderMarkdownStateDiffReport, renderTenderlyReport, routescanExplorers, selfDestructStatusToString, setBits, tenderlyExplorerMap, tenderlyNetworkMap, tenderly_createVnet, tenderly_deleteVnet, tenderly_getVnet, tenderly_logsToAbiLogs, tenderly_pingExplorer, tenderly_sim, tenderly_simVnet, toAddressLink, toBinaryString, toTxLink, transformTenderlyStateDiff, validateAip, verificationStatusToString, wadDiv, wadToRay };
|
|
27942
|
+
export { AggregatorInterface_ABI, Aip, type AssetInfo, type BlockscoutStyleSourceCode, type BundleParams, ChainId, ChainList, type ContractObject, EVENT_DB, type EtherscanStyleSourceCode, type ExplorerConfig, type GenericIndexerArgs, type GovernanceContract, HALF_RAY, HALF_WAD, HUMAN_READABLE_PAYLOAD_STATE, HUMAN_READABLE_PROPOSAL_STATE, IAToken_ABI, IAaveOracle_ABI, IAaveV3ConfigEngine_ABI, IAccessControl_ABI, IAuthorizedForwarder_ABI, ICollector_ABI, IDualAggregator_ABI, IERC1967_ABI, IERC20Metadata_ABI, IERC20_ABI, IEmissionManager_ABI, IPoolAddressesProvider_ABI, IPoolConfigurator_ABI, IPool_ABI, IReserveInterestRateStrategy_ABI, IRewardsController_ABI, IStataTokenFactory_ABI, IStataTokenV2_ABI, IUmbrellaStakeToken_ABI, IUmbrella_ABI, IWithGuardian_ABI, IWrappedTokenGatewayV3_ABI, type IndexerTopicState, type Input, LTV_PRECISION, Ownable_ABI, PausableUpgradeable_ABI, type Payload, PayloadState, type PayloadsControllerContract, type Proposal, ProposalState, ProxyAdmin_ABI, RAY, type ReserveConfiguration, SECONDS_PER_YEAR, SelfdestructCheckState, type SoltypeElement, SoltypeType, type StandardJsonInput, type StateDiff, type StateObject, type SupportedChainIds, type TenderlyLog, type TenderlyLogRaw, type TenderlySimRequest, type TenderlySimulationResponse, type TenderlySimulationResponseObject, type TenderlyStackTrace, type Tenderly_createVnetParamsResponse, type Trace, type TransactionInfo, Umbrella_IRewardsController_ABI, Umbrella_IRewardsDistributor_ABI, VerificationStatus, WAD, WAD_RAY_RATIO, aaveAddressesProvider_IncentivesControllerSlot, addAssetPrice, addAssetSymbol, alchemyNetworkMap, alchemySupportedChainIds, assetIndexesToAsset, assetToBase, bitmapToIndexes, blockscoutExplorers, calculateAvailableBorrowsMarketReferenceCurrency, calculateCompoundedInterest, calculateHealthFactor, calculateHealthFactorFromBalances, calculateLinearInterest, chainlinkFeeds, checkForSelfdestruct, decodeReserveConfiguration, decodeReserveConfigurationV2, decodeUserConfiguration, diffCode, enhanceLogs, enhanceStateDiff, erc1967_AdminSlot, erc1967_ImplementationSlot, etherscanExplorers, fetchImmutablePoolAddresses, fetchMutablePoolAddresses, fetchPoolAddresses, findAsset, flashbotsClientExtension, flashbotsOnFetchRequest, formatNumberString, genericIndexer, getAlchemyRPC, getBits, getClient, getContractDeploymentBlock, getCurrentDebtBalance, getCurrentLiquidityBalance, getExplicitRPC, getExplorer, getGovernance, getHyperRPC, getImplementationSlot, getLogsRecursive, getMarketReferenceCurrencyAndUsdBalance, getMdContractName, getNetworkEnv, getNonFinalizedPayloads, getNonFinalizedProposals, getNormalizedDebt, getNormalizedIncome, getObjectDiff, getPayloadStorageOverrides, getPayloadsController, getPublicRpc, getQuicknodeRpc, getRPCUrl, getReserveConfigurations, getReserveTokens, getSourceCode, getTenderlyRpc, getVerificationStatus, hyperRPCSupportedNetworks, isPayloadFinal, isProposalFinal, makePayloadExecutableOnTestClient, makeProposalExecutableOnTestClient, onMevHandler, parseBlockscoutStyleSourceCode, parseEtherscanStyleSourceCode, parseLogs, prettifyNumber, priceUpdateDecoder, publicRPCs, quicknodeNetworkMap, rayDiv, rayMul, rayToWad, renderMarkdownStateDiffReport, renderTenderlyReport, routescanExplorers, selfDestructStatusToString, setBits, tenderlyExplorerMap, tenderlyNetworkMap, tenderly_createVnet, tenderly_deleteVnet, tenderly_getVnet, tenderly_logsToAbiLogs, tenderly_pingExplorer, tenderly_sim, tenderly_simVnet, toAddressLink, toBinaryString, toTxLink, transformTenderlyStateDiff, validateAip, verificationStatusToString, wadDiv, wadToRay };
|