h_test_1 0.0.47 → 0.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/constants/chains.constants.cjs +1 -1
  2. package/constants/chains.constants.mjs +117 -119
  3. package/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
  4. package/constants/deploy-data/deploy-data-arbMainnet.json.mjs +0 -2068
  5. package/constants/deploy-data/deploy-data-arcTestnet.json.cjs +1 -1
  6. package/constants/deploy-data/deploy-data-arcTestnet.json.mjs +0 -2246
  7. package/constants/deploy-data/deploy-data-base.json.cjs +1 -1
  8. package/constants/deploy-data/deploy-data-base.json.mjs +0 -2068
  9. package/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -1
  10. package/constants/deploy-data/deploy-data-ethMainnet.json.mjs +0 -2265
  11. package/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
  12. package/constants/deploy-data/deploy-data-localhost.json.mjs +1 -2266
  13. package/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
  14. package/constants/deploy-data/deploy-data-optimism.json.mjs +0 -2068
  15. package/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
  16. package/constants/deploy-data/deploy-data-polygon.json.mjs +0 -2068
  17. package/constants/deploy-data/index.d.ts +1 -3
  18. package/constants/index.cjs +1 -1
  19. package/constants/index.mjs +0 -2
  20. package/constants/token-data/ERC20Registry.cjs +1 -1
  21. package/constants/token-data/ERC20Registry.mjs +38 -50
  22. package/constants/token-data/index.cjs +1 -1
  23. package/constants/token-data/index.d.ts +1 -233
  24. package/constants/token-data/index.mjs +13 -17
  25. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.cjs +1 -1
  26. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.mjs +1 -0
  27. package/functions/private-wallet/emporium.helpers.d.ts +1 -1
  28. package/functions/utils/create-provider.cjs +1 -1
  29. package/functions/utils/create-provider.d.ts +1 -1
  30. package/functions/utils/create-provider.mjs +4 -6
  31. package/functions/utils/tx-confirmation.utils.d.ts +1 -1
  32. package/functions/web3/events/getInputUtxoAndBalance.cjs +1 -1
  33. package/functions/web3/events/getInputUtxoAndBalance.d.ts +1 -1
  34. package/functions/web3/events/getInputUtxoAndBalance.mjs +15 -13
  35. package/functions/web3/events/getShieldedBalance.cjs +1 -1
  36. package/functions/web3/events/getShieldedBalance.mjs +1 -1
  37. package/functions/web3/events/getTransactionLogEvents.d.ts +5 -8
  38. package/index.cjs +1 -1
  39. package/index.mjs +308 -310
  40. package/package.json +1 -1
  41. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.cjs +1 -1
  42. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.mjs +1 -1
  43. package/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.cjs +1 -1
  44. package/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.mjs +1 -1
  45. package/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.cjs +1 -1
  46. package/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.mjs +1 -1
  47. package/constants/deploy-data/deploy-data-avalanche.json.cjs +0 -1
  48. package/constants/deploy-data/deploy-data-avalanche.json.mjs +0 -5352
  49. package/constants/deploy-data/deploy-data-bnbMainnet.json.cjs +0 -1
  50. package/constants/deploy-data/deploy-data-bnbMainnet.json.mjs +0 -5352
  51. package/constants/token-data/avalancheRegistry.json.cjs +0 -1
  52. package/constants/token-data/avalancheRegistry.json.mjs +0 -729
  53. package/constants/token-data/avalancheRegistryFixed.json.cjs +0 -1
  54. package/constants/token-data/avalancheRegistryFixed.json.mjs +0 -729
  55. package/constants/token-data/bnbMainnetRegistry.json.cjs +0 -1
  56. package/constants/token-data/bnbMainnetRegistry.json.mjs +0 -900
  57. package/constants/token-data/bnbMainnetRegistryFixed.json.cjs +0 -1
  58. package/constants/token-data/bnbMainnetRegistryFixed.json.mjs +0 -900
  59. package/providers/CustomEthersProvider.cjs +0 -1
  60. package/providers/CustomEthersProvider.mjs +0 -28
@@ -3329,2252 +3329,6 @@ var e = {
3329
3329
  type: "function"
3330
3330
  }
3331
3331
  ],
3332
- HinkalStakeExternalActionABI: [
3333
- {
3334
- inputs: [{
3335
- internalType: "address[]",
3336
- name: "allowedRecipients",
3337
- type: "address[]"
3338
- }, {
3339
- components: [
3340
- {
3341
- internalType: "uint128",
3342
- name: "levels",
3343
- type: "uint128"
3344
- },
3345
- {
3346
- internalType: "address",
3347
- name: "poseidon2",
3348
- type: "address"
3349
- },
3350
- {
3351
- internalType: "address",
3352
- name: "poseidon4",
3353
- type: "address"
3354
- },
3355
- {
3356
- internalType: "address",
3357
- name: "poseidon5",
3358
- type: "address"
3359
- }
3360
- ],
3361
- internalType: "struct IMerkle.MerkleConstructorArgs",
3362
- name: "merkleConstructorArgs",
3363
- type: "tuple"
3364
- }],
3365
- stateMutability: "nonpayable",
3366
- type: "constructor"
3367
- },
3368
- {
3369
- inputs: [],
3370
- name: "BaseTokenNotRegistered",
3371
- type: "error"
3372
- },
3373
- {
3374
- inputs: [],
3375
- name: "EtherMismatch",
3376
- type: "error"
3377
- },
3378
- {
3379
- inputs: [],
3380
- name: "InvalidAmount",
3381
- type: "error"
3382
- },
3383
- {
3384
- inputs: [],
3385
- name: "InvalidHToken",
3386
- type: "error"
3387
- },
3388
- {
3389
- inputs: [],
3390
- name: "InvalidInputCount",
3391
- type: "error"
3392
- },
3393
- {
3394
- inputs: [],
3395
- name: "InvalidLength",
3396
- type: "error"
3397
- },
3398
- {
3399
- inputs: [],
3400
- name: "InvalidMerkleRoot",
3401
- type: "error"
3402
- },
3403
- {
3404
- inputs: [],
3405
- name: "InvalidProof",
3406
- type: "error"
3407
- },
3408
- {
3409
- inputs: [{
3410
- internalType: "uint8",
3411
- name: "which",
3412
- type: "uint8"
3413
- }],
3414
- name: "LengthMismatch",
3415
- type: "error"
3416
- },
3417
- {
3418
- inputs: [],
3419
- name: "MustBeDepositOrStake",
3420
- type: "error"
3421
- },
3422
- {
3423
- inputs: [],
3424
- name: "MustBeUnstake",
3425
- type: "error"
3426
- },
3427
- {
3428
- inputs: [],
3429
- name: "NullifierAlreadyUsed",
3430
- type: "error"
3431
- },
3432
- {
3433
- inputs: [],
3434
- name: "RelayForbidden",
3435
- type: "error"
3436
- },
3437
- {
3438
- inputs: [],
3439
- name: "SenderDepositorMismatch",
3440
- type: "error"
3441
- },
3442
- {
3443
- inputs: [],
3444
- name: "TimestampTooNew",
3445
- type: "error"
3446
- },
3447
- {
3448
- anonymous: !1,
3449
- inputs: [
3450
- {
3451
- indexed: !1,
3452
- internalType: "address",
3453
- name: "",
3454
- type: "address"
3455
- },
3456
- {
3457
- indexed: !1,
3458
- internalType: "uint256",
3459
- name: "",
3460
- type: "uint256"
3461
- },
3462
- {
3463
- indexed: !1,
3464
- internalType: "bool",
3465
- name: "",
3466
- type: "bool"
3467
- }
3468
- ],
3469
- name: "AmountValidityUpdate",
3470
- type: "event"
3471
- },
3472
- {
3473
- anonymous: !1,
3474
- inputs: [{
3475
- indexed: !1,
3476
- internalType: "address",
3477
- name: "",
3478
- type: "address"
3479
- }, {
3480
- indexed: !1,
3481
- internalType: "bool",
3482
- name: "",
3483
- type: "bool"
3484
- }],
3485
- name: "IsRestrictionDisabledUpdate",
3486
- type: "event"
3487
- },
3488
- {
3489
- anonymous: !1,
3490
- inputs: [{
3491
- indexed: !1,
3492
- internalType: "uint256",
3493
- name: "",
3494
- type: "uint256"
3495
- }],
3496
- name: "MinAllowedTimestampOffsetUpdate",
3497
- type: "event"
3498
- },
3499
- {
3500
- anonymous: !1,
3501
- inputs: [
3502
- {
3503
- indexed: !0,
3504
- internalType: "uint256",
3505
- name: "index",
3506
- type: "uint256"
3507
- },
3508
- {
3509
- indexed: !1,
3510
- internalType: "uint256",
3511
- name: "stakeCommitment",
3512
- type: "uint256"
3513
- },
3514
- {
3515
- indexed: !0,
3516
- internalType: "address",
3517
- name: "staker",
3518
- type: "address"
3519
- },
3520
- {
3521
- indexed: !1,
3522
- internalType: "address",
3523
- name: "baseToken",
3524
- type: "address"
3525
- },
3526
- {
3527
- indexed: !1,
3528
- internalType: "uint256",
3529
- name: "stakedAmount",
3530
- type: "uint256"
3531
- },
3532
- {
3533
- indexed: !1,
3534
- internalType: "bytes",
3535
- name: "encryptedStakeCommitmentContent",
3536
- type: "bytes"
3537
- },
3538
- {
3539
- indexed: !1,
3540
- internalType: "bytes",
3541
- name: "encryptedStakeCommitmentContentAlt",
3542
- type: "bytes"
3543
- },
3544
- {
3545
- indexed: !1,
3546
- internalType: "uint256",
3547
- name: "timeStamp",
3548
- type: "uint256"
3549
- }
3550
- ],
3551
- name: "NewStakeCommitment",
3552
- type: "event"
3553
- },
3554
- {
3555
- anonymous: !1,
3556
- inputs: [{
3557
- indexed: !0,
3558
- internalType: "address",
3559
- name: "previousOwner",
3560
- type: "address"
3561
- }, {
3562
- indexed: !0,
3563
- internalType: "address",
3564
- name: "newOwner",
3565
- type: "address"
3566
- }],
3567
- name: "OwnershipTransferStarted",
3568
- type: "event"
3569
- },
3570
- {
3571
- anonymous: !1,
3572
- inputs: [{
3573
- indexed: !0,
3574
- internalType: "address",
3575
- name: "previousOwner",
3576
- type: "address"
3577
- }, {
3578
- indexed: !0,
3579
- internalType: "address",
3580
- name: "newOwner",
3581
- type: "address"
3582
- }],
3583
- name: "OwnershipTransferred",
3584
- type: "event"
3585
- },
3586
- {
3587
- anonymous: !1,
3588
- inputs: [{
3589
- indexed: !0,
3590
- internalType: "uint256",
3591
- name: "commitment",
3592
- type: "uint256"
3593
- }],
3594
- name: "PermissionlessMint",
3595
- type: "event"
3596
- },
3597
- {
3598
- anonymous: !1,
3599
- inputs: [{
3600
- indexed: !1,
3601
- internalType: "uint256",
3602
- name: "nullifier",
3603
- type: "uint256"
3604
- }],
3605
- name: "StakeNullified",
3606
- type: "event"
3607
- },
3608
- {
3609
- anonymous: !1,
3610
- inputs: [{
3611
- indexed: !1,
3612
- internalType: "address",
3613
- name: "",
3614
- type: "address"
3615
- }, {
3616
- indexed: !1,
3617
- internalType: "address",
3618
- name: "",
3619
- type: "address"
3620
- }],
3621
- name: "TokenRegistryUpdate",
3622
- type: "event"
3623
- },
3624
- {
3625
- anonymous: !1,
3626
- inputs: [{
3627
- indexed: !1,
3628
- internalType: "uint256",
3629
- name: "verifierId",
3630
- type: "uint256"
3631
- }, {
3632
- indexed: !1,
3633
- internalType: "address",
3634
- name: "verifierAddress",
3635
- type: "address"
3636
- }],
3637
- name: "VerifierRegistered",
3638
- type: "event"
3639
- },
3640
- {
3641
- anonymous: !1,
3642
- inputs: [{
3643
- indexed: !1,
3644
- internalType: "uint256",
3645
- name: "verifierId",
3646
- type: "uint256"
3647
- }],
3648
- name: "VerifierRemoved",
3649
- type: "event"
3650
- },
3651
- {
3652
- inputs: [],
3653
- name: "acceptOwnership",
3654
- outputs: [],
3655
- stateMutability: "nonpayable",
3656
- type: "function"
3657
- },
3658
- {
3659
- inputs: [{
3660
- components: [
3661
- {
3662
- internalType: "uint16",
3663
- name: "tokenNumber",
3664
- type: "uint16"
3665
- },
3666
- {
3667
- internalType: "uint16",
3668
- name: "nullifierAmount",
3669
- type: "uint16"
3670
- },
3671
- {
3672
- internalType: "uint16",
3673
- name: "outputAmount",
3674
- type: "uint16"
3675
- }
3676
- ],
3677
- internalType: "struct Dimensions",
3678
- name: "dimensions",
3679
- type: "tuple"
3680
- }, {
3681
- internalType: "uint256",
3682
- name: "externalActionId",
3683
- type: "uint256"
3684
- }],
3685
- name: "buildVerifierId",
3686
- outputs: [{
3687
- internalType: "uint256",
3688
- name: "",
3689
- type: "uint256"
3690
- }],
3691
- stateMutability: "pure",
3692
- type: "function"
3693
- },
3694
- {
3695
- inputs: [],
3696
- name: "getRootHash",
3697
- outputs: [{
3698
- internalType: "uint256",
3699
- name: "",
3700
- type: "uint256"
3701
- }],
3702
- stateMutability: "view",
3703
- type: "function"
3704
- },
3705
- {
3706
- inputs: [{
3707
- internalType: "uint256",
3708
- name: "a",
3709
- type: "uint256"
3710
- }, {
3711
- internalType: "uint256",
3712
- name: "b",
3713
- type: "uint256"
3714
- }],
3715
- name: "hash2",
3716
- outputs: [{
3717
- internalType: "uint256",
3718
- name: "poseidonHash",
3719
- type: "uint256"
3720
- }],
3721
- stateMutability: "view",
3722
- type: "function"
3723
- },
3724
- {
3725
- inputs: [
3726
- {
3727
- internalType: "uint256",
3728
- name: "a0",
3729
- type: "uint256"
3730
- },
3731
- {
3732
- internalType: "uint256",
3733
- name: "a1",
3734
- type: "uint256"
3735
- },
3736
- {
3737
- internalType: "uint256",
3738
- name: "a2",
3739
- type: "uint256"
3740
- },
3741
- {
3742
- internalType: "uint256",
3743
- name: "a3",
3744
- type: "uint256"
3745
- }
3746
- ],
3747
- name: "hash4",
3748
- outputs: [{
3749
- internalType: "uint256",
3750
- name: "poseidonHash",
3751
- type: "uint256"
3752
- }],
3753
- stateMutability: "view",
3754
- type: "function"
3755
- },
3756
- {
3757
- inputs: [
3758
- {
3759
- internalType: "uint256",
3760
- name: "a0",
3761
- type: "uint256"
3762
- },
3763
- {
3764
- internalType: "uint256",
3765
- name: "a1",
3766
- type: "uint256"
3767
- },
3768
- {
3769
- internalType: "uint256",
3770
- name: "a2",
3771
- type: "uint256"
3772
- },
3773
- {
3774
- internalType: "uint256",
3775
- name: "a3",
3776
- type: "uint256"
3777
- },
3778
- {
3779
- internalType: "uint256",
3780
- name: "a4",
3781
- type: "uint256"
3782
- }
3783
- ],
3784
- name: "hash5",
3785
- outputs: [{
3786
- internalType: "uint256",
3787
- name: "poseidonHash",
3788
- type: "uint256"
3789
- }],
3790
- stateMutability: "view",
3791
- type: "function"
3792
- },
3793
- {
3794
- inputs: [{
3795
- internalType: "address",
3796
- name: "",
3797
- type: "address"
3798
- }, {
3799
- internalType: "uint256",
3800
- name: "",
3801
- type: "uint256"
3802
- }],
3803
- name: "isAmountValid",
3804
- outputs: [{
3805
- internalType: "bool",
3806
- name: "",
3807
- type: "bool"
3808
- }],
3809
- stateMutability: "view",
3810
- type: "function"
3811
- },
3812
- {
3813
- inputs: [{
3814
- internalType: "address",
3815
- name: "",
3816
- type: "address"
3817
- }],
3818
- name: "isRestrictionDisabled",
3819
- outputs: [{
3820
- internalType: "bool",
3821
- name: "",
3822
- type: "bool"
3823
- }],
3824
- stateMutability: "view",
3825
- type: "function"
3826
- },
3827
- {
3828
- inputs: [{
3829
- internalType: "uint256",
3830
- name: "x",
3831
- type: "uint256"
3832
- }],
3833
- name: "logarithm2",
3834
- outputs: [{
3835
- internalType: "uint256",
3836
- name: "y",
3837
- type: "uint256"
3838
- }],
3839
- stateMutability: "pure",
3840
- type: "function"
3841
- },
3842
- {
3843
- inputs: [],
3844
- name: "m_index",
3845
- outputs: [{
3846
- internalType: "uint256",
3847
- name: "",
3848
- type: "uint256"
3849
- }],
3850
- stateMutability: "view",
3851
- type: "function"
3852
- },
3853
- {
3854
- inputs: [],
3855
- name: "minAllowedTimestampOffset",
3856
- outputs: [{
3857
- internalType: "uint256",
3858
- name: "",
3859
- type: "uint256"
3860
- }],
3861
- stateMutability: "view",
3862
- type: "function"
3863
- },
3864
- {
3865
- inputs: [
3866
- {
3867
- internalType: "uint256[2]",
3868
- name: "a",
3869
- type: "uint256[2]"
3870
- },
3871
- {
3872
- internalType: "uint256[2][2]",
3873
- name: "b",
3874
- type: "uint256[2][2]"
3875
- },
3876
- {
3877
- internalType: "uint256[2]",
3878
- name: "c",
3879
- type: "uint256[2]"
3880
- },
3881
- {
3882
- components: [
3883
- {
3884
- internalType: "uint256[]",
3885
- name: "nullifiers",
3886
- type: "uint256[]"
3887
- },
3888
- {
3889
- internalType: "uint256[]",
3890
- name: "stakeAmounts",
3891
- type: "uint256[]"
3892
- },
3893
- {
3894
- internalType: "address[]",
3895
- name: "erc20TokenAddresses",
3896
- type: "address[]"
3897
- },
3898
- {
3899
- internalType: "address[]",
3900
- name: "stakedTokenRecipients",
3901
- type: "address[]"
3902
- },
3903
- {
3904
- internalType: "uint256",
3905
- name: "stakedMerkleRoot",
3906
- type: "uint256"
3907
- }
3908
- ],
3909
- internalType: "struct StakeProverData",
3910
- name: "stakeProverData",
3911
- type: "tuple"
3912
- }
3913
- ],
3914
- name: "mint",
3915
- outputs: [],
3916
- stateMutability: "nonpayable",
3917
- type: "function"
3918
- },
3919
- {
3920
- inputs: [
3921
- {
3922
- internalType: "uint256[2]",
3923
- name: "a",
3924
- type: "uint256[2]"
3925
- },
3926
- {
3927
- internalType: "uint256[2][2]",
3928
- name: "b",
3929
- type: "uint256[2][2]"
3930
- },
3931
- {
3932
- internalType: "uint256[2]",
3933
- name: "c",
3934
- type: "uint256[2]"
3935
- },
3936
- {
3937
- components: [
3938
- {
3939
- internalType: "uint256[]",
3940
- name: "nullifiers",
3941
- type: "uint256[]"
3942
- },
3943
- {
3944
- internalType: "uint256[]",
3945
- name: "stakeAmounts",
3946
- type: "uint256[]"
3947
- },
3948
- {
3949
- internalType: "address[]",
3950
- name: "erc20TokenAddresses",
3951
- type: "address[]"
3952
- },
3953
- {
3954
- internalType: "address[]",
3955
- name: "stakedTokenRecipients",
3956
- type: "address[]"
3957
- },
3958
- {
3959
- internalType: "uint256",
3960
- name: "stakedMerkleRoot",
3961
- type: "uint256"
3962
- }
3963
- ],
3964
- internalType: "struct StakeProverData",
3965
- name: "stakeProverData",
3966
- type: "tuple"
3967
- },
3968
- {
3969
- components: [{
3970
- internalType: "uint256",
3971
- name: "maxAllowedTimestamp",
3972
- type: "uint256"
3973
- }, {
3974
- internalType: "uint256",
3975
- name: "stakeCommitment",
3976
- type: "uint256"
3977
- }],
3978
- internalType: "struct StakeProverPermissionlessData",
3979
- name: "stakeProverPermissionlessData",
3980
- type: "tuple"
3981
- }
3982
- ],
3983
- name: "mintPermissionless",
3984
- outputs: [],
3985
- stateMutability: "nonpayable",
3986
- type: "function"
3987
- },
3988
- {
3989
- inputs: [
3990
- {
3991
- internalType: "address",
3992
- name: "",
3993
- type: "address"
3994
- },
3995
- {
3996
- internalType: "address",
3997
- name: "",
3998
- type: "address"
3999
- },
4000
- {
4001
- internalType: "uint256[]",
4002
- name: "",
4003
- type: "uint256[]"
4004
- },
4005
- {
4006
- internalType: "uint256[]",
4007
- name: "",
4008
- type: "uint256[]"
4009
- },
4010
- {
4011
- internalType: "bytes",
4012
- name: "",
4013
- type: "bytes"
4014
- }
4015
- ],
4016
- name: "onERC1155BatchReceived",
4017
- outputs: [{
4018
- internalType: "bytes4",
4019
- name: "",
4020
- type: "bytes4"
4021
- }],
4022
- stateMutability: "pure",
4023
- type: "function"
4024
- },
4025
- {
4026
- inputs: [
4027
- {
4028
- internalType: "address",
4029
- name: "",
4030
- type: "address"
4031
- },
4032
- {
4033
- internalType: "address",
4034
- name: "",
4035
- type: "address"
4036
- },
4037
- {
4038
- internalType: "uint256",
4039
- name: "",
4040
- type: "uint256"
4041
- },
4042
- {
4043
- internalType: "uint256",
4044
- name: "",
4045
- type: "uint256"
4046
- },
4047
- {
4048
- internalType: "bytes",
4049
- name: "",
4050
- type: "bytes"
4051
- }
4052
- ],
4053
- name: "onERC1155Received",
4054
- outputs: [{
4055
- internalType: "bytes4",
4056
- name: "",
4057
- type: "bytes4"
4058
- }],
4059
- stateMutability: "pure",
4060
- type: "function"
4061
- },
4062
- {
4063
- inputs: [
4064
- {
4065
- internalType: "address",
4066
- name: "",
4067
- type: "address"
4068
- },
4069
- {
4070
- internalType: "address",
4071
- name: "",
4072
- type: "address"
4073
- },
4074
- {
4075
- internalType: "uint256",
4076
- name: "",
4077
- type: "uint256"
4078
- },
4079
- {
4080
- internalType: "bytes",
4081
- name: "",
4082
- type: "bytes"
4083
- }
4084
- ],
4085
- name: "onERC721Received",
4086
- outputs: [{
4087
- internalType: "bytes4",
4088
- name: "",
4089
- type: "bytes4"
4090
- }],
4091
- stateMutability: "pure",
4092
- type: "function"
4093
- },
4094
- {
4095
- inputs: [],
4096
- name: "owner",
4097
- outputs: [{
4098
- internalType: "address",
4099
- name: "",
4100
- type: "address"
4101
- }],
4102
- stateMutability: "view",
4103
- type: "function"
4104
- },
4105
- {
4106
- inputs: [],
4107
- name: "pendingOwner",
4108
- outputs: [{
4109
- internalType: "address",
4110
- name: "",
4111
- type: "address"
4112
- }],
4113
- stateMutability: "view",
4114
- type: "function"
4115
- },
4116
- {
4117
- inputs: [],
4118
- name: "poseidon2",
4119
- outputs: [{
4120
- internalType: "contract IPoseidon2",
4121
- name: "",
4122
- type: "address"
4123
- }],
4124
- stateMutability: "view",
4125
- type: "function"
4126
- },
4127
- {
4128
- inputs: [],
4129
- name: "poseidon4",
4130
- outputs: [{
4131
- internalType: "contract IPoseidon4",
4132
- name: "",
4133
- type: "address"
4134
- }],
4135
- stateMutability: "view",
4136
- type: "function"
4137
- },
4138
- {
4139
- inputs: [],
4140
- name: "poseidon5",
4141
- outputs: [{
4142
- internalType: "contract IPoseidon5",
4143
- name: "",
4144
- type: "address"
4145
- }],
4146
- stateMutability: "view",
4147
- type: "function"
4148
- },
4149
- {
4150
- inputs: [{
4151
- internalType: "uint256[]",
4152
- name: "verifierIds",
4153
- type: "uint256[]"
4154
- }, {
4155
- internalType: "address[]",
4156
- name: "verifierAddresses",
4157
- type: "address[]"
4158
- }],
4159
- name: "registerVerifiers",
4160
- outputs: [],
4161
- stateMutability: "nonpayable",
4162
- type: "function"
4163
- },
4164
- {
4165
- inputs: [{
4166
- internalType: "uint256",
4167
- name: "verifierId",
4168
- type: "uint256"
4169
- }],
4170
- name: "removeVerifier",
4171
- outputs: [],
4172
- stateMutability: "nonpayable",
4173
- type: "function"
4174
- },
4175
- {
4176
- inputs: [],
4177
- name: "renounceOwnership",
4178
- outputs: [],
4179
- stateMutability: "view",
4180
- type: "function"
4181
- },
4182
- {
4183
- inputs: [{
4184
- internalType: "uint256",
4185
- name: "_root",
4186
- type: "uint256"
4187
- }],
4188
- name: "rootHashExists",
4189
- outputs: [{
4190
- internalType: "bool",
4191
- name: "",
4192
- type: "bool"
4193
- }],
4194
- stateMutability: "view",
4195
- type: "function"
4196
- },
4197
- {
4198
- inputs: [],
4199
- name: "rootIndex",
4200
- outputs: [{
4201
- internalType: "uint256",
4202
- name: "",
4203
- type: "uint256"
4204
- }],
4205
- stateMutability: "view",
4206
- type: "function"
4207
- },
4208
- {
4209
- inputs: [{
4210
- internalType: "uint256",
4211
- name: "",
4212
- type: "uint256"
4213
- }],
4214
- name: "roots",
4215
- outputs: [{
4216
- internalType: "uint256",
4217
- name: "",
4218
- type: "uint256"
4219
- }],
4220
- stateMutability: "view",
4221
- type: "function"
4222
- },
4223
- {
4224
- inputs: [{
4225
- components: [
4226
- {
4227
- internalType: "uint256",
4228
- name: "rootHashHinkal",
4229
- type: "uint256"
4230
- },
4231
- {
4232
- internalType: "address[]",
4233
- name: "erc20TokenAddresses",
4234
- type: "address[]"
4235
- },
4236
- {
4237
- internalType: "uint256[]",
4238
- name: "tokenIds",
4239
- type: "uint256[]"
4240
- },
4241
- {
4242
- internalType: "int256[]",
4243
- name: "amountChanges",
4244
- type: "int256[]"
4245
- },
4246
- {
4247
- internalType: "bool[]",
4248
- name: "onChainCreation",
4249
- type: "bool[]"
4250
- },
4251
- {
4252
- internalType: "int256[]",
4253
- name: "slippageValues",
4254
- type: "int256[]"
4255
- },
4256
- {
4257
- internalType: "uint256[][]",
4258
- name: "inputNullifiers",
4259
- type: "uint256[][]"
4260
- },
4261
- {
4262
- internalType: "uint256[][]",
4263
- name: "outCommitments",
4264
- type: "uint256[][]"
4265
- },
4266
- {
4267
- internalType: "bytes[][]",
4268
- name: "encryptedOutputs",
4269
- type: "bytes[][]"
4270
- },
4271
- {
4272
- components: [
4273
- {
4274
- internalType: "address",
4275
- name: "feeToken",
4276
- type: "address"
4277
- },
4278
- {
4279
- internalType: "uint256",
4280
- name: "flatFee",
4281
- type: "uint256"
4282
- },
4283
- {
4284
- internalType: "uint256",
4285
- name: "variableRate",
4286
- type: "uint256"
4287
- }
4288
- ],
4289
- internalType: "struct FeeStructure",
4290
- name: "feeStructure",
4291
- type: "tuple"
4292
- },
4293
- {
4294
- internalType: "uint256",
4295
- name: "timeStamp",
4296
- type: "uint256"
4297
- },
4298
- {
4299
- components: [
4300
- {
4301
- internalType: "uint256",
4302
- name: "extraRandomization",
4303
- type: "uint256"
4304
- },
4305
- {
4306
- internalType: "uint256",
4307
- name: "stealthAddress",
4308
- type: "uint256"
4309
- },
4310
- {
4311
- internalType: "uint256",
4312
- name: "H0",
4313
- type: "uint256"
4314
- },
4315
- {
4316
- internalType: "uint256",
4317
- name: "H1",
4318
- type: "uint256"
4319
- }
4320
- ],
4321
- internalType: "struct StealthAddressStructure",
4322
- name: "stealthAddressStructure",
4323
- type: "tuple"
4324
- },
4325
- {
4326
- internalType: "uint256",
4327
- name: "rootHashAccessToken",
4328
- type: "uint256"
4329
- },
4330
- {
4331
- internalType: "uint256",
4332
- name: "calldataHash",
4333
- type: "uint256"
4334
- },
4335
- {
4336
- internalType: "uint16",
4337
- name: "publicSignalCount",
4338
- type: "uint16"
4339
- },
4340
- {
4341
- internalType: "address",
4342
- name: "relay",
4343
- type: "address"
4344
- },
4345
- {
4346
- internalType: "address",
4347
- name: "externalAddress",
4348
- type: "address"
4349
- },
4350
- {
4351
- internalType: "uint256",
4352
- name: "externalActionId",
4353
- type: "uint256"
4354
- },
4355
- {
4356
- internalType: "bytes",
4357
- name: "externalActionMetadata",
4358
- type: "bytes"
4359
- },
4360
- {
4361
- components: [
4362
- {
4363
- internalType: "uint256",
4364
- name: "hinkalLogicAction",
4365
- type: "uint256"
4366
- },
4367
- {
4368
- internalType: "uint256",
4369
- name: "inHinkalAddress",
4370
- type: "uint256"
4371
- },
4372
- {
4373
- internalType: "int256[]",
4374
- name: "executeApprovalChanges",
4375
- type: "int256[]"
4376
- },
4377
- {
4378
- internalType: "bool",
4379
- name: "doPreTxApproval",
4380
- type: "bool"
4381
- },
4382
- {
4383
- components: [
4384
- {
4385
- internalType: "int256[]",
4386
- name: "approvalChanges",
4387
- type: "int256[]"
4388
- },
4389
- {
4390
- internalType: "address[]",
4391
- name: "externalApprovalAddresses",
4392
- type: "address[]"
4393
- },
4394
- {
4395
- internalType: "uint256[]",
4396
- name: "conversionInHinkalAddress",
4397
- type: "uint256[]"
4398
- }
4399
- ],
4400
- internalType: "struct UseApprovalUTXOData[]",
4401
- name: "useApprovalUtxoData",
4402
- type: "tuple[]"
4403
- }
4404
- ],
4405
- internalType: "struct HinkalLogicArgs",
4406
- name: "hinkalLogicArgs",
4407
- type: "tuple"
4408
- },
4409
- {
4410
- components: [
4411
- {
4412
- internalType: "address",
4413
- name: "preHookContract",
4414
- type: "address"
4415
- },
4416
- {
4417
- internalType: "address",
4418
- name: "hookContract",
4419
- type: "address"
4420
- },
4421
- {
4422
- internalType: "bytes",
4423
- name: "preHookMetadata",
4424
- type: "bytes"
4425
- },
4426
- {
4427
- internalType: "bytes",
4428
- name: "postHookMetadata",
4429
- type: "bytes"
4430
- }
4431
- ],
4432
- internalType: "struct HookData",
4433
- name: "hookData",
4434
- type: "tuple"
4435
- },
4436
- {
4437
- components: [
4438
- {
4439
- internalType: "uint8",
4440
- name: "v",
4441
- type: "uint8"
4442
- },
4443
- {
4444
- internalType: "bytes32",
4445
- name: "r",
4446
- type: "bytes32"
4447
- },
4448
- {
4449
- internalType: "bytes32",
4450
- name: "s",
4451
- type: "bytes32"
4452
- },
4453
- {
4454
- internalType: "uint256",
4455
- name: "accessKey",
4456
- type: "uint256"
4457
- },
4458
- {
4459
- internalType: "uint256",
4460
- name: "nonce",
4461
- type: "uint256"
4462
- },
4463
- {
4464
- internalType: "address",
4465
- name: "ethereumAddress",
4466
- type: "address"
4467
- }
4468
- ],
4469
- internalType: "struct SignatureData",
4470
- name: "signatureData",
4471
- type: "tuple"
4472
- },
4473
- {
4474
- internalType: "address",
4475
- name: "originalSender",
4476
- type: "address"
4477
- }
4478
- ],
4479
- internalType: "struct CircomData",
4480
- name: "circomData",
4481
- type: "tuple"
4482
- }],
4483
- name: "runAction",
4484
- outputs: [{
4485
- components: [
4486
- {
4487
- internalType: "uint256",
4488
- name: "amount",
4489
- type: "uint256"
4490
- },
4491
- {
4492
- internalType: "address",
4493
- name: "erc20Address",
4494
- type: "address"
4495
- },
4496
- {
4497
- components: [
4498
- {
4499
- internalType: "uint256",
4500
- name: "extraRandomization",
4501
- type: "uint256"
4502
- },
4503
- {
4504
- internalType: "uint256",
4505
- name: "stealthAddress",
4506
- type: "uint256"
4507
- },
4508
- {
4509
- internalType: "uint256",
4510
- name: "H0",
4511
- type: "uint256"
4512
- },
4513
- {
4514
- internalType: "uint256",
4515
- name: "H1",
4516
- type: "uint256"
4517
- }
4518
- ],
4519
- internalType: "struct StealthAddressStructure",
4520
- name: "stealthAddressStructure",
4521
- type: "tuple"
4522
- },
4523
- {
4524
- internalType: "uint256",
4525
- name: "timeStamp",
4526
- type: "uint256"
4527
- },
4528
- {
4529
- internalType: "uint256",
4530
- name: "tokenId",
4531
- type: "uint256"
4532
- }
4533
- ],
4534
- internalType: "struct UTXO[]",
4535
- name: "",
4536
- type: "tuple[]"
4537
- }],
4538
- stateMutability: "nonpayable",
4539
- type: "function"
4540
- },
4541
- {
4542
- inputs: [{
4543
- internalType: "address[]",
4544
- name: "recipients",
4545
- type: "address[]"
4546
- }],
4547
- name: "setAllowedRecipients",
4548
- outputs: [],
4549
- stateMutability: "nonpayable",
4550
- type: "function"
4551
- },
4552
- {
4553
- inputs: [{
4554
- internalType: "bytes4",
4555
- name: "_interfaceId",
4556
- type: "bytes4"
4557
- }],
4558
- name: "supportsInterface",
4559
- outputs: [{
4560
- internalType: "bool",
4561
- name: "",
4562
- type: "bool"
4563
- }],
4564
- stateMutability: "view",
4565
- type: "function"
4566
- },
4567
- {
4568
- inputs: [{
4569
- internalType: "address",
4570
- name: "",
4571
- type: "address"
4572
- }],
4573
- name: "tokenToHtoken",
4574
- outputs: [{
4575
- internalType: "contract IERC4626",
4576
- name: "",
4577
- type: "address"
4578
- }],
4579
- stateMutability: "view",
4580
- type: "function"
4581
- },
4582
- {
4583
- inputs: [{
4584
- internalType: "address",
4585
- name: "newOwner",
4586
- type: "address"
4587
- }],
4588
- name: "transferOwnership",
4589
- outputs: [],
4590
- stateMutability: "nonpayable",
4591
- type: "function"
4592
- },
4593
- {
4594
- inputs: [{
4595
- internalType: "uint256",
4596
- name: "",
4597
- type: "uint256"
4598
- }],
4599
- name: "tree",
4600
- outputs: [{
4601
- internalType: "uint256",
4602
- name: "",
4603
- type: "uint256"
4604
- }],
4605
- stateMutability: "view",
4606
- type: "function"
4607
- },
4608
- {
4609
- inputs: [
4610
- {
4611
- internalType: "address",
4612
- name: "collateral",
4613
- type: "address"
4614
- },
4615
- {
4616
- internalType: "uint256",
4617
- name: "amount",
4618
- type: "uint256"
4619
- },
4620
- {
4621
- internalType: "bool",
4622
- name: "isValid",
4623
- type: "bool"
4624
- }
4625
- ],
4626
- name: "updateAmountValidity",
4627
- outputs: [],
4628
- stateMutability: "nonpayable",
4629
- type: "function"
4630
- },
4631
- {
4632
- inputs: [{
4633
- internalType: "address",
4634
- name: "collateral",
4635
- type: "address"
4636
- }, {
4637
- internalType: "bool",
4638
- name: "isDisabled",
4639
- type: "bool"
4640
- }],
4641
- name: "updateIsRestrictionDisabled",
4642
- outputs: [],
4643
- stateMutability: "nonpayable",
4644
- type: "function"
4645
- },
4646
- {
4647
- inputs: [{
4648
- internalType: "uint256",
4649
- name: "newMinAllowedTimestampOffset",
4650
- type: "uint256"
4651
- }],
4652
- name: "updateMinAllowedTimestampOffset",
4653
- outputs: [],
4654
- stateMutability: "nonpayable",
4655
- type: "function"
4656
- },
4657
- {
4658
- inputs: [{
4659
- internalType: "address",
4660
- name: "collateral",
4661
- type: "address"
4662
- }, {
4663
- internalType: "address",
4664
- name: "hToken",
4665
- type: "address"
4666
- }],
4667
- name: "updateTokenRegistry",
4668
- outputs: [],
4669
- stateMutability: "nonpayable",
4670
- type: "function"
4671
- },
4672
- {
4673
- inputs: [{
4674
- internalType: "uint256",
4675
- name: "",
4676
- type: "uint256"
4677
- }],
4678
- name: "usedNullifiers",
4679
- outputs: [{
4680
- internalType: "bool",
4681
- name: "",
4682
- type: "bool"
4683
- }],
4684
- stateMutability: "view",
4685
- type: "function"
4686
- },
4687
- {
4688
- inputs: [{
4689
- internalType: "uint256",
4690
- name: "",
4691
- type: "uint256"
4692
- }],
4693
- name: "verifierMap",
4694
- outputs: [{
4695
- internalType: "contract IVerifier",
4696
- name: "",
4697
- type: "address"
4698
- }],
4699
- stateMutability: "view",
4700
- type: "function"
4701
- },
4702
- {
4703
- stateMutability: "payable",
4704
- type: "receive"
4705
- }
4706
- ],
4707
- HTokenABI: [
4708
- {
4709
- inputs: [
4710
- {
4711
- internalType: "string",
4712
- name: "name_",
4713
- type: "string"
4714
- },
4715
- {
4716
- internalType: "string",
4717
- name: "symbol_",
4718
- type: "string"
4719
- },
4720
- {
4721
- internalType: "contract IERC20",
4722
- name: "_baseToken",
4723
- type: "address"
4724
- },
4725
- {
4726
- internalType: "address",
4727
- name: "_hinkalAddress",
4728
- type: "address"
4729
- },
4730
- {
4731
- internalType: "address",
4732
- name: "_externalAction",
4733
- type: "address"
4734
- }
4735
- ],
4736
- stateMutability: "nonpayable",
4737
- type: "constructor"
4738
- },
4739
- {
4740
- inputs: [],
4741
- name: "MustBeExternalAction",
4742
- type: "error"
4743
- },
4744
- {
4745
- inputs: [],
4746
- name: "NoShares",
4747
- type: "error"
4748
- },
4749
- {
4750
- anonymous: !1,
4751
- inputs: [
4752
- {
4753
- indexed: !0,
4754
- internalType: "address",
4755
- name: "owner",
4756
- type: "address"
4757
- },
4758
- {
4759
- indexed: !0,
4760
- internalType: "address",
4761
- name: "spender",
4762
- type: "address"
4763
- },
4764
- {
4765
- indexed: !1,
4766
- internalType: "uint256",
4767
- name: "value",
4768
- type: "uint256"
4769
- }
4770
- ],
4771
- name: "Approval",
4772
- type: "event"
4773
- },
4774
- {
4775
- anonymous: !1,
4776
- inputs: [
4777
- {
4778
- indexed: !0,
4779
- internalType: "address",
4780
- name: "sender",
4781
- type: "address"
4782
- },
4783
- {
4784
- indexed: !0,
4785
- internalType: "address",
4786
- name: "owner",
4787
- type: "address"
4788
- },
4789
- {
4790
- indexed: !1,
4791
- internalType: "uint256",
4792
- name: "assets",
4793
- type: "uint256"
4794
- },
4795
- {
4796
- indexed: !1,
4797
- internalType: "uint256",
4798
- name: "shares",
4799
- type: "uint256"
4800
- }
4801
- ],
4802
- name: "Deposit",
4803
- type: "event"
4804
- },
4805
- {
4806
- anonymous: !1,
4807
- inputs: [{
4808
- indexed: !0,
4809
- internalType: "address",
4810
- name: "previousOwner",
4811
- type: "address"
4812
- }, {
4813
- indexed: !0,
4814
- internalType: "address",
4815
- name: "newOwner",
4816
- type: "address"
4817
- }],
4818
- name: "OwnershipTransferred",
4819
- type: "event"
4820
- },
4821
- {
4822
- anonymous: !1,
4823
- inputs: [{
4824
- indexed: !1,
4825
- internalType: "uint256",
4826
- name: "assets",
4827
- type: "uint256"
4828
- }],
4829
- name: "RewardAdded",
4830
- type: "event"
4831
- },
4832
- {
4833
- anonymous: !1,
4834
- inputs: [
4835
- {
4836
- indexed: !0,
4837
- internalType: "address",
4838
- name: "from",
4839
- type: "address"
4840
- },
4841
- {
4842
- indexed: !0,
4843
- internalType: "address",
4844
- name: "to",
4845
- type: "address"
4846
- },
4847
- {
4848
- indexed: !1,
4849
- internalType: "uint256",
4850
- name: "value",
4851
- type: "uint256"
4852
- }
4853
- ],
4854
- name: "Transfer",
4855
- type: "event"
4856
- },
4857
- {
4858
- anonymous: !1,
4859
- inputs: [
4860
- {
4861
- indexed: !0,
4862
- internalType: "address",
4863
- name: "sender",
4864
- type: "address"
4865
- },
4866
- {
4867
- indexed: !0,
4868
- internalType: "address",
4869
- name: "receiver",
4870
- type: "address"
4871
- },
4872
- {
4873
- indexed: !0,
4874
- internalType: "address",
4875
- name: "owner",
4876
- type: "address"
4877
- },
4878
- {
4879
- indexed: !1,
4880
- internalType: "uint256",
4881
- name: "assets",
4882
- type: "uint256"
4883
- },
4884
- {
4885
- indexed: !1,
4886
- internalType: "uint256",
4887
- name: "shares",
4888
- type: "uint256"
4889
- }
4890
- ],
4891
- name: "Withdraw",
4892
- type: "event"
4893
- },
4894
- {
4895
- inputs: [{
4896
- internalType: "uint256",
4897
- name: "assets",
4898
- type: "uint256"
4899
- }],
4900
- name: "addReward",
4901
- outputs: [],
4902
- stateMutability: "payable",
4903
- type: "function"
4904
- },
4905
- {
4906
- inputs: [{
4907
- internalType: "address",
4908
- name: "owner",
4909
- type: "address"
4910
- }, {
4911
- internalType: "address",
4912
- name: "spender",
4913
- type: "address"
4914
- }],
4915
- name: "allowance",
4916
- outputs: [{
4917
- internalType: "uint256",
4918
- name: "",
4919
- type: "uint256"
4920
- }],
4921
- stateMutability: "view",
4922
- type: "function"
4923
- },
4924
- {
4925
- inputs: [{
4926
- internalType: "address",
4927
- name: "spender",
4928
- type: "address"
4929
- }, {
4930
- internalType: "uint256",
4931
- name: "amount",
4932
- type: "uint256"
4933
- }],
4934
- name: "approve",
4935
- outputs: [{
4936
- internalType: "bool",
4937
- name: "",
4938
- type: "bool"
4939
- }],
4940
- stateMutability: "nonpayable",
4941
- type: "function"
4942
- },
4943
- {
4944
- inputs: [],
4945
- name: "asset",
4946
- outputs: [{
4947
- internalType: "address",
4948
- name: "",
4949
- type: "address"
4950
- }],
4951
- stateMutability: "view",
4952
- type: "function"
4953
- },
4954
- {
4955
- inputs: [{
4956
- internalType: "address",
4957
- name: "account",
4958
- type: "address"
4959
- }],
4960
- name: "balanceOf",
4961
- outputs: [{
4962
- internalType: "uint256",
4963
- name: "",
4964
- type: "uint256"
4965
- }],
4966
- stateMutability: "view",
4967
- type: "function"
4968
- },
4969
- {
4970
- inputs: [{
4971
- internalType: "uint256",
4972
- name: "shares",
4973
- type: "uint256"
4974
- }],
4975
- name: "convertToAssets",
4976
- outputs: [{
4977
- internalType: "uint256",
4978
- name: "",
4979
- type: "uint256"
4980
- }],
4981
- stateMutability: "view",
4982
- type: "function"
4983
- },
4984
- {
4985
- inputs: [{
4986
- internalType: "uint256",
4987
- name: "assets",
4988
- type: "uint256"
4989
- }],
4990
- name: "convertToShares",
4991
- outputs: [{
4992
- internalType: "uint256",
4993
- name: "",
4994
- type: "uint256"
4995
- }],
4996
- stateMutability: "view",
4997
- type: "function"
4998
- },
4999
- {
5000
- inputs: [],
5001
- name: "decimals",
5002
- outputs: [{
5003
- internalType: "uint8",
5004
- name: "",
5005
- type: "uint8"
5006
- }],
5007
- stateMutability: "view",
5008
- type: "function"
5009
- },
5010
- {
5011
- inputs: [{
5012
- internalType: "address",
5013
- name: "spender",
5014
- type: "address"
5015
- }, {
5016
- internalType: "uint256",
5017
- name: "subtractedValue",
5018
- type: "uint256"
5019
- }],
5020
- name: "decreaseAllowance",
5021
- outputs: [{
5022
- internalType: "bool",
5023
- name: "",
5024
- type: "bool"
5025
- }],
5026
- stateMutability: "nonpayable",
5027
- type: "function"
5028
- },
5029
- {
5030
- inputs: [{
5031
- internalType: "uint256",
5032
- name: "assets",
5033
- type: "uint256"
5034
- }, {
5035
- internalType: "address",
5036
- name: "receiver",
5037
- type: "address"
5038
- }],
5039
- name: "deposit",
5040
- outputs: [{
5041
- internalType: "uint256",
5042
- name: "",
5043
- type: "uint256"
5044
- }],
5045
- stateMutability: "nonpayable",
5046
- type: "function"
5047
- },
5048
- {
5049
- inputs: [],
5050
- name: "externalAction",
5051
- outputs: [{
5052
- internalType: "address",
5053
- name: "",
5054
- type: "address"
5055
- }],
5056
- stateMutability: "view",
5057
- type: "function"
5058
- },
5059
- {
5060
- inputs: [],
5061
- name: "hinkalAddress",
5062
- outputs: [{
5063
- internalType: "address",
5064
- name: "",
5065
- type: "address"
5066
- }],
5067
- stateMutability: "view",
5068
- type: "function"
5069
- },
5070
- {
5071
- inputs: [{
5072
- internalType: "address",
5073
- name: "spender",
5074
- type: "address"
5075
- }, {
5076
- internalType: "uint256",
5077
- name: "addedValue",
5078
- type: "uint256"
5079
- }],
5080
- name: "increaseAllowance",
5081
- outputs: [{
5082
- internalType: "bool",
5083
- name: "",
5084
- type: "bool"
5085
- }],
5086
- stateMutability: "nonpayable",
5087
- type: "function"
5088
- },
5089
- {
5090
- inputs: [{
5091
- internalType: "address",
5092
- name: "",
5093
- type: "address"
5094
- }],
5095
- name: "maxDeposit",
5096
- outputs: [{
5097
- internalType: "uint256",
5098
- name: "",
5099
- type: "uint256"
5100
- }],
5101
- stateMutability: "view",
5102
- type: "function"
5103
- },
5104
- {
5105
- inputs: [{
5106
- internalType: "address",
5107
- name: "",
5108
- type: "address"
5109
- }],
5110
- name: "maxMint",
5111
- outputs: [{
5112
- internalType: "uint256",
5113
- name: "",
5114
- type: "uint256"
5115
- }],
5116
- stateMutability: "view",
5117
- type: "function"
5118
- },
5119
- {
5120
- inputs: [{
5121
- internalType: "address",
5122
- name: "owner",
5123
- type: "address"
5124
- }],
5125
- name: "maxRedeem",
5126
- outputs: [{
5127
- internalType: "uint256",
5128
- name: "",
5129
- type: "uint256"
5130
- }],
5131
- stateMutability: "view",
5132
- type: "function"
5133
- },
5134
- {
5135
- inputs: [{
5136
- internalType: "address",
5137
- name: "owner",
5138
- type: "address"
5139
- }],
5140
- name: "maxWithdraw",
5141
- outputs: [{
5142
- internalType: "uint256",
5143
- name: "",
5144
- type: "uint256"
5145
- }],
5146
- stateMutability: "view",
5147
- type: "function"
5148
- },
5149
- {
5150
- inputs: [{
5151
- internalType: "uint256",
5152
- name: "shares",
5153
- type: "uint256"
5154
- }, {
5155
- internalType: "address",
5156
- name: "receiver",
5157
- type: "address"
5158
- }],
5159
- name: "mint",
5160
- outputs: [{
5161
- internalType: "uint256",
5162
- name: "",
5163
- type: "uint256"
5164
- }],
5165
- stateMutability: "nonpayable",
5166
- type: "function"
5167
- },
5168
- {
5169
- inputs: [],
5170
- name: "name",
5171
- outputs: [{
5172
- internalType: "string",
5173
- name: "",
5174
- type: "string"
5175
- }],
5176
- stateMutability: "view",
5177
- type: "function"
5178
- },
5179
- {
5180
- inputs: [
5181
- {
5182
- internalType: "address",
5183
- name: "",
5184
- type: "address"
5185
- },
5186
- {
5187
- internalType: "address",
5188
- name: "",
5189
- type: "address"
5190
- },
5191
- {
5192
- internalType: "uint256[]",
5193
- name: "",
5194
- type: "uint256[]"
5195
- },
5196
- {
5197
- internalType: "uint256[]",
5198
- name: "",
5199
- type: "uint256[]"
5200
- },
5201
- {
5202
- internalType: "bytes",
5203
- name: "",
5204
- type: "bytes"
5205
- }
5206
- ],
5207
- name: "onERC1155BatchReceived",
5208
- outputs: [{
5209
- internalType: "bytes4",
5210
- name: "",
5211
- type: "bytes4"
5212
- }],
5213
- stateMutability: "pure",
5214
- type: "function"
5215
- },
5216
- {
5217
- inputs: [
5218
- {
5219
- internalType: "address",
5220
- name: "",
5221
- type: "address"
5222
- },
5223
- {
5224
- internalType: "address",
5225
- name: "",
5226
- type: "address"
5227
- },
5228
- {
5229
- internalType: "uint256",
5230
- name: "",
5231
- type: "uint256"
5232
- },
5233
- {
5234
- internalType: "uint256",
5235
- name: "",
5236
- type: "uint256"
5237
- },
5238
- {
5239
- internalType: "bytes",
5240
- name: "",
5241
- type: "bytes"
5242
- }
5243
- ],
5244
- name: "onERC1155Received",
5245
- outputs: [{
5246
- internalType: "bytes4",
5247
- name: "",
5248
- type: "bytes4"
5249
- }],
5250
- stateMutability: "pure",
5251
- type: "function"
5252
- },
5253
- {
5254
- inputs: [
5255
- {
5256
- internalType: "address",
5257
- name: "",
5258
- type: "address"
5259
- },
5260
- {
5261
- internalType: "address",
5262
- name: "",
5263
- type: "address"
5264
- },
5265
- {
5266
- internalType: "uint256",
5267
- name: "",
5268
- type: "uint256"
5269
- },
5270
- {
5271
- internalType: "bytes",
5272
- name: "",
5273
- type: "bytes"
5274
- }
5275
- ],
5276
- name: "onERC721Received",
5277
- outputs: [{
5278
- internalType: "bytes4",
5279
- name: "",
5280
- type: "bytes4"
5281
- }],
5282
- stateMutability: "pure",
5283
- type: "function"
5284
- },
5285
- {
5286
- inputs: [],
5287
- name: "owner",
5288
- outputs: [{
5289
- internalType: "address",
5290
- name: "",
5291
- type: "address"
5292
- }],
5293
- stateMutability: "view",
5294
- type: "function"
5295
- },
5296
- {
5297
- inputs: [{
5298
- internalType: "uint256",
5299
- name: "assets",
5300
- type: "uint256"
5301
- }],
5302
- name: "previewDeposit",
5303
- outputs: [{
5304
- internalType: "uint256",
5305
- name: "",
5306
- type: "uint256"
5307
- }],
5308
- stateMutability: "view",
5309
- type: "function"
5310
- },
5311
- {
5312
- inputs: [{
5313
- internalType: "uint256",
5314
- name: "shares",
5315
- type: "uint256"
5316
- }],
5317
- name: "previewMint",
5318
- outputs: [{
5319
- internalType: "uint256",
5320
- name: "",
5321
- type: "uint256"
5322
- }],
5323
- stateMutability: "view",
5324
- type: "function"
5325
- },
5326
- {
5327
- inputs: [{
5328
- internalType: "uint256",
5329
- name: "shares",
5330
- type: "uint256"
5331
- }],
5332
- name: "previewRedeem",
5333
- outputs: [{
5334
- internalType: "uint256",
5335
- name: "",
5336
- type: "uint256"
5337
- }],
5338
- stateMutability: "view",
5339
- type: "function"
5340
- },
5341
- {
5342
- inputs: [{
5343
- internalType: "uint256",
5344
- name: "assets",
5345
- type: "uint256"
5346
- }],
5347
- name: "previewWithdraw",
5348
- outputs: [{
5349
- internalType: "uint256",
5350
- name: "",
5351
- type: "uint256"
5352
- }],
5353
- stateMutability: "view",
5354
- type: "function"
5355
- },
5356
- {
5357
- inputs: [
5358
- {
5359
- internalType: "uint256",
5360
- name: "shares",
5361
- type: "uint256"
5362
- },
5363
- {
5364
- internalType: "address",
5365
- name: "receiver",
5366
- type: "address"
5367
- },
5368
- {
5369
- internalType: "address",
5370
- name: "owner",
5371
- type: "address"
5372
- }
5373
- ],
5374
- name: "redeem",
5375
- outputs: [{
5376
- internalType: "uint256",
5377
- name: "",
5378
- type: "uint256"
5379
- }],
5380
- stateMutability: "nonpayable",
5381
- type: "function"
5382
- },
5383
- {
5384
- inputs: [],
5385
- name: "renounceOwnership",
5386
- outputs: [],
5387
- stateMutability: "nonpayable",
5388
- type: "function"
5389
- },
5390
- {
5391
- inputs: [{
5392
- internalType: "address",
5393
- name: "_externalAction",
5394
- type: "address"
5395
- }],
5396
- name: "setExternalAction",
5397
- outputs: [],
5398
- stateMutability: "nonpayable",
5399
- type: "function"
5400
- },
5401
- {
5402
- inputs: [{
5403
- internalType: "address",
5404
- name: "_hinkalAddress",
5405
- type: "address"
5406
- }],
5407
- name: "setHinkalAddress",
5408
- outputs: [],
5409
- stateMutability: "nonpayable",
5410
- type: "function"
5411
- },
5412
- {
5413
- inputs: [{
5414
- internalType: "bytes4",
5415
- name: "_interfaceId",
5416
- type: "bytes4"
5417
- }],
5418
- name: "supportsInterface",
5419
- outputs: [{
5420
- internalType: "bool",
5421
- name: "",
5422
- type: "bool"
5423
- }],
5424
- stateMutability: "view",
5425
- type: "function"
5426
- },
5427
- {
5428
- inputs: [],
5429
- name: "symbol",
5430
- outputs: [{
5431
- internalType: "string",
5432
- name: "",
5433
- type: "string"
5434
- }],
5435
- stateMutability: "view",
5436
- type: "function"
5437
- },
5438
- {
5439
- inputs: [],
5440
- name: "totalAssets",
5441
- outputs: [{
5442
- internalType: "uint256",
5443
- name: "",
5444
- type: "uint256"
5445
- }],
5446
- stateMutability: "view",
5447
- type: "function"
5448
- },
5449
- {
5450
- inputs: [],
5451
- name: "totalSupply",
5452
- outputs: [{
5453
- internalType: "uint256",
5454
- name: "",
5455
- type: "uint256"
5456
- }],
5457
- stateMutability: "view",
5458
- type: "function"
5459
- },
5460
- {
5461
- inputs: [{
5462
- internalType: "address",
5463
- name: "to",
5464
- type: "address"
5465
- }, {
5466
- internalType: "uint256",
5467
- name: "amount",
5468
- type: "uint256"
5469
- }],
5470
- name: "transfer",
5471
- outputs: [{
5472
- internalType: "bool",
5473
- name: "",
5474
- type: "bool"
5475
- }],
5476
- stateMutability: "nonpayable",
5477
- type: "function"
5478
- },
5479
- {
5480
- inputs: [
5481
- {
5482
- internalType: "address",
5483
- name: "from",
5484
- type: "address"
5485
- },
5486
- {
5487
- internalType: "address",
5488
- name: "to",
5489
- type: "address"
5490
- },
5491
- {
5492
- internalType: "uint256",
5493
- name: "amount",
5494
- type: "uint256"
5495
- }
5496
- ],
5497
- name: "transferFrom",
5498
- outputs: [{
5499
- internalType: "bool",
5500
- name: "",
5501
- type: "bool"
5502
- }],
5503
- stateMutability: "nonpayable",
5504
- type: "function"
5505
- },
5506
- {
5507
- inputs: [{
5508
- internalType: "address",
5509
- name: "newOwner",
5510
- type: "address"
5511
- }],
5512
- name: "transferOwnership",
5513
- outputs: [],
5514
- stateMutability: "nonpayable",
5515
- type: "function"
5516
- },
5517
- {
5518
- inputs: [
5519
- {
5520
- internalType: "uint256",
5521
- name: "assets",
5522
- type: "uint256"
5523
- },
5524
- {
5525
- internalType: "address",
5526
- name: "receiver",
5527
- type: "address"
5528
- },
5529
- {
5530
- internalType: "address",
5531
- name: "owner",
5532
- type: "address"
5533
- }
5534
- ],
5535
- name: "withdraw",
5536
- outputs: [{
5537
- internalType: "uint256",
5538
- name: "",
5539
- type: "uint256"
5540
- }],
5541
- stateMutability: "nonpayable",
5542
- type: "function"
5543
- }
5544
- ],
5545
- HTokenOracleABI: [
5546
- {
5547
- inputs: [{
5548
- internalType: "contract IERC4626",
5549
- name: "_hToken",
5550
- type: "address"
5551
- }],
5552
- stateMutability: "nonpayable",
5553
- type: "constructor"
5554
- },
5555
- {
5556
- inputs: [],
5557
- name: "exchangeRate",
5558
- outputs: [{
5559
- internalType: "uint256",
5560
- name: "",
5561
- type: "uint256"
5562
- }],
5563
- stateMutability: "view",
5564
- type: "function"
5565
- },
5566
- {
5567
- inputs: [],
5568
- name: "hToken",
5569
- outputs: [{
5570
- internalType: "contract IERC4626",
5571
- name: "",
5572
- type: "address"
5573
- }],
5574
- stateMutability: "view",
5575
- type: "function"
5576
- }
5577
- ],
5578
3332
  emporiumAddress: "0xe59FF2F5eC7D109221ffaAbE183A64A63FA4F8c8",
5579
3333
  hinkalWalletAddress: "0x5B9FffF15dE4fFB1c884039B44e49EbB027b130d",
5580
3334
  hinkalWrapperAddress: "0x5bD7D79BE6e52EcC0969FeEbBbc8482Cb76367ef",