basememe-v4-contracts-configs 0.0.6 → 0.0.8
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/chainConfigs.d.ts +244 -0
- package/chainConfigs.d.ts.map +1 -1
- package/index.js +1264 -181
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/wagmiGenerated.d.ts +2836 -526
- package/wagmiGenerated.d.ts.map +1 -1
package/wagmiGenerated.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ export declare const basememeFactoryConfig: {
|
|
|
114
114
|
};
|
|
115
115
|
/**
|
|
116
116
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
117
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
117
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xD5b632Eb60Ebf8a4E924890e4599557D3bFEa6BA)
|
|
118
118
|
*/
|
|
119
119
|
export declare const basememeFactoryImplABI: readonly [{
|
|
120
120
|
readonly stateMutability: "nonpayable";
|
|
@@ -1661,6 +1661,10 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
1661
1661
|
readonly type: "error";
|
|
1662
1662
|
readonly inputs: readonly [];
|
|
1663
1663
|
readonly name: "InvalidExactInCollateralAmount";
|
|
1664
|
+
}, {
|
|
1665
|
+
readonly type: "error";
|
|
1666
|
+
readonly inputs: readonly [];
|
|
1667
|
+
readonly name: "InvalidFrom";
|
|
1664
1668
|
}, {
|
|
1665
1669
|
readonly type: "error";
|
|
1666
1670
|
readonly inputs: readonly [];
|
|
@@ -1669,6 +1673,10 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
1669
1673
|
readonly type: "error";
|
|
1670
1674
|
readonly inputs: readonly [];
|
|
1671
1675
|
readonly name: "InvalidNonce";
|
|
1676
|
+
}, {
|
|
1677
|
+
readonly type: "error";
|
|
1678
|
+
readonly inputs: readonly [];
|
|
1679
|
+
readonly name: "InvalidRecipient";
|
|
1672
1680
|
}, {
|
|
1673
1681
|
readonly type: "error";
|
|
1674
1682
|
readonly inputs: readonly [];
|
|
@@ -1729,6 +1737,14 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
1729
1737
|
readonly type: "error";
|
|
1730
1738
|
readonly inputs: readonly [];
|
|
1731
1739
|
readonly name: "ReentrancyGuardReentrantCall";
|
|
1740
|
+
}, {
|
|
1741
|
+
readonly type: "error";
|
|
1742
|
+
readonly inputs: readonly [{
|
|
1743
|
+
readonly name: "token";
|
|
1744
|
+
readonly internalType: "address";
|
|
1745
|
+
readonly type: "address";
|
|
1746
|
+
}];
|
|
1747
|
+
readonly name: "SafeERC20FailedOperation";
|
|
1732
1748
|
}, {
|
|
1733
1749
|
readonly type: "error";
|
|
1734
1750
|
readonly inputs: readonly [];
|
|
@@ -1776,20 +1792,20 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
1776
1792
|
}];
|
|
1777
1793
|
/**
|
|
1778
1794
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
1779
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
1795
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xD5b632Eb60Ebf8a4E924890e4599557D3bFEa6BA)
|
|
1780
1796
|
*/
|
|
1781
1797
|
export declare const basememeFactoryImplAddress: {
|
|
1782
1798
|
readonly 8453: "0x0000000000000000000000000000000000000000";
|
|
1783
|
-
readonly 84532: "
|
|
1799
|
+
readonly 84532: "0xD5b632Eb60Ebf8a4E924890e4599557D3bFEa6BA";
|
|
1784
1800
|
};
|
|
1785
1801
|
/**
|
|
1786
1802
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
1787
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
1803
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xD5b632Eb60Ebf8a4E924890e4599557D3bFEa6BA)
|
|
1788
1804
|
*/
|
|
1789
1805
|
export declare const basememeFactoryImplConfig: {
|
|
1790
1806
|
readonly address: {
|
|
1791
1807
|
readonly 8453: "0x0000000000000000000000000000000000000000";
|
|
1792
|
-
readonly 84532: "
|
|
1808
|
+
readonly 84532: "0xD5b632Eb60Ebf8a4E924890e4599557D3bFEa6BA";
|
|
1793
1809
|
};
|
|
1794
1810
|
readonly abi: readonly [{
|
|
1795
1811
|
readonly stateMutability: "nonpayable";
|
|
@@ -3336,6 +3352,10 @@ export declare const basememeFactoryImplConfig: {
|
|
|
3336
3352
|
readonly type: "error";
|
|
3337
3353
|
readonly inputs: readonly [];
|
|
3338
3354
|
readonly name: "InvalidExactInCollateralAmount";
|
|
3355
|
+
}, {
|
|
3356
|
+
readonly type: "error";
|
|
3357
|
+
readonly inputs: readonly [];
|
|
3358
|
+
readonly name: "InvalidFrom";
|
|
3339
3359
|
}, {
|
|
3340
3360
|
readonly type: "error";
|
|
3341
3361
|
readonly inputs: readonly [];
|
|
@@ -3344,6 +3364,10 @@ export declare const basememeFactoryImplConfig: {
|
|
|
3344
3364
|
readonly type: "error";
|
|
3345
3365
|
readonly inputs: readonly [];
|
|
3346
3366
|
readonly name: "InvalidNonce";
|
|
3367
|
+
}, {
|
|
3368
|
+
readonly type: "error";
|
|
3369
|
+
readonly inputs: readonly [];
|
|
3370
|
+
readonly name: "InvalidRecipient";
|
|
3347
3371
|
}, {
|
|
3348
3372
|
readonly type: "error";
|
|
3349
3373
|
readonly inputs: readonly [];
|
|
@@ -3404,6 +3428,14 @@ export declare const basememeFactoryImplConfig: {
|
|
|
3404
3428
|
readonly type: "error";
|
|
3405
3429
|
readonly inputs: readonly [];
|
|
3406
3430
|
readonly name: "ReentrancyGuardReentrantCall";
|
|
3431
|
+
}, {
|
|
3432
|
+
readonly type: "error";
|
|
3433
|
+
readonly inputs: readonly [{
|
|
3434
|
+
readonly name: "token";
|
|
3435
|
+
readonly internalType: "address";
|
|
3436
|
+
readonly type: "address";
|
|
3437
|
+
}];
|
|
3438
|
+
readonly name: "SafeERC20FailedOperation";
|
|
3407
3439
|
}, {
|
|
3408
3440
|
readonly type: "error";
|
|
3409
3441
|
readonly inputs: readonly [];
|
|
@@ -3451,181 +3483,146 @@ export declare const basememeFactoryImplConfig: {
|
|
|
3451
3483
|
}];
|
|
3452
3484
|
};
|
|
3453
3485
|
/**
|
|
3454
|
-
*
|
|
3455
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B)
|
|
3486
|
+
* [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0993F0d51aaCaa059c5cC9EF2E285660837540C9)
|
|
3456
3487
|
*/
|
|
3457
|
-
export declare const
|
|
3488
|
+
export declare const basememeFactoryTradeHelperABI: readonly [{
|
|
3458
3489
|
readonly stateMutability: "nonpayable";
|
|
3459
3490
|
readonly type: "constructor";
|
|
3460
3491
|
readonly inputs: readonly [];
|
|
3492
|
+
}, {
|
|
3493
|
+
readonly stateMutability: "payable";
|
|
3494
|
+
readonly type: "receive";
|
|
3461
3495
|
}, {
|
|
3462
3496
|
readonly stateMutability: "view";
|
|
3463
3497
|
readonly type: "function";
|
|
3464
|
-
readonly inputs: readonly [
|
|
3465
|
-
|
|
3466
|
-
readonly internalType: "address";
|
|
3467
|
-
readonly type: "address";
|
|
3468
|
-
}, {
|
|
3469
|
-
readonly name: "spender";
|
|
3470
|
-
readonly internalType: "address";
|
|
3471
|
-
readonly type: "address";
|
|
3472
|
-
}];
|
|
3473
|
-
readonly name: "allowance";
|
|
3498
|
+
readonly inputs: readonly [];
|
|
3499
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
3474
3500
|
readonly outputs: readonly [{
|
|
3475
3501
|
readonly name: "";
|
|
3476
|
-
readonly internalType: "
|
|
3477
|
-
readonly type: "
|
|
3502
|
+
readonly internalType: "string";
|
|
3503
|
+
readonly type: "string";
|
|
3478
3504
|
}];
|
|
3479
3505
|
}, {
|
|
3480
|
-
readonly stateMutability: "
|
|
3506
|
+
readonly stateMutability: "payable";
|
|
3481
3507
|
readonly type: "function";
|
|
3482
3508
|
readonly inputs: readonly [{
|
|
3483
|
-
readonly name: "
|
|
3509
|
+
readonly name: "token";
|
|
3484
3510
|
readonly internalType: "address";
|
|
3485
3511
|
readonly type: "address";
|
|
3486
3512
|
}, {
|
|
3487
|
-
readonly name: "
|
|
3513
|
+
readonly name: "funds";
|
|
3488
3514
|
readonly internalType: "uint256";
|
|
3489
3515
|
readonly type: "uint256";
|
|
3490
|
-
}
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
readonly
|
|
3494
|
-
|
|
3495
|
-
readonly
|
|
3496
|
-
}];
|
|
3497
|
-
}, {
|
|
3498
|
-
readonly stateMutability: "view";
|
|
3499
|
-
readonly type: "function";
|
|
3500
|
-
readonly inputs: readonly [{
|
|
3501
|
-
readonly name: "account";
|
|
3516
|
+
}, {
|
|
3517
|
+
readonly name: "minTokenOut";
|
|
3518
|
+
readonly internalType: "uint256";
|
|
3519
|
+
readonly type: "uint256";
|
|
3520
|
+
}, {
|
|
3521
|
+
readonly name: "tradeReferrer";
|
|
3502
3522
|
readonly internalType: "address";
|
|
3503
3523
|
readonly type: "address";
|
|
3504
3524
|
}];
|
|
3505
|
-
readonly name: "
|
|
3525
|
+
readonly name: "buyWithEth";
|
|
3506
3526
|
readonly outputs: readonly [{
|
|
3507
|
-
readonly name: "";
|
|
3527
|
+
readonly name: "tokenOut";
|
|
3528
|
+
readonly internalType: "uint256";
|
|
3529
|
+
readonly type: "uint256";
|
|
3530
|
+
}, {
|
|
3531
|
+
readonly name: "refundOut";
|
|
3508
3532
|
readonly internalType: "uint256";
|
|
3509
3533
|
readonly type: "uint256";
|
|
3510
3534
|
}];
|
|
3511
3535
|
}, {
|
|
3512
|
-
readonly stateMutability: "
|
|
3536
|
+
readonly stateMutability: "view";
|
|
3513
3537
|
readonly type: "function";
|
|
3514
|
-
readonly inputs: readonly [
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
readonly
|
|
3538
|
+
readonly inputs: readonly [];
|
|
3539
|
+
readonly name: "factory";
|
|
3540
|
+
readonly outputs: readonly [{
|
|
3541
|
+
readonly name: "";
|
|
3542
|
+
readonly internalType: "contract IBasememeFactoryImpl";
|
|
3543
|
+
readonly type: "address";
|
|
3518
3544
|
}];
|
|
3519
|
-
readonly name: "burn";
|
|
3520
|
-
readonly outputs: readonly [];
|
|
3521
3545
|
}, {
|
|
3522
3546
|
readonly stateMutability: "nonpayable";
|
|
3523
3547
|
readonly type: "function";
|
|
3524
3548
|
readonly inputs: readonly [{
|
|
3525
|
-
readonly name: "
|
|
3549
|
+
readonly name: "owner_";
|
|
3526
3550
|
readonly internalType: "address";
|
|
3527
3551
|
readonly type: "address";
|
|
3528
3552
|
}, {
|
|
3529
|
-
readonly name: "
|
|
3530
|
-
readonly internalType: "
|
|
3531
|
-
readonly type: "
|
|
3553
|
+
readonly name: "factory_";
|
|
3554
|
+
readonly internalType: "address";
|
|
3555
|
+
readonly type: "address";
|
|
3556
|
+
}, {
|
|
3557
|
+
readonly name: "tokenSwap_";
|
|
3558
|
+
readonly internalType: "address";
|
|
3559
|
+
readonly type: "address";
|
|
3532
3560
|
}];
|
|
3533
|
-
readonly name: "
|
|
3561
|
+
readonly name: "initialize";
|
|
3534
3562
|
readonly outputs: readonly [];
|
|
3535
3563
|
}, {
|
|
3536
3564
|
readonly stateMutability: "view";
|
|
3537
3565
|
readonly type: "function";
|
|
3538
3566
|
readonly inputs: readonly [];
|
|
3539
|
-
readonly name: "
|
|
3540
|
-
readonly outputs: readonly [{
|
|
3541
|
-
readonly name: "";
|
|
3542
|
-
readonly internalType: "string";
|
|
3543
|
-
readonly type: "string";
|
|
3544
|
-
}];
|
|
3545
|
-
}, {
|
|
3546
|
-
readonly stateMutability: "pure";
|
|
3547
|
-
readonly type: "function";
|
|
3548
|
-
readonly inputs: readonly [];
|
|
3549
|
-
readonly name: "contractVersion";
|
|
3567
|
+
readonly name: "owner";
|
|
3550
3568
|
readonly outputs: readonly [{
|
|
3551
3569
|
readonly name: "";
|
|
3552
|
-
readonly internalType: "
|
|
3553
|
-
readonly type: "
|
|
3570
|
+
readonly internalType: "address";
|
|
3571
|
+
readonly type: "address";
|
|
3554
3572
|
}];
|
|
3555
3573
|
}, {
|
|
3556
3574
|
readonly stateMutability: "view";
|
|
3557
3575
|
readonly type: "function";
|
|
3558
3576
|
readonly inputs: readonly [];
|
|
3559
|
-
readonly name: "
|
|
3577
|
+
readonly name: "proxiableUUID";
|
|
3560
3578
|
readonly outputs: readonly [{
|
|
3561
3579
|
readonly name: "";
|
|
3562
|
-
readonly internalType: "
|
|
3563
|
-
readonly type: "
|
|
3580
|
+
readonly internalType: "bytes32";
|
|
3581
|
+
readonly type: "bytes32";
|
|
3564
3582
|
}];
|
|
3565
3583
|
}, {
|
|
3566
|
-
readonly stateMutability: "
|
|
3584
|
+
readonly stateMutability: "nonpayable";
|
|
3567
3585
|
readonly type: "function";
|
|
3568
|
-
readonly inputs: readonly [
|
|
3569
|
-
|
|
3586
|
+
readonly inputs: readonly [{
|
|
3587
|
+
readonly name: "token";
|
|
3588
|
+
readonly internalType: "address";
|
|
3589
|
+
readonly type: "address";
|
|
3590
|
+
}, {
|
|
3591
|
+
readonly name: "collateralIn";
|
|
3592
|
+
readonly internalType: "uint256";
|
|
3593
|
+
readonly type: "uint256";
|
|
3594
|
+
}];
|
|
3595
|
+
readonly name: "quoteCollateralToEthForToken";
|
|
3570
3596
|
readonly outputs: readonly [{
|
|
3571
|
-
readonly name: "";
|
|
3597
|
+
readonly name: "collateralToken";
|
|
3572
3598
|
readonly internalType: "address";
|
|
3573
3599
|
readonly type: "address";
|
|
3600
|
+
}, {
|
|
3601
|
+
readonly name: "ethOut";
|
|
3602
|
+
readonly internalType: "uint256";
|
|
3603
|
+
readonly type: "uint256";
|
|
3574
3604
|
}];
|
|
3575
3605
|
}, {
|
|
3576
3606
|
readonly stateMutability: "nonpayable";
|
|
3577
3607
|
readonly type: "function";
|
|
3578
3608
|
readonly inputs: readonly [{
|
|
3579
|
-
readonly name: "
|
|
3580
|
-
readonly internalType: "
|
|
3581
|
-
readonly type: "
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
}, {
|
|
3587
|
-
readonly name: "symbol";
|
|
3588
|
-
readonly internalType: "string";
|
|
3589
|
-
readonly type: "string";
|
|
3590
|
-
}, {
|
|
3591
|
-
readonly name: "tokenURI";
|
|
3592
|
-
readonly internalType: "string";
|
|
3593
|
-
readonly type: "string";
|
|
3594
|
-
}, {
|
|
3595
|
-
readonly name: "factory";
|
|
3596
|
-
readonly internalType: "address";
|
|
3597
|
-
readonly type: "address";
|
|
3598
|
-
}, {
|
|
3599
|
-
readonly name: "bondingCurve";
|
|
3600
|
-
readonly internalType: "address";
|
|
3601
|
-
readonly type: "address";
|
|
3602
|
-
}, {
|
|
3603
|
-
readonly name: "initialTokenSupply";
|
|
3604
|
-
readonly internalType: "uint256";
|
|
3605
|
-
readonly type: "uint256";
|
|
3606
|
-
}];
|
|
3607
|
-
}];
|
|
3608
|
-
readonly name: "initialize";
|
|
3609
|
-
readonly outputs: readonly [];
|
|
3610
|
-
}, {
|
|
3611
|
-
readonly stateMutability: "view";
|
|
3612
|
-
readonly type: "function";
|
|
3613
|
-
readonly inputs: readonly [];
|
|
3614
|
-
readonly name: "name";
|
|
3615
|
-
readonly outputs: readonly [{
|
|
3616
|
-
readonly name: "";
|
|
3617
|
-
readonly internalType: "string";
|
|
3618
|
-
readonly type: "string";
|
|
3609
|
+
readonly name: "token";
|
|
3610
|
+
readonly internalType: "address";
|
|
3611
|
+
readonly type: "address";
|
|
3612
|
+
}, {
|
|
3613
|
+
readonly name: "ethIn";
|
|
3614
|
+
readonly internalType: "uint256";
|
|
3615
|
+
readonly type: "uint256";
|
|
3619
3616
|
}];
|
|
3620
|
-
|
|
3621
|
-
readonly stateMutability: "view";
|
|
3622
|
-
readonly type: "function";
|
|
3623
|
-
readonly inputs: readonly [];
|
|
3624
|
-
readonly name: "owner";
|
|
3617
|
+
readonly name: "quoteEthToCollateralForToken";
|
|
3625
3618
|
readonly outputs: readonly [{
|
|
3626
|
-
readonly name: "";
|
|
3619
|
+
readonly name: "collateralToken";
|
|
3627
3620
|
readonly internalType: "address";
|
|
3628
3621
|
readonly type: "address";
|
|
3622
|
+
}, {
|
|
3623
|
+
readonly name: "collateralOut";
|
|
3624
|
+
readonly internalType: "uint256";
|
|
3625
|
+
readonly type: "uint256";
|
|
3629
3626
|
}];
|
|
3630
3627
|
}, {
|
|
3631
3628
|
readonly stateMutability: "nonpayable";
|
|
@@ -3637,141 +3634,122 @@ export declare const basememeTokenABI: readonly [{
|
|
|
3637
3634
|
readonly stateMutability: "nonpayable";
|
|
3638
3635
|
readonly type: "function";
|
|
3639
3636
|
readonly inputs: readonly [{
|
|
3640
|
-
readonly name: "
|
|
3641
|
-
readonly internalType: "
|
|
3642
|
-
readonly type: "
|
|
3643
|
-
}
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
readonly
|
|
3651
|
-
|
|
3652
|
-
readonly
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
readonly outputs: readonly [{
|
|
3656
|
-
readonly name: "";
|
|
3657
|
-
readonly internalType: "bool";
|
|
3658
|
-
readonly type: "bool";
|
|
3637
|
+
readonly name: "token";
|
|
3638
|
+
readonly internalType: "address";
|
|
3639
|
+
readonly type: "address";
|
|
3640
|
+
}, {
|
|
3641
|
+
readonly name: "tokenAmountIn";
|
|
3642
|
+
readonly internalType: "uint256";
|
|
3643
|
+
readonly type: "uint256";
|
|
3644
|
+
}, {
|
|
3645
|
+
readonly name: "minEthOut";
|
|
3646
|
+
readonly internalType: "uint256";
|
|
3647
|
+
readonly type: "uint256";
|
|
3648
|
+
}, {
|
|
3649
|
+
readonly name: "tradeReferrer";
|
|
3650
|
+
readonly internalType: "address";
|
|
3651
|
+
readonly type: "address";
|
|
3659
3652
|
}];
|
|
3660
|
-
|
|
3661
|
-
readonly stateMutability: "view";
|
|
3662
|
-
readonly type: "function";
|
|
3663
|
-
readonly inputs: readonly [];
|
|
3664
|
-
readonly name: "symbol";
|
|
3653
|
+
readonly name: "sellForEth";
|
|
3665
3654
|
readonly outputs: readonly [{
|
|
3666
|
-
readonly name: "";
|
|
3667
|
-
readonly internalType: "
|
|
3668
|
-
readonly type: "
|
|
3655
|
+
readonly name: "ethOut";
|
|
3656
|
+
readonly internalType: "uint256";
|
|
3657
|
+
readonly type: "uint256";
|
|
3669
3658
|
}];
|
|
3670
3659
|
}, {
|
|
3671
|
-
readonly stateMutability: "
|
|
3660
|
+
readonly stateMutability: "nonpayable";
|
|
3672
3661
|
readonly type: "function";
|
|
3673
|
-
readonly inputs: readonly [
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
readonly
|
|
3677
|
-
readonly internalType: "string";
|
|
3678
|
-
readonly type: "string";
|
|
3662
|
+
readonly inputs: readonly [{
|
|
3663
|
+
readonly name: "tokenSwap_";
|
|
3664
|
+
readonly internalType: "address";
|
|
3665
|
+
readonly type: "address";
|
|
3679
3666
|
}];
|
|
3667
|
+
readonly name: "setTokenSwap";
|
|
3668
|
+
readonly outputs: readonly [];
|
|
3680
3669
|
}, {
|
|
3681
3670
|
readonly stateMutability: "view";
|
|
3682
3671
|
readonly type: "function";
|
|
3683
3672
|
readonly inputs: readonly [];
|
|
3684
|
-
readonly name: "
|
|
3673
|
+
readonly name: "tokenSwap";
|
|
3685
3674
|
readonly outputs: readonly [{
|
|
3686
3675
|
readonly name: "";
|
|
3687
|
-
readonly internalType: "
|
|
3688
|
-
readonly type: "
|
|
3676
|
+
readonly internalType: "contract IBasememeTokenSwap";
|
|
3677
|
+
readonly type: "address";
|
|
3689
3678
|
}];
|
|
3690
3679
|
}, {
|
|
3691
3680
|
readonly stateMutability: "nonpayable";
|
|
3692
3681
|
readonly type: "function";
|
|
3693
3682
|
readonly inputs: readonly [{
|
|
3694
|
-
readonly name: "
|
|
3683
|
+
readonly name: "newOwner";
|
|
3695
3684
|
readonly internalType: "address";
|
|
3696
3685
|
readonly type: "address";
|
|
3697
|
-
}, {
|
|
3698
|
-
readonly name: "value";
|
|
3699
|
-
readonly internalType: "uint256";
|
|
3700
|
-
readonly type: "uint256";
|
|
3701
|
-
}];
|
|
3702
|
-
readonly name: "transfer";
|
|
3703
|
-
readonly outputs: readonly [{
|
|
3704
|
-
readonly name: "";
|
|
3705
|
-
readonly internalType: "bool";
|
|
3706
|
-
readonly type: "bool";
|
|
3707
3686
|
}];
|
|
3687
|
+
readonly name: "transferOwnership";
|
|
3688
|
+
readonly outputs: readonly [];
|
|
3708
3689
|
}, {
|
|
3709
|
-
readonly stateMutability: "
|
|
3690
|
+
readonly stateMutability: "payable";
|
|
3710
3691
|
readonly type: "function";
|
|
3711
3692
|
readonly inputs: readonly [{
|
|
3712
|
-
readonly name: "
|
|
3713
|
-
readonly internalType: "address";
|
|
3714
|
-
readonly type: "address";
|
|
3715
|
-
}, {
|
|
3716
|
-
readonly name: "to";
|
|
3693
|
+
readonly name: "newImplementation";
|
|
3717
3694
|
readonly internalType: "address";
|
|
3718
3695
|
readonly type: "address";
|
|
3719
3696
|
}, {
|
|
3720
|
-
readonly name: "
|
|
3721
|
-
readonly internalType: "
|
|
3722
|
-
readonly type: "
|
|
3723
|
-
}];
|
|
3724
|
-
readonly name: "transferFrom";
|
|
3725
|
-
readonly outputs: readonly [{
|
|
3726
|
-
readonly name: "";
|
|
3727
|
-
readonly internalType: "bool";
|
|
3728
|
-
readonly type: "bool";
|
|
3729
|
-
}];
|
|
3730
|
-
}, {
|
|
3731
|
-
readonly stateMutability: "view";
|
|
3732
|
-
readonly type: "function";
|
|
3733
|
-
readonly inputs: readonly [];
|
|
3734
|
-
readonly name: "transferMode";
|
|
3735
|
-
readonly outputs: readonly [{
|
|
3736
|
-
readonly name: "";
|
|
3737
|
-
readonly internalType: "enum IBasememeToken.TransferMode";
|
|
3738
|
-
readonly type: "uint8";
|
|
3739
|
-
}];
|
|
3740
|
-
}, {
|
|
3741
|
-
readonly stateMutability: "nonpayable";
|
|
3742
|
-
readonly type: "function";
|
|
3743
|
-
readonly inputs: readonly [{
|
|
3744
|
-
readonly name: "newOwner";
|
|
3745
|
-
readonly internalType: "address";
|
|
3746
|
-
readonly type: "address";
|
|
3697
|
+
readonly name: "data";
|
|
3698
|
+
readonly internalType: "bytes";
|
|
3699
|
+
readonly type: "bytes";
|
|
3747
3700
|
}];
|
|
3748
|
-
readonly name: "
|
|
3701
|
+
readonly name: "upgradeToAndCall";
|
|
3749
3702
|
readonly outputs: readonly [];
|
|
3750
3703
|
}, {
|
|
3751
3704
|
readonly type: "event";
|
|
3752
3705
|
readonly anonymous: false;
|
|
3753
3706
|
readonly inputs: readonly [{
|
|
3754
|
-
readonly name: "
|
|
3707
|
+
readonly name: "caller";
|
|
3755
3708
|
readonly internalType: "address";
|
|
3756
3709
|
readonly type: "address";
|
|
3757
3710
|
readonly indexed: true;
|
|
3758
3711
|
}, {
|
|
3759
|
-
readonly name: "
|
|
3712
|
+
readonly name: "token";
|
|
3760
3713
|
readonly internalType: "address";
|
|
3761
3714
|
readonly type: "address";
|
|
3762
3715
|
readonly indexed: true;
|
|
3763
3716
|
}, {
|
|
3764
|
-
readonly name: "
|
|
3717
|
+
readonly name: "recipient";
|
|
3718
|
+
readonly internalType: "address";
|
|
3719
|
+
readonly type: "address";
|
|
3720
|
+
readonly indexed: true;
|
|
3721
|
+
}, {
|
|
3722
|
+
readonly name: "fundsIn";
|
|
3723
|
+
readonly internalType: "uint256";
|
|
3724
|
+
readonly type: "uint256";
|
|
3725
|
+
readonly indexed: false;
|
|
3726
|
+
}, {
|
|
3727
|
+
readonly name: "minTokenOut";
|
|
3728
|
+
readonly internalType: "uint256";
|
|
3729
|
+
readonly type: "uint256";
|
|
3730
|
+
readonly indexed: false;
|
|
3731
|
+
}, {
|
|
3732
|
+
readonly name: "tradeReferrer";
|
|
3733
|
+
readonly internalType: "address";
|
|
3734
|
+
readonly type: "address";
|
|
3735
|
+
readonly indexed: false;
|
|
3736
|
+
}, {
|
|
3737
|
+
readonly name: "collateralToken";
|
|
3738
|
+
readonly internalType: "address";
|
|
3739
|
+
readonly type: "address";
|
|
3740
|
+
readonly indexed: false;
|
|
3741
|
+
}, {
|
|
3742
|
+
readonly name: "tokenOut";
|
|
3743
|
+
readonly internalType: "uint256";
|
|
3744
|
+
readonly type: "uint256";
|
|
3745
|
+
readonly indexed: false;
|
|
3746
|
+
}, {
|
|
3747
|
+
readonly name: "refundOut";
|
|
3765
3748
|
readonly internalType: "uint256";
|
|
3766
3749
|
readonly type: "uint256";
|
|
3767
3750
|
readonly indexed: false;
|
|
3768
3751
|
}];
|
|
3769
|
-
readonly name: "
|
|
3770
|
-
}, {
|
|
3771
|
-
readonly type: "event";
|
|
3772
|
-
readonly anonymous: false;
|
|
3773
|
-
readonly inputs: readonly [];
|
|
3774
|
-
readonly name: "ContractURIUpdated";
|
|
3752
|
+
readonly name: "BuyWithEth";
|
|
3775
3753
|
}, {
|
|
3776
3754
|
readonly type: "event";
|
|
3777
3755
|
readonly anonymous: false;
|
|
@@ -3801,116 +3779,102 @@ export declare const basememeTokenABI: readonly [{
|
|
|
3801
3779
|
readonly type: "event";
|
|
3802
3780
|
readonly anonymous: false;
|
|
3803
3781
|
readonly inputs: readonly [{
|
|
3804
|
-
readonly name: "
|
|
3782
|
+
readonly name: "caller";
|
|
3805
3783
|
readonly internalType: "address";
|
|
3806
3784
|
readonly type: "address";
|
|
3807
3785
|
readonly indexed: true;
|
|
3808
3786
|
}, {
|
|
3809
|
-
readonly name: "
|
|
3787
|
+
readonly name: "token";
|
|
3810
3788
|
readonly internalType: "address";
|
|
3811
3789
|
readonly type: "address";
|
|
3812
3790
|
readonly indexed: true;
|
|
3813
3791
|
}, {
|
|
3814
|
-
readonly name: "
|
|
3815
|
-
readonly internalType: "
|
|
3816
|
-
readonly type: "
|
|
3792
|
+
readonly name: "from";
|
|
3793
|
+
readonly internalType: "address";
|
|
3794
|
+
readonly type: "address";
|
|
3817
3795
|
readonly indexed: false;
|
|
3818
3796
|
}, {
|
|
3819
|
-
readonly name: "
|
|
3797
|
+
readonly name: "tokenIn";
|
|
3820
3798
|
readonly internalType: "uint256";
|
|
3821
3799
|
readonly type: "uint256";
|
|
3822
3800
|
readonly indexed: false;
|
|
3823
3801
|
}, {
|
|
3824
|
-
readonly name: "
|
|
3802
|
+
readonly name: "minEthOut";
|
|
3825
3803
|
readonly internalType: "uint256";
|
|
3826
3804
|
readonly type: "uint256";
|
|
3827
3805
|
readonly indexed: false;
|
|
3828
|
-
}];
|
|
3829
|
-
readonly name: "TokensTransferred";
|
|
3830
|
-
}, {
|
|
3831
|
-
readonly type: "event";
|
|
3832
|
-
readonly anonymous: false;
|
|
3833
|
-
readonly inputs: readonly [{
|
|
3834
|
-
readonly name: "from";
|
|
3835
|
-
readonly internalType: "address";
|
|
3836
|
-
readonly type: "address";
|
|
3837
|
-
readonly indexed: true;
|
|
3838
3806
|
}, {
|
|
3839
|
-
readonly name: "
|
|
3807
|
+
readonly name: "tradeReferrer";
|
|
3840
3808
|
readonly internalType: "address";
|
|
3841
3809
|
readonly type: "address";
|
|
3842
|
-
readonly indexed: true;
|
|
3843
|
-
}, {
|
|
3844
|
-
readonly name: "value";
|
|
3845
|
-
readonly internalType: "uint256";
|
|
3846
|
-
readonly type: "uint256";
|
|
3847
3810
|
readonly indexed: false;
|
|
3848
|
-
}
|
|
3849
|
-
|
|
3850
|
-
}, {
|
|
3851
|
-
readonly type: "error";
|
|
3852
|
-
readonly inputs: readonly [{
|
|
3853
|
-
readonly name: "spender";
|
|
3811
|
+
}, {
|
|
3812
|
+
readonly name: "collateralToken";
|
|
3854
3813
|
readonly internalType: "address";
|
|
3855
3814
|
readonly type: "address";
|
|
3815
|
+
readonly indexed: false;
|
|
3856
3816
|
}, {
|
|
3857
|
-
readonly name: "
|
|
3817
|
+
readonly name: "collateralOut";
|
|
3858
3818
|
readonly internalType: "uint256";
|
|
3859
3819
|
readonly type: "uint256";
|
|
3820
|
+
readonly indexed: false;
|
|
3860
3821
|
}, {
|
|
3861
|
-
readonly name: "
|
|
3822
|
+
readonly name: "ethOut";
|
|
3862
3823
|
readonly internalType: "uint256";
|
|
3863
3824
|
readonly type: "uint256";
|
|
3825
|
+
readonly indexed: false;
|
|
3864
3826
|
}];
|
|
3865
|
-
readonly name: "
|
|
3827
|
+
readonly name: "SellForEth";
|
|
3866
3828
|
}, {
|
|
3867
|
-
readonly type: "
|
|
3829
|
+
readonly type: "event";
|
|
3830
|
+
readonly anonymous: false;
|
|
3868
3831
|
readonly inputs: readonly [{
|
|
3869
|
-
readonly name: "
|
|
3832
|
+
readonly name: "implementation";
|
|
3870
3833
|
readonly internalType: "address";
|
|
3871
3834
|
readonly type: "address";
|
|
3872
|
-
|
|
3873
|
-
readonly name: "balance";
|
|
3874
|
-
readonly internalType: "uint256";
|
|
3875
|
-
readonly type: "uint256";
|
|
3876
|
-
}, {
|
|
3877
|
-
readonly name: "needed";
|
|
3878
|
-
readonly internalType: "uint256";
|
|
3879
|
-
readonly type: "uint256";
|
|
3835
|
+
readonly indexed: true;
|
|
3880
3836
|
}];
|
|
3881
|
-
readonly name: "
|
|
3837
|
+
readonly name: "Upgraded";
|
|
3882
3838
|
}, {
|
|
3883
3839
|
readonly type: "error";
|
|
3884
3840
|
readonly inputs: readonly [{
|
|
3885
|
-
readonly name: "
|
|
3841
|
+
readonly name: "target";
|
|
3886
3842
|
readonly internalType: "address";
|
|
3887
3843
|
readonly type: "address";
|
|
3888
3844
|
}];
|
|
3889
|
-
readonly name: "
|
|
3845
|
+
readonly name: "AddressEmptyCode";
|
|
3890
3846
|
}, {
|
|
3891
3847
|
readonly type: "error";
|
|
3892
3848
|
readonly inputs: readonly [{
|
|
3893
|
-
readonly name: "
|
|
3849
|
+
readonly name: "implementation";
|
|
3894
3850
|
readonly internalType: "address";
|
|
3895
3851
|
readonly type: "address";
|
|
3896
3852
|
}];
|
|
3897
|
-
readonly name: "
|
|
3853
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
3898
3854
|
}, {
|
|
3899
3855
|
readonly type: "error";
|
|
3900
|
-
readonly inputs: readonly [
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
readonly name: "
|
|
3856
|
+
readonly inputs: readonly [];
|
|
3857
|
+
readonly name: "ERC1967NonPayable";
|
|
3858
|
+
}, {
|
|
3859
|
+
readonly type: "error";
|
|
3860
|
+
readonly inputs: readonly [];
|
|
3861
|
+
readonly name: "FailedCall";
|
|
3906
3862
|
}, {
|
|
3907
3863
|
readonly type: "error";
|
|
3908
3864
|
readonly inputs: readonly [{
|
|
3909
|
-
readonly name: "
|
|
3910
|
-
readonly internalType: "
|
|
3911
|
-
readonly type: "
|
|
3865
|
+
readonly name: "balance";
|
|
3866
|
+
readonly internalType: "uint256";
|
|
3867
|
+
readonly type: "uint256";
|
|
3868
|
+
}, {
|
|
3869
|
+
readonly name: "needed";
|
|
3870
|
+
readonly internalType: "uint256";
|
|
3871
|
+
readonly type: "uint256";
|
|
3912
3872
|
}];
|
|
3913
|
-
readonly name: "
|
|
3873
|
+
readonly name: "InsufficientBalance";
|
|
3874
|
+
}, {
|
|
3875
|
+
readonly type: "error";
|
|
3876
|
+
readonly inputs: readonly [];
|
|
3877
|
+
readonly name: "InvalidFunds";
|
|
3914
3878
|
}, {
|
|
3915
3879
|
readonly type: "error";
|
|
3916
3880
|
readonly inputs: readonly [];
|
|
@@ -3938,347 +3902,2669 @@ export declare const basememeTokenABI: readonly [{
|
|
|
3938
3902
|
}, {
|
|
3939
3903
|
readonly type: "error";
|
|
3940
3904
|
readonly inputs: readonly [];
|
|
3941
|
-
readonly name: "
|
|
3905
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
3906
|
+
}, {
|
|
3907
|
+
readonly type: "error";
|
|
3908
|
+
readonly inputs: readonly [{
|
|
3909
|
+
readonly name: "token";
|
|
3910
|
+
readonly internalType: "address";
|
|
3911
|
+
readonly type: "address";
|
|
3912
|
+
}];
|
|
3913
|
+
readonly name: "SafeERC20FailedOperation";
|
|
3942
3914
|
}, {
|
|
3943
3915
|
readonly type: "error";
|
|
3944
3916
|
readonly inputs: readonly [];
|
|
3945
|
-
readonly name: "
|
|
3917
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
3918
|
+
}, {
|
|
3919
|
+
readonly type: "error";
|
|
3920
|
+
readonly inputs: readonly [{
|
|
3921
|
+
readonly name: "slot";
|
|
3922
|
+
readonly internalType: "bytes32";
|
|
3923
|
+
readonly type: "bytes32";
|
|
3924
|
+
}];
|
|
3925
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
3946
3926
|
}];
|
|
3947
3927
|
/**
|
|
3948
|
-
*
|
|
3949
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B)
|
|
3928
|
+
* [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0993F0d51aaCaa059c5cC9EF2E285660837540C9)
|
|
3950
3929
|
*/
|
|
3951
|
-
export declare const
|
|
3952
|
-
readonly
|
|
3953
|
-
readonly 84532: "0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B";
|
|
3930
|
+
export declare const basememeFactoryTradeHelperAddress: {
|
|
3931
|
+
readonly 84532: "0x0993F0d51aaCaa059c5cC9EF2E285660837540C9";
|
|
3954
3932
|
};
|
|
3955
3933
|
/**
|
|
3956
|
-
*
|
|
3957
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B)
|
|
3934
|
+
* [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0993F0d51aaCaa059c5cC9EF2E285660837540C9)
|
|
3958
3935
|
*/
|
|
3959
|
-
export declare const
|
|
3936
|
+
export declare const basememeFactoryTradeHelperConfig: {
|
|
3960
3937
|
readonly address: {
|
|
3961
|
-
readonly
|
|
3962
|
-
readonly 84532: "0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B";
|
|
3938
|
+
readonly 84532: "0x0993F0d51aaCaa059c5cC9EF2E285660837540C9";
|
|
3963
3939
|
};
|
|
3964
3940
|
readonly abi: readonly [{
|
|
3965
3941
|
readonly stateMutability: "nonpayable";
|
|
3966
3942
|
readonly type: "constructor";
|
|
3967
3943
|
readonly inputs: readonly [];
|
|
3944
|
+
}, {
|
|
3945
|
+
readonly stateMutability: "payable";
|
|
3946
|
+
readonly type: "receive";
|
|
3968
3947
|
}, {
|
|
3969
3948
|
readonly stateMutability: "view";
|
|
3970
3949
|
readonly type: "function";
|
|
3950
|
+
readonly inputs: readonly [];
|
|
3951
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
3952
|
+
readonly outputs: readonly [{
|
|
3953
|
+
readonly name: "";
|
|
3954
|
+
readonly internalType: "string";
|
|
3955
|
+
readonly type: "string";
|
|
3956
|
+
}];
|
|
3957
|
+
}, {
|
|
3958
|
+
readonly stateMutability: "payable";
|
|
3959
|
+
readonly type: "function";
|
|
3971
3960
|
readonly inputs: readonly [{
|
|
3972
|
-
readonly name: "
|
|
3961
|
+
readonly name: "token";
|
|
3973
3962
|
readonly internalType: "address";
|
|
3974
3963
|
readonly type: "address";
|
|
3975
3964
|
}, {
|
|
3976
|
-
readonly name: "
|
|
3965
|
+
readonly name: "funds";
|
|
3966
|
+
readonly internalType: "uint256";
|
|
3967
|
+
readonly type: "uint256";
|
|
3968
|
+
}, {
|
|
3969
|
+
readonly name: "minTokenOut";
|
|
3970
|
+
readonly internalType: "uint256";
|
|
3971
|
+
readonly type: "uint256";
|
|
3972
|
+
}, {
|
|
3973
|
+
readonly name: "tradeReferrer";
|
|
3977
3974
|
readonly internalType: "address";
|
|
3978
3975
|
readonly type: "address";
|
|
3979
3976
|
}];
|
|
3980
|
-
readonly name: "
|
|
3977
|
+
readonly name: "buyWithEth";
|
|
3981
3978
|
readonly outputs: readonly [{
|
|
3982
|
-
readonly name: "";
|
|
3979
|
+
readonly name: "tokenOut";
|
|
3983
3980
|
readonly internalType: "uint256";
|
|
3984
3981
|
readonly type: "uint256";
|
|
3985
|
-
}];
|
|
3986
|
-
}, {
|
|
3987
|
-
readonly stateMutability: "nonpayable";
|
|
3988
|
-
readonly type: "function";
|
|
3989
|
-
readonly inputs: readonly [{
|
|
3990
|
-
readonly name: "spender";
|
|
3991
|
-
readonly internalType: "address";
|
|
3992
|
-
readonly type: "address";
|
|
3993
3982
|
}, {
|
|
3994
|
-
readonly name: "
|
|
3983
|
+
readonly name: "refundOut";
|
|
3995
3984
|
readonly internalType: "uint256";
|
|
3996
3985
|
readonly type: "uint256";
|
|
3997
3986
|
}];
|
|
3998
|
-
|
|
3987
|
+
}, {
|
|
3988
|
+
readonly stateMutability: "view";
|
|
3989
|
+
readonly type: "function";
|
|
3990
|
+
readonly inputs: readonly [];
|
|
3991
|
+
readonly name: "factory";
|
|
3999
3992
|
readonly outputs: readonly [{
|
|
4000
3993
|
readonly name: "";
|
|
4001
|
-
readonly internalType: "
|
|
4002
|
-
readonly type: "
|
|
3994
|
+
readonly internalType: "contract IBasememeFactoryImpl";
|
|
3995
|
+
readonly type: "address";
|
|
4003
3996
|
}];
|
|
4004
3997
|
}, {
|
|
4005
|
-
readonly stateMutability: "
|
|
3998
|
+
readonly stateMutability: "nonpayable";
|
|
4006
3999
|
readonly type: "function";
|
|
4000
|
+
readonly inputs: readonly [{
|
|
4001
|
+
readonly name: "owner_";
|
|
4002
|
+
readonly internalType: "address";
|
|
4003
|
+
readonly type: "address";
|
|
4004
|
+
}, {
|
|
4005
|
+
readonly name: "factory_";
|
|
4006
|
+
readonly internalType: "address";
|
|
4007
|
+
readonly type: "address";
|
|
4008
|
+
}, {
|
|
4009
|
+
readonly name: "tokenSwap_";
|
|
4010
|
+
readonly internalType: "address";
|
|
4011
|
+
readonly type: "address";
|
|
4012
|
+
}];
|
|
4013
|
+
readonly name: "initialize";
|
|
4014
|
+
readonly outputs: readonly [];
|
|
4015
|
+
}, {
|
|
4016
|
+
readonly stateMutability: "view";
|
|
4017
|
+
readonly type: "function";
|
|
4018
|
+
readonly inputs: readonly [];
|
|
4019
|
+
readonly name: "owner";
|
|
4020
|
+
readonly outputs: readonly [{
|
|
4021
|
+
readonly name: "";
|
|
4022
|
+
readonly internalType: "address";
|
|
4023
|
+
readonly type: "address";
|
|
4024
|
+
}];
|
|
4025
|
+
}, {
|
|
4026
|
+
readonly stateMutability: "view";
|
|
4027
|
+
readonly type: "function";
|
|
4028
|
+
readonly inputs: readonly [];
|
|
4029
|
+
readonly name: "proxiableUUID";
|
|
4030
|
+
readonly outputs: readonly [{
|
|
4031
|
+
readonly name: "";
|
|
4032
|
+
readonly internalType: "bytes32";
|
|
4033
|
+
readonly type: "bytes32";
|
|
4034
|
+
}];
|
|
4035
|
+
}, {
|
|
4036
|
+
readonly stateMutability: "nonpayable";
|
|
4037
|
+
readonly type: "function";
|
|
4038
|
+
readonly inputs: readonly [{
|
|
4039
|
+
readonly name: "token";
|
|
4040
|
+
readonly internalType: "address";
|
|
4041
|
+
readonly type: "address";
|
|
4042
|
+
}, {
|
|
4043
|
+
readonly name: "collateralIn";
|
|
4044
|
+
readonly internalType: "uint256";
|
|
4045
|
+
readonly type: "uint256";
|
|
4046
|
+
}];
|
|
4047
|
+
readonly name: "quoteCollateralToEthForToken";
|
|
4048
|
+
readonly outputs: readonly [{
|
|
4049
|
+
readonly name: "collateralToken";
|
|
4050
|
+
readonly internalType: "address";
|
|
4051
|
+
readonly type: "address";
|
|
4052
|
+
}, {
|
|
4053
|
+
readonly name: "ethOut";
|
|
4054
|
+
readonly internalType: "uint256";
|
|
4055
|
+
readonly type: "uint256";
|
|
4056
|
+
}];
|
|
4057
|
+
}, {
|
|
4058
|
+
readonly stateMutability: "nonpayable";
|
|
4059
|
+
readonly type: "function";
|
|
4060
|
+
readonly inputs: readonly [{
|
|
4061
|
+
readonly name: "token";
|
|
4062
|
+
readonly internalType: "address";
|
|
4063
|
+
readonly type: "address";
|
|
4064
|
+
}, {
|
|
4065
|
+
readonly name: "ethIn";
|
|
4066
|
+
readonly internalType: "uint256";
|
|
4067
|
+
readonly type: "uint256";
|
|
4068
|
+
}];
|
|
4069
|
+
readonly name: "quoteEthToCollateralForToken";
|
|
4070
|
+
readonly outputs: readonly [{
|
|
4071
|
+
readonly name: "collateralToken";
|
|
4072
|
+
readonly internalType: "address";
|
|
4073
|
+
readonly type: "address";
|
|
4074
|
+
}, {
|
|
4075
|
+
readonly name: "collateralOut";
|
|
4076
|
+
readonly internalType: "uint256";
|
|
4077
|
+
readonly type: "uint256";
|
|
4078
|
+
}];
|
|
4079
|
+
}, {
|
|
4080
|
+
readonly stateMutability: "nonpayable";
|
|
4081
|
+
readonly type: "function";
|
|
4082
|
+
readonly inputs: readonly [];
|
|
4083
|
+
readonly name: "renounceOwnership";
|
|
4084
|
+
readonly outputs: readonly [];
|
|
4085
|
+
}, {
|
|
4086
|
+
readonly stateMutability: "nonpayable";
|
|
4087
|
+
readonly type: "function";
|
|
4088
|
+
readonly inputs: readonly [{
|
|
4089
|
+
readonly name: "token";
|
|
4090
|
+
readonly internalType: "address";
|
|
4091
|
+
readonly type: "address";
|
|
4092
|
+
}, {
|
|
4093
|
+
readonly name: "tokenAmountIn";
|
|
4094
|
+
readonly internalType: "uint256";
|
|
4095
|
+
readonly type: "uint256";
|
|
4096
|
+
}, {
|
|
4097
|
+
readonly name: "minEthOut";
|
|
4098
|
+
readonly internalType: "uint256";
|
|
4099
|
+
readonly type: "uint256";
|
|
4100
|
+
}, {
|
|
4101
|
+
readonly name: "tradeReferrer";
|
|
4102
|
+
readonly internalType: "address";
|
|
4103
|
+
readonly type: "address";
|
|
4104
|
+
}];
|
|
4105
|
+
readonly name: "sellForEth";
|
|
4106
|
+
readonly outputs: readonly [{
|
|
4107
|
+
readonly name: "ethOut";
|
|
4108
|
+
readonly internalType: "uint256";
|
|
4109
|
+
readonly type: "uint256";
|
|
4110
|
+
}];
|
|
4111
|
+
}, {
|
|
4112
|
+
readonly stateMutability: "nonpayable";
|
|
4113
|
+
readonly type: "function";
|
|
4114
|
+
readonly inputs: readonly [{
|
|
4115
|
+
readonly name: "tokenSwap_";
|
|
4116
|
+
readonly internalType: "address";
|
|
4117
|
+
readonly type: "address";
|
|
4118
|
+
}];
|
|
4119
|
+
readonly name: "setTokenSwap";
|
|
4120
|
+
readonly outputs: readonly [];
|
|
4121
|
+
}, {
|
|
4122
|
+
readonly stateMutability: "view";
|
|
4123
|
+
readonly type: "function";
|
|
4124
|
+
readonly inputs: readonly [];
|
|
4125
|
+
readonly name: "tokenSwap";
|
|
4126
|
+
readonly outputs: readonly [{
|
|
4127
|
+
readonly name: "";
|
|
4128
|
+
readonly internalType: "contract IBasememeTokenSwap";
|
|
4129
|
+
readonly type: "address";
|
|
4130
|
+
}];
|
|
4131
|
+
}, {
|
|
4132
|
+
readonly stateMutability: "nonpayable";
|
|
4133
|
+
readonly type: "function";
|
|
4134
|
+
readonly inputs: readonly [{
|
|
4135
|
+
readonly name: "newOwner";
|
|
4136
|
+
readonly internalType: "address";
|
|
4137
|
+
readonly type: "address";
|
|
4138
|
+
}];
|
|
4139
|
+
readonly name: "transferOwnership";
|
|
4140
|
+
readonly outputs: readonly [];
|
|
4141
|
+
}, {
|
|
4142
|
+
readonly stateMutability: "payable";
|
|
4143
|
+
readonly type: "function";
|
|
4144
|
+
readonly inputs: readonly [{
|
|
4145
|
+
readonly name: "newImplementation";
|
|
4146
|
+
readonly internalType: "address";
|
|
4147
|
+
readonly type: "address";
|
|
4148
|
+
}, {
|
|
4149
|
+
readonly name: "data";
|
|
4150
|
+
readonly internalType: "bytes";
|
|
4151
|
+
readonly type: "bytes";
|
|
4152
|
+
}];
|
|
4153
|
+
readonly name: "upgradeToAndCall";
|
|
4154
|
+
readonly outputs: readonly [];
|
|
4155
|
+
}, {
|
|
4156
|
+
readonly type: "event";
|
|
4157
|
+
readonly anonymous: false;
|
|
4158
|
+
readonly inputs: readonly [{
|
|
4159
|
+
readonly name: "caller";
|
|
4160
|
+
readonly internalType: "address";
|
|
4161
|
+
readonly type: "address";
|
|
4162
|
+
readonly indexed: true;
|
|
4163
|
+
}, {
|
|
4164
|
+
readonly name: "token";
|
|
4165
|
+
readonly internalType: "address";
|
|
4166
|
+
readonly type: "address";
|
|
4167
|
+
readonly indexed: true;
|
|
4168
|
+
}, {
|
|
4169
|
+
readonly name: "recipient";
|
|
4170
|
+
readonly internalType: "address";
|
|
4171
|
+
readonly type: "address";
|
|
4172
|
+
readonly indexed: true;
|
|
4173
|
+
}, {
|
|
4174
|
+
readonly name: "fundsIn";
|
|
4175
|
+
readonly internalType: "uint256";
|
|
4176
|
+
readonly type: "uint256";
|
|
4177
|
+
readonly indexed: false;
|
|
4178
|
+
}, {
|
|
4179
|
+
readonly name: "minTokenOut";
|
|
4180
|
+
readonly internalType: "uint256";
|
|
4181
|
+
readonly type: "uint256";
|
|
4182
|
+
readonly indexed: false;
|
|
4183
|
+
}, {
|
|
4184
|
+
readonly name: "tradeReferrer";
|
|
4185
|
+
readonly internalType: "address";
|
|
4186
|
+
readonly type: "address";
|
|
4187
|
+
readonly indexed: false;
|
|
4188
|
+
}, {
|
|
4189
|
+
readonly name: "collateralToken";
|
|
4190
|
+
readonly internalType: "address";
|
|
4191
|
+
readonly type: "address";
|
|
4192
|
+
readonly indexed: false;
|
|
4193
|
+
}, {
|
|
4194
|
+
readonly name: "tokenOut";
|
|
4195
|
+
readonly internalType: "uint256";
|
|
4196
|
+
readonly type: "uint256";
|
|
4197
|
+
readonly indexed: false;
|
|
4198
|
+
}, {
|
|
4199
|
+
readonly name: "refundOut";
|
|
4200
|
+
readonly internalType: "uint256";
|
|
4201
|
+
readonly type: "uint256";
|
|
4202
|
+
readonly indexed: false;
|
|
4203
|
+
}];
|
|
4204
|
+
readonly name: "BuyWithEth";
|
|
4205
|
+
}, {
|
|
4206
|
+
readonly type: "event";
|
|
4207
|
+
readonly anonymous: false;
|
|
4208
|
+
readonly inputs: readonly [{
|
|
4209
|
+
readonly name: "version";
|
|
4210
|
+
readonly internalType: "uint64";
|
|
4211
|
+
readonly type: "uint64";
|
|
4212
|
+
readonly indexed: false;
|
|
4213
|
+
}];
|
|
4214
|
+
readonly name: "Initialized";
|
|
4215
|
+
}, {
|
|
4216
|
+
readonly type: "event";
|
|
4217
|
+
readonly anonymous: false;
|
|
4218
|
+
readonly inputs: readonly [{
|
|
4219
|
+
readonly name: "previousOwner";
|
|
4220
|
+
readonly internalType: "address";
|
|
4221
|
+
readonly type: "address";
|
|
4222
|
+
readonly indexed: true;
|
|
4223
|
+
}, {
|
|
4224
|
+
readonly name: "newOwner";
|
|
4225
|
+
readonly internalType: "address";
|
|
4226
|
+
readonly type: "address";
|
|
4227
|
+
readonly indexed: true;
|
|
4228
|
+
}];
|
|
4229
|
+
readonly name: "OwnershipTransferred";
|
|
4230
|
+
}, {
|
|
4231
|
+
readonly type: "event";
|
|
4232
|
+
readonly anonymous: false;
|
|
4233
|
+
readonly inputs: readonly [{
|
|
4234
|
+
readonly name: "caller";
|
|
4235
|
+
readonly internalType: "address";
|
|
4236
|
+
readonly type: "address";
|
|
4237
|
+
readonly indexed: true;
|
|
4238
|
+
}, {
|
|
4239
|
+
readonly name: "token";
|
|
4240
|
+
readonly internalType: "address";
|
|
4241
|
+
readonly type: "address";
|
|
4242
|
+
readonly indexed: true;
|
|
4243
|
+
}, {
|
|
4244
|
+
readonly name: "from";
|
|
4245
|
+
readonly internalType: "address";
|
|
4246
|
+
readonly type: "address";
|
|
4247
|
+
readonly indexed: false;
|
|
4248
|
+
}, {
|
|
4249
|
+
readonly name: "tokenIn";
|
|
4250
|
+
readonly internalType: "uint256";
|
|
4251
|
+
readonly type: "uint256";
|
|
4252
|
+
readonly indexed: false;
|
|
4253
|
+
}, {
|
|
4254
|
+
readonly name: "minEthOut";
|
|
4255
|
+
readonly internalType: "uint256";
|
|
4256
|
+
readonly type: "uint256";
|
|
4257
|
+
readonly indexed: false;
|
|
4258
|
+
}, {
|
|
4259
|
+
readonly name: "tradeReferrer";
|
|
4260
|
+
readonly internalType: "address";
|
|
4261
|
+
readonly type: "address";
|
|
4262
|
+
readonly indexed: false;
|
|
4263
|
+
}, {
|
|
4264
|
+
readonly name: "collateralToken";
|
|
4265
|
+
readonly internalType: "address";
|
|
4266
|
+
readonly type: "address";
|
|
4267
|
+
readonly indexed: false;
|
|
4268
|
+
}, {
|
|
4269
|
+
readonly name: "collateralOut";
|
|
4270
|
+
readonly internalType: "uint256";
|
|
4271
|
+
readonly type: "uint256";
|
|
4272
|
+
readonly indexed: false;
|
|
4273
|
+
}, {
|
|
4274
|
+
readonly name: "ethOut";
|
|
4275
|
+
readonly internalType: "uint256";
|
|
4276
|
+
readonly type: "uint256";
|
|
4277
|
+
readonly indexed: false;
|
|
4278
|
+
}];
|
|
4279
|
+
readonly name: "SellForEth";
|
|
4280
|
+
}, {
|
|
4281
|
+
readonly type: "event";
|
|
4282
|
+
readonly anonymous: false;
|
|
4283
|
+
readonly inputs: readonly [{
|
|
4284
|
+
readonly name: "implementation";
|
|
4285
|
+
readonly internalType: "address";
|
|
4286
|
+
readonly type: "address";
|
|
4287
|
+
readonly indexed: true;
|
|
4288
|
+
}];
|
|
4289
|
+
readonly name: "Upgraded";
|
|
4290
|
+
}, {
|
|
4291
|
+
readonly type: "error";
|
|
4292
|
+
readonly inputs: readonly [{
|
|
4293
|
+
readonly name: "target";
|
|
4294
|
+
readonly internalType: "address";
|
|
4295
|
+
readonly type: "address";
|
|
4296
|
+
}];
|
|
4297
|
+
readonly name: "AddressEmptyCode";
|
|
4298
|
+
}, {
|
|
4299
|
+
readonly type: "error";
|
|
4300
|
+
readonly inputs: readonly [{
|
|
4301
|
+
readonly name: "implementation";
|
|
4302
|
+
readonly internalType: "address";
|
|
4303
|
+
readonly type: "address";
|
|
4304
|
+
}];
|
|
4305
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
4306
|
+
}, {
|
|
4307
|
+
readonly type: "error";
|
|
4308
|
+
readonly inputs: readonly [];
|
|
4309
|
+
readonly name: "ERC1967NonPayable";
|
|
4310
|
+
}, {
|
|
4311
|
+
readonly type: "error";
|
|
4312
|
+
readonly inputs: readonly [];
|
|
4313
|
+
readonly name: "FailedCall";
|
|
4314
|
+
}, {
|
|
4315
|
+
readonly type: "error";
|
|
4316
|
+
readonly inputs: readonly [{
|
|
4317
|
+
readonly name: "balance";
|
|
4318
|
+
readonly internalType: "uint256";
|
|
4319
|
+
readonly type: "uint256";
|
|
4320
|
+
}, {
|
|
4321
|
+
readonly name: "needed";
|
|
4322
|
+
readonly internalType: "uint256";
|
|
4323
|
+
readonly type: "uint256";
|
|
4324
|
+
}];
|
|
4325
|
+
readonly name: "InsufficientBalance";
|
|
4326
|
+
}, {
|
|
4327
|
+
readonly type: "error";
|
|
4328
|
+
readonly inputs: readonly [];
|
|
4329
|
+
readonly name: "InvalidFunds";
|
|
4330
|
+
}, {
|
|
4331
|
+
readonly type: "error";
|
|
4332
|
+
readonly inputs: readonly [];
|
|
4333
|
+
readonly name: "InvalidInitialization";
|
|
4334
|
+
}, {
|
|
4335
|
+
readonly type: "error";
|
|
4336
|
+
readonly inputs: readonly [];
|
|
4337
|
+
readonly name: "NotInitializing";
|
|
4338
|
+
}, {
|
|
4339
|
+
readonly type: "error";
|
|
4340
|
+
readonly inputs: readonly [{
|
|
4341
|
+
readonly name: "owner";
|
|
4342
|
+
readonly internalType: "address";
|
|
4343
|
+
readonly type: "address";
|
|
4344
|
+
}];
|
|
4345
|
+
readonly name: "OwnableInvalidOwner";
|
|
4346
|
+
}, {
|
|
4347
|
+
readonly type: "error";
|
|
4348
|
+
readonly inputs: readonly [{
|
|
4349
|
+
readonly name: "account";
|
|
4350
|
+
readonly internalType: "address";
|
|
4351
|
+
readonly type: "address";
|
|
4352
|
+
}];
|
|
4353
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
4354
|
+
}, {
|
|
4355
|
+
readonly type: "error";
|
|
4356
|
+
readonly inputs: readonly [];
|
|
4357
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
4358
|
+
}, {
|
|
4359
|
+
readonly type: "error";
|
|
4360
|
+
readonly inputs: readonly [{
|
|
4361
|
+
readonly name: "token";
|
|
4362
|
+
readonly internalType: "address";
|
|
4363
|
+
readonly type: "address";
|
|
4364
|
+
}];
|
|
4365
|
+
readonly name: "SafeERC20FailedOperation";
|
|
4366
|
+
}, {
|
|
4367
|
+
readonly type: "error";
|
|
4368
|
+
readonly inputs: readonly [];
|
|
4369
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
4370
|
+
}, {
|
|
4371
|
+
readonly type: "error";
|
|
4372
|
+
readonly inputs: readonly [{
|
|
4373
|
+
readonly name: "slot";
|
|
4374
|
+
readonly internalType: "bytes32";
|
|
4375
|
+
readonly type: "bytes32";
|
|
4376
|
+
}];
|
|
4377
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
4378
|
+
}];
|
|
4379
|
+
};
|
|
4380
|
+
/**
|
|
4381
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
4382
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B)
|
|
4383
|
+
*/
|
|
4384
|
+
export declare const basememeTokenABI: readonly [{
|
|
4385
|
+
readonly stateMutability: "nonpayable";
|
|
4386
|
+
readonly type: "constructor";
|
|
4387
|
+
readonly inputs: readonly [];
|
|
4388
|
+
}, {
|
|
4389
|
+
readonly stateMutability: "view";
|
|
4390
|
+
readonly type: "function";
|
|
4391
|
+
readonly inputs: readonly [{
|
|
4392
|
+
readonly name: "owner";
|
|
4393
|
+
readonly internalType: "address";
|
|
4394
|
+
readonly type: "address";
|
|
4395
|
+
}, {
|
|
4396
|
+
readonly name: "spender";
|
|
4397
|
+
readonly internalType: "address";
|
|
4398
|
+
readonly type: "address";
|
|
4399
|
+
}];
|
|
4400
|
+
readonly name: "allowance";
|
|
4401
|
+
readonly outputs: readonly [{
|
|
4402
|
+
readonly name: "";
|
|
4403
|
+
readonly internalType: "uint256";
|
|
4404
|
+
readonly type: "uint256";
|
|
4405
|
+
}];
|
|
4406
|
+
}, {
|
|
4407
|
+
readonly stateMutability: "nonpayable";
|
|
4408
|
+
readonly type: "function";
|
|
4409
|
+
readonly inputs: readonly [{
|
|
4410
|
+
readonly name: "spender";
|
|
4411
|
+
readonly internalType: "address";
|
|
4412
|
+
readonly type: "address";
|
|
4413
|
+
}, {
|
|
4414
|
+
readonly name: "value";
|
|
4415
|
+
readonly internalType: "uint256";
|
|
4416
|
+
readonly type: "uint256";
|
|
4417
|
+
}];
|
|
4418
|
+
readonly name: "approve";
|
|
4419
|
+
readonly outputs: readonly [{
|
|
4420
|
+
readonly name: "";
|
|
4421
|
+
readonly internalType: "bool";
|
|
4422
|
+
readonly type: "bool";
|
|
4423
|
+
}];
|
|
4424
|
+
}, {
|
|
4425
|
+
readonly stateMutability: "view";
|
|
4426
|
+
readonly type: "function";
|
|
4427
|
+
readonly inputs: readonly [{
|
|
4428
|
+
readonly name: "account";
|
|
4429
|
+
readonly internalType: "address";
|
|
4430
|
+
readonly type: "address";
|
|
4431
|
+
}];
|
|
4432
|
+
readonly name: "balanceOf";
|
|
4433
|
+
readonly outputs: readonly [{
|
|
4434
|
+
readonly name: "";
|
|
4435
|
+
readonly internalType: "uint256";
|
|
4436
|
+
readonly type: "uint256";
|
|
4437
|
+
}];
|
|
4438
|
+
}, {
|
|
4439
|
+
readonly stateMutability: "nonpayable";
|
|
4440
|
+
readonly type: "function";
|
|
4441
|
+
readonly inputs: readonly [{
|
|
4442
|
+
readonly name: "value";
|
|
4443
|
+
readonly internalType: "uint256";
|
|
4444
|
+
readonly type: "uint256";
|
|
4445
|
+
}];
|
|
4446
|
+
readonly name: "burn";
|
|
4447
|
+
readonly outputs: readonly [];
|
|
4448
|
+
}, {
|
|
4449
|
+
readonly stateMutability: "nonpayable";
|
|
4450
|
+
readonly type: "function";
|
|
4451
|
+
readonly inputs: readonly [{
|
|
4452
|
+
readonly name: "account";
|
|
4453
|
+
readonly internalType: "address";
|
|
4454
|
+
readonly type: "address";
|
|
4455
|
+
}, {
|
|
4456
|
+
readonly name: "value";
|
|
4457
|
+
readonly internalType: "uint256";
|
|
4458
|
+
readonly type: "uint256";
|
|
4459
|
+
}];
|
|
4460
|
+
readonly name: "burnFrom";
|
|
4461
|
+
readonly outputs: readonly [];
|
|
4462
|
+
}, {
|
|
4463
|
+
readonly stateMutability: "view";
|
|
4464
|
+
readonly type: "function";
|
|
4465
|
+
readonly inputs: readonly [];
|
|
4466
|
+
readonly name: "contractURI";
|
|
4467
|
+
readonly outputs: readonly [{
|
|
4468
|
+
readonly name: "";
|
|
4469
|
+
readonly internalType: "string";
|
|
4470
|
+
readonly type: "string";
|
|
4471
|
+
}];
|
|
4472
|
+
}, {
|
|
4473
|
+
readonly stateMutability: "pure";
|
|
4474
|
+
readonly type: "function";
|
|
4475
|
+
readonly inputs: readonly [];
|
|
4476
|
+
readonly name: "contractVersion";
|
|
4477
|
+
readonly outputs: readonly [{
|
|
4478
|
+
readonly name: "";
|
|
4479
|
+
readonly internalType: "string";
|
|
4480
|
+
readonly type: "string";
|
|
4481
|
+
}];
|
|
4482
|
+
}, {
|
|
4483
|
+
readonly stateMutability: "view";
|
|
4484
|
+
readonly type: "function";
|
|
4485
|
+
readonly inputs: readonly [];
|
|
4486
|
+
readonly name: "decimals";
|
|
4487
|
+
readonly outputs: readonly [{
|
|
4488
|
+
readonly name: "";
|
|
4489
|
+
readonly internalType: "uint8";
|
|
4490
|
+
readonly type: "uint8";
|
|
4491
|
+
}];
|
|
4492
|
+
}, {
|
|
4493
|
+
readonly stateMutability: "view";
|
|
4494
|
+
readonly type: "function";
|
|
4495
|
+
readonly inputs: readonly [];
|
|
4496
|
+
readonly name: "factory";
|
|
4497
|
+
readonly outputs: readonly [{
|
|
4498
|
+
readonly name: "";
|
|
4499
|
+
readonly internalType: "address";
|
|
4500
|
+
readonly type: "address";
|
|
4501
|
+
}];
|
|
4502
|
+
}, {
|
|
4503
|
+
readonly stateMutability: "nonpayable";
|
|
4504
|
+
readonly type: "function";
|
|
4505
|
+
readonly inputs: readonly [{
|
|
4506
|
+
readonly name: "_params";
|
|
4507
|
+
readonly internalType: "struct IBasememeToken.ConstructorParams";
|
|
4508
|
+
readonly type: "tuple";
|
|
4509
|
+
readonly components: readonly [{
|
|
4510
|
+
readonly name: "name";
|
|
4511
|
+
readonly internalType: "string";
|
|
4512
|
+
readonly type: "string";
|
|
4513
|
+
}, {
|
|
4514
|
+
readonly name: "symbol";
|
|
4515
|
+
readonly internalType: "string";
|
|
4516
|
+
readonly type: "string";
|
|
4517
|
+
}, {
|
|
4518
|
+
readonly name: "tokenURI";
|
|
4519
|
+
readonly internalType: "string";
|
|
4520
|
+
readonly type: "string";
|
|
4521
|
+
}, {
|
|
4522
|
+
readonly name: "factory";
|
|
4523
|
+
readonly internalType: "address";
|
|
4524
|
+
readonly type: "address";
|
|
4525
|
+
}, {
|
|
4526
|
+
readonly name: "bondingCurve";
|
|
4527
|
+
readonly internalType: "address";
|
|
4528
|
+
readonly type: "address";
|
|
4529
|
+
}, {
|
|
4530
|
+
readonly name: "initialTokenSupply";
|
|
4531
|
+
readonly internalType: "uint256";
|
|
4532
|
+
readonly type: "uint256";
|
|
4533
|
+
}];
|
|
4534
|
+
}];
|
|
4535
|
+
readonly name: "initialize";
|
|
4536
|
+
readonly outputs: readonly [];
|
|
4537
|
+
}, {
|
|
4538
|
+
readonly stateMutability: "view";
|
|
4539
|
+
readonly type: "function";
|
|
4540
|
+
readonly inputs: readonly [];
|
|
4541
|
+
readonly name: "name";
|
|
4542
|
+
readonly outputs: readonly [{
|
|
4543
|
+
readonly name: "";
|
|
4544
|
+
readonly internalType: "string";
|
|
4545
|
+
readonly type: "string";
|
|
4546
|
+
}];
|
|
4547
|
+
}, {
|
|
4548
|
+
readonly stateMutability: "view";
|
|
4549
|
+
readonly type: "function";
|
|
4550
|
+
readonly inputs: readonly [];
|
|
4551
|
+
readonly name: "owner";
|
|
4552
|
+
readonly outputs: readonly [{
|
|
4553
|
+
readonly name: "";
|
|
4554
|
+
readonly internalType: "address";
|
|
4555
|
+
readonly type: "address";
|
|
4556
|
+
}];
|
|
4557
|
+
}, {
|
|
4558
|
+
readonly stateMutability: "nonpayable";
|
|
4559
|
+
readonly type: "function";
|
|
4560
|
+
readonly inputs: readonly [];
|
|
4561
|
+
readonly name: "renounceOwnership";
|
|
4562
|
+
readonly outputs: readonly [];
|
|
4563
|
+
}, {
|
|
4564
|
+
readonly stateMutability: "nonpayable";
|
|
4565
|
+
readonly type: "function";
|
|
4566
|
+
readonly inputs: readonly [{
|
|
4567
|
+
readonly name: "mode";
|
|
4568
|
+
readonly internalType: "enum IBasememeToken.TransferMode";
|
|
4569
|
+
readonly type: "uint8";
|
|
4570
|
+
}];
|
|
4571
|
+
readonly name: "setTransferMode";
|
|
4572
|
+
readonly outputs: readonly [];
|
|
4573
|
+
}, {
|
|
4574
|
+
readonly stateMutability: "pure";
|
|
4575
|
+
readonly type: "function";
|
|
4576
|
+
readonly inputs: readonly [{
|
|
4577
|
+
readonly name: "interfaceId";
|
|
4578
|
+
readonly internalType: "bytes4";
|
|
4579
|
+
readonly type: "bytes4";
|
|
4580
|
+
}];
|
|
4581
|
+
readonly name: "supportsInterface";
|
|
4582
|
+
readonly outputs: readonly [{
|
|
4583
|
+
readonly name: "";
|
|
4584
|
+
readonly internalType: "bool";
|
|
4585
|
+
readonly type: "bool";
|
|
4586
|
+
}];
|
|
4587
|
+
}, {
|
|
4588
|
+
readonly stateMutability: "view";
|
|
4589
|
+
readonly type: "function";
|
|
4590
|
+
readonly inputs: readonly [];
|
|
4591
|
+
readonly name: "symbol";
|
|
4592
|
+
readonly outputs: readonly [{
|
|
4593
|
+
readonly name: "";
|
|
4594
|
+
readonly internalType: "string";
|
|
4595
|
+
readonly type: "string";
|
|
4596
|
+
}];
|
|
4597
|
+
}, {
|
|
4598
|
+
readonly stateMutability: "view";
|
|
4599
|
+
readonly type: "function";
|
|
4600
|
+
readonly inputs: readonly [];
|
|
4601
|
+
readonly name: "tokenURI";
|
|
4602
|
+
readonly outputs: readonly [{
|
|
4603
|
+
readonly name: "";
|
|
4604
|
+
readonly internalType: "string";
|
|
4605
|
+
readonly type: "string";
|
|
4606
|
+
}];
|
|
4607
|
+
}, {
|
|
4608
|
+
readonly stateMutability: "view";
|
|
4609
|
+
readonly type: "function";
|
|
4610
|
+
readonly inputs: readonly [];
|
|
4611
|
+
readonly name: "totalSupply";
|
|
4612
|
+
readonly outputs: readonly [{
|
|
4613
|
+
readonly name: "";
|
|
4614
|
+
readonly internalType: "uint256";
|
|
4615
|
+
readonly type: "uint256";
|
|
4616
|
+
}];
|
|
4617
|
+
}, {
|
|
4618
|
+
readonly stateMutability: "nonpayable";
|
|
4619
|
+
readonly type: "function";
|
|
4620
|
+
readonly inputs: readonly [{
|
|
4621
|
+
readonly name: "to";
|
|
4622
|
+
readonly internalType: "address";
|
|
4623
|
+
readonly type: "address";
|
|
4624
|
+
}, {
|
|
4625
|
+
readonly name: "value";
|
|
4626
|
+
readonly internalType: "uint256";
|
|
4627
|
+
readonly type: "uint256";
|
|
4628
|
+
}];
|
|
4629
|
+
readonly name: "transfer";
|
|
4630
|
+
readonly outputs: readonly [{
|
|
4631
|
+
readonly name: "";
|
|
4632
|
+
readonly internalType: "bool";
|
|
4633
|
+
readonly type: "bool";
|
|
4634
|
+
}];
|
|
4635
|
+
}, {
|
|
4636
|
+
readonly stateMutability: "nonpayable";
|
|
4637
|
+
readonly type: "function";
|
|
4638
|
+
readonly inputs: readonly [{
|
|
4639
|
+
readonly name: "from";
|
|
4640
|
+
readonly internalType: "address";
|
|
4641
|
+
readonly type: "address";
|
|
4642
|
+
}, {
|
|
4643
|
+
readonly name: "to";
|
|
4644
|
+
readonly internalType: "address";
|
|
4645
|
+
readonly type: "address";
|
|
4646
|
+
}, {
|
|
4647
|
+
readonly name: "value";
|
|
4648
|
+
readonly internalType: "uint256";
|
|
4649
|
+
readonly type: "uint256";
|
|
4650
|
+
}];
|
|
4651
|
+
readonly name: "transferFrom";
|
|
4652
|
+
readonly outputs: readonly [{
|
|
4653
|
+
readonly name: "";
|
|
4654
|
+
readonly internalType: "bool";
|
|
4655
|
+
readonly type: "bool";
|
|
4656
|
+
}];
|
|
4657
|
+
}, {
|
|
4658
|
+
readonly stateMutability: "view";
|
|
4659
|
+
readonly type: "function";
|
|
4660
|
+
readonly inputs: readonly [];
|
|
4661
|
+
readonly name: "transferMode";
|
|
4662
|
+
readonly outputs: readonly [{
|
|
4663
|
+
readonly name: "";
|
|
4664
|
+
readonly internalType: "enum IBasememeToken.TransferMode";
|
|
4665
|
+
readonly type: "uint8";
|
|
4666
|
+
}];
|
|
4667
|
+
}, {
|
|
4668
|
+
readonly stateMutability: "nonpayable";
|
|
4669
|
+
readonly type: "function";
|
|
4670
|
+
readonly inputs: readonly [{
|
|
4671
|
+
readonly name: "newOwner";
|
|
4672
|
+
readonly internalType: "address";
|
|
4673
|
+
readonly type: "address";
|
|
4674
|
+
}];
|
|
4675
|
+
readonly name: "transferOwnership";
|
|
4676
|
+
readonly outputs: readonly [];
|
|
4677
|
+
}, {
|
|
4678
|
+
readonly type: "event";
|
|
4679
|
+
readonly anonymous: false;
|
|
4680
|
+
readonly inputs: readonly [{
|
|
4681
|
+
readonly name: "owner";
|
|
4682
|
+
readonly internalType: "address";
|
|
4683
|
+
readonly type: "address";
|
|
4684
|
+
readonly indexed: true;
|
|
4685
|
+
}, {
|
|
4686
|
+
readonly name: "spender";
|
|
4687
|
+
readonly internalType: "address";
|
|
4688
|
+
readonly type: "address";
|
|
4689
|
+
readonly indexed: true;
|
|
4690
|
+
}, {
|
|
4691
|
+
readonly name: "value";
|
|
4692
|
+
readonly internalType: "uint256";
|
|
4693
|
+
readonly type: "uint256";
|
|
4694
|
+
readonly indexed: false;
|
|
4695
|
+
}];
|
|
4696
|
+
readonly name: "Approval";
|
|
4697
|
+
}, {
|
|
4698
|
+
readonly type: "event";
|
|
4699
|
+
readonly anonymous: false;
|
|
4700
|
+
readonly inputs: readonly [];
|
|
4701
|
+
readonly name: "ContractURIUpdated";
|
|
4702
|
+
}, {
|
|
4703
|
+
readonly type: "event";
|
|
4704
|
+
readonly anonymous: false;
|
|
4705
|
+
readonly inputs: readonly [{
|
|
4706
|
+
readonly name: "version";
|
|
4707
|
+
readonly internalType: "uint64";
|
|
4708
|
+
readonly type: "uint64";
|
|
4709
|
+
readonly indexed: false;
|
|
4710
|
+
}];
|
|
4711
|
+
readonly name: "Initialized";
|
|
4712
|
+
}, {
|
|
4713
|
+
readonly type: "event";
|
|
4714
|
+
readonly anonymous: false;
|
|
4715
|
+
readonly inputs: readonly [{
|
|
4716
|
+
readonly name: "previousOwner";
|
|
4717
|
+
readonly internalType: "address";
|
|
4718
|
+
readonly type: "address";
|
|
4719
|
+
readonly indexed: true;
|
|
4720
|
+
}, {
|
|
4721
|
+
readonly name: "newOwner";
|
|
4722
|
+
readonly internalType: "address";
|
|
4723
|
+
readonly type: "address";
|
|
4724
|
+
readonly indexed: true;
|
|
4725
|
+
}];
|
|
4726
|
+
readonly name: "OwnershipTransferred";
|
|
4727
|
+
}, {
|
|
4728
|
+
readonly type: "event";
|
|
4729
|
+
readonly anonymous: false;
|
|
4730
|
+
readonly inputs: readonly [{
|
|
4731
|
+
readonly name: "sender";
|
|
4732
|
+
readonly internalType: "address";
|
|
4733
|
+
readonly type: "address";
|
|
4734
|
+
readonly indexed: true;
|
|
4735
|
+
}, {
|
|
4736
|
+
readonly name: "recipient";
|
|
4737
|
+
readonly internalType: "address";
|
|
4738
|
+
readonly type: "address";
|
|
4739
|
+
readonly indexed: true;
|
|
4740
|
+
}, {
|
|
4741
|
+
readonly name: "amount";
|
|
4742
|
+
readonly internalType: "uint256";
|
|
4743
|
+
readonly type: "uint256";
|
|
4744
|
+
readonly indexed: false;
|
|
4745
|
+
}, {
|
|
4746
|
+
readonly name: "senderBalance";
|
|
4747
|
+
readonly internalType: "uint256";
|
|
4748
|
+
readonly type: "uint256";
|
|
4749
|
+
readonly indexed: false;
|
|
4750
|
+
}, {
|
|
4751
|
+
readonly name: "recipientBalance";
|
|
4752
|
+
readonly internalType: "uint256";
|
|
4753
|
+
readonly type: "uint256";
|
|
4754
|
+
readonly indexed: false;
|
|
4755
|
+
}];
|
|
4756
|
+
readonly name: "TokensTransferred";
|
|
4757
|
+
}, {
|
|
4758
|
+
readonly type: "event";
|
|
4759
|
+
readonly anonymous: false;
|
|
4760
|
+
readonly inputs: readonly [{
|
|
4761
|
+
readonly name: "from";
|
|
4762
|
+
readonly internalType: "address";
|
|
4763
|
+
readonly type: "address";
|
|
4764
|
+
readonly indexed: true;
|
|
4765
|
+
}, {
|
|
4766
|
+
readonly name: "to";
|
|
4767
|
+
readonly internalType: "address";
|
|
4768
|
+
readonly type: "address";
|
|
4769
|
+
readonly indexed: true;
|
|
4770
|
+
}, {
|
|
4771
|
+
readonly name: "value";
|
|
4772
|
+
readonly internalType: "uint256";
|
|
4773
|
+
readonly type: "uint256";
|
|
4774
|
+
readonly indexed: false;
|
|
4775
|
+
}];
|
|
4776
|
+
readonly name: "Transfer";
|
|
4777
|
+
}, {
|
|
4778
|
+
readonly type: "error";
|
|
4779
|
+
readonly inputs: readonly [{
|
|
4780
|
+
readonly name: "spender";
|
|
4781
|
+
readonly internalType: "address";
|
|
4782
|
+
readonly type: "address";
|
|
4783
|
+
}, {
|
|
4784
|
+
readonly name: "allowance";
|
|
4785
|
+
readonly internalType: "uint256";
|
|
4786
|
+
readonly type: "uint256";
|
|
4787
|
+
}, {
|
|
4788
|
+
readonly name: "needed";
|
|
4789
|
+
readonly internalType: "uint256";
|
|
4790
|
+
readonly type: "uint256";
|
|
4791
|
+
}];
|
|
4792
|
+
readonly name: "ERC20InsufficientAllowance";
|
|
4793
|
+
}, {
|
|
4794
|
+
readonly type: "error";
|
|
4795
|
+
readonly inputs: readonly [{
|
|
4796
|
+
readonly name: "sender";
|
|
4797
|
+
readonly internalType: "address";
|
|
4798
|
+
readonly type: "address";
|
|
4799
|
+
}, {
|
|
4800
|
+
readonly name: "balance";
|
|
4801
|
+
readonly internalType: "uint256";
|
|
4802
|
+
readonly type: "uint256";
|
|
4803
|
+
}, {
|
|
4804
|
+
readonly name: "needed";
|
|
4805
|
+
readonly internalType: "uint256";
|
|
4806
|
+
readonly type: "uint256";
|
|
4807
|
+
}];
|
|
4808
|
+
readonly name: "ERC20InsufficientBalance";
|
|
4809
|
+
}, {
|
|
4810
|
+
readonly type: "error";
|
|
4811
|
+
readonly inputs: readonly [{
|
|
4812
|
+
readonly name: "approver";
|
|
4813
|
+
readonly internalType: "address";
|
|
4814
|
+
readonly type: "address";
|
|
4815
|
+
}];
|
|
4816
|
+
readonly name: "ERC20InvalidApprover";
|
|
4817
|
+
}, {
|
|
4818
|
+
readonly type: "error";
|
|
4819
|
+
readonly inputs: readonly [{
|
|
4820
|
+
readonly name: "receiver";
|
|
4821
|
+
readonly internalType: "address";
|
|
4822
|
+
readonly type: "address";
|
|
4823
|
+
}];
|
|
4824
|
+
readonly name: "ERC20InvalidReceiver";
|
|
4825
|
+
}, {
|
|
4826
|
+
readonly type: "error";
|
|
4827
|
+
readonly inputs: readonly [{
|
|
4828
|
+
readonly name: "sender";
|
|
4829
|
+
readonly internalType: "address";
|
|
4830
|
+
readonly type: "address";
|
|
4831
|
+
}];
|
|
4832
|
+
readonly name: "ERC20InvalidSender";
|
|
4833
|
+
}, {
|
|
4834
|
+
readonly type: "error";
|
|
4835
|
+
readonly inputs: readonly [{
|
|
4836
|
+
readonly name: "spender";
|
|
4837
|
+
readonly internalType: "address";
|
|
4838
|
+
readonly type: "address";
|
|
4839
|
+
}];
|
|
4840
|
+
readonly name: "ERC20InvalidSpender";
|
|
4841
|
+
}, {
|
|
4842
|
+
readonly type: "error";
|
|
4843
|
+
readonly inputs: readonly [];
|
|
4844
|
+
readonly name: "InvalidInitialization";
|
|
4845
|
+
}, {
|
|
4846
|
+
readonly type: "error";
|
|
4847
|
+
readonly inputs: readonly [];
|
|
4848
|
+
readonly name: "NotInitializing";
|
|
4849
|
+
}, {
|
|
4850
|
+
readonly type: "error";
|
|
4851
|
+
readonly inputs: readonly [{
|
|
4852
|
+
readonly name: "owner";
|
|
4853
|
+
readonly internalType: "address";
|
|
4854
|
+
readonly type: "address";
|
|
4855
|
+
}];
|
|
4856
|
+
readonly name: "OwnableInvalidOwner";
|
|
4857
|
+
}, {
|
|
4858
|
+
readonly type: "error";
|
|
4859
|
+
readonly inputs: readonly [{
|
|
4860
|
+
readonly name: "account";
|
|
4861
|
+
readonly internalType: "address";
|
|
4862
|
+
readonly type: "address";
|
|
4863
|
+
}];
|
|
4864
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
4865
|
+
}, {
|
|
4866
|
+
readonly type: "error";
|
|
4867
|
+
readonly inputs: readonly [];
|
|
4868
|
+
readonly name: "TransfersControlled";
|
|
4869
|
+
}, {
|
|
4870
|
+
readonly type: "error";
|
|
4871
|
+
readonly inputs: readonly [];
|
|
4872
|
+
readonly name: "TransfersRestricted";
|
|
4873
|
+
}];
|
|
4874
|
+
/**
|
|
4875
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
4876
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B)
|
|
4877
|
+
*/
|
|
4878
|
+
export declare const basememeTokenAddress: {
|
|
4879
|
+
readonly 8453: "0x0000000000000000000000000000000000000000";
|
|
4880
|
+
readonly 84532: "0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B";
|
|
4881
|
+
};
|
|
4882
|
+
/**
|
|
4883
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
4884
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B)
|
|
4885
|
+
*/
|
|
4886
|
+
export declare const basememeTokenConfig: {
|
|
4887
|
+
readonly address: {
|
|
4888
|
+
readonly 8453: "0x0000000000000000000000000000000000000000";
|
|
4889
|
+
readonly 84532: "0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B";
|
|
4890
|
+
};
|
|
4891
|
+
readonly abi: readonly [{
|
|
4892
|
+
readonly stateMutability: "nonpayable";
|
|
4893
|
+
readonly type: "constructor";
|
|
4894
|
+
readonly inputs: readonly [];
|
|
4895
|
+
}, {
|
|
4896
|
+
readonly stateMutability: "view";
|
|
4897
|
+
readonly type: "function";
|
|
4898
|
+
readonly inputs: readonly [{
|
|
4899
|
+
readonly name: "owner";
|
|
4900
|
+
readonly internalType: "address";
|
|
4901
|
+
readonly type: "address";
|
|
4902
|
+
}, {
|
|
4903
|
+
readonly name: "spender";
|
|
4904
|
+
readonly internalType: "address";
|
|
4905
|
+
readonly type: "address";
|
|
4906
|
+
}];
|
|
4907
|
+
readonly name: "allowance";
|
|
4908
|
+
readonly outputs: readonly [{
|
|
4909
|
+
readonly name: "";
|
|
4910
|
+
readonly internalType: "uint256";
|
|
4911
|
+
readonly type: "uint256";
|
|
4912
|
+
}];
|
|
4913
|
+
}, {
|
|
4914
|
+
readonly stateMutability: "nonpayable";
|
|
4915
|
+
readonly type: "function";
|
|
4916
|
+
readonly inputs: readonly [{
|
|
4917
|
+
readonly name: "spender";
|
|
4918
|
+
readonly internalType: "address";
|
|
4919
|
+
readonly type: "address";
|
|
4920
|
+
}, {
|
|
4921
|
+
readonly name: "value";
|
|
4922
|
+
readonly internalType: "uint256";
|
|
4923
|
+
readonly type: "uint256";
|
|
4924
|
+
}];
|
|
4925
|
+
readonly name: "approve";
|
|
4926
|
+
readonly outputs: readonly [{
|
|
4927
|
+
readonly name: "";
|
|
4928
|
+
readonly internalType: "bool";
|
|
4929
|
+
readonly type: "bool";
|
|
4930
|
+
}];
|
|
4931
|
+
}, {
|
|
4932
|
+
readonly stateMutability: "view";
|
|
4933
|
+
readonly type: "function";
|
|
4934
|
+
readonly inputs: readonly [{
|
|
4935
|
+
readonly name: "account";
|
|
4936
|
+
readonly internalType: "address";
|
|
4937
|
+
readonly type: "address";
|
|
4938
|
+
}];
|
|
4939
|
+
readonly name: "balanceOf";
|
|
4940
|
+
readonly outputs: readonly [{
|
|
4941
|
+
readonly name: "";
|
|
4942
|
+
readonly internalType: "uint256";
|
|
4943
|
+
readonly type: "uint256";
|
|
4944
|
+
}];
|
|
4945
|
+
}, {
|
|
4946
|
+
readonly stateMutability: "nonpayable";
|
|
4947
|
+
readonly type: "function";
|
|
4948
|
+
readonly inputs: readonly [{
|
|
4949
|
+
readonly name: "value";
|
|
4950
|
+
readonly internalType: "uint256";
|
|
4951
|
+
readonly type: "uint256";
|
|
4952
|
+
}];
|
|
4953
|
+
readonly name: "burn";
|
|
4954
|
+
readonly outputs: readonly [];
|
|
4955
|
+
}, {
|
|
4956
|
+
readonly stateMutability: "nonpayable";
|
|
4957
|
+
readonly type: "function";
|
|
4958
|
+
readonly inputs: readonly [{
|
|
4959
|
+
readonly name: "account";
|
|
4960
|
+
readonly internalType: "address";
|
|
4961
|
+
readonly type: "address";
|
|
4962
|
+
}, {
|
|
4963
|
+
readonly name: "value";
|
|
4964
|
+
readonly internalType: "uint256";
|
|
4965
|
+
readonly type: "uint256";
|
|
4966
|
+
}];
|
|
4967
|
+
readonly name: "burnFrom";
|
|
4968
|
+
readonly outputs: readonly [];
|
|
4969
|
+
}, {
|
|
4970
|
+
readonly stateMutability: "view";
|
|
4971
|
+
readonly type: "function";
|
|
4972
|
+
readonly inputs: readonly [];
|
|
4973
|
+
readonly name: "contractURI";
|
|
4974
|
+
readonly outputs: readonly [{
|
|
4975
|
+
readonly name: "";
|
|
4976
|
+
readonly internalType: "string";
|
|
4977
|
+
readonly type: "string";
|
|
4978
|
+
}];
|
|
4979
|
+
}, {
|
|
4980
|
+
readonly stateMutability: "pure";
|
|
4981
|
+
readonly type: "function";
|
|
4982
|
+
readonly inputs: readonly [];
|
|
4983
|
+
readonly name: "contractVersion";
|
|
4984
|
+
readonly outputs: readonly [{
|
|
4985
|
+
readonly name: "";
|
|
4986
|
+
readonly internalType: "string";
|
|
4987
|
+
readonly type: "string";
|
|
4988
|
+
}];
|
|
4989
|
+
}, {
|
|
4990
|
+
readonly stateMutability: "view";
|
|
4991
|
+
readonly type: "function";
|
|
4992
|
+
readonly inputs: readonly [];
|
|
4993
|
+
readonly name: "decimals";
|
|
4994
|
+
readonly outputs: readonly [{
|
|
4995
|
+
readonly name: "";
|
|
4996
|
+
readonly internalType: "uint8";
|
|
4997
|
+
readonly type: "uint8";
|
|
4998
|
+
}];
|
|
4999
|
+
}, {
|
|
5000
|
+
readonly stateMutability: "view";
|
|
5001
|
+
readonly type: "function";
|
|
5002
|
+
readonly inputs: readonly [];
|
|
5003
|
+
readonly name: "factory";
|
|
5004
|
+
readonly outputs: readonly [{
|
|
5005
|
+
readonly name: "";
|
|
5006
|
+
readonly internalType: "address";
|
|
5007
|
+
readonly type: "address";
|
|
5008
|
+
}];
|
|
5009
|
+
}, {
|
|
5010
|
+
readonly stateMutability: "nonpayable";
|
|
5011
|
+
readonly type: "function";
|
|
5012
|
+
readonly inputs: readonly [{
|
|
5013
|
+
readonly name: "_params";
|
|
5014
|
+
readonly internalType: "struct IBasememeToken.ConstructorParams";
|
|
5015
|
+
readonly type: "tuple";
|
|
5016
|
+
readonly components: readonly [{
|
|
5017
|
+
readonly name: "name";
|
|
5018
|
+
readonly internalType: "string";
|
|
5019
|
+
readonly type: "string";
|
|
5020
|
+
}, {
|
|
5021
|
+
readonly name: "symbol";
|
|
5022
|
+
readonly internalType: "string";
|
|
5023
|
+
readonly type: "string";
|
|
5024
|
+
}, {
|
|
5025
|
+
readonly name: "tokenURI";
|
|
5026
|
+
readonly internalType: "string";
|
|
5027
|
+
readonly type: "string";
|
|
5028
|
+
}, {
|
|
5029
|
+
readonly name: "factory";
|
|
5030
|
+
readonly internalType: "address";
|
|
5031
|
+
readonly type: "address";
|
|
5032
|
+
}, {
|
|
5033
|
+
readonly name: "bondingCurve";
|
|
5034
|
+
readonly internalType: "address";
|
|
5035
|
+
readonly type: "address";
|
|
5036
|
+
}, {
|
|
5037
|
+
readonly name: "initialTokenSupply";
|
|
5038
|
+
readonly internalType: "uint256";
|
|
5039
|
+
readonly type: "uint256";
|
|
5040
|
+
}];
|
|
5041
|
+
}];
|
|
5042
|
+
readonly name: "initialize";
|
|
5043
|
+
readonly outputs: readonly [];
|
|
5044
|
+
}, {
|
|
5045
|
+
readonly stateMutability: "view";
|
|
5046
|
+
readonly type: "function";
|
|
5047
|
+
readonly inputs: readonly [];
|
|
5048
|
+
readonly name: "name";
|
|
5049
|
+
readonly outputs: readonly [{
|
|
5050
|
+
readonly name: "";
|
|
5051
|
+
readonly internalType: "string";
|
|
5052
|
+
readonly type: "string";
|
|
5053
|
+
}];
|
|
5054
|
+
}, {
|
|
5055
|
+
readonly stateMutability: "view";
|
|
5056
|
+
readonly type: "function";
|
|
5057
|
+
readonly inputs: readonly [];
|
|
5058
|
+
readonly name: "owner";
|
|
5059
|
+
readonly outputs: readonly [{
|
|
5060
|
+
readonly name: "";
|
|
5061
|
+
readonly internalType: "address";
|
|
5062
|
+
readonly type: "address";
|
|
5063
|
+
}];
|
|
5064
|
+
}, {
|
|
5065
|
+
readonly stateMutability: "nonpayable";
|
|
5066
|
+
readonly type: "function";
|
|
5067
|
+
readonly inputs: readonly [];
|
|
5068
|
+
readonly name: "renounceOwnership";
|
|
5069
|
+
readonly outputs: readonly [];
|
|
5070
|
+
}, {
|
|
5071
|
+
readonly stateMutability: "nonpayable";
|
|
5072
|
+
readonly type: "function";
|
|
5073
|
+
readonly inputs: readonly [{
|
|
5074
|
+
readonly name: "mode";
|
|
5075
|
+
readonly internalType: "enum IBasememeToken.TransferMode";
|
|
5076
|
+
readonly type: "uint8";
|
|
5077
|
+
}];
|
|
5078
|
+
readonly name: "setTransferMode";
|
|
5079
|
+
readonly outputs: readonly [];
|
|
5080
|
+
}, {
|
|
5081
|
+
readonly stateMutability: "pure";
|
|
5082
|
+
readonly type: "function";
|
|
5083
|
+
readonly inputs: readonly [{
|
|
5084
|
+
readonly name: "interfaceId";
|
|
5085
|
+
readonly internalType: "bytes4";
|
|
5086
|
+
readonly type: "bytes4";
|
|
5087
|
+
}];
|
|
5088
|
+
readonly name: "supportsInterface";
|
|
5089
|
+
readonly outputs: readonly [{
|
|
5090
|
+
readonly name: "";
|
|
5091
|
+
readonly internalType: "bool";
|
|
5092
|
+
readonly type: "bool";
|
|
5093
|
+
}];
|
|
5094
|
+
}, {
|
|
5095
|
+
readonly stateMutability: "view";
|
|
5096
|
+
readonly type: "function";
|
|
5097
|
+
readonly inputs: readonly [];
|
|
5098
|
+
readonly name: "symbol";
|
|
5099
|
+
readonly outputs: readonly [{
|
|
5100
|
+
readonly name: "";
|
|
5101
|
+
readonly internalType: "string";
|
|
5102
|
+
readonly type: "string";
|
|
5103
|
+
}];
|
|
5104
|
+
}, {
|
|
5105
|
+
readonly stateMutability: "view";
|
|
5106
|
+
readonly type: "function";
|
|
5107
|
+
readonly inputs: readonly [];
|
|
5108
|
+
readonly name: "tokenURI";
|
|
5109
|
+
readonly outputs: readonly [{
|
|
5110
|
+
readonly name: "";
|
|
5111
|
+
readonly internalType: "string";
|
|
5112
|
+
readonly type: "string";
|
|
5113
|
+
}];
|
|
5114
|
+
}, {
|
|
5115
|
+
readonly stateMutability: "view";
|
|
5116
|
+
readonly type: "function";
|
|
5117
|
+
readonly inputs: readonly [];
|
|
5118
|
+
readonly name: "totalSupply";
|
|
5119
|
+
readonly outputs: readonly [{
|
|
5120
|
+
readonly name: "";
|
|
5121
|
+
readonly internalType: "uint256";
|
|
5122
|
+
readonly type: "uint256";
|
|
5123
|
+
}];
|
|
5124
|
+
}, {
|
|
5125
|
+
readonly stateMutability: "nonpayable";
|
|
5126
|
+
readonly type: "function";
|
|
5127
|
+
readonly inputs: readonly [{
|
|
5128
|
+
readonly name: "to";
|
|
5129
|
+
readonly internalType: "address";
|
|
5130
|
+
readonly type: "address";
|
|
5131
|
+
}, {
|
|
5132
|
+
readonly name: "value";
|
|
5133
|
+
readonly internalType: "uint256";
|
|
5134
|
+
readonly type: "uint256";
|
|
5135
|
+
}];
|
|
5136
|
+
readonly name: "transfer";
|
|
5137
|
+
readonly outputs: readonly [{
|
|
5138
|
+
readonly name: "";
|
|
5139
|
+
readonly internalType: "bool";
|
|
5140
|
+
readonly type: "bool";
|
|
5141
|
+
}];
|
|
5142
|
+
}, {
|
|
5143
|
+
readonly stateMutability: "nonpayable";
|
|
5144
|
+
readonly type: "function";
|
|
5145
|
+
readonly inputs: readonly [{
|
|
5146
|
+
readonly name: "from";
|
|
5147
|
+
readonly internalType: "address";
|
|
5148
|
+
readonly type: "address";
|
|
5149
|
+
}, {
|
|
5150
|
+
readonly name: "to";
|
|
5151
|
+
readonly internalType: "address";
|
|
5152
|
+
readonly type: "address";
|
|
5153
|
+
}, {
|
|
5154
|
+
readonly name: "value";
|
|
5155
|
+
readonly internalType: "uint256";
|
|
5156
|
+
readonly type: "uint256";
|
|
5157
|
+
}];
|
|
5158
|
+
readonly name: "transferFrom";
|
|
5159
|
+
readonly outputs: readonly [{
|
|
5160
|
+
readonly name: "";
|
|
5161
|
+
readonly internalType: "bool";
|
|
5162
|
+
readonly type: "bool";
|
|
5163
|
+
}];
|
|
5164
|
+
}, {
|
|
5165
|
+
readonly stateMutability: "view";
|
|
5166
|
+
readonly type: "function";
|
|
5167
|
+
readonly inputs: readonly [];
|
|
5168
|
+
readonly name: "transferMode";
|
|
5169
|
+
readonly outputs: readonly [{
|
|
5170
|
+
readonly name: "";
|
|
5171
|
+
readonly internalType: "enum IBasememeToken.TransferMode";
|
|
5172
|
+
readonly type: "uint8";
|
|
5173
|
+
}];
|
|
5174
|
+
}, {
|
|
5175
|
+
readonly stateMutability: "nonpayable";
|
|
5176
|
+
readonly type: "function";
|
|
5177
|
+
readonly inputs: readonly [{
|
|
5178
|
+
readonly name: "newOwner";
|
|
5179
|
+
readonly internalType: "address";
|
|
5180
|
+
readonly type: "address";
|
|
5181
|
+
}];
|
|
5182
|
+
readonly name: "transferOwnership";
|
|
5183
|
+
readonly outputs: readonly [];
|
|
5184
|
+
}, {
|
|
5185
|
+
readonly type: "event";
|
|
5186
|
+
readonly anonymous: false;
|
|
5187
|
+
readonly inputs: readonly [{
|
|
5188
|
+
readonly name: "owner";
|
|
5189
|
+
readonly internalType: "address";
|
|
5190
|
+
readonly type: "address";
|
|
5191
|
+
readonly indexed: true;
|
|
5192
|
+
}, {
|
|
5193
|
+
readonly name: "spender";
|
|
5194
|
+
readonly internalType: "address";
|
|
5195
|
+
readonly type: "address";
|
|
5196
|
+
readonly indexed: true;
|
|
5197
|
+
}, {
|
|
5198
|
+
readonly name: "value";
|
|
5199
|
+
readonly internalType: "uint256";
|
|
5200
|
+
readonly type: "uint256";
|
|
5201
|
+
readonly indexed: false;
|
|
5202
|
+
}];
|
|
5203
|
+
readonly name: "Approval";
|
|
5204
|
+
}, {
|
|
5205
|
+
readonly type: "event";
|
|
5206
|
+
readonly anonymous: false;
|
|
5207
|
+
readonly inputs: readonly [];
|
|
5208
|
+
readonly name: "ContractURIUpdated";
|
|
5209
|
+
}, {
|
|
5210
|
+
readonly type: "event";
|
|
5211
|
+
readonly anonymous: false;
|
|
5212
|
+
readonly inputs: readonly [{
|
|
5213
|
+
readonly name: "version";
|
|
5214
|
+
readonly internalType: "uint64";
|
|
5215
|
+
readonly type: "uint64";
|
|
5216
|
+
readonly indexed: false;
|
|
5217
|
+
}];
|
|
5218
|
+
readonly name: "Initialized";
|
|
5219
|
+
}, {
|
|
5220
|
+
readonly type: "event";
|
|
5221
|
+
readonly anonymous: false;
|
|
5222
|
+
readonly inputs: readonly [{
|
|
5223
|
+
readonly name: "previousOwner";
|
|
5224
|
+
readonly internalType: "address";
|
|
5225
|
+
readonly type: "address";
|
|
5226
|
+
readonly indexed: true;
|
|
5227
|
+
}, {
|
|
5228
|
+
readonly name: "newOwner";
|
|
5229
|
+
readonly internalType: "address";
|
|
5230
|
+
readonly type: "address";
|
|
5231
|
+
readonly indexed: true;
|
|
5232
|
+
}];
|
|
5233
|
+
readonly name: "OwnershipTransferred";
|
|
5234
|
+
}, {
|
|
5235
|
+
readonly type: "event";
|
|
5236
|
+
readonly anonymous: false;
|
|
5237
|
+
readonly inputs: readonly [{
|
|
5238
|
+
readonly name: "sender";
|
|
5239
|
+
readonly internalType: "address";
|
|
5240
|
+
readonly type: "address";
|
|
5241
|
+
readonly indexed: true;
|
|
5242
|
+
}, {
|
|
5243
|
+
readonly name: "recipient";
|
|
5244
|
+
readonly internalType: "address";
|
|
5245
|
+
readonly type: "address";
|
|
5246
|
+
readonly indexed: true;
|
|
5247
|
+
}, {
|
|
5248
|
+
readonly name: "amount";
|
|
5249
|
+
readonly internalType: "uint256";
|
|
5250
|
+
readonly type: "uint256";
|
|
5251
|
+
readonly indexed: false;
|
|
5252
|
+
}, {
|
|
5253
|
+
readonly name: "senderBalance";
|
|
5254
|
+
readonly internalType: "uint256";
|
|
5255
|
+
readonly type: "uint256";
|
|
5256
|
+
readonly indexed: false;
|
|
5257
|
+
}, {
|
|
5258
|
+
readonly name: "recipientBalance";
|
|
5259
|
+
readonly internalType: "uint256";
|
|
5260
|
+
readonly type: "uint256";
|
|
5261
|
+
readonly indexed: false;
|
|
5262
|
+
}];
|
|
5263
|
+
readonly name: "TokensTransferred";
|
|
5264
|
+
}, {
|
|
5265
|
+
readonly type: "event";
|
|
5266
|
+
readonly anonymous: false;
|
|
5267
|
+
readonly inputs: readonly [{
|
|
5268
|
+
readonly name: "from";
|
|
5269
|
+
readonly internalType: "address";
|
|
5270
|
+
readonly type: "address";
|
|
5271
|
+
readonly indexed: true;
|
|
5272
|
+
}, {
|
|
5273
|
+
readonly name: "to";
|
|
5274
|
+
readonly internalType: "address";
|
|
5275
|
+
readonly type: "address";
|
|
5276
|
+
readonly indexed: true;
|
|
5277
|
+
}, {
|
|
5278
|
+
readonly name: "value";
|
|
5279
|
+
readonly internalType: "uint256";
|
|
5280
|
+
readonly type: "uint256";
|
|
5281
|
+
readonly indexed: false;
|
|
5282
|
+
}];
|
|
5283
|
+
readonly name: "Transfer";
|
|
5284
|
+
}, {
|
|
5285
|
+
readonly type: "error";
|
|
5286
|
+
readonly inputs: readonly [{
|
|
5287
|
+
readonly name: "spender";
|
|
5288
|
+
readonly internalType: "address";
|
|
5289
|
+
readonly type: "address";
|
|
5290
|
+
}, {
|
|
5291
|
+
readonly name: "allowance";
|
|
5292
|
+
readonly internalType: "uint256";
|
|
5293
|
+
readonly type: "uint256";
|
|
5294
|
+
}, {
|
|
5295
|
+
readonly name: "needed";
|
|
5296
|
+
readonly internalType: "uint256";
|
|
5297
|
+
readonly type: "uint256";
|
|
5298
|
+
}];
|
|
5299
|
+
readonly name: "ERC20InsufficientAllowance";
|
|
5300
|
+
}, {
|
|
5301
|
+
readonly type: "error";
|
|
5302
|
+
readonly inputs: readonly [{
|
|
5303
|
+
readonly name: "sender";
|
|
5304
|
+
readonly internalType: "address";
|
|
5305
|
+
readonly type: "address";
|
|
5306
|
+
}, {
|
|
5307
|
+
readonly name: "balance";
|
|
5308
|
+
readonly internalType: "uint256";
|
|
5309
|
+
readonly type: "uint256";
|
|
5310
|
+
}, {
|
|
5311
|
+
readonly name: "needed";
|
|
5312
|
+
readonly internalType: "uint256";
|
|
5313
|
+
readonly type: "uint256";
|
|
5314
|
+
}];
|
|
5315
|
+
readonly name: "ERC20InsufficientBalance";
|
|
5316
|
+
}, {
|
|
5317
|
+
readonly type: "error";
|
|
5318
|
+
readonly inputs: readonly [{
|
|
5319
|
+
readonly name: "approver";
|
|
5320
|
+
readonly internalType: "address";
|
|
5321
|
+
readonly type: "address";
|
|
5322
|
+
}];
|
|
5323
|
+
readonly name: "ERC20InvalidApprover";
|
|
5324
|
+
}, {
|
|
5325
|
+
readonly type: "error";
|
|
5326
|
+
readonly inputs: readonly [{
|
|
5327
|
+
readonly name: "receiver";
|
|
5328
|
+
readonly internalType: "address";
|
|
5329
|
+
readonly type: "address";
|
|
5330
|
+
}];
|
|
5331
|
+
readonly name: "ERC20InvalidReceiver";
|
|
5332
|
+
}, {
|
|
5333
|
+
readonly type: "error";
|
|
5334
|
+
readonly inputs: readonly [{
|
|
5335
|
+
readonly name: "sender";
|
|
5336
|
+
readonly internalType: "address";
|
|
5337
|
+
readonly type: "address";
|
|
5338
|
+
}];
|
|
5339
|
+
readonly name: "ERC20InvalidSender";
|
|
5340
|
+
}, {
|
|
5341
|
+
readonly type: "error";
|
|
5342
|
+
readonly inputs: readonly [{
|
|
5343
|
+
readonly name: "spender";
|
|
5344
|
+
readonly internalType: "address";
|
|
5345
|
+
readonly type: "address";
|
|
5346
|
+
}];
|
|
5347
|
+
readonly name: "ERC20InvalidSpender";
|
|
5348
|
+
}, {
|
|
5349
|
+
readonly type: "error";
|
|
5350
|
+
readonly inputs: readonly [];
|
|
5351
|
+
readonly name: "InvalidInitialization";
|
|
5352
|
+
}, {
|
|
5353
|
+
readonly type: "error";
|
|
5354
|
+
readonly inputs: readonly [];
|
|
5355
|
+
readonly name: "NotInitializing";
|
|
5356
|
+
}, {
|
|
5357
|
+
readonly type: "error";
|
|
5358
|
+
readonly inputs: readonly [{
|
|
5359
|
+
readonly name: "owner";
|
|
5360
|
+
readonly internalType: "address";
|
|
5361
|
+
readonly type: "address";
|
|
5362
|
+
}];
|
|
5363
|
+
readonly name: "OwnableInvalidOwner";
|
|
5364
|
+
}, {
|
|
5365
|
+
readonly type: "error";
|
|
4007
5366
|
readonly inputs: readonly [{
|
|
4008
5367
|
readonly name: "account";
|
|
4009
5368
|
readonly internalType: "address";
|
|
4010
5369
|
readonly type: "address";
|
|
4011
5370
|
}];
|
|
4012
|
-
readonly name: "
|
|
5371
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
5372
|
+
}, {
|
|
5373
|
+
readonly type: "error";
|
|
5374
|
+
readonly inputs: readonly [];
|
|
5375
|
+
readonly name: "TransfersControlled";
|
|
5376
|
+
}, {
|
|
5377
|
+
readonly type: "error";
|
|
5378
|
+
readonly inputs: readonly [];
|
|
5379
|
+
readonly name: "TransfersRestricted";
|
|
5380
|
+
}];
|
|
5381
|
+
};
|
|
5382
|
+
/**
|
|
5383
|
+
* [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x08b523EF90E056778EF8c0D2F68ff7Df88fCcbB4)
|
|
5384
|
+
*/
|
|
5385
|
+
export declare const basememeTokenSwapABI: readonly [{
|
|
5386
|
+
readonly stateMutability: "nonpayable";
|
|
5387
|
+
readonly type: "constructor";
|
|
5388
|
+
readonly inputs: readonly [];
|
|
5389
|
+
}, {
|
|
5390
|
+
readonly stateMutability: "payable";
|
|
5391
|
+
readonly type: "receive";
|
|
5392
|
+
}, {
|
|
5393
|
+
readonly stateMutability: "view";
|
|
5394
|
+
readonly type: "function";
|
|
5395
|
+
readonly inputs: readonly [];
|
|
5396
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
5397
|
+
readonly outputs: readonly [{
|
|
5398
|
+
readonly name: "";
|
|
5399
|
+
readonly internalType: "string";
|
|
5400
|
+
readonly type: "string";
|
|
5401
|
+
}];
|
|
5402
|
+
}, {
|
|
5403
|
+
readonly stateMutability: "view";
|
|
5404
|
+
readonly type: "function";
|
|
5405
|
+
readonly inputs: readonly [{
|
|
5406
|
+
readonly name: "collateralToken";
|
|
5407
|
+
readonly internalType: "address";
|
|
5408
|
+
readonly type: "address";
|
|
5409
|
+
}];
|
|
5410
|
+
readonly name: "getCollateralDex";
|
|
5411
|
+
readonly outputs: readonly [{
|
|
5412
|
+
readonly name: "dexId";
|
|
5413
|
+
readonly internalType: "uint8";
|
|
5414
|
+
readonly type: "uint8";
|
|
5415
|
+
}, {
|
|
5416
|
+
readonly name: "enabled";
|
|
5417
|
+
readonly internalType: "bool";
|
|
5418
|
+
readonly type: "bool";
|
|
5419
|
+
}];
|
|
5420
|
+
}, {
|
|
5421
|
+
readonly stateMutability: "view";
|
|
5422
|
+
readonly type: "function";
|
|
5423
|
+
readonly inputs: readonly [{
|
|
5424
|
+
readonly name: "collateralToken";
|
|
5425
|
+
readonly internalType: "address";
|
|
5426
|
+
readonly type: "address";
|
|
5427
|
+
}];
|
|
5428
|
+
readonly name: "getCollateralV2Paths";
|
|
5429
|
+
readonly outputs: readonly [{
|
|
5430
|
+
readonly name: "wethToCollateral";
|
|
5431
|
+
readonly internalType: "bytes";
|
|
5432
|
+
readonly type: "bytes";
|
|
5433
|
+
}, {
|
|
5434
|
+
readonly name: "collateralToWeth";
|
|
5435
|
+
readonly internalType: "bytes";
|
|
5436
|
+
readonly type: "bytes";
|
|
5437
|
+
}];
|
|
5438
|
+
}, {
|
|
5439
|
+
readonly stateMutability: "view";
|
|
5440
|
+
readonly type: "function";
|
|
5441
|
+
readonly inputs: readonly [{
|
|
5442
|
+
readonly name: "collateralToken";
|
|
5443
|
+
readonly internalType: "address";
|
|
5444
|
+
readonly type: "address";
|
|
5445
|
+
}];
|
|
5446
|
+
readonly name: "getCollateralV3Paths";
|
|
5447
|
+
readonly outputs: readonly [{
|
|
5448
|
+
readonly name: "wethToCollateral";
|
|
5449
|
+
readonly internalType: "bytes";
|
|
5450
|
+
readonly type: "bytes";
|
|
5451
|
+
}, {
|
|
5452
|
+
readonly name: "collateralToWeth";
|
|
5453
|
+
readonly internalType: "bytes";
|
|
5454
|
+
readonly type: "bytes";
|
|
5455
|
+
}];
|
|
5456
|
+
}, {
|
|
5457
|
+
readonly stateMutability: "view";
|
|
5458
|
+
readonly type: "function";
|
|
5459
|
+
readonly inputs: readonly [{
|
|
5460
|
+
readonly name: "dexId";
|
|
5461
|
+
readonly internalType: "uint8";
|
|
5462
|
+
readonly type: "uint8";
|
|
5463
|
+
}];
|
|
5464
|
+
readonly name: "getDexConfig";
|
|
5465
|
+
readonly outputs: readonly [{
|
|
5466
|
+
readonly name: "dexType";
|
|
5467
|
+
readonly internalType: "enum IBasememeTokenSwap.DexType";
|
|
5468
|
+
readonly type: "uint8";
|
|
5469
|
+
}, {
|
|
5470
|
+
readonly name: "enabled";
|
|
5471
|
+
readonly internalType: "bool";
|
|
5472
|
+
readonly type: "bool";
|
|
5473
|
+
}, {
|
|
5474
|
+
readonly name: "router";
|
|
5475
|
+
readonly internalType: "address";
|
|
5476
|
+
readonly type: "address";
|
|
5477
|
+
}, {
|
|
5478
|
+
readonly name: "quoter";
|
|
5479
|
+
readonly internalType: "address";
|
|
5480
|
+
readonly type: "address";
|
|
5481
|
+
}, {
|
|
5482
|
+
readonly name: "quoterKind";
|
|
5483
|
+
readonly internalType: "uint8";
|
|
5484
|
+
readonly type: "uint8";
|
|
5485
|
+
}];
|
|
5486
|
+
}, {
|
|
5487
|
+
readonly stateMutability: "view";
|
|
5488
|
+
readonly type: "function";
|
|
5489
|
+
readonly inputs: readonly [{
|
|
5490
|
+
readonly name: "collateralToken";
|
|
5491
|
+
readonly internalType: "address";
|
|
5492
|
+
readonly type: "address";
|
|
5493
|
+
}];
|
|
5494
|
+
readonly name: "getRouteDexType";
|
|
5495
|
+
readonly outputs: readonly [{
|
|
5496
|
+
readonly name: "";
|
|
5497
|
+
readonly internalType: "enum IBasememeTokenSwap.DexType";
|
|
5498
|
+
readonly type: "uint8";
|
|
5499
|
+
}];
|
|
5500
|
+
}, {
|
|
5501
|
+
readonly stateMutability: "nonpayable";
|
|
5502
|
+
readonly type: "function";
|
|
5503
|
+
readonly inputs: readonly [{
|
|
5504
|
+
readonly name: "owner_";
|
|
5505
|
+
readonly internalType: "address";
|
|
5506
|
+
readonly type: "address";
|
|
5507
|
+
}, {
|
|
5508
|
+
readonly name: "weth_";
|
|
5509
|
+
readonly internalType: "address";
|
|
5510
|
+
readonly type: "address";
|
|
5511
|
+
}];
|
|
5512
|
+
readonly name: "initialize";
|
|
5513
|
+
readonly outputs: readonly [];
|
|
5514
|
+
}, {
|
|
5515
|
+
readonly stateMutability: "view";
|
|
5516
|
+
readonly type: "function";
|
|
5517
|
+
readonly inputs: readonly [];
|
|
5518
|
+
readonly name: "owner";
|
|
5519
|
+
readonly outputs: readonly [{
|
|
5520
|
+
readonly name: "";
|
|
5521
|
+
readonly internalType: "address";
|
|
5522
|
+
readonly type: "address";
|
|
5523
|
+
}];
|
|
5524
|
+
}, {
|
|
5525
|
+
readonly stateMutability: "view";
|
|
5526
|
+
readonly type: "function";
|
|
5527
|
+
readonly inputs: readonly [];
|
|
5528
|
+
readonly name: "proxiableUUID";
|
|
5529
|
+
readonly outputs: readonly [{
|
|
5530
|
+
readonly name: "";
|
|
5531
|
+
readonly internalType: "bytes32";
|
|
5532
|
+
readonly type: "bytes32";
|
|
5533
|
+
}];
|
|
5534
|
+
}, {
|
|
5535
|
+
readonly stateMutability: "nonpayable";
|
|
5536
|
+
readonly type: "function";
|
|
5537
|
+
readonly inputs: readonly [{
|
|
5538
|
+
readonly name: "collateralToken";
|
|
5539
|
+
readonly internalType: "address";
|
|
5540
|
+
readonly type: "address";
|
|
5541
|
+
}, {
|
|
5542
|
+
readonly name: "amountInCollateral";
|
|
5543
|
+
readonly internalType: "uint256";
|
|
5544
|
+
readonly type: "uint256";
|
|
5545
|
+
}];
|
|
5546
|
+
readonly name: "quoteCollateralToEth";
|
|
5547
|
+
readonly outputs: readonly [{
|
|
5548
|
+
readonly name: "amountOut";
|
|
5549
|
+
readonly internalType: "uint256";
|
|
5550
|
+
readonly type: "uint256";
|
|
5551
|
+
}];
|
|
5552
|
+
}, {
|
|
5553
|
+
readonly stateMutability: "nonpayable";
|
|
5554
|
+
readonly type: "function";
|
|
5555
|
+
readonly inputs: readonly [{
|
|
5556
|
+
readonly name: "collateralToken";
|
|
5557
|
+
readonly internalType: "address";
|
|
5558
|
+
readonly type: "address";
|
|
5559
|
+
}, {
|
|
5560
|
+
readonly name: "amountInEth";
|
|
5561
|
+
readonly internalType: "uint256";
|
|
5562
|
+
readonly type: "uint256";
|
|
5563
|
+
}];
|
|
5564
|
+
readonly name: "quoteEthToCollateral";
|
|
5565
|
+
readonly outputs: readonly [{
|
|
5566
|
+
readonly name: "amountOut";
|
|
5567
|
+
readonly internalType: "uint256";
|
|
5568
|
+
readonly type: "uint256";
|
|
5569
|
+
}];
|
|
5570
|
+
}, {
|
|
5571
|
+
readonly stateMutability: "nonpayable";
|
|
5572
|
+
readonly type: "function";
|
|
5573
|
+
readonly inputs: readonly [];
|
|
5574
|
+
readonly name: "renounceOwnership";
|
|
5575
|
+
readonly outputs: readonly [];
|
|
5576
|
+
}, {
|
|
5577
|
+
readonly stateMutability: "nonpayable";
|
|
5578
|
+
readonly type: "function";
|
|
5579
|
+
readonly inputs: readonly [{
|
|
5580
|
+
readonly name: "collateralToken";
|
|
5581
|
+
readonly internalType: "address";
|
|
5582
|
+
readonly type: "address";
|
|
5583
|
+
}, {
|
|
5584
|
+
readonly name: "dexId";
|
|
5585
|
+
readonly internalType: "uint8";
|
|
5586
|
+
readonly type: "uint8";
|
|
5587
|
+
}, {
|
|
5588
|
+
readonly name: "enabled";
|
|
5589
|
+
readonly internalType: "bool";
|
|
5590
|
+
readonly type: "bool";
|
|
5591
|
+
}, {
|
|
5592
|
+
readonly name: "v2PathWethToCollateral";
|
|
5593
|
+
readonly internalType: "bytes";
|
|
5594
|
+
readonly type: "bytes";
|
|
5595
|
+
}, {
|
|
5596
|
+
readonly name: "v2PathCollateralToWeth";
|
|
5597
|
+
readonly internalType: "bytes";
|
|
5598
|
+
readonly type: "bytes";
|
|
5599
|
+
}, {
|
|
5600
|
+
readonly name: "v3PathWethToCollateral";
|
|
5601
|
+
readonly internalType: "bytes";
|
|
5602
|
+
readonly type: "bytes";
|
|
5603
|
+
}, {
|
|
5604
|
+
readonly name: "v3PathCollateralToWeth";
|
|
5605
|
+
readonly internalType: "bytes";
|
|
5606
|
+
readonly type: "bytes";
|
|
5607
|
+
}];
|
|
5608
|
+
readonly name: "setCollateralConfig";
|
|
5609
|
+
readonly outputs: readonly [];
|
|
5610
|
+
}, {
|
|
5611
|
+
readonly stateMutability: "nonpayable";
|
|
5612
|
+
readonly type: "function";
|
|
5613
|
+
readonly inputs: readonly [{
|
|
5614
|
+
readonly name: "collateralToken";
|
|
5615
|
+
readonly internalType: "address";
|
|
5616
|
+
readonly type: "address";
|
|
5617
|
+
}, {
|
|
5618
|
+
readonly name: "dexId";
|
|
5619
|
+
readonly internalType: "uint8";
|
|
5620
|
+
readonly type: "uint8";
|
|
5621
|
+
}];
|
|
5622
|
+
readonly name: "setCollateralDex";
|
|
5623
|
+
readonly outputs: readonly [];
|
|
5624
|
+
}, {
|
|
5625
|
+
readonly stateMutability: "nonpayable";
|
|
5626
|
+
readonly type: "function";
|
|
5627
|
+
readonly inputs: readonly [{
|
|
5628
|
+
readonly name: "collateralToken";
|
|
5629
|
+
readonly internalType: "address";
|
|
5630
|
+
readonly type: "address";
|
|
5631
|
+
}, {
|
|
5632
|
+
readonly name: "enabled";
|
|
5633
|
+
readonly internalType: "bool";
|
|
5634
|
+
readonly type: "bool";
|
|
5635
|
+
}];
|
|
5636
|
+
readonly name: "setCollateralEnabled";
|
|
5637
|
+
readonly outputs: readonly [];
|
|
5638
|
+
}, {
|
|
5639
|
+
readonly stateMutability: "nonpayable";
|
|
5640
|
+
readonly type: "function";
|
|
5641
|
+
readonly inputs: readonly [{
|
|
5642
|
+
readonly name: "collateralToken";
|
|
5643
|
+
readonly internalType: "address";
|
|
5644
|
+
readonly type: "address";
|
|
5645
|
+
}, {
|
|
5646
|
+
readonly name: "wethToCollateral";
|
|
5647
|
+
readonly internalType: "bytes";
|
|
5648
|
+
readonly type: "bytes";
|
|
5649
|
+
}, {
|
|
5650
|
+
readonly name: "collateralToWeth";
|
|
5651
|
+
readonly internalType: "bytes";
|
|
5652
|
+
readonly type: "bytes";
|
|
5653
|
+
}];
|
|
5654
|
+
readonly name: "setCollateralV2Paths";
|
|
5655
|
+
readonly outputs: readonly [];
|
|
5656
|
+
}, {
|
|
5657
|
+
readonly stateMutability: "nonpayable";
|
|
5658
|
+
readonly type: "function";
|
|
5659
|
+
readonly inputs: readonly [{
|
|
5660
|
+
readonly name: "collateralToken";
|
|
5661
|
+
readonly internalType: "address";
|
|
5662
|
+
readonly type: "address";
|
|
5663
|
+
}, {
|
|
5664
|
+
readonly name: "wethToCollateral";
|
|
5665
|
+
readonly internalType: "bytes";
|
|
5666
|
+
readonly type: "bytes";
|
|
5667
|
+
}, {
|
|
5668
|
+
readonly name: "collateralToWeth";
|
|
5669
|
+
readonly internalType: "bytes";
|
|
5670
|
+
readonly type: "bytes";
|
|
5671
|
+
}];
|
|
5672
|
+
readonly name: "setCollateralV3Paths";
|
|
5673
|
+
readonly outputs: readonly [];
|
|
5674
|
+
}, {
|
|
5675
|
+
readonly stateMutability: "nonpayable";
|
|
5676
|
+
readonly type: "function";
|
|
5677
|
+
readonly inputs: readonly [{
|
|
5678
|
+
readonly name: "dexId";
|
|
5679
|
+
readonly internalType: "uint8";
|
|
5680
|
+
readonly type: "uint8";
|
|
5681
|
+
}, {
|
|
5682
|
+
readonly name: "router";
|
|
5683
|
+
readonly internalType: "address";
|
|
5684
|
+
readonly type: "address";
|
|
5685
|
+
}, {
|
|
5686
|
+
readonly name: "enabled";
|
|
5687
|
+
readonly internalType: "bool";
|
|
5688
|
+
readonly type: "bool";
|
|
5689
|
+
}];
|
|
5690
|
+
readonly name: "setDexConfigV2";
|
|
5691
|
+
readonly outputs: readonly [];
|
|
5692
|
+
}, {
|
|
5693
|
+
readonly stateMutability: "nonpayable";
|
|
5694
|
+
readonly type: "function";
|
|
5695
|
+
readonly inputs: readonly [{
|
|
5696
|
+
readonly name: "dexId";
|
|
5697
|
+
readonly internalType: "uint8";
|
|
5698
|
+
readonly type: "uint8";
|
|
5699
|
+
}, {
|
|
5700
|
+
readonly name: "swapRouter";
|
|
5701
|
+
readonly internalType: "address";
|
|
5702
|
+
readonly type: "address";
|
|
5703
|
+
}, {
|
|
5704
|
+
readonly name: "quoter";
|
|
5705
|
+
readonly internalType: "address";
|
|
5706
|
+
readonly type: "address";
|
|
5707
|
+
}, {
|
|
5708
|
+
readonly name: "enabled";
|
|
5709
|
+
readonly internalType: "bool";
|
|
5710
|
+
readonly type: "bool";
|
|
5711
|
+
}, {
|
|
5712
|
+
readonly name: "quoterKind";
|
|
5713
|
+
readonly internalType: "uint8";
|
|
5714
|
+
readonly type: "uint8";
|
|
5715
|
+
}];
|
|
5716
|
+
readonly name: "setDexConfigV3";
|
|
5717
|
+
readonly outputs: readonly [];
|
|
5718
|
+
}, {
|
|
5719
|
+
readonly stateMutability: "nonpayable";
|
|
5720
|
+
readonly type: "function";
|
|
5721
|
+
readonly inputs: readonly [{
|
|
5722
|
+
readonly name: "collateralToken";
|
|
5723
|
+
readonly internalType: "address";
|
|
5724
|
+
readonly type: "address";
|
|
5725
|
+
}, {
|
|
5726
|
+
readonly name: "amountIn";
|
|
5727
|
+
readonly internalType: "uint256";
|
|
5728
|
+
readonly type: "uint256";
|
|
5729
|
+
}, {
|
|
5730
|
+
readonly name: "amountOutMin";
|
|
5731
|
+
readonly internalType: "uint256";
|
|
5732
|
+
readonly type: "uint256";
|
|
5733
|
+
}, {
|
|
5734
|
+
readonly name: "deadline";
|
|
5735
|
+
readonly internalType: "uint256";
|
|
5736
|
+
readonly type: "uint256";
|
|
5737
|
+
}, {
|
|
5738
|
+
readonly name: "recipient";
|
|
5739
|
+
readonly internalType: "address";
|
|
5740
|
+
readonly type: "address";
|
|
5741
|
+
}];
|
|
5742
|
+
readonly name: "swapExactCollateralToEth";
|
|
5743
|
+
readonly outputs: readonly [{
|
|
5744
|
+
readonly name: "amountOut";
|
|
5745
|
+
readonly internalType: "uint256";
|
|
5746
|
+
readonly type: "uint256";
|
|
5747
|
+
}];
|
|
5748
|
+
}, {
|
|
5749
|
+
readonly stateMutability: "payable";
|
|
5750
|
+
readonly type: "function";
|
|
5751
|
+
readonly inputs: readonly [{
|
|
5752
|
+
readonly name: "collateralToken";
|
|
5753
|
+
readonly internalType: "address";
|
|
5754
|
+
readonly type: "address";
|
|
5755
|
+
}, {
|
|
5756
|
+
readonly name: "amountOutMin";
|
|
5757
|
+
readonly internalType: "uint256";
|
|
5758
|
+
readonly type: "uint256";
|
|
5759
|
+
}, {
|
|
5760
|
+
readonly name: "deadline";
|
|
5761
|
+
readonly internalType: "uint256";
|
|
5762
|
+
readonly type: "uint256";
|
|
5763
|
+
}];
|
|
5764
|
+
readonly name: "swapExactEthToCollateral";
|
|
5765
|
+
readonly outputs: readonly [{
|
|
5766
|
+
readonly name: "amountOut";
|
|
5767
|
+
readonly internalType: "uint256";
|
|
5768
|
+
readonly type: "uint256";
|
|
5769
|
+
}];
|
|
5770
|
+
}, {
|
|
5771
|
+
readonly stateMutability: "nonpayable";
|
|
5772
|
+
readonly type: "function";
|
|
5773
|
+
readonly inputs: readonly [{
|
|
5774
|
+
readonly name: "newOwner";
|
|
5775
|
+
readonly internalType: "address";
|
|
5776
|
+
readonly type: "address";
|
|
5777
|
+
}];
|
|
5778
|
+
readonly name: "transferOwnership";
|
|
5779
|
+
readonly outputs: readonly [];
|
|
5780
|
+
}, {
|
|
5781
|
+
readonly stateMutability: "payable";
|
|
5782
|
+
readonly type: "function";
|
|
5783
|
+
readonly inputs: readonly [{
|
|
5784
|
+
readonly name: "newImplementation";
|
|
5785
|
+
readonly internalType: "address";
|
|
5786
|
+
readonly type: "address";
|
|
5787
|
+
}, {
|
|
5788
|
+
readonly name: "data";
|
|
5789
|
+
readonly internalType: "bytes";
|
|
5790
|
+
readonly type: "bytes";
|
|
5791
|
+
}];
|
|
5792
|
+
readonly name: "upgradeToAndCall";
|
|
5793
|
+
readonly outputs: readonly [];
|
|
5794
|
+
}, {
|
|
5795
|
+
readonly stateMutability: "view";
|
|
5796
|
+
readonly type: "function";
|
|
5797
|
+
readonly inputs: readonly [];
|
|
5798
|
+
readonly name: "weth";
|
|
5799
|
+
readonly outputs: readonly [{
|
|
5800
|
+
readonly name: "";
|
|
5801
|
+
readonly internalType: "address";
|
|
5802
|
+
readonly type: "address";
|
|
5803
|
+
}];
|
|
5804
|
+
}, {
|
|
5805
|
+
readonly type: "event";
|
|
5806
|
+
readonly anonymous: false;
|
|
5807
|
+
readonly inputs: readonly [{
|
|
5808
|
+
readonly name: "collateralToken";
|
|
5809
|
+
readonly internalType: "address";
|
|
5810
|
+
readonly type: "address";
|
|
5811
|
+
readonly indexed: true;
|
|
5812
|
+
}, {
|
|
5813
|
+
readonly name: "dexId";
|
|
5814
|
+
readonly internalType: "uint8";
|
|
5815
|
+
readonly type: "uint8";
|
|
5816
|
+
readonly indexed: true;
|
|
5817
|
+
}];
|
|
5818
|
+
readonly name: "CollateralDexSet";
|
|
5819
|
+
}, {
|
|
5820
|
+
readonly type: "event";
|
|
5821
|
+
readonly anonymous: false;
|
|
5822
|
+
readonly inputs: readonly [{
|
|
5823
|
+
readonly name: "collateralToken";
|
|
5824
|
+
readonly internalType: "address";
|
|
5825
|
+
readonly type: "address";
|
|
5826
|
+
readonly indexed: true;
|
|
5827
|
+
}, {
|
|
5828
|
+
readonly name: "enabled";
|
|
5829
|
+
readonly internalType: "bool";
|
|
5830
|
+
readonly type: "bool";
|
|
5831
|
+
readonly indexed: false;
|
|
5832
|
+
}];
|
|
5833
|
+
readonly name: "CollateralEnabled";
|
|
5834
|
+
}, {
|
|
5835
|
+
readonly type: "event";
|
|
5836
|
+
readonly anonymous: false;
|
|
5837
|
+
readonly inputs: readonly [{
|
|
5838
|
+
readonly name: "collateralToken";
|
|
5839
|
+
readonly internalType: "address";
|
|
5840
|
+
readonly type: "address";
|
|
5841
|
+
readonly indexed: true;
|
|
5842
|
+
}];
|
|
5843
|
+
readonly name: "CollateralV2PathsSet";
|
|
5844
|
+
}, {
|
|
5845
|
+
readonly type: "event";
|
|
5846
|
+
readonly anonymous: false;
|
|
5847
|
+
readonly inputs: readonly [{
|
|
5848
|
+
readonly name: "collateralToken";
|
|
5849
|
+
readonly internalType: "address";
|
|
5850
|
+
readonly type: "address";
|
|
5851
|
+
readonly indexed: true;
|
|
5852
|
+
}];
|
|
5853
|
+
readonly name: "CollateralV3PathsSet";
|
|
5854
|
+
}, {
|
|
5855
|
+
readonly type: "event";
|
|
5856
|
+
readonly anonymous: false;
|
|
5857
|
+
readonly inputs: readonly [{
|
|
5858
|
+
readonly name: "dexId";
|
|
5859
|
+
readonly internalType: "uint8";
|
|
5860
|
+
readonly type: "uint8";
|
|
5861
|
+
readonly indexed: true;
|
|
5862
|
+
}, {
|
|
5863
|
+
readonly name: "dexType";
|
|
5864
|
+
readonly internalType: "enum IBasememeTokenSwap.DexType";
|
|
5865
|
+
readonly type: "uint8";
|
|
5866
|
+
readonly indexed: false;
|
|
5867
|
+
}];
|
|
5868
|
+
readonly name: "DexConfigured";
|
|
5869
|
+
}, {
|
|
5870
|
+
readonly type: "event";
|
|
5871
|
+
readonly anonymous: false;
|
|
5872
|
+
readonly inputs: readonly [{
|
|
5873
|
+
readonly name: "dexId";
|
|
5874
|
+
readonly internalType: "uint8";
|
|
5875
|
+
readonly type: "uint8";
|
|
5876
|
+
readonly indexed: true;
|
|
5877
|
+
}, {
|
|
5878
|
+
readonly name: "enabled";
|
|
5879
|
+
readonly internalType: "bool";
|
|
5880
|
+
readonly type: "bool";
|
|
5881
|
+
readonly indexed: false;
|
|
5882
|
+
}];
|
|
5883
|
+
readonly name: "DexEnabled";
|
|
5884
|
+
}, {
|
|
5885
|
+
readonly type: "event";
|
|
5886
|
+
readonly anonymous: false;
|
|
5887
|
+
readonly inputs: readonly [{
|
|
5888
|
+
readonly name: "version";
|
|
5889
|
+
readonly internalType: "uint64";
|
|
5890
|
+
readonly type: "uint64";
|
|
5891
|
+
readonly indexed: false;
|
|
5892
|
+
}];
|
|
5893
|
+
readonly name: "Initialized";
|
|
5894
|
+
}, {
|
|
5895
|
+
readonly type: "event";
|
|
5896
|
+
readonly anonymous: false;
|
|
5897
|
+
readonly inputs: readonly [{
|
|
5898
|
+
readonly name: "previousOwner";
|
|
5899
|
+
readonly internalType: "address";
|
|
5900
|
+
readonly type: "address";
|
|
5901
|
+
readonly indexed: true;
|
|
5902
|
+
}, {
|
|
5903
|
+
readonly name: "newOwner";
|
|
5904
|
+
readonly internalType: "address";
|
|
5905
|
+
readonly type: "address";
|
|
5906
|
+
readonly indexed: true;
|
|
5907
|
+
}];
|
|
5908
|
+
readonly name: "OwnershipTransferred";
|
|
5909
|
+
}, {
|
|
5910
|
+
readonly type: "event";
|
|
5911
|
+
readonly anonymous: false;
|
|
5912
|
+
readonly inputs: readonly [{
|
|
5913
|
+
readonly name: "implementation";
|
|
5914
|
+
readonly internalType: "address";
|
|
5915
|
+
readonly type: "address";
|
|
5916
|
+
readonly indexed: true;
|
|
5917
|
+
}];
|
|
5918
|
+
readonly name: "Upgraded";
|
|
5919
|
+
}, {
|
|
5920
|
+
readonly type: "error";
|
|
5921
|
+
readonly inputs: readonly [{
|
|
5922
|
+
readonly name: "target";
|
|
5923
|
+
readonly internalType: "address";
|
|
5924
|
+
readonly type: "address";
|
|
5925
|
+
}];
|
|
5926
|
+
readonly name: "AddressEmptyCode";
|
|
5927
|
+
}, {
|
|
5928
|
+
readonly type: "error";
|
|
5929
|
+
readonly inputs: readonly [];
|
|
5930
|
+
readonly name: "CollateralMustBeDisabled";
|
|
5931
|
+
}, {
|
|
5932
|
+
readonly type: "error";
|
|
5933
|
+
readonly inputs: readonly [];
|
|
5934
|
+
readonly name: "DeadlineExpired";
|
|
5935
|
+
}, {
|
|
5936
|
+
readonly type: "error";
|
|
5937
|
+
readonly inputs: readonly [];
|
|
5938
|
+
readonly name: "DexDisabled";
|
|
5939
|
+
}, {
|
|
5940
|
+
readonly type: "error";
|
|
5941
|
+
readonly inputs: readonly [];
|
|
5942
|
+
readonly name: "DexNotConfigured";
|
|
5943
|
+
}, {
|
|
5944
|
+
readonly type: "error";
|
|
5945
|
+
readonly inputs: readonly [];
|
|
5946
|
+
readonly name: "DexTypeImmutable";
|
|
5947
|
+
}, {
|
|
5948
|
+
readonly type: "error";
|
|
5949
|
+
readonly inputs: readonly [{
|
|
5950
|
+
readonly name: "implementation";
|
|
5951
|
+
readonly internalType: "address";
|
|
5952
|
+
readonly type: "address";
|
|
5953
|
+
}];
|
|
5954
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
5955
|
+
}, {
|
|
5956
|
+
readonly type: "error";
|
|
5957
|
+
readonly inputs: readonly [];
|
|
5958
|
+
readonly name: "ERC1967NonPayable";
|
|
5959
|
+
}, {
|
|
5960
|
+
readonly type: "error";
|
|
5961
|
+
readonly inputs: readonly [];
|
|
5962
|
+
readonly name: "EthAmountMismatch";
|
|
5963
|
+
}, {
|
|
5964
|
+
readonly type: "error";
|
|
5965
|
+
readonly inputs: readonly [];
|
|
5966
|
+
readonly name: "FailedCall";
|
|
5967
|
+
}, {
|
|
5968
|
+
readonly type: "error";
|
|
5969
|
+
readonly inputs: readonly [{
|
|
5970
|
+
readonly name: "balance";
|
|
5971
|
+
readonly internalType: "uint256";
|
|
5972
|
+
readonly type: "uint256";
|
|
5973
|
+
}, {
|
|
5974
|
+
readonly name: "needed";
|
|
5975
|
+
readonly internalType: "uint256";
|
|
5976
|
+
readonly type: "uint256";
|
|
5977
|
+
}];
|
|
5978
|
+
readonly name: "InsufficientBalance";
|
|
5979
|
+
}, {
|
|
5980
|
+
readonly type: "error";
|
|
5981
|
+
readonly inputs: readonly [];
|
|
5982
|
+
readonly name: "InvalidDexId";
|
|
5983
|
+
}, {
|
|
5984
|
+
readonly type: "error";
|
|
5985
|
+
readonly inputs: readonly [];
|
|
5986
|
+
readonly name: "InvalidInitialization";
|
|
5987
|
+
}, {
|
|
5988
|
+
readonly type: "error";
|
|
5989
|
+
readonly inputs: readonly [];
|
|
5990
|
+
readonly name: "InvalidPath";
|
|
5991
|
+
}, {
|
|
5992
|
+
readonly type: "error";
|
|
5993
|
+
readonly inputs: readonly [];
|
|
5994
|
+
readonly name: "InvalidRecipient";
|
|
5995
|
+
}, {
|
|
5996
|
+
readonly type: "error";
|
|
5997
|
+
readonly inputs: readonly [];
|
|
5998
|
+
readonly name: "InvalidRouteConfig";
|
|
5999
|
+
}, {
|
|
6000
|
+
readonly type: "error";
|
|
6001
|
+
readonly inputs: readonly [];
|
|
6002
|
+
readonly name: "NotInitializing";
|
|
6003
|
+
}, {
|
|
6004
|
+
readonly type: "error";
|
|
6005
|
+
readonly inputs: readonly [{
|
|
6006
|
+
readonly name: "owner";
|
|
6007
|
+
readonly internalType: "address";
|
|
6008
|
+
readonly type: "address";
|
|
6009
|
+
}];
|
|
6010
|
+
readonly name: "OwnableInvalidOwner";
|
|
6011
|
+
}, {
|
|
6012
|
+
readonly type: "error";
|
|
6013
|
+
readonly inputs: readonly [{
|
|
6014
|
+
readonly name: "account";
|
|
6015
|
+
readonly internalType: "address";
|
|
6016
|
+
readonly type: "address";
|
|
6017
|
+
}];
|
|
6018
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
6019
|
+
}, {
|
|
6020
|
+
readonly type: "error";
|
|
6021
|
+
readonly inputs: readonly [];
|
|
6022
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
6023
|
+
}, {
|
|
6024
|
+
readonly type: "error";
|
|
6025
|
+
readonly inputs: readonly [];
|
|
6026
|
+
readonly name: "RouteDisabled";
|
|
6027
|
+
}, {
|
|
6028
|
+
readonly type: "error";
|
|
6029
|
+
readonly inputs: readonly [];
|
|
6030
|
+
readonly name: "RouteNotConfigured";
|
|
6031
|
+
}, {
|
|
6032
|
+
readonly type: "error";
|
|
6033
|
+
readonly inputs: readonly [{
|
|
6034
|
+
readonly name: "token";
|
|
6035
|
+
readonly internalType: "address";
|
|
6036
|
+
readonly type: "address";
|
|
6037
|
+
}];
|
|
6038
|
+
readonly name: "SafeERC20FailedOperation";
|
|
6039
|
+
}, {
|
|
6040
|
+
readonly type: "error";
|
|
6041
|
+
readonly inputs: readonly [];
|
|
6042
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
6043
|
+
}, {
|
|
6044
|
+
readonly type: "error";
|
|
6045
|
+
readonly inputs: readonly [{
|
|
6046
|
+
readonly name: "slot";
|
|
6047
|
+
readonly internalType: "bytes32";
|
|
6048
|
+
readonly type: "bytes32";
|
|
6049
|
+
}];
|
|
6050
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
6051
|
+
}, {
|
|
6052
|
+
readonly type: "error";
|
|
6053
|
+
readonly inputs: readonly [];
|
|
6054
|
+
readonly name: "UnsupportedDexType";
|
|
6055
|
+
}];
|
|
6056
|
+
/**
|
|
6057
|
+
* [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x08b523EF90E056778EF8c0D2F68ff7Df88fCcbB4)
|
|
6058
|
+
*/
|
|
6059
|
+
export declare const basememeTokenSwapAddress: {
|
|
6060
|
+
readonly 84532: "0x08b523EF90E056778EF8c0D2F68ff7Df88fCcbB4";
|
|
6061
|
+
};
|
|
6062
|
+
/**
|
|
6063
|
+
* [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x08b523EF90E056778EF8c0D2F68ff7Df88fCcbB4)
|
|
6064
|
+
*/
|
|
6065
|
+
export declare const basememeTokenSwapConfig: {
|
|
6066
|
+
readonly address: {
|
|
6067
|
+
readonly 84532: "0x08b523EF90E056778EF8c0D2F68ff7Df88fCcbB4";
|
|
6068
|
+
};
|
|
6069
|
+
readonly abi: readonly [{
|
|
6070
|
+
readonly stateMutability: "nonpayable";
|
|
6071
|
+
readonly type: "constructor";
|
|
6072
|
+
readonly inputs: readonly [];
|
|
6073
|
+
}, {
|
|
6074
|
+
readonly stateMutability: "payable";
|
|
6075
|
+
readonly type: "receive";
|
|
6076
|
+
}, {
|
|
6077
|
+
readonly stateMutability: "view";
|
|
6078
|
+
readonly type: "function";
|
|
6079
|
+
readonly inputs: readonly [];
|
|
6080
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
6081
|
+
readonly outputs: readonly [{
|
|
6082
|
+
readonly name: "";
|
|
6083
|
+
readonly internalType: "string";
|
|
6084
|
+
readonly type: "string";
|
|
6085
|
+
}];
|
|
6086
|
+
}, {
|
|
6087
|
+
readonly stateMutability: "view";
|
|
6088
|
+
readonly type: "function";
|
|
6089
|
+
readonly inputs: readonly [{
|
|
6090
|
+
readonly name: "collateralToken";
|
|
6091
|
+
readonly internalType: "address";
|
|
6092
|
+
readonly type: "address";
|
|
6093
|
+
}];
|
|
6094
|
+
readonly name: "getCollateralDex";
|
|
6095
|
+
readonly outputs: readonly [{
|
|
6096
|
+
readonly name: "dexId";
|
|
6097
|
+
readonly internalType: "uint8";
|
|
6098
|
+
readonly type: "uint8";
|
|
6099
|
+
}, {
|
|
6100
|
+
readonly name: "enabled";
|
|
6101
|
+
readonly internalType: "bool";
|
|
6102
|
+
readonly type: "bool";
|
|
6103
|
+
}];
|
|
6104
|
+
}, {
|
|
6105
|
+
readonly stateMutability: "view";
|
|
6106
|
+
readonly type: "function";
|
|
6107
|
+
readonly inputs: readonly [{
|
|
6108
|
+
readonly name: "collateralToken";
|
|
6109
|
+
readonly internalType: "address";
|
|
6110
|
+
readonly type: "address";
|
|
6111
|
+
}];
|
|
6112
|
+
readonly name: "getCollateralV2Paths";
|
|
6113
|
+
readonly outputs: readonly [{
|
|
6114
|
+
readonly name: "wethToCollateral";
|
|
6115
|
+
readonly internalType: "bytes";
|
|
6116
|
+
readonly type: "bytes";
|
|
6117
|
+
}, {
|
|
6118
|
+
readonly name: "collateralToWeth";
|
|
6119
|
+
readonly internalType: "bytes";
|
|
6120
|
+
readonly type: "bytes";
|
|
6121
|
+
}];
|
|
6122
|
+
}, {
|
|
6123
|
+
readonly stateMutability: "view";
|
|
6124
|
+
readonly type: "function";
|
|
6125
|
+
readonly inputs: readonly [{
|
|
6126
|
+
readonly name: "collateralToken";
|
|
6127
|
+
readonly internalType: "address";
|
|
6128
|
+
readonly type: "address";
|
|
6129
|
+
}];
|
|
6130
|
+
readonly name: "getCollateralV3Paths";
|
|
6131
|
+
readonly outputs: readonly [{
|
|
6132
|
+
readonly name: "wethToCollateral";
|
|
6133
|
+
readonly internalType: "bytes";
|
|
6134
|
+
readonly type: "bytes";
|
|
6135
|
+
}, {
|
|
6136
|
+
readonly name: "collateralToWeth";
|
|
6137
|
+
readonly internalType: "bytes";
|
|
6138
|
+
readonly type: "bytes";
|
|
6139
|
+
}];
|
|
6140
|
+
}, {
|
|
6141
|
+
readonly stateMutability: "view";
|
|
6142
|
+
readonly type: "function";
|
|
6143
|
+
readonly inputs: readonly [{
|
|
6144
|
+
readonly name: "dexId";
|
|
6145
|
+
readonly internalType: "uint8";
|
|
6146
|
+
readonly type: "uint8";
|
|
6147
|
+
}];
|
|
6148
|
+
readonly name: "getDexConfig";
|
|
6149
|
+
readonly outputs: readonly [{
|
|
6150
|
+
readonly name: "dexType";
|
|
6151
|
+
readonly internalType: "enum IBasememeTokenSwap.DexType";
|
|
6152
|
+
readonly type: "uint8";
|
|
6153
|
+
}, {
|
|
6154
|
+
readonly name: "enabled";
|
|
6155
|
+
readonly internalType: "bool";
|
|
6156
|
+
readonly type: "bool";
|
|
6157
|
+
}, {
|
|
6158
|
+
readonly name: "router";
|
|
6159
|
+
readonly internalType: "address";
|
|
6160
|
+
readonly type: "address";
|
|
6161
|
+
}, {
|
|
6162
|
+
readonly name: "quoter";
|
|
6163
|
+
readonly internalType: "address";
|
|
6164
|
+
readonly type: "address";
|
|
6165
|
+
}, {
|
|
6166
|
+
readonly name: "quoterKind";
|
|
6167
|
+
readonly internalType: "uint8";
|
|
6168
|
+
readonly type: "uint8";
|
|
6169
|
+
}];
|
|
6170
|
+
}, {
|
|
6171
|
+
readonly stateMutability: "view";
|
|
6172
|
+
readonly type: "function";
|
|
6173
|
+
readonly inputs: readonly [{
|
|
6174
|
+
readonly name: "collateralToken";
|
|
6175
|
+
readonly internalType: "address";
|
|
6176
|
+
readonly type: "address";
|
|
6177
|
+
}];
|
|
6178
|
+
readonly name: "getRouteDexType";
|
|
6179
|
+
readonly outputs: readonly [{
|
|
6180
|
+
readonly name: "";
|
|
6181
|
+
readonly internalType: "enum IBasememeTokenSwap.DexType";
|
|
6182
|
+
readonly type: "uint8";
|
|
6183
|
+
}];
|
|
6184
|
+
}, {
|
|
6185
|
+
readonly stateMutability: "nonpayable";
|
|
6186
|
+
readonly type: "function";
|
|
6187
|
+
readonly inputs: readonly [{
|
|
6188
|
+
readonly name: "owner_";
|
|
6189
|
+
readonly internalType: "address";
|
|
6190
|
+
readonly type: "address";
|
|
6191
|
+
}, {
|
|
6192
|
+
readonly name: "weth_";
|
|
6193
|
+
readonly internalType: "address";
|
|
6194
|
+
readonly type: "address";
|
|
6195
|
+
}];
|
|
6196
|
+
readonly name: "initialize";
|
|
6197
|
+
readonly outputs: readonly [];
|
|
6198
|
+
}, {
|
|
6199
|
+
readonly stateMutability: "view";
|
|
6200
|
+
readonly type: "function";
|
|
6201
|
+
readonly inputs: readonly [];
|
|
6202
|
+
readonly name: "owner";
|
|
6203
|
+
readonly outputs: readonly [{
|
|
6204
|
+
readonly name: "";
|
|
6205
|
+
readonly internalType: "address";
|
|
6206
|
+
readonly type: "address";
|
|
6207
|
+
}];
|
|
6208
|
+
}, {
|
|
6209
|
+
readonly stateMutability: "view";
|
|
6210
|
+
readonly type: "function";
|
|
6211
|
+
readonly inputs: readonly [];
|
|
6212
|
+
readonly name: "proxiableUUID";
|
|
4013
6213
|
readonly outputs: readonly [{
|
|
4014
6214
|
readonly name: "";
|
|
4015
|
-
readonly internalType: "
|
|
4016
|
-
readonly type: "
|
|
6215
|
+
readonly internalType: "bytes32";
|
|
6216
|
+
readonly type: "bytes32";
|
|
4017
6217
|
}];
|
|
4018
6218
|
}, {
|
|
4019
6219
|
readonly stateMutability: "nonpayable";
|
|
4020
6220
|
readonly type: "function";
|
|
4021
6221
|
readonly inputs: readonly [{
|
|
4022
|
-
readonly name: "
|
|
6222
|
+
readonly name: "collateralToken";
|
|
6223
|
+
readonly internalType: "address";
|
|
6224
|
+
readonly type: "address";
|
|
6225
|
+
}, {
|
|
6226
|
+
readonly name: "amountInCollateral";
|
|
6227
|
+
readonly internalType: "uint256";
|
|
6228
|
+
readonly type: "uint256";
|
|
6229
|
+
}];
|
|
6230
|
+
readonly name: "quoteCollateralToEth";
|
|
6231
|
+
readonly outputs: readonly [{
|
|
6232
|
+
readonly name: "amountOut";
|
|
4023
6233
|
readonly internalType: "uint256";
|
|
4024
6234
|
readonly type: "uint256";
|
|
4025
6235
|
}];
|
|
4026
|
-
readonly name: "burn";
|
|
4027
|
-
readonly outputs: readonly [];
|
|
4028
6236
|
}, {
|
|
4029
6237
|
readonly stateMutability: "nonpayable";
|
|
4030
6238
|
readonly type: "function";
|
|
4031
6239
|
readonly inputs: readonly [{
|
|
4032
|
-
readonly name: "
|
|
6240
|
+
readonly name: "collateralToken";
|
|
4033
6241
|
readonly internalType: "address";
|
|
4034
6242
|
readonly type: "address";
|
|
4035
6243
|
}, {
|
|
4036
|
-
readonly name: "
|
|
6244
|
+
readonly name: "amountInEth";
|
|
4037
6245
|
readonly internalType: "uint256";
|
|
4038
6246
|
readonly type: "uint256";
|
|
4039
6247
|
}];
|
|
4040
|
-
readonly name: "
|
|
4041
|
-
readonly outputs: readonly [];
|
|
4042
|
-
}, {
|
|
4043
|
-
readonly stateMutability: "view";
|
|
4044
|
-
readonly type: "function";
|
|
4045
|
-
readonly inputs: readonly [];
|
|
4046
|
-
readonly name: "contractURI";
|
|
6248
|
+
readonly name: "quoteEthToCollateral";
|
|
4047
6249
|
readonly outputs: readonly [{
|
|
4048
|
-
readonly name: "";
|
|
4049
|
-
readonly internalType: "
|
|
4050
|
-
readonly type: "
|
|
6250
|
+
readonly name: "amountOut";
|
|
6251
|
+
readonly internalType: "uint256";
|
|
6252
|
+
readonly type: "uint256";
|
|
4051
6253
|
}];
|
|
4052
6254
|
}, {
|
|
4053
|
-
readonly stateMutability: "
|
|
6255
|
+
readonly stateMutability: "nonpayable";
|
|
4054
6256
|
readonly type: "function";
|
|
4055
6257
|
readonly inputs: readonly [];
|
|
4056
|
-
readonly name: "
|
|
4057
|
-
readonly outputs: readonly [
|
|
4058
|
-
readonly name: "";
|
|
4059
|
-
readonly internalType: "string";
|
|
4060
|
-
readonly type: "string";
|
|
4061
|
-
}];
|
|
6258
|
+
readonly name: "renounceOwnership";
|
|
6259
|
+
readonly outputs: readonly [];
|
|
4062
6260
|
}, {
|
|
4063
|
-
readonly stateMutability: "
|
|
6261
|
+
readonly stateMutability: "nonpayable";
|
|
4064
6262
|
readonly type: "function";
|
|
4065
|
-
readonly inputs: readonly [
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
readonly
|
|
6263
|
+
readonly inputs: readonly [{
|
|
6264
|
+
readonly name: "collateralToken";
|
|
6265
|
+
readonly internalType: "address";
|
|
6266
|
+
readonly type: "address";
|
|
6267
|
+
}, {
|
|
6268
|
+
readonly name: "dexId";
|
|
4069
6269
|
readonly internalType: "uint8";
|
|
4070
6270
|
readonly type: "uint8";
|
|
6271
|
+
}, {
|
|
6272
|
+
readonly name: "enabled";
|
|
6273
|
+
readonly internalType: "bool";
|
|
6274
|
+
readonly type: "bool";
|
|
6275
|
+
}, {
|
|
6276
|
+
readonly name: "v2PathWethToCollateral";
|
|
6277
|
+
readonly internalType: "bytes";
|
|
6278
|
+
readonly type: "bytes";
|
|
6279
|
+
}, {
|
|
6280
|
+
readonly name: "v2PathCollateralToWeth";
|
|
6281
|
+
readonly internalType: "bytes";
|
|
6282
|
+
readonly type: "bytes";
|
|
6283
|
+
}, {
|
|
6284
|
+
readonly name: "v3PathWethToCollateral";
|
|
6285
|
+
readonly internalType: "bytes";
|
|
6286
|
+
readonly type: "bytes";
|
|
6287
|
+
}, {
|
|
6288
|
+
readonly name: "v3PathCollateralToWeth";
|
|
6289
|
+
readonly internalType: "bytes";
|
|
6290
|
+
readonly type: "bytes";
|
|
4071
6291
|
}];
|
|
6292
|
+
readonly name: "setCollateralConfig";
|
|
6293
|
+
readonly outputs: readonly [];
|
|
4072
6294
|
}, {
|
|
4073
|
-
readonly stateMutability: "
|
|
6295
|
+
readonly stateMutability: "nonpayable";
|
|
4074
6296
|
readonly type: "function";
|
|
4075
|
-
readonly inputs: readonly [
|
|
4076
|
-
|
|
4077
|
-
readonly outputs: readonly [{
|
|
4078
|
-
readonly name: "";
|
|
6297
|
+
readonly inputs: readonly [{
|
|
6298
|
+
readonly name: "collateralToken";
|
|
4079
6299
|
readonly internalType: "address";
|
|
4080
6300
|
readonly type: "address";
|
|
6301
|
+
}, {
|
|
6302
|
+
readonly name: "dexId";
|
|
6303
|
+
readonly internalType: "uint8";
|
|
6304
|
+
readonly type: "uint8";
|
|
4081
6305
|
}];
|
|
6306
|
+
readonly name: "setCollateralDex";
|
|
6307
|
+
readonly outputs: readonly [];
|
|
4082
6308
|
}, {
|
|
4083
6309
|
readonly stateMutability: "nonpayable";
|
|
4084
6310
|
readonly type: "function";
|
|
4085
6311
|
readonly inputs: readonly [{
|
|
4086
|
-
readonly name: "
|
|
4087
|
-
readonly internalType: "
|
|
4088
|
-
readonly type: "
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
}, {
|
|
4094
|
-
readonly name: "symbol";
|
|
4095
|
-
readonly internalType: "string";
|
|
4096
|
-
readonly type: "string";
|
|
4097
|
-
}, {
|
|
4098
|
-
readonly name: "tokenURI";
|
|
4099
|
-
readonly internalType: "string";
|
|
4100
|
-
readonly type: "string";
|
|
4101
|
-
}, {
|
|
4102
|
-
readonly name: "factory";
|
|
4103
|
-
readonly internalType: "address";
|
|
4104
|
-
readonly type: "address";
|
|
4105
|
-
}, {
|
|
4106
|
-
readonly name: "bondingCurve";
|
|
4107
|
-
readonly internalType: "address";
|
|
4108
|
-
readonly type: "address";
|
|
4109
|
-
}, {
|
|
4110
|
-
readonly name: "initialTokenSupply";
|
|
4111
|
-
readonly internalType: "uint256";
|
|
4112
|
-
readonly type: "uint256";
|
|
4113
|
-
}];
|
|
6312
|
+
readonly name: "collateralToken";
|
|
6313
|
+
readonly internalType: "address";
|
|
6314
|
+
readonly type: "address";
|
|
6315
|
+
}, {
|
|
6316
|
+
readonly name: "enabled";
|
|
6317
|
+
readonly internalType: "bool";
|
|
6318
|
+
readonly type: "bool";
|
|
4114
6319
|
}];
|
|
4115
|
-
readonly name: "
|
|
6320
|
+
readonly name: "setCollateralEnabled";
|
|
4116
6321
|
readonly outputs: readonly [];
|
|
4117
6322
|
}, {
|
|
4118
|
-
readonly stateMutability: "
|
|
4119
|
-
readonly type: "function";
|
|
4120
|
-
readonly inputs: readonly [];
|
|
4121
|
-
readonly name: "name";
|
|
4122
|
-
readonly outputs: readonly [{
|
|
4123
|
-
readonly name: "";
|
|
4124
|
-
readonly internalType: "string";
|
|
4125
|
-
readonly type: "string";
|
|
4126
|
-
}];
|
|
4127
|
-
}, {
|
|
4128
|
-
readonly stateMutability: "view";
|
|
6323
|
+
readonly stateMutability: "nonpayable";
|
|
4129
6324
|
readonly type: "function";
|
|
4130
|
-
readonly inputs: readonly [
|
|
4131
|
-
|
|
4132
|
-
readonly outputs: readonly [{
|
|
4133
|
-
readonly name: "";
|
|
6325
|
+
readonly inputs: readonly [{
|
|
6326
|
+
readonly name: "collateralToken";
|
|
4134
6327
|
readonly internalType: "address";
|
|
4135
6328
|
readonly type: "address";
|
|
6329
|
+
}, {
|
|
6330
|
+
readonly name: "wethToCollateral";
|
|
6331
|
+
readonly internalType: "bytes";
|
|
6332
|
+
readonly type: "bytes";
|
|
6333
|
+
}, {
|
|
6334
|
+
readonly name: "collateralToWeth";
|
|
6335
|
+
readonly internalType: "bytes";
|
|
6336
|
+
readonly type: "bytes";
|
|
4136
6337
|
}];
|
|
6338
|
+
readonly name: "setCollateralV2Paths";
|
|
6339
|
+
readonly outputs: readonly [];
|
|
4137
6340
|
}, {
|
|
4138
6341
|
readonly stateMutability: "nonpayable";
|
|
4139
6342
|
readonly type: "function";
|
|
4140
|
-
readonly inputs: readonly [
|
|
4141
|
-
|
|
6343
|
+
readonly inputs: readonly [{
|
|
6344
|
+
readonly name: "collateralToken";
|
|
6345
|
+
readonly internalType: "address";
|
|
6346
|
+
readonly type: "address";
|
|
6347
|
+
}, {
|
|
6348
|
+
readonly name: "wethToCollateral";
|
|
6349
|
+
readonly internalType: "bytes";
|
|
6350
|
+
readonly type: "bytes";
|
|
6351
|
+
}, {
|
|
6352
|
+
readonly name: "collateralToWeth";
|
|
6353
|
+
readonly internalType: "bytes";
|
|
6354
|
+
readonly type: "bytes";
|
|
6355
|
+
}];
|
|
6356
|
+
readonly name: "setCollateralV3Paths";
|
|
4142
6357
|
readonly outputs: readonly [];
|
|
4143
6358
|
}, {
|
|
4144
6359
|
readonly stateMutability: "nonpayable";
|
|
4145
6360
|
readonly type: "function";
|
|
4146
6361
|
readonly inputs: readonly [{
|
|
4147
|
-
readonly name: "
|
|
4148
|
-
readonly internalType: "
|
|
6362
|
+
readonly name: "dexId";
|
|
6363
|
+
readonly internalType: "uint8";
|
|
4149
6364
|
readonly type: "uint8";
|
|
6365
|
+
}, {
|
|
6366
|
+
readonly name: "router";
|
|
6367
|
+
readonly internalType: "address";
|
|
6368
|
+
readonly type: "address";
|
|
6369
|
+
}, {
|
|
6370
|
+
readonly name: "enabled";
|
|
6371
|
+
readonly internalType: "bool";
|
|
6372
|
+
readonly type: "bool";
|
|
4150
6373
|
}];
|
|
4151
|
-
readonly name: "
|
|
6374
|
+
readonly name: "setDexConfigV2";
|
|
4152
6375
|
readonly outputs: readonly [];
|
|
4153
6376
|
}, {
|
|
4154
|
-
readonly stateMutability: "
|
|
6377
|
+
readonly stateMutability: "nonpayable";
|
|
4155
6378
|
readonly type: "function";
|
|
4156
6379
|
readonly inputs: readonly [{
|
|
4157
|
-
readonly name: "
|
|
4158
|
-
readonly internalType: "
|
|
4159
|
-
readonly type: "
|
|
4160
|
-
}
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
readonly
|
|
6380
|
+
readonly name: "dexId";
|
|
6381
|
+
readonly internalType: "uint8";
|
|
6382
|
+
readonly type: "uint8";
|
|
6383
|
+
}, {
|
|
6384
|
+
readonly name: "swapRouter";
|
|
6385
|
+
readonly internalType: "address";
|
|
6386
|
+
readonly type: "address";
|
|
6387
|
+
}, {
|
|
6388
|
+
readonly name: "quoter";
|
|
6389
|
+
readonly internalType: "address";
|
|
6390
|
+
readonly type: "address";
|
|
6391
|
+
}, {
|
|
6392
|
+
readonly name: "enabled";
|
|
4164
6393
|
readonly internalType: "bool";
|
|
4165
6394
|
readonly type: "bool";
|
|
6395
|
+
}, {
|
|
6396
|
+
readonly name: "quoterKind";
|
|
6397
|
+
readonly internalType: "uint8";
|
|
6398
|
+
readonly type: "uint8";
|
|
4166
6399
|
}];
|
|
6400
|
+
readonly name: "setDexConfigV3";
|
|
6401
|
+
readonly outputs: readonly [];
|
|
4167
6402
|
}, {
|
|
4168
|
-
readonly stateMutability: "
|
|
4169
|
-
readonly type: "function";
|
|
4170
|
-
readonly inputs: readonly [];
|
|
4171
|
-
readonly name: "symbol";
|
|
4172
|
-
readonly outputs: readonly [{
|
|
4173
|
-
readonly name: "";
|
|
4174
|
-
readonly internalType: "string";
|
|
4175
|
-
readonly type: "string";
|
|
4176
|
-
}];
|
|
4177
|
-
}, {
|
|
4178
|
-
readonly stateMutability: "view";
|
|
6403
|
+
readonly stateMutability: "nonpayable";
|
|
4179
6404
|
readonly type: "function";
|
|
4180
|
-
readonly inputs: readonly [
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
readonly
|
|
4184
|
-
|
|
4185
|
-
readonly
|
|
6405
|
+
readonly inputs: readonly [{
|
|
6406
|
+
readonly name: "collateralToken";
|
|
6407
|
+
readonly internalType: "address";
|
|
6408
|
+
readonly type: "address";
|
|
6409
|
+
}, {
|
|
6410
|
+
readonly name: "amountIn";
|
|
6411
|
+
readonly internalType: "uint256";
|
|
6412
|
+
readonly type: "uint256";
|
|
6413
|
+
}, {
|
|
6414
|
+
readonly name: "amountOutMin";
|
|
6415
|
+
readonly internalType: "uint256";
|
|
6416
|
+
readonly type: "uint256";
|
|
6417
|
+
}, {
|
|
6418
|
+
readonly name: "deadline";
|
|
6419
|
+
readonly internalType: "uint256";
|
|
6420
|
+
readonly type: "uint256";
|
|
6421
|
+
}, {
|
|
6422
|
+
readonly name: "recipient";
|
|
6423
|
+
readonly internalType: "address";
|
|
6424
|
+
readonly type: "address";
|
|
4186
6425
|
}];
|
|
4187
|
-
|
|
4188
|
-
readonly stateMutability: "view";
|
|
4189
|
-
readonly type: "function";
|
|
4190
|
-
readonly inputs: readonly [];
|
|
4191
|
-
readonly name: "totalSupply";
|
|
6426
|
+
readonly name: "swapExactCollateralToEth";
|
|
4192
6427
|
readonly outputs: readonly [{
|
|
4193
|
-
readonly name: "";
|
|
6428
|
+
readonly name: "amountOut";
|
|
4194
6429
|
readonly internalType: "uint256";
|
|
4195
6430
|
readonly type: "uint256";
|
|
4196
6431
|
}];
|
|
4197
6432
|
}, {
|
|
4198
|
-
readonly stateMutability: "
|
|
6433
|
+
readonly stateMutability: "payable";
|
|
4199
6434
|
readonly type: "function";
|
|
4200
6435
|
readonly inputs: readonly [{
|
|
4201
|
-
readonly name: "
|
|
6436
|
+
readonly name: "collateralToken";
|
|
4202
6437
|
readonly internalType: "address";
|
|
4203
6438
|
readonly type: "address";
|
|
4204
6439
|
}, {
|
|
4205
|
-
readonly name: "
|
|
6440
|
+
readonly name: "amountOutMin";
|
|
6441
|
+
readonly internalType: "uint256";
|
|
6442
|
+
readonly type: "uint256";
|
|
6443
|
+
}, {
|
|
6444
|
+
readonly name: "deadline";
|
|
4206
6445
|
readonly internalType: "uint256";
|
|
4207
6446
|
readonly type: "uint256";
|
|
4208
6447
|
}];
|
|
4209
|
-
readonly name: "
|
|
6448
|
+
readonly name: "swapExactEthToCollateral";
|
|
4210
6449
|
readonly outputs: readonly [{
|
|
4211
|
-
readonly name: "";
|
|
4212
|
-
readonly internalType: "
|
|
4213
|
-
readonly type: "
|
|
6450
|
+
readonly name: "amountOut";
|
|
6451
|
+
readonly internalType: "uint256";
|
|
6452
|
+
readonly type: "uint256";
|
|
4214
6453
|
}];
|
|
4215
6454
|
}, {
|
|
4216
6455
|
readonly stateMutability: "nonpayable";
|
|
4217
6456
|
readonly type: "function";
|
|
4218
6457
|
readonly inputs: readonly [{
|
|
4219
|
-
readonly name: "
|
|
6458
|
+
readonly name: "newOwner";
|
|
4220
6459
|
readonly internalType: "address";
|
|
4221
6460
|
readonly type: "address";
|
|
4222
|
-
}
|
|
4223
|
-
|
|
6461
|
+
}];
|
|
6462
|
+
readonly name: "transferOwnership";
|
|
6463
|
+
readonly outputs: readonly [];
|
|
6464
|
+
}, {
|
|
6465
|
+
readonly stateMutability: "payable";
|
|
6466
|
+
readonly type: "function";
|
|
6467
|
+
readonly inputs: readonly [{
|
|
6468
|
+
readonly name: "newImplementation";
|
|
4224
6469
|
readonly internalType: "address";
|
|
4225
6470
|
readonly type: "address";
|
|
4226
6471
|
}, {
|
|
4227
|
-
readonly name: "
|
|
4228
|
-
readonly internalType: "
|
|
4229
|
-
readonly type: "
|
|
4230
|
-
}];
|
|
4231
|
-
readonly name: "transferFrom";
|
|
4232
|
-
readonly outputs: readonly [{
|
|
4233
|
-
readonly name: "";
|
|
4234
|
-
readonly internalType: "bool";
|
|
4235
|
-
readonly type: "bool";
|
|
6472
|
+
readonly name: "data";
|
|
6473
|
+
readonly internalType: "bytes";
|
|
6474
|
+
readonly type: "bytes";
|
|
4236
6475
|
}];
|
|
6476
|
+
readonly name: "upgradeToAndCall";
|
|
6477
|
+
readonly outputs: readonly [];
|
|
4237
6478
|
}, {
|
|
4238
6479
|
readonly stateMutability: "view";
|
|
4239
6480
|
readonly type: "function";
|
|
4240
6481
|
readonly inputs: readonly [];
|
|
4241
|
-
readonly name: "
|
|
6482
|
+
readonly name: "weth";
|
|
4242
6483
|
readonly outputs: readonly [{
|
|
4243
6484
|
readonly name: "";
|
|
4244
|
-
readonly internalType: "
|
|
4245
|
-
readonly type: "
|
|
6485
|
+
readonly internalType: "address";
|
|
6486
|
+
readonly type: "address";
|
|
4246
6487
|
}];
|
|
4247
6488
|
}, {
|
|
4248
|
-
readonly
|
|
4249
|
-
readonly
|
|
6489
|
+
readonly type: "event";
|
|
6490
|
+
readonly anonymous: false;
|
|
4250
6491
|
readonly inputs: readonly [{
|
|
4251
|
-
readonly name: "
|
|
6492
|
+
readonly name: "collateralToken";
|
|
4252
6493
|
readonly internalType: "address";
|
|
4253
6494
|
readonly type: "address";
|
|
6495
|
+
readonly indexed: true;
|
|
6496
|
+
}, {
|
|
6497
|
+
readonly name: "dexId";
|
|
6498
|
+
readonly internalType: "uint8";
|
|
6499
|
+
readonly type: "uint8";
|
|
6500
|
+
readonly indexed: true;
|
|
4254
6501
|
}];
|
|
4255
|
-
readonly name: "
|
|
4256
|
-
readonly outputs: readonly [];
|
|
6502
|
+
readonly name: "CollateralDexSet";
|
|
4257
6503
|
}, {
|
|
4258
6504
|
readonly type: "event";
|
|
4259
6505
|
readonly anonymous: false;
|
|
4260
6506
|
readonly inputs: readonly [{
|
|
4261
|
-
readonly name: "
|
|
6507
|
+
readonly name: "collateralToken";
|
|
4262
6508
|
readonly internalType: "address";
|
|
4263
6509
|
readonly type: "address";
|
|
4264
6510
|
readonly indexed: true;
|
|
4265
6511
|
}, {
|
|
4266
|
-
readonly name: "
|
|
6512
|
+
readonly name: "enabled";
|
|
6513
|
+
readonly internalType: "bool";
|
|
6514
|
+
readonly type: "bool";
|
|
6515
|
+
readonly indexed: false;
|
|
6516
|
+
}];
|
|
6517
|
+
readonly name: "CollateralEnabled";
|
|
6518
|
+
}, {
|
|
6519
|
+
readonly type: "event";
|
|
6520
|
+
readonly anonymous: false;
|
|
6521
|
+
readonly inputs: readonly [{
|
|
6522
|
+
readonly name: "collateralToken";
|
|
6523
|
+
readonly internalType: "address";
|
|
6524
|
+
readonly type: "address";
|
|
6525
|
+
readonly indexed: true;
|
|
6526
|
+
}];
|
|
6527
|
+
readonly name: "CollateralV2PathsSet";
|
|
6528
|
+
}, {
|
|
6529
|
+
readonly type: "event";
|
|
6530
|
+
readonly anonymous: false;
|
|
6531
|
+
readonly inputs: readonly [{
|
|
6532
|
+
readonly name: "collateralToken";
|
|
4267
6533
|
readonly internalType: "address";
|
|
4268
6534
|
readonly type: "address";
|
|
4269
6535
|
readonly indexed: true;
|
|
6536
|
+
}];
|
|
6537
|
+
readonly name: "CollateralV3PathsSet";
|
|
6538
|
+
}, {
|
|
6539
|
+
readonly type: "event";
|
|
6540
|
+
readonly anonymous: false;
|
|
6541
|
+
readonly inputs: readonly [{
|
|
6542
|
+
readonly name: "dexId";
|
|
6543
|
+
readonly internalType: "uint8";
|
|
6544
|
+
readonly type: "uint8";
|
|
6545
|
+
readonly indexed: true;
|
|
4270
6546
|
}, {
|
|
4271
|
-
readonly name: "
|
|
4272
|
-
readonly internalType: "
|
|
4273
|
-
readonly type: "
|
|
6547
|
+
readonly name: "dexType";
|
|
6548
|
+
readonly internalType: "enum IBasememeTokenSwap.DexType";
|
|
6549
|
+
readonly type: "uint8";
|
|
4274
6550
|
readonly indexed: false;
|
|
4275
6551
|
}];
|
|
4276
|
-
readonly name: "
|
|
6552
|
+
readonly name: "DexConfigured";
|
|
4277
6553
|
}, {
|
|
4278
6554
|
readonly type: "event";
|
|
4279
6555
|
readonly anonymous: false;
|
|
4280
|
-
readonly inputs: readonly [
|
|
4281
|
-
|
|
6556
|
+
readonly inputs: readonly [{
|
|
6557
|
+
readonly name: "dexId";
|
|
6558
|
+
readonly internalType: "uint8";
|
|
6559
|
+
readonly type: "uint8";
|
|
6560
|
+
readonly indexed: true;
|
|
6561
|
+
}, {
|
|
6562
|
+
readonly name: "enabled";
|
|
6563
|
+
readonly internalType: "bool";
|
|
6564
|
+
readonly type: "bool";
|
|
6565
|
+
readonly indexed: false;
|
|
6566
|
+
}];
|
|
6567
|
+
readonly name: "DexEnabled";
|
|
4282
6568
|
}, {
|
|
4283
6569
|
readonly type: "event";
|
|
4284
6570
|
readonly anonymous: false;
|
|
@@ -4308,75 +6594,63 @@ export declare const basememeTokenConfig: {
|
|
|
4308
6594
|
readonly type: "event";
|
|
4309
6595
|
readonly anonymous: false;
|
|
4310
6596
|
readonly inputs: readonly [{
|
|
4311
|
-
readonly name: "
|
|
4312
|
-
readonly internalType: "address";
|
|
4313
|
-
readonly type: "address";
|
|
4314
|
-
readonly indexed: true;
|
|
4315
|
-
}, {
|
|
4316
|
-
readonly name: "recipient";
|
|
6597
|
+
readonly name: "implementation";
|
|
4317
6598
|
readonly internalType: "address";
|
|
4318
6599
|
readonly type: "address";
|
|
4319
6600
|
readonly indexed: true;
|
|
4320
|
-
}, {
|
|
4321
|
-
readonly name: "amount";
|
|
4322
|
-
readonly internalType: "uint256";
|
|
4323
|
-
readonly type: "uint256";
|
|
4324
|
-
readonly indexed: false;
|
|
4325
|
-
}, {
|
|
4326
|
-
readonly name: "senderBalance";
|
|
4327
|
-
readonly internalType: "uint256";
|
|
4328
|
-
readonly type: "uint256";
|
|
4329
|
-
readonly indexed: false;
|
|
4330
|
-
}, {
|
|
4331
|
-
readonly name: "recipientBalance";
|
|
4332
|
-
readonly internalType: "uint256";
|
|
4333
|
-
readonly type: "uint256";
|
|
4334
|
-
readonly indexed: false;
|
|
4335
6601
|
}];
|
|
4336
|
-
readonly name: "
|
|
6602
|
+
readonly name: "Upgraded";
|
|
4337
6603
|
}, {
|
|
4338
|
-
readonly type: "
|
|
4339
|
-
readonly anonymous: false;
|
|
6604
|
+
readonly type: "error";
|
|
4340
6605
|
readonly inputs: readonly [{
|
|
4341
|
-
readonly name: "
|
|
4342
|
-
readonly internalType: "address";
|
|
4343
|
-
readonly type: "address";
|
|
4344
|
-
readonly indexed: true;
|
|
4345
|
-
}, {
|
|
4346
|
-
readonly name: "to";
|
|
6606
|
+
readonly name: "target";
|
|
4347
6607
|
readonly internalType: "address";
|
|
4348
6608
|
readonly type: "address";
|
|
4349
|
-
readonly indexed: true;
|
|
4350
|
-
}, {
|
|
4351
|
-
readonly name: "value";
|
|
4352
|
-
readonly internalType: "uint256";
|
|
4353
|
-
readonly type: "uint256";
|
|
4354
|
-
readonly indexed: false;
|
|
4355
6609
|
}];
|
|
4356
|
-
readonly name: "
|
|
6610
|
+
readonly name: "AddressEmptyCode";
|
|
6611
|
+
}, {
|
|
6612
|
+
readonly type: "error";
|
|
6613
|
+
readonly inputs: readonly [];
|
|
6614
|
+
readonly name: "CollateralMustBeDisabled";
|
|
6615
|
+
}, {
|
|
6616
|
+
readonly type: "error";
|
|
6617
|
+
readonly inputs: readonly [];
|
|
6618
|
+
readonly name: "DeadlineExpired";
|
|
6619
|
+
}, {
|
|
6620
|
+
readonly type: "error";
|
|
6621
|
+
readonly inputs: readonly [];
|
|
6622
|
+
readonly name: "DexDisabled";
|
|
6623
|
+
}, {
|
|
6624
|
+
readonly type: "error";
|
|
6625
|
+
readonly inputs: readonly [];
|
|
6626
|
+
readonly name: "DexNotConfigured";
|
|
6627
|
+
}, {
|
|
6628
|
+
readonly type: "error";
|
|
6629
|
+
readonly inputs: readonly [];
|
|
6630
|
+
readonly name: "DexTypeImmutable";
|
|
4357
6631
|
}, {
|
|
4358
6632
|
readonly type: "error";
|
|
4359
6633
|
readonly inputs: readonly [{
|
|
4360
|
-
readonly name: "
|
|
6634
|
+
readonly name: "implementation";
|
|
4361
6635
|
readonly internalType: "address";
|
|
4362
6636
|
readonly type: "address";
|
|
4363
|
-
}, {
|
|
4364
|
-
readonly name: "allowance";
|
|
4365
|
-
readonly internalType: "uint256";
|
|
4366
|
-
readonly type: "uint256";
|
|
4367
|
-
}, {
|
|
4368
|
-
readonly name: "needed";
|
|
4369
|
-
readonly internalType: "uint256";
|
|
4370
|
-
readonly type: "uint256";
|
|
4371
6637
|
}];
|
|
4372
|
-
readonly name: "
|
|
6638
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
6639
|
+
}, {
|
|
6640
|
+
readonly type: "error";
|
|
6641
|
+
readonly inputs: readonly [];
|
|
6642
|
+
readonly name: "ERC1967NonPayable";
|
|
6643
|
+
}, {
|
|
6644
|
+
readonly type: "error";
|
|
6645
|
+
readonly inputs: readonly [];
|
|
6646
|
+
readonly name: "EthAmountMismatch";
|
|
6647
|
+
}, {
|
|
6648
|
+
readonly type: "error";
|
|
6649
|
+
readonly inputs: readonly [];
|
|
6650
|
+
readonly name: "FailedCall";
|
|
4373
6651
|
}, {
|
|
4374
6652
|
readonly type: "error";
|
|
4375
6653
|
readonly inputs: readonly [{
|
|
4376
|
-
readonly name: "sender";
|
|
4377
|
-
readonly internalType: "address";
|
|
4378
|
-
readonly type: "address";
|
|
4379
|
-
}, {
|
|
4380
6654
|
readonly name: "balance";
|
|
4381
6655
|
readonly internalType: "uint256";
|
|
4382
6656
|
readonly type: "uint256";
|
|
@@ -4385,43 +6659,27 @@ export declare const basememeTokenConfig: {
|
|
|
4385
6659
|
readonly internalType: "uint256";
|
|
4386
6660
|
readonly type: "uint256";
|
|
4387
6661
|
}];
|
|
4388
|
-
readonly name: "
|
|
6662
|
+
readonly name: "InsufficientBalance";
|
|
4389
6663
|
}, {
|
|
4390
6664
|
readonly type: "error";
|
|
4391
|
-
readonly inputs: readonly [
|
|
4392
|
-
|
|
4393
|
-
readonly internalType: "address";
|
|
4394
|
-
readonly type: "address";
|
|
4395
|
-
}];
|
|
4396
|
-
readonly name: "ERC20InvalidApprover";
|
|
6665
|
+
readonly inputs: readonly [];
|
|
6666
|
+
readonly name: "InvalidDexId";
|
|
4397
6667
|
}, {
|
|
4398
6668
|
readonly type: "error";
|
|
4399
|
-
readonly inputs: readonly [
|
|
4400
|
-
|
|
4401
|
-
readonly internalType: "address";
|
|
4402
|
-
readonly type: "address";
|
|
4403
|
-
}];
|
|
4404
|
-
readonly name: "ERC20InvalidReceiver";
|
|
6669
|
+
readonly inputs: readonly [];
|
|
6670
|
+
readonly name: "InvalidInitialization";
|
|
4405
6671
|
}, {
|
|
4406
6672
|
readonly type: "error";
|
|
4407
|
-
readonly inputs: readonly [
|
|
4408
|
-
|
|
4409
|
-
readonly internalType: "address";
|
|
4410
|
-
readonly type: "address";
|
|
4411
|
-
}];
|
|
4412
|
-
readonly name: "ERC20InvalidSender";
|
|
6673
|
+
readonly inputs: readonly [];
|
|
6674
|
+
readonly name: "InvalidPath";
|
|
4413
6675
|
}, {
|
|
4414
6676
|
readonly type: "error";
|
|
4415
|
-
readonly inputs: readonly [
|
|
4416
|
-
|
|
4417
|
-
readonly internalType: "address";
|
|
4418
|
-
readonly type: "address";
|
|
4419
|
-
}];
|
|
4420
|
-
readonly name: "ERC20InvalidSpender";
|
|
6677
|
+
readonly inputs: readonly [];
|
|
6678
|
+
readonly name: "InvalidRecipient";
|
|
4421
6679
|
}, {
|
|
4422
6680
|
readonly type: "error";
|
|
4423
6681
|
readonly inputs: readonly [];
|
|
4424
|
-
readonly name: "
|
|
6682
|
+
readonly name: "InvalidRouteConfig";
|
|
4425
6683
|
}, {
|
|
4426
6684
|
readonly type: "error";
|
|
4427
6685
|
readonly inputs: readonly [];
|
|
@@ -4445,16 +6703,44 @@ export declare const basememeTokenConfig: {
|
|
|
4445
6703
|
}, {
|
|
4446
6704
|
readonly type: "error";
|
|
4447
6705
|
readonly inputs: readonly [];
|
|
4448
|
-
readonly name: "
|
|
6706
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
4449
6707
|
}, {
|
|
4450
6708
|
readonly type: "error";
|
|
4451
6709
|
readonly inputs: readonly [];
|
|
4452
|
-
readonly name: "
|
|
6710
|
+
readonly name: "RouteDisabled";
|
|
6711
|
+
}, {
|
|
6712
|
+
readonly type: "error";
|
|
6713
|
+
readonly inputs: readonly [];
|
|
6714
|
+
readonly name: "RouteNotConfigured";
|
|
6715
|
+
}, {
|
|
6716
|
+
readonly type: "error";
|
|
6717
|
+
readonly inputs: readonly [{
|
|
6718
|
+
readonly name: "token";
|
|
6719
|
+
readonly internalType: "address";
|
|
6720
|
+
readonly type: "address";
|
|
6721
|
+
}];
|
|
6722
|
+
readonly name: "SafeERC20FailedOperation";
|
|
6723
|
+
}, {
|
|
6724
|
+
readonly type: "error";
|
|
6725
|
+
readonly inputs: readonly [];
|
|
6726
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
6727
|
+
}, {
|
|
6728
|
+
readonly type: "error";
|
|
6729
|
+
readonly inputs: readonly [{
|
|
6730
|
+
readonly name: "slot";
|
|
6731
|
+
readonly internalType: "bytes32";
|
|
6732
|
+
readonly type: "bytes32";
|
|
6733
|
+
}];
|
|
6734
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
6735
|
+
}, {
|
|
6736
|
+
readonly type: "error";
|
|
6737
|
+
readonly inputs: readonly [];
|
|
6738
|
+
readonly name: "UnsupportedDexType";
|
|
4453
6739
|
}];
|
|
4454
6740
|
};
|
|
4455
6741
|
/**
|
|
4456
6742
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
4457
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
6743
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xe891F626E5819a972F9263007807Bb4E70cA9522)
|
|
4458
6744
|
*/
|
|
4459
6745
|
export declare const bondingCurveABI: readonly [{
|
|
4460
6746
|
readonly stateMutability: "nonpayable";
|
|
@@ -5589,6 +7875,10 @@ export declare const bondingCurveABI: readonly [{
|
|
|
5589
7875
|
readonly type: "uint256";
|
|
5590
7876
|
}];
|
|
5591
7877
|
readonly name: "CollectionTargetExceeded";
|
|
7878
|
+
}, {
|
|
7879
|
+
readonly type: "error";
|
|
7880
|
+
readonly inputs: readonly [];
|
|
7881
|
+
readonly name: "ETHNotAllowedForERC20Market";
|
|
5592
7882
|
}, {
|
|
5593
7883
|
readonly type: "error";
|
|
5594
7884
|
readonly inputs: readonly [];
|
|
@@ -5733,6 +8023,14 @@ export declare const bondingCurveABI: readonly [{
|
|
|
5733
8023
|
readonly type: "error";
|
|
5734
8024
|
readonly inputs: readonly [];
|
|
5735
8025
|
readonly name: "ReentrancyGuardReentrantCall";
|
|
8026
|
+
}, {
|
|
8027
|
+
readonly type: "error";
|
|
8028
|
+
readonly inputs: readonly [{
|
|
8029
|
+
readonly name: "token";
|
|
8030
|
+
readonly internalType: "address";
|
|
8031
|
+
readonly type: "address";
|
|
8032
|
+
}];
|
|
8033
|
+
readonly name: "SafeERC20FailedOperation";
|
|
5736
8034
|
}, {
|
|
5737
8035
|
readonly type: "error";
|
|
5738
8036
|
readonly inputs: readonly [];
|
|
@@ -5804,20 +8102,20 @@ export declare const bondingCurveABI: readonly [{
|
|
|
5804
8102
|
}];
|
|
5805
8103
|
/**
|
|
5806
8104
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
5807
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
8105
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xe891F626E5819a972F9263007807Bb4E70cA9522)
|
|
5808
8106
|
*/
|
|
5809
8107
|
export declare const bondingCurveAddress: {
|
|
5810
8108
|
readonly 8453: "0x0000000000000000000000000000000000000000";
|
|
5811
|
-
readonly 84532: "
|
|
8109
|
+
readonly 84532: "0xe891F626E5819a972F9263007807Bb4E70cA9522";
|
|
5812
8110
|
};
|
|
5813
8111
|
/**
|
|
5814
8112
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
5815
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
8113
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xe891F626E5819a972F9263007807Bb4E70cA9522)
|
|
5816
8114
|
*/
|
|
5817
8115
|
export declare const bondingCurveConfig: {
|
|
5818
8116
|
readonly address: {
|
|
5819
8117
|
readonly 8453: "0x0000000000000000000000000000000000000000";
|
|
5820
|
-
readonly 84532: "
|
|
8118
|
+
readonly 84532: "0xe891F626E5819a972F9263007807Bb4E70cA9522";
|
|
5821
8119
|
};
|
|
5822
8120
|
readonly abi: readonly [{
|
|
5823
8121
|
readonly stateMutability: "nonpayable";
|
|
@@ -6952,6 +9250,10 @@ export declare const bondingCurveConfig: {
|
|
|
6952
9250
|
readonly type: "uint256";
|
|
6953
9251
|
}];
|
|
6954
9252
|
readonly name: "CollectionTargetExceeded";
|
|
9253
|
+
}, {
|
|
9254
|
+
readonly type: "error";
|
|
9255
|
+
readonly inputs: readonly [];
|
|
9256
|
+
readonly name: "ETHNotAllowedForERC20Market";
|
|
6955
9257
|
}, {
|
|
6956
9258
|
readonly type: "error";
|
|
6957
9259
|
readonly inputs: readonly [];
|
|
@@ -7096,6 +9398,14 @@ export declare const bondingCurveConfig: {
|
|
|
7096
9398
|
readonly type: "error";
|
|
7097
9399
|
readonly inputs: readonly [];
|
|
7098
9400
|
readonly name: "ReentrancyGuardReentrantCall";
|
|
9401
|
+
}, {
|
|
9402
|
+
readonly type: "error";
|
|
9403
|
+
readonly inputs: readonly [{
|
|
9404
|
+
readonly name: "token";
|
|
9405
|
+
readonly internalType: "address";
|
|
9406
|
+
readonly type: "address";
|
|
9407
|
+
}];
|
|
9408
|
+
readonly name: "SafeERC20FailedOperation";
|
|
7099
9409
|
}, {
|
|
7100
9410
|
readonly type: "error";
|
|
7101
9411
|
readonly inputs: readonly [];
|