@underscore-finance/sdk 1.2.19 → 1.2.20-next.0

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/abis.json CHANGED
@@ -35659,6 +35659,334 @@
35659
35659
  }
35660
35660
  ],
35661
35661
  "outputs": []
35662
+ },
35663
+ {
35664
+ "name": "ChequeSettingsPending",
35665
+ "inputs": [
35666
+ {
35667
+ "name": "user",
35668
+ "type": "address",
35669
+ "indexed": true
35670
+ },
35671
+ {
35672
+ "name": "initiatedBy",
35673
+ "type": "address",
35674
+ "indexed": true
35675
+ },
35676
+ {
35677
+ "name": "confirmBlock",
35678
+ "type": "uint256",
35679
+ "indexed": false
35680
+ },
35681
+ {
35682
+ "name": "maxNumActiveCheques",
35683
+ "type": "uint256",
35684
+ "indexed": false
35685
+ },
35686
+ {
35687
+ "name": "maxChequeUsdValue",
35688
+ "type": "uint256",
35689
+ "indexed": false
35690
+ },
35691
+ {
35692
+ "name": "instantUsdThreshold",
35693
+ "type": "uint256",
35694
+ "indexed": false
35695
+ },
35696
+ {
35697
+ "name": "perPeriodPaidUsdCap",
35698
+ "type": "uint256",
35699
+ "indexed": false
35700
+ },
35701
+ {
35702
+ "name": "maxNumChequesPaidPerPeriod",
35703
+ "type": "uint256",
35704
+ "indexed": false
35705
+ },
35706
+ {
35707
+ "name": "payCooldownBlocks",
35708
+ "type": "uint256",
35709
+ "indexed": false
35710
+ },
35711
+ {
35712
+ "name": "perPeriodCreatedUsdCap",
35713
+ "type": "uint256",
35714
+ "indexed": false
35715
+ },
35716
+ {
35717
+ "name": "maxNumChequesCreatedPerPeriod",
35718
+ "type": "uint256",
35719
+ "indexed": false
35720
+ },
35721
+ {
35722
+ "name": "createCooldownBlocks",
35723
+ "type": "uint256",
35724
+ "indexed": false
35725
+ },
35726
+ {
35727
+ "name": "periodLength",
35728
+ "type": "uint256",
35729
+ "indexed": false
35730
+ },
35731
+ {
35732
+ "name": "expensiveDelayBlocks",
35733
+ "type": "uint256",
35734
+ "indexed": false
35735
+ },
35736
+ {
35737
+ "name": "defaultExpiryBlocks",
35738
+ "type": "uint256",
35739
+ "indexed": false
35740
+ },
35741
+ {
35742
+ "name": "canManagersCreateCheques",
35743
+ "type": "bool",
35744
+ "indexed": false
35745
+ },
35746
+ {
35747
+ "name": "canManagerPay",
35748
+ "type": "bool",
35749
+ "indexed": false
35750
+ },
35751
+ {
35752
+ "name": "canBePulled",
35753
+ "type": "bool",
35754
+ "indexed": false
35755
+ }
35756
+ ],
35757
+ "anonymous": false,
35758
+ "type": "event"
35759
+ },
35760
+ {
35761
+ "name": "ChequeSettingsPendingConfirmed",
35762
+ "inputs": [
35763
+ {
35764
+ "name": "user",
35765
+ "type": "address",
35766
+ "indexed": true
35767
+ },
35768
+ {
35769
+ "name": "initiatedBlock",
35770
+ "type": "uint256",
35771
+ "indexed": false
35772
+ },
35773
+ {
35774
+ "name": "confirmBlock",
35775
+ "type": "uint256",
35776
+ "indexed": false
35777
+ },
35778
+ {
35779
+ "name": "confirmedBy",
35780
+ "type": "address",
35781
+ "indexed": true
35782
+ }
35783
+ ],
35784
+ "anonymous": false,
35785
+ "type": "event"
35786
+ },
35787
+ {
35788
+ "name": "ChequeSettingsPendingCancelled",
35789
+ "inputs": [
35790
+ {
35791
+ "name": "user",
35792
+ "type": "address",
35793
+ "indexed": true
35794
+ },
35795
+ {
35796
+ "name": "initiatedBlock",
35797
+ "type": "uint256",
35798
+ "indexed": false
35799
+ },
35800
+ {
35801
+ "name": "confirmBlock",
35802
+ "type": "uint256",
35803
+ "indexed": false
35804
+ },
35805
+ {
35806
+ "name": "cancelledBy",
35807
+ "type": "address",
35808
+ "indexed": true
35809
+ }
35810
+ ],
35811
+ "anonymous": false,
35812
+ "type": "event"
35813
+ },
35814
+ {
35815
+ "stateMutability": "view",
35816
+ "type": "function",
35817
+ "name": "hasPendingChequeSettings",
35818
+ "inputs": [
35819
+ {
35820
+ "name": "_userWallet",
35821
+ "type": "address"
35822
+ }
35823
+ ],
35824
+ "outputs": [
35825
+ {
35826
+ "name": "",
35827
+ "type": "bool"
35828
+ }
35829
+ ]
35830
+ },
35831
+ {
35832
+ "stateMutability": "view",
35833
+ "type": "function",
35834
+ "name": "pendingChequeSettingsMeta",
35835
+ "inputs": [
35836
+ {
35837
+ "name": "_userWallet",
35838
+ "type": "address"
35839
+ }
35840
+ ],
35841
+ "outputs": [
35842
+ {
35843
+ "name": "",
35844
+ "type": "uint256"
35845
+ },
35846
+ {
35847
+ "name": "",
35848
+ "type": "uint256"
35849
+ },
35850
+ {
35851
+ "name": "",
35852
+ "type": "address"
35853
+ }
35854
+ ]
35855
+ },
35856
+ {
35857
+ "stateMutability": "nonpayable",
35858
+ "type": "function",
35859
+ "name": "confirmPendingChequeSettings",
35860
+ "inputs": [
35861
+ {
35862
+ "name": "_userWallet",
35863
+ "type": "address"
35864
+ }
35865
+ ],
35866
+ "outputs": [
35867
+ {
35868
+ "name": "",
35869
+ "type": "bool"
35870
+ }
35871
+ ]
35872
+ },
35873
+ {
35874
+ "stateMutability": "nonpayable",
35875
+ "type": "function",
35876
+ "name": "cancelPendingChequeSettings",
35877
+ "inputs": [
35878
+ {
35879
+ "name": "_userWallet",
35880
+ "type": "address"
35881
+ }
35882
+ ],
35883
+ "outputs": [
35884
+ {
35885
+ "name": "",
35886
+ "type": "bool"
35887
+ }
35888
+ ]
35889
+ },
35890
+ {
35891
+ "stateMutability": "view",
35892
+ "type": "function",
35893
+ "name": "pendingChequeSettings",
35894
+ "inputs": [
35895
+ {
35896
+ "name": "arg0",
35897
+ "type": "address"
35898
+ }
35899
+ ],
35900
+ "outputs": [
35901
+ {
35902
+ "name": "",
35903
+ "type": "tuple",
35904
+ "components": [
35905
+ {
35906
+ "name": "settings",
35907
+ "type": "tuple",
35908
+ "components": [
35909
+ {
35910
+ "name": "maxNumActiveCheques",
35911
+ "type": "uint256"
35912
+ },
35913
+ {
35914
+ "name": "maxChequeUsdValue",
35915
+ "type": "uint256"
35916
+ },
35917
+ {
35918
+ "name": "instantUsdThreshold",
35919
+ "type": "uint256"
35920
+ },
35921
+ {
35922
+ "name": "perPeriodPaidUsdCap",
35923
+ "type": "uint256"
35924
+ },
35925
+ {
35926
+ "name": "maxNumChequesPaidPerPeriod",
35927
+ "type": "uint256"
35928
+ },
35929
+ {
35930
+ "name": "payCooldownBlocks",
35931
+ "type": "uint256"
35932
+ },
35933
+ {
35934
+ "name": "perPeriodCreatedUsdCap",
35935
+ "type": "uint256"
35936
+ },
35937
+ {
35938
+ "name": "maxNumChequesCreatedPerPeriod",
35939
+ "type": "uint256"
35940
+ },
35941
+ {
35942
+ "name": "createCooldownBlocks",
35943
+ "type": "uint256"
35944
+ },
35945
+ {
35946
+ "name": "periodLength",
35947
+ "type": "uint256"
35948
+ },
35949
+ {
35950
+ "name": "expensiveDelayBlocks",
35951
+ "type": "uint256"
35952
+ },
35953
+ {
35954
+ "name": "defaultExpiryBlocks",
35955
+ "type": "uint256"
35956
+ },
35957
+ {
35958
+ "name": "allowedAssets",
35959
+ "type": "address[]"
35960
+ },
35961
+ {
35962
+ "name": "canManagersCreateCheques",
35963
+ "type": "bool"
35964
+ },
35965
+ {
35966
+ "name": "canManagerPay",
35967
+ "type": "bool"
35968
+ },
35969
+ {
35970
+ "name": "canBePulled",
35971
+ "type": "bool"
35972
+ }
35973
+ ]
35974
+ },
35975
+ {
35976
+ "name": "initiatedBlock",
35977
+ "type": "uint256"
35978
+ },
35979
+ {
35980
+ "name": "confirmBlock",
35981
+ "type": "uint256"
35982
+ },
35983
+ {
35984
+ "name": "currentOwner",
35985
+ "type": "address"
35986
+ }
35987
+ ]
35988
+ }
35989
+ ]
35662
35990
  }
35663
35991
  ],
35664
35992
  "CompoundV3": [
@@ -141223,6 +141551,2059 @@
141223
141551
  "outputs": []
141224
141552
  }
141225
141553
  ],
141554
+ "UndyUsdV2": [
141555
+ {
141556
+ "name": "Deposit",
141557
+ "inputs": [
141558
+ {
141559
+ "name": "sender",
141560
+ "type": "address",
141561
+ "indexed": true
141562
+ },
141563
+ {
141564
+ "name": "owner",
141565
+ "type": "address",
141566
+ "indexed": true
141567
+ },
141568
+ {
141569
+ "name": "assets",
141570
+ "type": "uint256",
141571
+ "indexed": false
141572
+ },
141573
+ {
141574
+ "name": "shares",
141575
+ "type": "uint256",
141576
+ "indexed": false
141577
+ }
141578
+ ],
141579
+ "anonymous": false,
141580
+ "type": "event"
141581
+ },
141582
+ {
141583
+ "name": "Withdraw",
141584
+ "inputs": [
141585
+ {
141586
+ "name": "sender",
141587
+ "type": "address",
141588
+ "indexed": true
141589
+ },
141590
+ {
141591
+ "name": "receiver",
141592
+ "type": "address",
141593
+ "indexed": true
141594
+ },
141595
+ {
141596
+ "name": "owner",
141597
+ "type": "address",
141598
+ "indexed": true
141599
+ },
141600
+ {
141601
+ "name": "assets",
141602
+ "type": "uint256",
141603
+ "indexed": false
141604
+ },
141605
+ {
141606
+ "name": "shares",
141607
+ "type": "uint256",
141608
+ "indexed": false
141609
+ }
141610
+ ],
141611
+ "anonymous": false,
141612
+ "type": "event"
141613
+ },
141614
+ {
141615
+ "name": "LeftoversSwept",
141616
+ "inputs": [
141617
+ {
141618
+ "name": "amount",
141619
+ "type": "uint256",
141620
+ "indexed": false
141621
+ },
141622
+ {
141623
+ "name": "recipient",
141624
+ "type": "address",
141625
+ "indexed": true
141626
+ }
141627
+ ],
141628
+ "anonymous": false,
141629
+ "type": "event"
141630
+ },
141631
+ {
141632
+ "name": "Transfer",
141633
+ "inputs": [
141634
+ {
141635
+ "name": "sender",
141636
+ "type": "address",
141637
+ "indexed": true
141638
+ },
141639
+ {
141640
+ "name": "recipient",
141641
+ "type": "address",
141642
+ "indexed": true
141643
+ },
141644
+ {
141645
+ "name": "amount",
141646
+ "type": "uint256",
141647
+ "indexed": false
141648
+ }
141649
+ ],
141650
+ "anonymous": false,
141651
+ "type": "event"
141652
+ },
141653
+ {
141654
+ "name": "Approval",
141655
+ "inputs": [
141656
+ {
141657
+ "name": "owner",
141658
+ "type": "address",
141659
+ "indexed": true
141660
+ },
141661
+ {
141662
+ "name": "spender",
141663
+ "type": "address",
141664
+ "indexed": true
141665
+ },
141666
+ {
141667
+ "name": "amount",
141668
+ "type": "uint256",
141669
+ "indexed": false
141670
+ }
141671
+ ],
141672
+ "anonymous": false,
141673
+ "type": "event"
141674
+ },
141675
+ {
141676
+ "name": "BlacklistModified",
141677
+ "inputs": [
141678
+ {
141679
+ "name": "addr",
141680
+ "type": "address",
141681
+ "indexed": true
141682
+ },
141683
+ {
141684
+ "name": "isBlacklisted",
141685
+ "type": "bool",
141686
+ "indexed": false
141687
+ }
141688
+ ],
141689
+ "anonymous": false,
141690
+ "type": "event"
141691
+ },
141692
+ {
141693
+ "name": "TokenPauseModified",
141694
+ "inputs": [
141695
+ {
141696
+ "name": "isPaused",
141697
+ "type": "bool",
141698
+ "indexed": false
141699
+ }
141700
+ ],
141701
+ "anonymous": false,
141702
+ "type": "event"
141703
+ },
141704
+ {
141705
+ "name": "EarnVaultDeposit",
141706
+ "inputs": [
141707
+ {
141708
+ "name": "asset",
141709
+ "type": "address",
141710
+ "indexed": true
141711
+ },
141712
+ {
141713
+ "name": "assetAmountDeposited",
141714
+ "type": "uint256",
141715
+ "indexed": false
141716
+ },
141717
+ {
141718
+ "name": "assetAmountAdjusted",
141719
+ "type": "uint256",
141720
+ "indexed": false
141721
+ },
141722
+ {
141723
+ "name": "vaultToken",
141724
+ "type": "address",
141725
+ "indexed": true
141726
+ },
141727
+ {
141728
+ "name": "vaultTokenReceived",
141729
+ "type": "uint256",
141730
+ "indexed": false
141731
+ },
141732
+ {
141733
+ "name": "vaultTokenExpected",
141734
+ "type": "uint256",
141735
+ "indexed": false
141736
+ },
141737
+ {
141738
+ "name": "usdValue",
141739
+ "type": "uint256",
141740
+ "indexed": false
141741
+ },
141742
+ {
141743
+ "name": "legoId",
141744
+ "type": "uint256",
141745
+ "indexed": false
141746
+ },
141747
+ {
141748
+ "name": "signer",
141749
+ "type": "address",
141750
+ "indexed": true
141751
+ }
141752
+ ],
141753
+ "anonymous": false,
141754
+ "type": "event"
141755
+ },
141756
+ {
141757
+ "name": "EarnVaultWithdrawal",
141758
+ "inputs": [
141759
+ {
141760
+ "name": "vaultToken",
141761
+ "type": "address",
141762
+ "indexed": true
141763
+ },
141764
+ {
141765
+ "name": "vaultTokenBurned",
141766
+ "type": "uint256",
141767
+ "indexed": false
141768
+ },
141769
+ {
141770
+ "name": "underlyingAsset",
141771
+ "type": "address",
141772
+ "indexed": true
141773
+ },
141774
+ {
141775
+ "name": "underlyingAmountReceived",
141776
+ "type": "uint256",
141777
+ "indexed": false
141778
+ },
141779
+ {
141780
+ "name": "usdValue",
141781
+ "type": "uint256",
141782
+ "indexed": false
141783
+ },
141784
+ {
141785
+ "name": "legoId",
141786
+ "type": "uint256",
141787
+ "indexed": false
141788
+ },
141789
+ {
141790
+ "name": "signer",
141791
+ "type": "address",
141792
+ "indexed": true
141793
+ }
141794
+ ],
141795
+ "anonymous": false,
141796
+ "type": "event"
141797
+ },
141798
+ {
141799
+ "name": "EarnVaultSwap",
141800
+ "inputs": [
141801
+ {
141802
+ "name": "tokenIn",
141803
+ "type": "address",
141804
+ "indexed": true
141805
+ },
141806
+ {
141807
+ "name": "tokenInAmount",
141808
+ "type": "uint256",
141809
+ "indexed": false
141810
+ },
141811
+ {
141812
+ "name": "tokenOut",
141813
+ "type": "address",
141814
+ "indexed": true
141815
+ },
141816
+ {
141817
+ "name": "tokenOutAmount",
141818
+ "type": "uint256",
141819
+ "indexed": false
141820
+ },
141821
+ {
141822
+ "name": "usdValue",
141823
+ "type": "uint256",
141824
+ "indexed": false
141825
+ },
141826
+ {
141827
+ "name": "swapFee",
141828
+ "type": "uint256",
141829
+ "indexed": false
141830
+ },
141831
+ {
141832
+ "name": "legoId",
141833
+ "type": "uint256",
141834
+ "indexed": false
141835
+ },
141836
+ {
141837
+ "name": "signer",
141838
+ "type": "address",
141839
+ "indexed": true
141840
+ }
141841
+ ],
141842
+ "anonymous": false,
141843
+ "type": "event"
141844
+ },
141845
+ {
141846
+ "name": "EarnVaultRewardsClaim",
141847
+ "inputs": [
141848
+ {
141849
+ "name": "rewardToken",
141850
+ "type": "address",
141851
+ "indexed": true
141852
+ },
141853
+ {
141854
+ "name": "rewardAmount",
141855
+ "type": "uint256",
141856
+ "indexed": false
141857
+ },
141858
+ {
141859
+ "name": "usdValue",
141860
+ "type": "uint256",
141861
+ "indexed": false
141862
+ },
141863
+ {
141864
+ "name": "legoId",
141865
+ "type": "uint256",
141866
+ "indexed": false
141867
+ },
141868
+ {
141869
+ "name": "signer",
141870
+ "type": "address",
141871
+ "indexed": true
141872
+ }
141873
+ ],
141874
+ "anonymous": false,
141875
+ "type": "event"
141876
+ },
141877
+ {
141878
+ "name": "PerformanceFeesClaimed",
141879
+ "inputs": [
141880
+ {
141881
+ "name": "pendingFees",
141882
+ "type": "uint256",
141883
+ "indexed": false
141884
+ }
141885
+ ],
141886
+ "anonymous": false,
141887
+ "type": "event"
141888
+ },
141889
+ {
141890
+ "stateMutability": "view",
141891
+ "type": "function",
141892
+ "name": "name",
141893
+ "inputs": [],
141894
+ "outputs": [
141895
+ {
141896
+ "name": "",
141897
+ "type": "string"
141898
+ }
141899
+ ]
141900
+ },
141901
+ {
141902
+ "stateMutability": "view",
141903
+ "type": "function",
141904
+ "name": "symbol",
141905
+ "inputs": [],
141906
+ "outputs": [
141907
+ {
141908
+ "name": "",
141909
+ "type": "string"
141910
+ }
141911
+ ]
141912
+ },
141913
+ {
141914
+ "stateMutability": "view",
141915
+ "type": "function",
141916
+ "name": "decimals",
141917
+ "inputs": [],
141918
+ "outputs": [
141919
+ {
141920
+ "name": "",
141921
+ "type": "uint8"
141922
+ }
141923
+ ]
141924
+ },
141925
+ {
141926
+ "stateMutability": "nonpayable",
141927
+ "type": "function",
141928
+ "name": "transfer",
141929
+ "inputs": [
141930
+ {
141931
+ "name": "_recipient",
141932
+ "type": "address"
141933
+ },
141934
+ {
141935
+ "name": "_amount",
141936
+ "type": "uint256"
141937
+ }
141938
+ ],
141939
+ "outputs": [
141940
+ {
141941
+ "name": "",
141942
+ "type": "bool"
141943
+ }
141944
+ ]
141945
+ },
141946
+ {
141947
+ "stateMutability": "nonpayable",
141948
+ "type": "function",
141949
+ "name": "transferFrom",
141950
+ "inputs": [
141951
+ {
141952
+ "name": "_sender",
141953
+ "type": "address"
141954
+ },
141955
+ {
141956
+ "name": "_recipient",
141957
+ "type": "address"
141958
+ },
141959
+ {
141960
+ "name": "_amount",
141961
+ "type": "uint256"
141962
+ }
141963
+ ],
141964
+ "outputs": [
141965
+ {
141966
+ "name": "",
141967
+ "type": "bool"
141968
+ }
141969
+ ]
141970
+ },
141971
+ {
141972
+ "stateMutability": "nonpayable",
141973
+ "type": "function",
141974
+ "name": "approve",
141975
+ "inputs": [
141976
+ {
141977
+ "name": "_spender",
141978
+ "type": "address"
141979
+ },
141980
+ {
141981
+ "name": "_amount",
141982
+ "type": "uint256"
141983
+ }
141984
+ ],
141985
+ "outputs": [
141986
+ {
141987
+ "name": "",
141988
+ "type": "bool"
141989
+ }
141990
+ ]
141991
+ },
141992
+ {
141993
+ "stateMutability": "nonpayable",
141994
+ "type": "function",
141995
+ "name": "increaseAllowance",
141996
+ "inputs": [
141997
+ {
141998
+ "name": "_spender",
141999
+ "type": "address"
142000
+ },
142001
+ {
142002
+ "name": "_amount",
142003
+ "type": "uint256"
142004
+ }
142005
+ ],
142006
+ "outputs": [
142007
+ {
142008
+ "name": "",
142009
+ "type": "bool"
142010
+ }
142011
+ ]
142012
+ },
142013
+ {
142014
+ "stateMutability": "nonpayable",
142015
+ "type": "function",
142016
+ "name": "decreaseAllowance",
142017
+ "inputs": [
142018
+ {
142019
+ "name": "_spender",
142020
+ "type": "address"
142021
+ },
142022
+ {
142023
+ "name": "_amount",
142024
+ "type": "uint256"
142025
+ }
142026
+ ],
142027
+ "outputs": [
142028
+ {
142029
+ "name": "",
142030
+ "type": "bool"
142031
+ }
142032
+ ]
142033
+ },
142034
+ {
142035
+ "stateMutability": "nonpayable",
142036
+ "type": "function",
142037
+ "name": "burn",
142038
+ "inputs": [
142039
+ {
142040
+ "name": "_amount",
142041
+ "type": "uint256"
142042
+ }
142043
+ ],
142044
+ "outputs": [
142045
+ {
142046
+ "name": "",
142047
+ "type": "bool"
142048
+ }
142049
+ ]
142050
+ },
142051
+ {
142052
+ "stateMutability": "view",
142053
+ "type": "function",
142054
+ "name": "DOMAIN_SEPARATOR",
142055
+ "inputs": [],
142056
+ "outputs": [
142057
+ {
142058
+ "name": "",
142059
+ "type": "bytes32"
142060
+ }
142061
+ ]
142062
+ },
142063
+ {
142064
+ "stateMutability": "nonpayable",
142065
+ "type": "function",
142066
+ "name": "permit",
142067
+ "inputs": [
142068
+ {
142069
+ "name": "_owner",
142070
+ "type": "address"
142071
+ },
142072
+ {
142073
+ "name": "_spender",
142074
+ "type": "address"
142075
+ },
142076
+ {
142077
+ "name": "_value",
142078
+ "type": "uint256"
142079
+ },
142080
+ {
142081
+ "name": "_deadline",
142082
+ "type": "uint256"
142083
+ },
142084
+ {
142085
+ "name": "_signature",
142086
+ "type": "bytes"
142087
+ }
142088
+ ],
142089
+ "outputs": [
142090
+ {
142091
+ "name": "",
142092
+ "type": "bool"
142093
+ }
142094
+ ]
142095
+ },
142096
+ {
142097
+ "stateMutability": "nonpayable",
142098
+ "type": "function",
142099
+ "name": "setBlacklist",
142100
+ "inputs": [
142101
+ {
142102
+ "name": "_addr",
142103
+ "type": "address"
142104
+ },
142105
+ {
142106
+ "name": "_shouldBlacklist",
142107
+ "type": "bool"
142108
+ }
142109
+ ],
142110
+ "outputs": [
142111
+ {
142112
+ "name": "",
142113
+ "type": "bool"
142114
+ }
142115
+ ]
142116
+ },
142117
+ {
142118
+ "stateMutability": "nonpayable",
142119
+ "type": "function",
142120
+ "name": "burnBlacklistTokens",
142121
+ "inputs": [
142122
+ {
142123
+ "name": "_addr",
142124
+ "type": "address"
142125
+ }
142126
+ ],
142127
+ "outputs": [
142128
+ {
142129
+ "name": "",
142130
+ "type": "bool"
142131
+ }
142132
+ ]
142133
+ },
142134
+ {
142135
+ "stateMutability": "nonpayable",
142136
+ "type": "function",
142137
+ "name": "burnBlacklistTokens",
142138
+ "inputs": [
142139
+ {
142140
+ "name": "_addr",
142141
+ "type": "address"
142142
+ },
142143
+ {
142144
+ "name": "_amount",
142145
+ "type": "uint256"
142146
+ }
142147
+ ],
142148
+ "outputs": [
142149
+ {
142150
+ "name": "",
142151
+ "type": "bool"
142152
+ }
142153
+ ]
142154
+ },
142155
+ {
142156
+ "stateMutability": "nonpayable",
142157
+ "type": "function",
142158
+ "name": "pause",
142159
+ "inputs": [
142160
+ {
142161
+ "name": "_shouldPause",
142162
+ "type": "bool"
142163
+ }
142164
+ ],
142165
+ "outputs": []
142166
+ },
142167
+ {
142168
+ "stateMutability": "view",
142169
+ "type": "function",
142170
+ "name": "undyHq",
142171
+ "inputs": [],
142172
+ "outputs": [
142173
+ {
142174
+ "name": "",
142175
+ "type": "address"
142176
+ }
142177
+ ]
142178
+ },
142179
+ {
142180
+ "stateMutability": "view",
142181
+ "type": "function",
142182
+ "name": "blacklisted",
142183
+ "inputs": [
142184
+ {
142185
+ "name": "arg0",
142186
+ "type": "address"
142187
+ }
142188
+ ],
142189
+ "outputs": [
142190
+ {
142191
+ "name": "",
142192
+ "type": "bool"
142193
+ }
142194
+ ]
142195
+ },
142196
+ {
142197
+ "stateMutability": "view",
142198
+ "type": "function",
142199
+ "name": "isPaused",
142200
+ "inputs": [],
142201
+ "outputs": [
142202
+ {
142203
+ "name": "",
142204
+ "type": "bool"
142205
+ }
142206
+ ]
142207
+ },
142208
+ {
142209
+ "stateMutability": "view",
142210
+ "type": "function",
142211
+ "name": "balanceOf",
142212
+ "inputs": [
142213
+ {
142214
+ "name": "arg0",
142215
+ "type": "address"
142216
+ }
142217
+ ],
142218
+ "outputs": [
142219
+ {
142220
+ "name": "",
142221
+ "type": "uint256"
142222
+ }
142223
+ ]
142224
+ },
142225
+ {
142226
+ "stateMutability": "view",
142227
+ "type": "function",
142228
+ "name": "allowance",
142229
+ "inputs": [
142230
+ {
142231
+ "name": "arg0",
142232
+ "type": "address"
142233
+ },
142234
+ {
142235
+ "name": "arg1",
142236
+ "type": "address"
142237
+ }
142238
+ ],
142239
+ "outputs": [
142240
+ {
142241
+ "name": "",
142242
+ "type": "uint256"
142243
+ }
142244
+ ]
142245
+ },
142246
+ {
142247
+ "stateMutability": "view",
142248
+ "type": "function",
142249
+ "name": "totalSupply",
142250
+ "inputs": [],
142251
+ "outputs": [
142252
+ {
142253
+ "name": "",
142254
+ "type": "uint256"
142255
+ }
142256
+ ]
142257
+ },
142258
+ {
142259
+ "stateMutability": "view",
142260
+ "type": "function",
142261
+ "name": "TOKEN_NAME",
142262
+ "inputs": [],
142263
+ "outputs": [
142264
+ {
142265
+ "name": "",
142266
+ "type": "string"
142267
+ }
142268
+ ]
142269
+ },
142270
+ {
142271
+ "stateMutability": "view",
142272
+ "type": "function",
142273
+ "name": "TOKEN_SYMBOL",
142274
+ "inputs": [],
142275
+ "outputs": [
142276
+ {
142277
+ "name": "",
142278
+ "type": "string"
142279
+ }
142280
+ ]
142281
+ },
142282
+ {
142283
+ "stateMutability": "view",
142284
+ "type": "function",
142285
+ "name": "TOKEN_DECIMALS",
142286
+ "inputs": [],
142287
+ "outputs": [
142288
+ {
142289
+ "name": "",
142290
+ "type": "uint8"
142291
+ }
142292
+ ]
142293
+ },
142294
+ {
142295
+ "stateMutability": "view",
142296
+ "type": "function",
142297
+ "name": "VERSION",
142298
+ "inputs": [],
142299
+ "outputs": [
142300
+ {
142301
+ "name": "",
142302
+ "type": "string"
142303
+ }
142304
+ ]
142305
+ },
142306
+ {
142307
+ "stateMutability": "view",
142308
+ "type": "function",
142309
+ "name": "nonces",
142310
+ "inputs": [
142311
+ {
142312
+ "name": "arg0",
142313
+ "type": "address"
142314
+ }
142315
+ ],
142316
+ "outputs": [
142317
+ {
142318
+ "name": "",
142319
+ "type": "uint256"
142320
+ }
142321
+ ]
142322
+ },
142323
+ {
142324
+ "stateMutability": "nonpayable",
142325
+ "type": "function",
142326
+ "name": "depositForYield",
142327
+ "inputs": [
142328
+ {
142329
+ "name": "_legoId",
142330
+ "type": "uint256"
142331
+ },
142332
+ {
142333
+ "name": "_asset",
142334
+ "type": "address"
142335
+ }
142336
+ ],
142337
+ "outputs": [
142338
+ {
142339
+ "name": "",
142340
+ "type": "uint256"
142341
+ },
142342
+ {
142343
+ "name": "",
142344
+ "type": "address"
142345
+ },
142346
+ {
142347
+ "name": "",
142348
+ "type": "uint256"
142349
+ },
142350
+ {
142351
+ "name": "",
142352
+ "type": "uint256"
142353
+ }
142354
+ ]
142355
+ },
142356
+ {
142357
+ "stateMutability": "nonpayable",
142358
+ "type": "function",
142359
+ "name": "depositForYield",
142360
+ "inputs": [
142361
+ {
142362
+ "name": "_legoId",
142363
+ "type": "uint256"
142364
+ },
142365
+ {
142366
+ "name": "_asset",
142367
+ "type": "address"
142368
+ },
142369
+ {
142370
+ "name": "_vaultAddr",
142371
+ "type": "address"
142372
+ }
142373
+ ],
142374
+ "outputs": [
142375
+ {
142376
+ "name": "",
142377
+ "type": "uint256"
142378
+ },
142379
+ {
142380
+ "name": "",
142381
+ "type": "address"
142382
+ },
142383
+ {
142384
+ "name": "",
142385
+ "type": "uint256"
142386
+ },
142387
+ {
142388
+ "name": "",
142389
+ "type": "uint256"
142390
+ }
142391
+ ]
142392
+ },
142393
+ {
142394
+ "stateMutability": "nonpayable",
142395
+ "type": "function",
142396
+ "name": "depositForYield",
142397
+ "inputs": [
142398
+ {
142399
+ "name": "_legoId",
142400
+ "type": "uint256"
142401
+ },
142402
+ {
142403
+ "name": "_asset",
142404
+ "type": "address"
142405
+ },
142406
+ {
142407
+ "name": "_vaultAddr",
142408
+ "type": "address"
142409
+ },
142410
+ {
142411
+ "name": "_amount",
142412
+ "type": "uint256"
142413
+ }
142414
+ ],
142415
+ "outputs": [
142416
+ {
142417
+ "name": "",
142418
+ "type": "uint256"
142419
+ },
142420
+ {
142421
+ "name": "",
142422
+ "type": "address"
142423
+ },
142424
+ {
142425
+ "name": "",
142426
+ "type": "uint256"
142427
+ },
142428
+ {
142429
+ "name": "",
142430
+ "type": "uint256"
142431
+ }
142432
+ ]
142433
+ },
142434
+ {
142435
+ "stateMutability": "nonpayable",
142436
+ "type": "function",
142437
+ "name": "depositForYield",
142438
+ "inputs": [
142439
+ {
142440
+ "name": "_legoId",
142441
+ "type": "uint256"
142442
+ },
142443
+ {
142444
+ "name": "_asset",
142445
+ "type": "address"
142446
+ },
142447
+ {
142448
+ "name": "_vaultAddr",
142449
+ "type": "address"
142450
+ },
142451
+ {
142452
+ "name": "_amount",
142453
+ "type": "uint256"
142454
+ },
142455
+ {
142456
+ "name": "_extraData",
142457
+ "type": "bytes32"
142458
+ }
142459
+ ],
142460
+ "outputs": [
142461
+ {
142462
+ "name": "",
142463
+ "type": "uint256"
142464
+ },
142465
+ {
142466
+ "name": "",
142467
+ "type": "address"
142468
+ },
142469
+ {
142470
+ "name": "",
142471
+ "type": "uint256"
142472
+ },
142473
+ {
142474
+ "name": "",
142475
+ "type": "uint256"
142476
+ }
142477
+ ]
142478
+ },
142479
+ {
142480
+ "stateMutability": "nonpayable",
142481
+ "type": "function",
142482
+ "name": "withdrawFromYield",
142483
+ "inputs": [
142484
+ {
142485
+ "name": "_legoId",
142486
+ "type": "uint256"
142487
+ },
142488
+ {
142489
+ "name": "_vaultToken",
142490
+ "type": "address"
142491
+ }
142492
+ ],
142493
+ "outputs": [
142494
+ {
142495
+ "name": "",
142496
+ "type": "uint256"
142497
+ },
142498
+ {
142499
+ "name": "",
142500
+ "type": "address"
142501
+ },
142502
+ {
142503
+ "name": "",
142504
+ "type": "uint256"
142505
+ },
142506
+ {
142507
+ "name": "",
142508
+ "type": "uint256"
142509
+ }
142510
+ ]
142511
+ },
142512
+ {
142513
+ "stateMutability": "nonpayable",
142514
+ "type": "function",
142515
+ "name": "withdrawFromYield",
142516
+ "inputs": [
142517
+ {
142518
+ "name": "_legoId",
142519
+ "type": "uint256"
142520
+ },
142521
+ {
142522
+ "name": "_vaultToken",
142523
+ "type": "address"
142524
+ },
142525
+ {
142526
+ "name": "_amount",
142527
+ "type": "uint256"
142528
+ }
142529
+ ],
142530
+ "outputs": [
142531
+ {
142532
+ "name": "",
142533
+ "type": "uint256"
142534
+ },
142535
+ {
142536
+ "name": "",
142537
+ "type": "address"
142538
+ },
142539
+ {
142540
+ "name": "",
142541
+ "type": "uint256"
142542
+ },
142543
+ {
142544
+ "name": "",
142545
+ "type": "uint256"
142546
+ }
142547
+ ]
142548
+ },
142549
+ {
142550
+ "stateMutability": "nonpayable",
142551
+ "type": "function",
142552
+ "name": "withdrawFromYield",
142553
+ "inputs": [
142554
+ {
142555
+ "name": "_legoId",
142556
+ "type": "uint256"
142557
+ },
142558
+ {
142559
+ "name": "_vaultToken",
142560
+ "type": "address"
142561
+ },
142562
+ {
142563
+ "name": "_amount",
142564
+ "type": "uint256"
142565
+ },
142566
+ {
142567
+ "name": "_extraData",
142568
+ "type": "bytes32"
142569
+ }
142570
+ ],
142571
+ "outputs": [
142572
+ {
142573
+ "name": "",
142574
+ "type": "uint256"
142575
+ },
142576
+ {
142577
+ "name": "",
142578
+ "type": "address"
142579
+ },
142580
+ {
142581
+ "name": "",
142582
+ "type": "uint256"
142583
+ },
142584
+ {
142585
+ "name": "",
142586
+ "type": "uint256"
142587
+ }
142588
+ ]
142589
+ },
142590
+ {
142591
+ "stateMutability": "nonpayable",
142592
+ "type": "function",
142593
+ "name": "withdrawFromYield",
142594
+ "inputs": [
142595
+ {
142596
+ "name": "_legoId",
142597
+ "type": "uint256"
142598
+ },
142599
+ {
142600
+ "name": "_vaultToken",
142601
+ "type": "address"
142602
+ },
142603
+ {
142604
+ "name": "_amount",
142605
+ "type": "uint256"
142606
+ },
142607
+ {
142608
+ "name": "_extraData",
142609
+ "type": "bytes32"
142610
+ },
142611
+ {
142612
+ "name": "_isSpecialTx",
142613
+ "type": "bool"
142614
+ }
142615
+ ],
142616
+ "outputs": [
142617
+ {
142618
+ "name": "",
142619
+ "type": "uint256"
142620
+ },
142621
+ {
142622
+ "name": "",
142623
+ "type": "address"
142624
+ },
142625
+ {
142626
+ "name": "",
142627
+ "type": "uint256"
142628
+ },
142629
+ {
142630
+ "name": "",
142631
+ "type": "uint256"
142632
+ }
142633
+ ]
142634
+ },
142635
+ {
142636
+ "stateMutability": "nonpayable",
142637
+ "type": "function",
142638
+ "name": "swapTokens",
142639
+ "inputs": [
142640
+ {
142641
+ "name": "_instructions",
142642
+ "type": "tuple[]",
142643
+ "components": [
142644
+ {
142645
+ "name": "legoId",
142646
+ "type": "uint256"
142647
+ },
142648
+ {
142649
+ "name": "amountIn",
142650
+ "type": "uint256"
142651
+ },
142652
+ {
142653
+ "name": "minAmountOut",
142654
+ "type": "uint256"
142655
+ },
142656
+ {
142657
+ "name": "tokenPath",
142658
+ "type": "address[]"
142659
+ },
142660
+ {
142661
+ "name": "poolPath",
142662
+ "type": "address[]"
142663
+ }
142664
+ ]
142665
+ }
142666
+ ],
142667
+ "outputs": [
142668
+ {
142669
+ "name": "",
142670
+ "type": "address"
142671
+ },
142672
+ {
142673
+ "name": "",
142674
+ "type": "uint256"
142675
+ },
142676
+ {
142677
+ "name": "",
142678
+ "type": "address"
142679
+ },
142680
+ {
142681
+ "name": "",
142682
+ "type": "uint256"
142683
+ },
142684
+ {
142685
+ "name": "",
142686
+ "type": "uint256"
142687
+ }
142688
+ ]
142689
+ },
142690
+ {
142691
+ "stateMutability": "nonpayable",
142692
+ "type": "function",
142693
+ "name": "claimIncentives",
142694
+ "inputs": [
142695
+ {
142696
+ "name": "_legoId",
142697
+ "type": "uint256"
142698
+ }
142699
+ ],
142700
+ "outputs": [
142701
+ {
142702
+ "name": "",
142703
+ "type": "uint256"
142704
+ },
142705
+ {
142706
+ "name": "",
142707
+ "type": "uint256"
142708
+ }
142709
+ ]
142710
+ },
142711
+ {
142712
+ "stateMutability": "nonpayable",
142713
+ "type": "function",
142714
+ "name": "claimIncentives",
142715
+ "inputs": [
142716
+ {
142717
+ "name": "_legoId",
142718
+ "type": "uint256"
142719
+ },
142720
+ {
142721
+ "name": "_rewardToken",
142722
+ "type": "address"
142723
+ }
142724
+ ],
142725
+ "outputs": [
142726
+ {
142727
+ "name": "",
142728
+ "type": "uint256"
142729
+ },
142730
+ {
142731
+ "name": "",
142732
+ "type": "uint256"
142733
+ }
142734
+ ]
142735
+ },
142736
+ {
142737
+ "stateMutability": "nonpayable",
142738
+ "type": "function",
142739
+ "name": "claimIncentives",
142740
+ "inputs": [
142741
+ {
142742
+ "name": "_legoId",
142743
+ "type": "uint256"
142744
+ },
142745
+ {
142746
+ "name": "_rewardToken",
142747
+ "type": "address"
142748
+ },
142749
+ {
142750
+ "name": "_rewardAmount",
142751
+ "type": "uint256"
142752
+ }
142753
+ ],
142754
+ "outputs": [
142755
+ {
142756
+ "name": "",
142757
+ "type": "uint256"
142758
+ },
142759
+ {
142760
+ "name": "",
142761
+ "type": "uint256"
142762
+ }
142763
+ ]
142764
+ },
142765
+ {
142766
+ "stateMutability": "nonpayable",
142767
+ "type": "function",
142768
+ "name": "claimIncentives",
142769
+ "inputs": [
142770
+ {
142771
+ "name": "_legoId",
142772
+ "type": "uint256"
142773
+ },
142774
+ {
142775
+ "name": "_rewardToken",
142776
+ "type": "address"
142777
+ },
142778
+ {
142779
+ "name": "_rewardAmount",
142780
+ "type": "uint256"
142781
+ },
142782
+ {
142783
+ "name": "_proofs",
142784
+ "type": "bytes32[]"
142785
+ }
142786
+ ],
142787
+ "outputs": [
142788
+ {
142789
+ "name": "",
142790
+ "type": "uint256"
142791
+ },
142792
+ {
142793
+ "name": "",
142794
+ "type": "uint256"
142795
+ }
142796
+ ]
142797
+ },
142798
+ {
142799
+ "stateMutability": "nonpayable",
142800
+ "type": "function",
142801
+ "name": "claimPerformanceFees",
142802
+ "inputs": [],
142803
+ "outputs": [
142804
+ {
142805
+ "name": "",
142806
+ "type": "uint256"
142807
+ }
142808
+ ]
142809
+ },
142810
+ {
142811
+ "stateMutability": "view",
142812
+ "type": "function",
142813
+ "name": "getClaimablePerformanceFees",
142814
+ "inputs": [],
142815
+ "outputs": [
142816
+ {
142817
+ "name": "",
142818
+ "type": "uint256"
142819
+ }
142820
+ ]
142821
+ },
142822
+ {
142823
+ "stateMutability": "nonpayable",
142824
+ "type": "function",
142825
+ "name": "updateYieldPosition",
142826
+ "inputs": [
142827
+ {
142828
+ "name": "_vaultToken",
142829
+ "type": "address"
142830
+ }
142831
+ ],
142832
+ "outputs": []
142833
+ },
142834
+ {
142835
+ "stateMutability": "nonpayable",
142836
+ "type": "function",
142837
+ "name": "addManager",
142838
+ "inputs": [
142839
+ {
142840
+ "name": "_manager",
142841
+ "type": "address"
142842
+ }
142843
+ ],
142844
+ "outputs": []
142845
+ },
142846
+ {
142847
+ "stateMutability": "nonpayable",
142848
+ "type": "function",
142849
+ "name": "removeManager",
142850
+ "inputs": [
142851
+ {
142852
+ "name": "_manager",
142853
+ "type": "address"
142854
+ }
142855
+ ],
142856
+ "outputs": []
142857
+ },
142858
+ {
142859
+ "stateMutability": "view",
142860
+ "type": "function",
142861
+ "name": "lastUnderlyingBal",
142862
+ "inputs": [],
142863
+ "outputs": [
142864
+ {
142865
+ "name": "",
142866
+ "type": "uint256"
142867
+ }
142868
+ ]
142869
+ },
142870
+ {
142871
+ "stateMutability": "view",
142872
+ "type": "function",
142873
+ "name": "pendingYieldRealized",
142874
+ "inputs": [],
142875
+ "outputs": [
142876
+ {
142877
+ "name": "",
142878
+ "type": "uint256"
142879
+ }
142880
+ ]
142881
+ },
142882
+ {
142883
+ "stateMutability": "view",
142884
+ "type": "function",
142885
+ "name": "vaultToLegoId",
142886
+ "inputs": [
142887
+ {
142888
+ "name": "arg0",
142889
+ "type": "address"
142890
+ }
142891
+ ],
142892
+ "outputs": [
142893
+ {
142894
+ "name": "",
142895
+ "type": "uint256"
142896
+ }
142897
+ ]
142898
+ },
142899
+ {
142900
+ "stateMutability": "view",
142901
+ "type": "function",
142902
+ "name": "assets",
142903
+ "inputs": [
142904
+ {
142905
+ "name": "arg0",
142906
+ "type": "uint256"
142907
+ }
142908
+ ],
142909
+ "outputs": [
142910
+ {
142911
+ "name": "",
142912
+ "type": "address"
142913
+ }
142914
+ ]
142915
+ },
142916
+ {
142917
+ "stateMutability": "view",
142918
+ "type": "function",
142919
+ "name": "indexOfAsset",
142920
+ "inputs": [
142921
+ {
142922
+ "name": "arg0",
142923
+ "type": "address"
142924
+ }
142925
+ ],
142926
+ "outputs": [
142927
+ {
142928
+ "name": "",
142929
+ "type": "uint256"
142930
+ }
142931
+ ]
142932
+ },
142933
+ {
142934
+ "stateMutability": "view",
142935
+ "type": "function",
142936
+ "name": "numAssets",
142937
+ "inputs": [],
142938
+ "outputs": [
142939
+ {
142940
+ "name": "",
142941
+ "type": "uint256"
142942
+ }
142943
+ ]
142944
+ },
142945
+ {
142946
+ "stateMutability": "view",
142947
+ "type": "function",
142948
+ "name": "managers",
142949
+ "inputs": [
142950
+ {
142951
+ "name": "arg0",
142952
+ "type": "uint256"
142953
+ }
142954
+ ],
142955
+ "outputs": [
142956
+ {
142957
+ "name": "",
142958
+ "type": "address"
142959
+ }
142960
+ ]
142961
+ },
142962
+ {
142963
+ "stateMutability": "view",
142964
+ "type": "function",
142965
+ "name": "indexOfManager",
142966
+ "inputs": [
142967
+ {
142968
+ "name": "arg0",
142969
+ "type": "address"
142970
+ }
142971
+ ],
142972
+ "outputs": [
142973
+ {
142974
+ "name": "",
142975
+ "type": "uint256"
142976
+ }
142977
+ ]
142978
+ },
142979
+ {
142980
+ "stateMutability": "view",
142981
+ "type": "function",
142982
+ "name": "numManagers",
142983
+ "inputs": [],
142984
+ "outputs": [
142985
+ {
142986
+ "name": "",
142987
+ "type": "uint256"
142988
+ }
142989
+ ]
142990
+ },
142991
+ {
142992
+ "stateMutability": "view",
142993
+ "type": "function",
142994
+ "name": "asset",
142995
+ "inputs": [],
142996
+ "outputs": [
142997
+ {
142998
+ "name": "",
142999
+ "type": "address"
143000
+ }
143001
+ ]
143002
+ },
143003
+ {
143004
+ "stateMutability": "view",
143005
+ "type": "function",
143006
+ "name": "totalAssets",
143007
+ "inputs": [],
143008
+ "outputs": [
143009
+ {
143010
+ "name": "",
143011
+ "type": "uint256"
143012
+ }
143013
+ ]
143014
+ },
143015
+ {
143016
+ "stateMutability": "view",
143017
+ "type": "function",
143018
+ "name": "getTotalAssets",
143019
+ "inputs": [
143020
+ {
143021
+ "name": "_shouldGetMax",
143022
+ "type": "bool"
143023
+ }
143024
+ ],
143025
+ "outputs": [
143026
+ {
143027
+ "name": "",
143028
+ "type": "uint256"
143029
+ }
143030
+ ]
143031
+ },
143032
+ {
143033
+ "stateMutability": "view",
143034
+ "type": "function",
143035
+ "name": "maxDeposit",
143036
+ "inputs": [
143037
+ {
143038
+ "name": "_receiver",
143039
+ "type": "address"
143040
+ }
143041
+ ],
143042
+ "outputs": [
143043
+ {
143044
+ "name": "",
143045
+ "type": "uint256"
143046
+ }
143047
+ ]
143048
+ },
143049
+ {
143050
+ "stateMutability": "view",
143051
+ "type": "function",
143052
+ "name": "previewDeposit",
143053
+ "inputs": [
143054
+ {
143055
+ "name": "_assets",
143056
+ "type": "uint256"
143057
+ }
143058
+ ],
143059
+ "outputs": [
143060
+ {
143061
+ "name": "",
143062
+ "type": "uint256"
143063
+ }
143064
+ ]
143065
+ },
143066
+ {
143067
+ "stateMutability": "nonpayable",
143068
+ "type": "function",
143069
+ "name": "deposit",
143070
+ "inputs": [
143071
+ {
143072
+ "name": "_assets",
143073
+ "type": "uint256"
143074
+ }
143075
+ ],
143076
+ "outputs": [
143077
+ {
143078
+ "name": "",
143079
+ "type": "uint256"
143080
+ }
143081
+ ]
143082
+ },
143083
+ {
143084
+ "stateMutability": "nonpayable",
143085
+ "type": "function",
143086
+ "name": "deposit",
143087
+ "inputs": [
143088
+ {
143089
+ "name": "_assets",
143090
+ "type": "uint256"
143091
+ },
143092
+ {
143093
+ "name": "_receiver",
143094
+ "type": "address"
143095
+ }
143096
+ ],
143097
+ "outputs": [
143098
+ {
143099
+ "name": "",
143100
+ "type": "uint256"
143101
+ }
143102
+ ]
143103
+ },
143104
+ {
143105
+ "stateMutability": "nonpayable",
143106
+ "type": "function",
143107
+ "name": "depositWithMinAmountOut",
143108
+ "inputs": [
143109
+ {
143110
+ "name": "_assets",
143111
+ "type": "uint256"
143112
+ },
143113
+ {
143114
+ "name": "_minAmountOut",
143115
+ "type": "uint256"
143116
+ }
143117
+ ],
143118
+ "outputs": [
143119
+ {
143120
+ "name": "",
143121
+ "type": "uint256"
143122
+ }
143123
+ ]
143124
+ },
143125
+ {
143126
+ "stateMutability": "nonpayable",
143127
+ "type": "function",
143128
+ "name": "depositWithMinAmountOut",
143129
+ "inputs": [
143130
+ {
143131
+ "name": "_assets",
143132
+ "type": "uint256"
143133
+ },
143134
+ {
143135
+ "name": "_minAmountOut",
143136
+ "type": "uint256"
143137
+ },
143138
+ {
143139
+ "name": "_receiver",
143140
+ "type": "address"
143141
+ }
143142
+ ],
143143
+ "outputs": [
143144
+ {
143145
+ "name": "",
143146
+ "type": "uint256"
143147
+ }
143148
+ ]
143149
+ },
143150
+ {
143151
+ "stateMutability": "view",
143152
+ "type": "function",
143153
+ "name": "maxMint",
143154
+ "inputs": [
143155
+ {
143156
+ "name": "_receiver",
143157
+ "type": "address"
143158
+ }
143159
+ ],
143160
+ "outputs": [
143161
+ {
143162
+ "name": "",
143163
+ "type": "uint256"
143164
+ }
143165
+ ]
143166
+ },
143167
+ {
143168
+ "stateMutability": "view",
143169
+ "type": "function",
143170
+ "name": "previewMint",
143171
+ "inputs": [
143172
+ {
143173
+ "name": "_shares",
143174
+ "type": "uint256"
143175
+ }
143176
+ ],
143177
+ "outputs": [
143178
+ {
143179
+ "name": "",
143180
+ "type": "uint256"
143181
+ }
143182
+ ]
143183
+ },
143184
+ {
143185
+ "stateMutability": "nonpayable",
143186
+ "type": "function",
143187
+ "name": "mint",
143188
+ "inputs": [
143189
+ {
143190
+ "name": "_shares",
143191
+ "type": "uint256"
143192
+ }
143193
+ ],
143194
+ "outputs": [
143195
+ {
143196
+ "name": "",
143197
+ "type": "uint256"
143198
+ }
143199
+ ]
143200
+ },
143201
+ {
143202
+ "stateMutability": "nonpayable",
143203
+ "type": "function",
143204
+ "name": "mint",
143205
+ "inputs": [
143206
+ {
143207
+ "name": "_shares",
143208
+ "type": "uint256"
143209
+ },
143210
+ {
143211
+ "name": "_receiver",
143212
+ "type": "address"
143213
+ }
143214
+ ],
143215
+ "outputs": [
143216
+ {
143217
+ "name": "",
143218
+ "type": "uint256"
143219
+ }
143220
+ ]
143221
+ },
143222
+ {
143223
+ "stateMutability": "view",
143224
+ "type": "function",
143225
+ "name": "maxWithdraw",
143226
+ "inputs": [
143227
+ {
143228
+ "name": "_owner",
143229
+ "type": "address"
143230
+ }
143231
+ ],
143232
+ "outputs": [
143233
+ {
143234
+ "name": "",
143235
+ "type": "uint256"
143236
+ }
143237
+ ]
143238
+ },
143239
+ {
143240
+ "stateMutability": "view",
143241
+ "type": "function",
143242
+ "name": "previewWithdraw",
143243
+ "inputs": [
143244
+ {
143245
+ "name": "_assets",
143246
+ "type": "uint256"
143247
+ }
143248
+ ],
143249
+ "outputs": [
143250
+ {
143251
+ "name": "",
143252
+ "type": "uint256"
143253
+ }
143254
+ ]
143255
+ },
143256
+ {
143257
+ "stateMutability": "nonpayable",
143258
+ "type": "function",
143259
+ "name": "withdraw",
143260
+ "inputs": [
143261
+ {
143262
+ "name": "_assets",
143263
+ "type": "uint256"
143264
+ }
143265
+ ],
143266
+ "outputs": [
143267
+ {
143268
+ "name": "",
143269
+ "type": "uint256"
143270
+ }
143271
+ ]
143272
+ },
143273
+ {
143274
+ "stateMutability": "nonpayable",
143275
+ "type": "function",
143276
+ "name": "withdraw",
143277
+ "inputs": [
143278
+ {
143279
+ "name": "_assets",
143280
+ "type": "uint256"
143281
+ },
143282
+ {
143283
+ "name": "_receiver",
143284
+ "type": "address"
143285
+ }
143286
+ ],
143287
+ "outputs": [
143288
+ {
143289
+ "name": "",
143290
+ "type": "uint256"
143291
+ }
143292
+ ]
143293
+ },
143294
+ {
143295
+ "stateMutability": "nonpayable",
143296
+ "type": "function",
143297
+ "name": "withdraw",
143298
+ "inputs": [
143299
+ {
143300
+ "name": "_assets",
143301
+ "type": "uint256"
143302
+ },
143303
+ {
143304
+ "name": "_receiver",
143305
+ "type": "address"
143306
+ },
143307
+ {
143308
+ "name": "_owner",
143309
+ "type": "address"
143310
+ }
143311
+ ],
143312
+ "outputs": [
143313
+ {
143314
+ "name": "",
143315
+ "type": "uint256"
143316
+ }
143317
+ ]
143318
+ },
143319
+ {
143320
+ "stateMutability": "view",
143321
+ "type": "function",
143322
+ "name": "maxRedeem",
143323
+ "inputs": [
143324
+ {
143325
+ "name": "_owner",
143326
+ "type": "address"
143327
+ }
143328
+ ],
143329
+ "outputs": [
143330
+ {
143331
+ "name": "",
143332
+ "type": "uint256"
143333
+ }
143334
+ ]
143335
+ },
143336
+ {
143337
+ "stateMutability": "view",
143338
+ "type": "function",
143339
+ "name": "previewRedeem",
143340
+ "inputs": [
143341
+ {
143342
+ "name": "_shares",
143343
+ "type": "uint256"
143344
+ }
143345
+ ],
143346
+ "outputs": [
143347
+ {
143348
+ "name": "",
143349
+ "type": "uint256"
143350
+ }
143351
+ ]
143352
+ },
143353
+ {
143354
+ "stateMutability": "nonpayable",
143355
+ "type": "function",
143356
+ "name": "redeem",
143357
+ "inputs": [
143358
+ {
143359
+ "name": "_shares",
143360
+ "type": "uint256"
143361
+ }
143362
+ ],
143363
+ "outputs": [
143364
+ {
143365
+ "name": "",
143366
+ "type": "uint256"
143367
+ }
143368
+ ]
143369
+ },
143370
+ {
143371
+ "stateMutability": "nonpayable",
143372
+ "type": "function",
143373
+ "name": "redeem",
143374
+ "inputs": [
143375
+ {
143376
+ "name": "_shares",
143377
+ "type": "uint256"
143378
+ },
143379
+ {
143380
+ "name": "_receiver",
143381
+ "type": "address"
143382
+ }
143383
+ ],
143384
+ "outputs": [
143385
+ {
143386
+ "name": "",
143387
+ "type": "uint256"
143388
+ }
143389
+ ]
143390
+ },
143391
+ {
143392
+ "stateMutability": "nonpayable",
143393
+ "type": "function",
143394
+ "name": "redeem",
143395
+ "inputs": [
143396
+ {
143397
+ "name": "_shares",
143398
+ "type": "uint256"
143399
+ },
143400
+ {
143401
+ "name": "_receiver",
143402
+ "type": "address"
143403
+ },
143404
+ {
143405
+ "name": "_owner",
143406
+ "type": "address"
143407
+ }
143408
+ ],
143409
+ "outputs": [
143410
+ {
143411
+ "name": "",
143412
+ "type": "uint256"
143413
+ }
143414
+ ]
143415
+ },
143416
+ {
143417
+ "stateMutability": "nonpayable",
143418
+ "type": "function",
143419
+ "name": "redeemWithMinAmountOut",
143420
+ "inputs": [
143421
+ {
143422
+ "name": "_shares",
143423
+ "type": "uint256"
143424
+ },
143425
+ {
143426
+ "name": "_minAmountOut",
143427
+ "type": "uint256"
143428
+ }
143429
+ ],
143430
+ "outputs": [
143431
+ {
143432
+ "name": "",
143433
+ "type": "uint256"
143434
+ }
143435
+ ]
143436
+ },
143437
+ {
143438
+ "stateMutability": "nonpayable",
143439
+ "type": "function",
143440
+ "name": "redeemWithMinAmountOut",
143441
+ "inputs": [
143442
+ {
143443
+ "name": "_shares",
143444
+ "type": "uint256"
143445
+ },
143446
+ {
143447
+ "name": "_minAmountOut",
143448
+ "type": "uint256"
143449
+ },
143450
+ {
143451
+ "name": "_receiver",
143452
+ "type": "address"
143453
+ }
143454
+ ],
143455
+ "outputs": [
143456
+ {
143457
+ "name": "",
143458
+ "type": "uint256"
143459
+ }
143460
+ ]
143461
+ },
143462
+ {
143463
+ "stateMutability": "nonpayable",
143464
+ "type": "function",
143465
+ "name": "redeemWithMinAmountOut",
143466
+ "inputs": [
143467
+ {
143468
+ "name": "_shares",
143469
+ "type": "uint256"
143470
+ },
143471
+ {
143472
+ "name": "_minAmountOut",
143473
+ "type": "uint256"
143474
+ },
143475
+ {
143476
+ "name": "_receiver",
143477
+ "type": "address"
143478
+ },
143479
+ {
143480
+ "name": "_owner",
143481
+ "type": "address"
143482
+ }
143483
+ ],
143484
+ "outputs": [
143485
+ {
143486
+ "name": "",
143487
+ "type": "uint256"
143488
+ }
143489
+ ]
143490
+ },
143491
+ {
143492
+ "stateMutability": "view",
143493
+ "type": "function",
143494
+ "name": "convertToShares",
143495
+ "inputs": [
143496
+ {
143497
+ "name": "_assets",
143498
+ "type": "uint256"
143499
+ }
143500
+ ],
143501
+ "outputs": [
143502
+ {
143503
+ "name": "",
143504
+ "type": "uint256"
143505
+ }
143506
+ ]
143507
+ },
143508
+ {
143509
+ "stateMutability": "view",
143510
+ "type": "function",
143511
+ "name": "convertToSharesSafe",
143512
+ "inputs": [
143513
+ {
143514
+ "name": "_assets",
143515
+ "type": "uint256"
143516
+ }
143517
+ ],
143518
+ "outputs": [
143519
+ {
143520
+ "name": "",
143521
+ "type": "uint256"
143522
+ }
143523
+ ]
143524
+ },
143525
+ {
143526
+ "stateMutability": "view",
143527
+ "type": "function",
143528
+ "name": "convertToAssets",
143529
+ "inputs": [
143530
+ {
143531
+ "name": "_shares",
143532
+ "type": "uint256"
143533
+ }
143534
+ ],
143535
+ "outputs": [
143536
+ {
143537
+ "name": "",
143538
+ "type": "uint256"
143539
+ }
143540
+ ]
143541
+ },
143542
+ {
143543
+ "stateMutability": "view",
143544
+ "type": "function",
143545
+ "name": "convertToAssetsSafe",
143546
+ "inputs": [
143547
+ {
143548
+ "name": "_shares",
143549
+ "type": "uint256"
143550
+ }
143551
+ ],
143552
+ "outputs": [
143553
+ {
143554
+ "name": "",
143555
+ "type": "uint256"
143556
+ }
143557
+ ]
143558
+ },
143559
+ {
143560
+ "stateMutability": "nonpayable",
143561
+ "type": "function",
143562
+ "name": "sweepLeftovers",
143563
+ "inputs": [],
143564
+ "outputs": [
143565
+ {
143566
+ "name": "",
143567
+ "type": "uint256"
143568
+ }
143569
+ ]
143570
+ },
143571
+ {
143572
+ "stateMutability": "nonpayable",
143573
+ "type": "constructor",
143574
+ "inputs": [
143575
+ {
143576
+ "name": "_asset",
143577
+ "type": "address"
143578
+ },
143579
+ {
143580
+ "name": "_tokenName",
143581
+ "type": "string"
143582
+ },
143583
+ {
143584
+ "name": "_tokenSymbol",
143585
+ "type": "string"
143586
+ },
143587
+ {
143588
+ "name": "_undyHq",
143589
+ "type": "address"
143590
+ },
143591
+ {
143592
+ "name": "_minHqTimeLock",
143593
+ "type": "uint256"
143594
+ },
143595
+ {
143596
+ "name": "_maxHqTimeLock",
143597
+ "type": "uint256"
143598
+ },
143599
+ {
143600
+ "name": "_startingAgent",
143601
+ "type": "address"
143602
+ }
143603
+ ],
143604
+ "outputs": []
143605
+ }
143606
+ ],
141226
143607
  "UndyUsds": [
141227
143608
  {
141228
143609
  "name": "Deposit",
@@ -158041,6 +160422,74 @@
158041
160422
  }
158042
160423
  ],
158043
160424
  "outputs": []
160425
+ },
160426
+ {
160427
+ "stateMutability": "nonpayable",
160428
+ "type": "function",
160429
+ "name": "setTimeLock",
160430
+ "inputs": [
160431
+ {
160432
+ "name": "_numBlocks",
160433
+ "type": "uint256"
160434
+ }
160435
+ ],
160436
+ "outputs": []
160437
+ },
160438
+ {
160439
+ "stateMutability": "nonpayable",
160440
+ "type": "function",
160441
+ "name": "setTimeLockViaMigrator",
160442
+ "inputs": [
160443
+ {
160444
+ "name": "_numBlocks",
160445
+ "type": "uint256"
160446
+ }
160447
+ ],
160448
+ "outputs": []
160449
+ },
160450
+ {
160451
+ "stateMutability": "nonpayable",
160452
+ "type": "function",
160453
+ "name": "confirmPendingTimeLock",
160454
+ "inputs": [],
160455
+ "outputs": []
160456
+ },
160457
+ {
160458
+ "stateMutability": "nonpayable",
160459
+ "type": "function",
160460
+ "name": "cancelPendingTimeLock",
160461
+ "inputs": [],
160462
+ "outputs": []
160463
+ },
160464
+ {
160465
+ "stateMutability": "view",
160466
+ "type": "function",
160467
+ "name": "pendingTimeLock",
160468
+ "inputs": [],
160469
+ "outputs": [
160470
+ {
160471
+ "name": "",
160472
+ "type": "tuple",
160473
+ "components": [
160474
+ {
160475
+ "name": "newTimeLock",
160476
+ "type": "uint256"
160477
+ },
160478
+ {
160479
+ "name": "initiatedBlock",
160480
+ "type": "uint256"
160481
+ },
160482
+ {
160483
+ "name": "confirmBlock",
160484
+ "type": "uint256"
160485
+ },
160486
+ {
160487
+ "name": "currentOwner",
160488
+ "type": "address"
160489
+ }
160490
+ ]
160491
+ }
160492
+ ]
158044
160493
  }
158045
160494
  ],
158046
160495
  "UserWalletConfigV1": [