@ripe-finance/sdk 1.15.2 → 1.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contracts/ChainlinkPrices.d.ts +3 -0
- package/dist/contracts/ChainlinkPrices.d.ts.map +1 -1
- package/dist/contracts/ChainlinkPrices.js +5 -1
- package/dist/contracts/DefaultsBase.d.ts +260 -40
- package/dist/contracts/DefaultsBase.d.ts.map +1 -1
- package/dist/contracts/DefaultsBase.js +266 -35
- package/dist/contracts/MissionControl.d.ts +45 -6
- package/dist/contracts/MissionControl.d.ts.map +1 -1
- package/dist/contracts/MissionControl.js +58 -6
- package/dist/contracts/PythPrices.js +1 -1
- package/dist/contracts/RedStone.js +1 -1
- package/dist/contracts/StorkPrices.js +1 -1
- package/dist/contracts/Switchboard.js +1 -1
- package/dist/contracts/SwitchboardAlpha.d.ts +590 -301
- package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
- package/dist/contracts/SwitchboardAlpha.js +707 -277
- package/dist/contracts/SwitchboardBravo.d.ts +241 -191
- package/dist/contracts/SwitchboardBravo.d.ts.map +1 -1
- package/dist/contracts/SwitchboardBravo.js +301 -217
- package/dist/contracts/SwitchboardCharlie.d.ts +786 -28
- package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -1
- package/dist/contracts/SwitchboardCharlie.js +1440 -470
- package/dist/contracts/SwitchboardDelta.d.ts +519 -8
- package/dist/contracts/SwitchboardDelta.d.ts.map +1 -1
- package/dist/contracts/SwitchboardDelta.js +702 -33
- package/dist/contracts/SwitchboardEcho.js +1 -1
- package/dist/contracts/UndyVaultPrices.js +1 -1
- package/dist/index.d.ts +96 -61
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -768,115 +768,152 @@ export const abi = [
|
|
|
768
768
|
type: 'event',
|
|
769
769
|
},
|
|
770
770
|
{
|
|
771
|
-
name: '
|
|
771
|
+
name: 'CanDepositAssetSet',
|
|
772
772
|
inputs: [
|
|
773
773
|
{
|
|
774
|
-
name: '
|
|
775
|
-
type: '
|
|
776
|
-
indexed:
|
|
774
|
+
name: 'asset',
|
|
775
|
+
type: 'address',
|
|
776
|
+
indexed: true,
|
|
777
777
|
},
|
|
778
778
|
{
|
|
779
|
-
name: '
|
|
780
|
-
type: '
|
|
779
|
+
name: 'canDeposit',
|
|
780
|
+
type: 'bool',
|
|
781
781
|
indexed: false,
|
|
782
782
|
},
|
|
783
|
+
{
|
|
784
|
+
name: 'caller',
|
|
785
|
+
type: 'address',
|
|
786
|
+
indexed: true,
|
|
787
|
+
},
|
|
783
788
|
],
|
|
784
789
|
anonymous: false,
|
|
785
790
|
type: 'event',
|
|
786
791
|
},
|
|
787
792
|
{
|
|
788
|
-
name: '
|
|
793
|
+
name: 'CanWithdrawAssetSet',
|
|
789
794
|
inputs: [
|
|
790
795
|
{
|
|
791
|
-
name: '
|
|
792
|
-
type: '
|
|
796
|
+
name: 'asset',
|
|
797
|
+
type: 'address',
|
|
798
|
+
indexed: true,
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
name: 'canWithdraw',
|
|
802
|
+
type: 'bool',
|
|
793
803
|
indexed: false,
|
|
794
804
|
},
|
|
805
|
+
{
|
|
806
|
+
name: 'caller',
|
|
807
|
+
type: 'address',
|
|
808
|
+
indexed: true,
|
|
809
|
+
},
|
|
795
810
|
],
|
|
796
811
|
anonymous: false,
|
|
797
812
|
type: 'event',
|
|
798
813
|
},
|
|
799
814
|
{
|
|
800
|
-
name: '
|
|
815
|
+
name: 'CanRedeemInStabPoolAssetSet',
|
|
801
816
|
inputs: [
|
|
802
817
|
{
|
|
803
|
-
name: '
|
|
804
|
-
type: '
|
|
805
|
-
indexed:
|
|
818
|
+
name: 'asset',
|
|
819
|
+
type: 'address',
|
|
820
|
+
indexed: true,
|
|
806
821
|
},
|
|
807
822
|
{
|
|
808
|
-
name: '
|
|
809
|
-
type: '
|
|
823
|
+
name: 'canRedeemInStabPool',
|
|
824
|
+
type: 'bool',
|
|
810
825
|
indexed: false,
|
|
811
826
|
},
|
|
827
|
+
{
|
|
828
|
+
name: 'caller',
|
|
829
|
+
type: 'address',
|
|
830
|
+
indexed: true,
|
|
831
|
+
},
|
|
812
832
|
],
|
|
813
833
|
anonymous: false,
|
|
814
834
|
type: 'event',
|
|
815
835
|
},
|
|
816
836
|
{
|
|
817
|
-
name: '
|
|
837
|
+
name: 'CanBuyInAuctionAssetSet',
|
|
818
838
|
inputs: [
|
|
819
839
|
{
|
|
820
|
-
name: '
|
|
840
|
+
name: 'asset',
|
|
821
841
|
type: 'address',
|
|
822
842
|
indexed: true,
|
|
823
843
|
},
|
|
824
844
|
{
|
|
825
|
-
name: '
|
|
826
|
-
type: '
|
|
827
|
-
indexed:
|
|
845
|
+
name: 'canBuyInAuction',
|
|
846
|
+
type: 'bool',
|
|
847
|
+
indexed: false,
|
|
828
848
|
},
|
|
829
849
|
{
|
|
830
|
-
name: '
|
|
831
|
-
type: '
|
|
832
|
-
indexed:
|
|
850
|
+
name: 'caller',
|
|
851
|
+
type: 'address',
|
|
852
|
+
indexed: true,
|
|
833
853
|
},
|
|
834
854
|
],
|
|
835
855
|
anonymous: false,
|
|
836
856
|
type: 'event',
|
|
837
857
|
},
|
|
838
858
|
{
|
|
839
|
-
name: '
|
|
859
|
+
name: 'CanClaimInStabPoolAssetSet',
|
|
840
860
|
inputs: [
|
|
841
861
|
{
|
|
842
|
-
name: '
|
|
862
|
+
name: 'asset',
|
|
843
863
|
type: 'address',
|
|
844
864
|
indexed: true,
|
|
845
865
|
},
|
|
846
866
|
{
|
|
847
|
-
name: '
|
|
867
|
+
name: 'canClaimInStabPool',
|
|
868
|
+
type: 'bool',
|
|
869
|
+
indexed: false,
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
name: 'caller',
|
|
848
873
|
type: 'address',
|
|
849
874
|
indexed: true,
|
|
850
875
|
},
|
|
876
|
+
],
|
|
877
|
+
anonymous: false,
|
|
878
|
+
type: 'event',
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
name: 'CanRedeemCollateralAssetSet',
|
|
882
|
+
inputs: [
|
|
851
883
|
{
|
|
852
|
-
name: '
|
|
853
|
-
type: '
|
|
854
|
-
indexed:
|
|
884
|
+
name: 'asset',
|
|
885
|
+
type: 'address',
|
|
886
|
+
indexed: true,
|
|
855
887
|
},
|
|
856
888
|
{
|
|
857
|
-
name: '
|
|
858
|
-
type: '
|
|
889
|
+
name: 'canRedeemCollateral',
|
|
890
|
+
type: 'bool',
|
|
859
891
|
indexed: false,
|
|
860
892
|
},
|
|
893
|
+
{
|
|
894
|
+
name: 'caller',
|
|
895
|
+
type: 'address',
|
|
896
|
+
indexed: true,
|
|
897
|
+
},
|
|
861
898
|
],
|
|
862
899
|
anonymous: false,
|
|
863
900
|
type: 'event',
|
|
864
901
|
},
|
|
865
902
|
{
|
|
866
|
-
name: '
|
|
903
|
+
name: 'PendingDeregisterAssetAction',
|
|
867
904
|
inputs: [
|
|
868
905
|
{
|
|
869
|
-
name: '
|
|
906
|
+
name: 'asset',
|
|
870
907
|
type: 'address',
|
|
871
908
|
indexed: true,
|
|
872
909
|
},
|
|
873
910
|
{
|
|
874
|
-
name: '
|
|
911
|
+
name: 'confirmationBlock',
|
|
875
912
|
type: 'uint256',
|
|
876
913
|
indexed: false,
|
|
877
914
|
},
|
|
878
915
|
{
|
|
879
|
-
name: '
|
|
916
|
+
name: 'actionId',
|
|
880
917
|
type: 'uint256',
|
|
881
918
|
indexed: false,
|
|
882
919
|
},
|
|
@@ -885,10 +922,10 @@ export const abi = [
|
|
|
885
922
|
type: 'event',
|
|
886
923
|
},
|
|
887
924
|
{
|
|
888
|
-
name: '
|
|
925
|
+
name: 'AssetDeregistered',
|
|
889
926
|
inputs: [
|
|
890
927
|
{
|
|
891
|
-
name: '
|
|
928
|
+
name: 'asset',
|
|
892
929
|
type: 'address',
|
|
893
930
|
indexed: true,
|
|
894
931
|
},
|
|
@@ -897,20 +934,25 @@ export const abi = [
|
|
|
897
934
|
type: 'event',
|
|
898
935
|
},
|
|
899
936
|
{
|
|
900
|
-
name: '
|
|
937
|
+
name: 'PendingDeregisterVaultAssetAction',
|
|
901
938
|
inputs: [
|
|
902
939
|
{
|
|
903
|
-
name: '
|
|
940
|
+
name: 'vaultAddr',
|
|
904
941
|
type: 'address',
|
|
905
942
|
indexed: true,
|
|
906
943
|
},
|
|
907
944
|
{
|
|
908
|
-
name: '
|
|
945
|
+
name: 'asset',
|
|
909
946
|
type: 'address',
|
|
910
947
|
indexed: true,
|
|
911
948
|
},
|
|
912
949
|
{
|
|
913
|
-
name: '
|
|
950
|
+
name: 'confirmationBlock',
|
|
951
|
+
type: 'uint256',
|
|
952
|
+
indexed: false,
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
name: 'actionId',
|
|
914
956
|
type: 'uint256',
|
|
915
957
|
indexed: false,
|
|
916
958
|
},
|
|
@@ -919,156 +961,868 @@ export const abi = [
|
|
|
919
961
|
type: 'event',
|
|
920
962
|
},
|
|
921
963
|
{
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
name: 'getRipeHqFromGov',
|
|
925
|
-
inputs: [],
|
|
926
|
-
outputs: [
|
|
964
|
+
name: 'PendingUserConfigAction',
|
|
965
|
+
inputs: [
|
|
927
966
|
{
|
|
928
|
-
name: '',
|
|
967
|
+
name: 'user',
|
|
929
968
|
type: 'address',
|
|
969
|
+
indexed: true,
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
name: 'confirmationBlock',
|
|
973
|
+
type: 'uint256',
|
|
974
|
+
indexed: false,
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
name: 'actionId',
|
|
978
|
+
type: 'uint256',
|
|
979
|
+
indexed: false,
|
|
930
980
|
},
|
|
931
981
|
],
|
|
982
|
+
anonymous: false,
|
|
983
|
+
type: 'event',
|
|
932
984
|
},
|
|
933
985
|
{
|
|
934
|
-
|
|
935
|
-
type: 'function',
|
|
936
|
-
name: 'canGovern',
|
|
986
|
+
name: 'PendingUserDelegationAction',
|
|
937
987
|
inputs: [
|
|
938
988
|
{
|
|
939
|
-
name: '
|
|
989
|
+
name: 'user',
|
|
940
990
|
type: 'address',
|
|
991
|
+
indexed: true,
|
|
941
992
|
},
|
|
942
|
-
],
|
|
943
|
-
outputs: [
|
|
944
993
|
{
|
|
945
|
-
name: '',
|
|
946
|
-
type: '
|
|
994
|
+
name: 'delegate',
|
|
995
|
+
type: 'address',
|
|
996
|
+
indexed: true,
|
|
947
997
|
},
|
|
948
|
-
],
|
|
949
|
-
},
|
|
950
|
-
{
|
|
951
|
-
stateMutability: 'view',
|
|
952
|
-
type: 'function',
|
|
953
|
-
name: 'getGovernors',
|
|
954
|
-
inputs: [],
|
|
955
|
-
outputs: [
|
|
956
998
|
{
|
|
957
|
-
name: '',
|
|
958
|
-
type: '
|
|
999
|
+
name: 'confirmationBlock',
|
|
1000
|
+
type: 'uint256',
|
|
1001
|
+
indexed: false,
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
name: 'actionId',
|
|
1005
|
+
type: 'uint256',
|
|
1006
|
+
indexed: false,
|
|
959
1007
|
},
|
|
960
1008
|
],
|
|
1009
|
+
anonymous: false,
|
|
1010
|
+
type: 'event',
|
|
961
1011
|
},
|
|
962
1012
|
{
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
name: 'hasPendingGovChange',
|
|
966
|
-
inputs: [],
|
|
967
|
-
outputs: [
|
|
1013
|
+
name: 'VaultAssetDeregistered',
|
|
1014
|
+
inputs: [
|
|
968
1015
|
{
|
|
969
|
-
name: '',
|
|
970
|
-
type: '
|
|
1016
|
+
name: 'vaultAddr',
|
|
1017
|
+
type: 'address',
|
|
1018
|
+
indexed: true,
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
name: 'asset',
|
|
1022
|
+
type: 'address',
|
|
1023
|
+
indexed: true,
|
|
971
1024
|
},
|
|
972
1025
|
],
|
|
1026
|
+
anonymous: false,
|
|
1027
|
+
type: 'event',
|
|
973
1028
|
},
|
|
974
1029
|
{
|
|
975
|
-
|
|
976
|
-
type: 'function',
|
|
977
|
-
name: 'startGovernanceChange',
|
|
1030
|
+
name: 'UserConfigSet',
|
|
978
1031
|
inputs: [
|
|
979
1032
|
{
|
|
980
|
-
name: '
|
|
1033
|
+
name: 'user',
|
|
1034
|
+
type: 'address',
|
|
1035
|
+
indexed: true,
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
name: 'caller',
|
|
981
1039
|
type: 'address',
|
|
1040
|
+
indexed: true,
|
|
982
1041
|
},
|
|
983
1042
|
],
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
{
|
|
987
|
-
stateMutability: 'nonpayable',
|
|
988
|
-
type: 'function',
|
|
989
|
-
name: 'confirmGovernanceChange',
|
|
990
|
-
inputs: [],
|
|
991
|
-
outputs: [],
|
|
992
|
-
},
|
|
993
|
-
{
|
|
994
|
-
stateMutability: 'nonpayable',
|
|
995
|
-
type: 'function',
|
|
996
|
-
name: 'cancelGovernanceChange',
|
|
997
|
-
inputs: [],
|
|
998
|
-
outputs: [],
|
|
999
|
-
},
|
|
1000
|
-
{
|
|
1001
|
-
stateMutability: 'nonpayable',
|
|
1002
|
-
type: 'function',
|
|
1003
|
-
name: 'relinquishGov',
|
|
1004
|
-
inputs: [],
|
|
1005
|
-
outputs: [],
|
|
1043
|
+
anonymous: false,
|
|
1044
|
+
type: 'event',
|
|
1006
1045
|
},
|
|
1007
1046
|
{
|
|
1008
|
-
|
|
1009
|
-
type: 'function',
|
|
1010
|
-
name: 'setGovTimeLock',
|
|
1047
|
+
name: 'UserDelegationSet',
|
|
1011
1048
|
inputs: [
|
|
1012
1049
|
{
|
|
1013
|
-
name: '
|
|
1014
|
-
type: '
|
|
1050
|
+
name: 'user',
|
|
1051
|
+
type: 'address',
|
|
1052
|
+
indexed: true,
|
|
1015
1053
|
},
|
|
1016
|
-
],
|
|
1017
|
-
outputs: [
|
|
1018
1054
|
{
|
|
1019
|
-
name: '',
|
|
1020
|
-
type: '
|
|
1055
|
+
name: 'delegate',
|
|
1056
|
+
type: 'address',
|
|
1057
|
+
indexed: true,
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
name: 'caller',
|
|
1061
|
+
type: 'address',
|
|
1062
|
+
indexed: true,
|
|
1021
1063
|
},
|
|
1022
1064
|
],
|
|
1065
|
+
anonymous: false,
|
|
1066
|
+
type: 'event',
|
|
1023
1067
|
},
|
|
1024
1068
|
{
|
|
1025
|
-
|
|
1026
|
-
type: 'function',
|
|
1027
|
-
name: 'isValidGovTimeLock',
|
|
1069
|
+
name: 'GovChangeTimeLockModified',
|
|
1028
1070
|
inputs: [
|
|
1029
1071
|
{
|
|
1030
|
-
name: '
|
|
1072
|
+
name: 'prevTimeLock',
|
|
1031
1073
|
type: 'uint256',
|
|
1074
|
+
indexed: false,
|
|
1032
1075
|
},
|
|
1033
|
-
],
|
|
1034
|
-
outputs: [
|
|
1035
1076
|
{
|
|
1036
|
-
name: '',
|
|
1037
|
-
type: '
|
|
1077
|
+
name: 'newTimeLock',
|
|
1078
|
+
type: 'uint256',
|
|
1079
|
+
indexed: false,
|
|
1038
1080
|
},
|
|
1039
1081
|
],
|
|
1082
|
+
anonymous: false,
|
|
1083
|
+
type: 'event',
|
|
1040
1084
|
},
|
|
1041
1085
|
{
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1086
|
+
name: 'ExpirationSet',
|
|
1087
|
+
inputs: [
|
|
1088
|
+
{
|
|
1089
|
+
name: 'expiration',
|
|
1090
|
+
type: 'uint256',
|
|
1091
|
+
indexed: false,
|
|
1092
|
+
},
|
|
1093
|
+
],
|
|
1094
|
+
anonymous: false,
|
|
1095
|
+
type: 'event',
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
name: 'ActionTimeLockSet',
|
|
1099
|
+
inputs: [
|
|
1100
|
+
{
|
|
1101
|
+
name: 'newTimeLock',
|
|
1102
|
+
type: 'uint256',
|
|
1103
|
+
indexed: false,
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
name: 'prevTimeLock',
|
|
1107
|
+
type: 'uint256',
|
|
1108
|
+
indexed: false,
|
|
1109
|
+
},
|
|
1110
|
+
],
|
|
1111
|
+
anonymous: false,
|
|
1112
|
+
type: 'event',
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
name: 'GovChangeStarted',
|
|
1116
|
+
inputs: [
|
|
1117
|
+
{
|
|
1118
|
+
name: 'prevGov',
|
|
1119
|
+
type: 'address',
|
|
1120
|
+
indexed: true,
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
name: 'newGov',
|
|
1124
|
+
type: 'address',
|
|
1125
|
+
indexed: true,
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
name: 'confirmBlock',
|
|
1129
|
+
type: 'uint256',
|
|
1130
|
+
indexed: false,
|
|
1131
|
+
},
|
|
1132
|
+
],
|
|
1133
|
+
anonymous: false,
|
|
1134
|
+
type: 'event',
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
name: 'GovChangeConfirmed',
|
|
1138
|
+
inputs: [
|
|
1139
|
+
{
|
|
1140
|
+
name: 'prevGov',
|
|
1141
|
+
type: 'address',
|
|
1142
|
+
indexed: true,
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
name: 'newGov',
|
|
1146
|
+
type: 'address',
|
|
1147
|
+
indexed: true,
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
name: 'initiatedBlock',
|
|
1151
|
+
type: 'uint256',
|
|
1152
|
+
indexed: false,
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
name: 'confirmBlock',
|
|
1156
|
+
type: 'uint256',
|
|
1157
|
+
indexed: false,
|
|
1158
|
+
},
|
|
1159
|
+
],
|
|
1160
|
+
anonymous: false,
|
|
1161
|
+
type: 'event',
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
name: 'GovChangeCancelled',
|
|
1165
|
+
inputs: [
|
|
1166
|
+
{
|
|
1167
|
+
name: 'cancelledGov',
|
|
1168
|
+
type: 'address',
|
|
1169
|
+
indexed: true,
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
name: 'initiatedBlock',
|
|
1173
|
+
type: 'uint256',
|
|
1174
|
+
indexed: false,
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
name: 'confirmBlock',
|
|
1178
|
+
type: 'uint256',
|
|
1179
|
+
indexed: false,
|
|
1180
|
+
},
|
|
1181
|
+
],
|
|
1182
|
+
anonymous: false,
|
|
1183
|
+
type: 'event',
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
name: 'GovRelinquished',
|
|
1187
|
+
inputs: [
|
|
1188
|
+
{
|
|
1189
|
+
name: 'prevGov',
|
|
1190
|
+
type: 'address',
|
|
1191
|
+
indexed: true,
|
|
1192
|
+
},
|
|
1193
|
+
],
|
|
1194
|
+
anonymous: false,
|
|
1195
|
+
type: 'event',
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
name: 'RipeHqSetupFinished',
|
|
1199
|
+
inputs: [
|
|
1200
|
+
{
|
|
1201
|
+
name: 'prevGov',
|
|
1202
|
+
type: 'address',
|
|
1203
|
+
indexed: true,
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
name: 'newGov',
|
|
1207
|
+
type: 'address',
|
|
1208
|
+
indexed: true,
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
name: 'timeLock',
|
|
1212
|
+
type: 'uint256',
|
|
1213
|
+
indexed: false,
|
|
1214
|
+
},
|
|
1215
|
+
],
|
|
1216
|
+
anonymous: false,
|
|
1217
|
+
type: 'event',
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
stateMutability: 'view',
|
|
1221
|
+
type: 'function',
|
|
1222
|
+
name: 'getRipeHqFromGov',
|
|
1223
|
+
inputs: [],
|
|
1224
|
+
outputs: [
|
|
1225
|
+
{
|
|
1226
|
+
name: '',
|
|
1227
|
+
type: 'address',
|
|
1228
|
+
},
|
|
1229
|
+
],
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
stateMutability: 'view',
|
|
1233
|
+
type: 'function',
|
|
1234
|
+
name: 'canGovern',
|
|
1235
|
+
inputs: [
|
|
1236
|
+
{
|
|
1237
|
+
name: '_addr',
|
|
1238
|
+
type: 'address',
|
|
1239
|
+
},
|
|
1240
|
+
],
|
|
1241
|
+
outputs: [
|
|
1242
|
+
{
|
|
1243
|
+
name: '',
|
|
1244
|
+
type: 'bool',
|
|
1245
|
+
},
|
|
1246
|
+
],
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
stateMutability: 'view',
|
|
1250
|
+
type: 'function',
|
|
1251
|
+
name: 'getGovernors',
|
|
1252
|
+
inputs: [],
|
|
1253
|
+
outputs: [
|
|
1254
|
+
{
|
|
1255
|
+
name: '',
|
|
1256
|
+
type: 'address[]',
|
|
1257
|
+
},
|
|
1258
|
+
],
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
stateMutability: 'view',
|
|
1262
|
+
type: 'function',
|
|
1263
|
+
name: 'hasPendingGovChange',
|
|
1264
|
+
inputs: [],
|
|
1265
|
+
outputs: [
|
|
1266
|
+
{
|
|
1267
|
+
name: '',
|
|
1268
|
+
type: 'bool',
|
|
1269
|
+
},
|
|
1270
|
+
],
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
stateMutability: 'nonpayable',
|
|
1274
|
+
type: 'function',
|
|
1275
|
+
name: 'startGovernanceChange',
|
|
1276
|
+
inputs: [
|
|
1277
|
+
{
|
|
1278
|
+
name: '_newGov',
|
|
1279
|
+
type: 'address',
|
|
1280
|
+
},
|
|
1281
|
+
],
|
|
1282
|
+
outputs: [],
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
stateMutability: 'nonpayable',
|
|
1286
|
+
type: 'function',
|
|
1287
|
+
name: 'confirmGovernanceChange',
|
|
1288
|
+
inputs: [],
|
|
1289
|
+
outputs: [],
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
stateMutability: 'nonpayable',
|
|
1293
|
+
type: 'function',
|
|
1294
|
+
name: 'cancelGovernanceChange',
|
|
1295
|
+
inputs: [],
|
|
1296
|
+
outputs: [],
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
stateMutability: 'nonpayable',
|
|
1300
|
+
type: 'function',
|
|
1301
|
+
name: 'relinquishGov',
|
|
1302
|
+
inputs: [],
|
|
1303
|
+
outputs: [],
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
stateMutability: 'nonpayable',
|
|
1307
|
+
type: 'function',
|
|
1308
|
+
name: 'setGovTimeLock',
|
|
1309
|
+
inputs: [
|
|
1310
|
+
{
|
|
1311
|
+
name: '_numBlocks',
|
|
1312
|
+
type: 'uint256',
|
|
1313
|
+
},
|
|
1314
|
+
],
|
|
1315
|
+
outputs: [
|
|
1316
|
+
{
|
|
1317
|
+
name: '',
|
|
1318
|
+
type: 'bool',
|
|
1319
|
+
},
|
|
1320
|
+
],
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
stateMutability: 'view',
|
|
1324
|
+
type: 'function',
|
|
1325
|
+
name: 'isValidGovTimeLock',
|
|
1326
|
+
inputs: [
|
|
1327
|
+
{
|
|
1328
|
+
name: '_newTimeLock',
|
|
1329
|
+
type: 'uint256',
|
|
1330
|
+
},
|
|
1331
|
+
],
|
|
1332
|
+
outputs: [
|
|
1333
|
+
{
|
|
1334
|
+
name: '',
|
|
1335
|
+
type: 'bool',
|
|
1336
|
+
},
|
|
1337
|
+
],
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
stateMutability: 'view',
|
|
1341
|
+
type: 'function',
|
|
1342
|
+
name: 'minGovChangeTimeLock',
|
|
1343
|
+
inputs: [],
|
|
1344
|
+
outputs: [
|
|
1345
|
+
{
|
|
1346
|
+
name: '',
|
|
1347
|
+
type: 'uint256',
|
|
1348
|
+
},
|
|
1349
|
+
],
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
stateMutability: 'view',
|
|
1353
|
+
type: 'function',
|
|
1354
|
+
name: 'maxGovChangeTimeLock',
|
|
1355
|
+
inputs: [],
|
|
1356
|
+
outputs: [
|
|
1357
|
+
{
|
|
1358
|
+
name: '',
|
|
1359
|
+
type: 'uint256',
|
|
1360
|
+
},
|
|
1361
|
+
],
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
stateMutability: 'nonpayable',
|
|
1365
|
+
type: 'function',
|
|
1366
|
+
name: 'finishRipeHqSetup',
|
|
1367
|
+
inputs: [
|
|
1368
|
+
{
|
|
1369
|
+
name: '_newGov',
|
|
1370
|
+
type: 'address',
|
|
1371
|
+
},
|
|
1372
|
+
],
|
|
1373
|
+
outputs: [
|
|
1374
|
+
{
|
|
1375
|
+
name: '',
|
|
1376
|
+
type: 'bool',
|
|
1377
|
+
},
|
|
1378
|
+
],
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
stateMutability: 'nonpayable',
|
|
1382
|
+
type: 'function',
|
|
1383
|
+
name: 'finishRipeHqSetup',
|
|
1384
|
+
inputs: [
|
|
1385
|
+
{
|
|
1386
|
+
name: '_newGov',
|
|
1387
|
+
type: 'address',
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
name: '_timeLock',
|
|
1391
|
+
type: 'uint256',
|
|
1392
|
+
},
|
|
1393
|
+
],
|
|
1394
|
+
outputs: [
|
|
1395
|
+
{
|
|
1396
|
+
name: '',
|
|
1397
|
+
type: 'bool',
|
|
1398
|
+
},
|
|
1399
|
+
],
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
stateMutability: 'view',
|
|
1403
|
+
type: 'function',
|
|
1404
|
+
name: 'governance',
|
|
1405
|
+
inputs: [],
|
|
1406
|
+
outputs: [
|
|
1407
|
+
{
|
|
1408
|
+
name: '',
|
|
1409
|
+
type: 'address',
|
|
1410
|
+
},
|
|
1411
|
+
],
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
stateMutability: 'view',
|
|
1415
|
+
type: 'function',
|
|
1416
|
+
name: 'pendingGov',
|
|
1417
|
+
inputs: [],
|
|
1418
|
+
outputs: [
|
|
1419
|
+
{
|
|
1420
|
+
name: '',
|
|
1421
|
+
type: 'tuple',
|
|
1422
|
+
components: [
|
|
1423
|
+
{
|
|
1424
|
+
name: 'newGov',
|
|
1425
|
+
type: 'address',
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
name: 'initiatedBlock',
|
|
1429
|
+
type: 'uint256',
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
name: 'confirmBlock',
|
|
1433
|
+
type: 'uint256',
|
|
1434
|
+
},
|
|
1435
|
+
],
|
|
1436
|
+
},
|
|
1437
|
+
],
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
stateMutability: 'view',
|
|
1441
|
+
type: 'function',
|
|
1442
|
+
name: 'numGovChanges',
|
|
1443
|
+
inputs: [],
|
|
1444
|
+
outputs: [
|
|
1445
|
+
{
|
|
1446
|
+
name: '',
|
|
1447
|
+
type: 'uint256',
|
|
1448
|
+
},
|
|
1449
|
+
],
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
stateMutability: 'view',
|
|
1453
|
+
type: 'function',
|
|
1454
|
+
name: 'govChangeTimeLock',
|
|
1455
|
+
inputs: [],
|
|
1456
|
+
outputs: [
|
|
1457
|
+
{
|
|
1458
|
+
name: '',
|
|
1459
|
+
type: 'uint256',
|
|
1460
|
+
},
|
|
1461
|
+
],
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
stateMutability: 'view',
|
|
1465
|
+
type: 'function',
|
|
1466
|
+
name: 'canConfirmAction',
|
|
1467
|
+
inputs: [
|
|
1468
|
+
{
|
|
1469
|
+
name: '_actionId',
|
|
1470
|
+
type: 'uint256',
|
|
1471
|
+
},
|
|
1472
|
+
],
|
|
1473
|
+
outputs: [
|
|
1474
|
+
{
|
|
1475
|
+
name: '',
|
|
1476
|
+
type: 'bool',
|
|
1477
|
+
},
|
|
1478
|
+
],
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
stateMutability: 'view',
|
|
1482
|
+
type: 'function',
|
|
1483
|
+
name: 'isExpired',
|
|
1484
|
+
inputs: [
|
|
1485
|
+
{
|
|
1486
|
+
name: '_actionId',
|
|
1487
|
+
type: 'uint256',
|
|
1488
|
+
},
|
|
1489
|
+
],
|
|
1490
|
+
outputs: [
|
|
1491
|
+
{
|
|
1492
|
+
name: '',
|
|
1493
|
+
type: 'bool',
|
|
1494
|
+
},
|
|
1495
|
+
],
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
stateMutability: 'view',
|
|
1499
|
+
type: 'function',
|
|
1500
|
+
name: 'hasPendingAction',
|
|
1501
|
+
inputs: [
|
|
1502
|
+
{
|
|
1503
|
+
name: '_actionId',
|
|
1504
|
+
type: 'uint256',
|
|
1505
|
+
},
|
|
1506
|
+
],
|
|
1507
|
+
outputs: [
|
|
1508
|
+
{
|
|
1509
|
+
name: '',
|
|
1510
|
+
type: 'bool',
|
|
1511
|
+
},
|
|
1512
|
+
],
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
stateMutability: 'view',
|
|
1516
|
+
type: 'function',
|
|
1517
|
+
name: 'getActionConfirmationBlock',
|
|
1518
|
+
inputs: [
|
|
1519
|
+
{
|
|
1520
|
+
name: '_actionId',
|
|
1521
|
+
type: 'uint256',
|
|
1522
|
+
},
|
|
1523
|
+
],
|
|
1524
|
+
outputs: [
|
|
1525
|
+
{
|
|
1526
|
+
name: '',
|
|
1527
|
+
type: 'uint256',
|
|
1528
|
+
},
|
|
1529
|
+
],
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
stateMutability: 'nonpayable',
|
|
1533
|
+
type: 'function',
|
|
1534
|
+
name: 'setActionTimeLock',
|
|
1535
|
+
inputs: [
|
|
1536
|
+
{
|
|
1537
|
+
name: '_newTimeLock',
|
|
1538
|
+
type: 'uint256',
|
|
1539
|
+
},
|
|
1540
|
+
],
|
|
1541
|
+
outputs: [
|
|
1542
|
+
{
|
|
1543
|
+
name: '',
|
|
1544
|
+
type: 'bool',
|
|
1545
|
+
},
|
|
1546
|
+
],
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
stateMutability: 'view',
|
|
1550
|
+
type: 'function',
|
|
1551
|
+
name: 'isValidActionTimeLock',
|
|
1552
|
+
inputs: [
|
|
1553
|
+
{
|
|
1554
|
+
name: '_newTimeLock',
|
|
1555
|
+
type: 'uint256',
|
|
1556
|
+
},
|
|
1557
|
+
],
|
|
1558
|
+
outputs: [
|
|
1559
|
+
{
|
|
1560
|
+
name: '',
|
|
1561
|
+
type: 'bool',
|
|
1562
|
+
},
|
|
1563
|
+
],
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
stateMutability: 'view',
|
|
1567
|
+
type: 'function',
|
|
1568
|
+
name: 'minActionTimeLock',
|
|
1569
|
+
inputs: [],
|
|
1570
|
+
outputs: [
|
|
1571
|
+
{
|
|
1572
|
+
name: '',
|
|
1573
|
+
type: 'uint256',
|
|
1574
|
+
},
|
|
1575
|
+
],
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
stateMutability: 'view',
|
|
1579
|
+
type: 'function',
|
|
1580
|
+
name: 'maxActionTimeLock',
|
|
1581
|
+
inputs: [],
|
|
1582
|
+
outputs: [
|
|
1583
|
+
{
|
|
1584
|
+
name: '',
|
|
1585
|
+
type: 'uint256',
|
|
1586
|
+
},
|
|
1587
|
+
],
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
stateMutability: 'nonpayable',
|
|
1591
|
+
type: 'function',
|
|
1592
|
+
name: 'setExpiration',
|
|
1593
|
+
inputs: [
|
|
1594
|
+
{
|
|
1595
|
+
name: '_expiration',
|
|
1596
|
+
type: 'uint256',
|
|
1597
|
+
},
|
|
1598
|
+
],
|
|
1599
|
+
outputs: [
|
|
1600
|
+
{
|
|
1601
|
+
name: '',
|
|
1602
|
+
type: 'bool',
|
|
1603
|
+
},
|
|
1604
|
+
],
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
stateMutability: 'nonpayable',
|
|
1608
|
+
type: 'function',
|
|
1609
|
+
name: 'setActionTimeLockAfterSetup',
|
|
1610
|
+
inputs: [],
|
|
1611
|
+
outputs: [
|
|
1612
|
+
{
|
|
1613
|
+
name: '',
|
|
1614
|
+
type: 'bool',
|
|
1615
|
+
},
|
|
1616
|
+
],
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
stateMutability: 'nonpayable',
|
|
1620
|
+
type: 'function',
|
|
1621
|
+
name: 'setActionTimeLockAfterSetup',
|
|
1622
|
+
inputs: [
|
|
1623
|
+
{
|
|
1624
|
+
name: '_newTimeLock',
|
|
1625
|
+
type: 'uint256',
|
|
1626
|
+
},
|
|
1627
|
+
],
|
|
1628
|
+
outputs: [
|
|
1629
|
+
{
|
|
1630
|
+
name: '',
|
|
1631
|
+
type: 'bool',
|
|
1632
|
+
},
|
|
1633
|
+
],
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
stateMutability: 'view',
|
|
1637
|
+
type: 'function',
|
|
1638
|
+
name: 'pendingActions',
|
|
1639
|
+
inputs: [
|
|
1640
|
+
{
|
|
1641
|
+
name: 'arg0',
|
|
1642
|
+
type: 'uint256',
|
|
1643
|
+
},
|
|
1644
|
+
],
|
|
1645
|
+
outputs: [
|
|
1646
|
+
{
|
|
1647
|
+
name: '',
|
|
1648
|
+
type: 'tuple',
|
|
1649
|
+
components: [
|
|
1650
|
+
{
|
|
1651
|
+
name: 'initiatedBlock',
|
|
1652
|
+
type: 'uint256',
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
name: 'confirmBlock',
|
|
1656
|
+
type: 'uint256',
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
name: 'expiration',
|
|
1660
|
+
type: 'uint256',
|
|
1661
|
+
},
|
|
1662
|
+
],
|
|
1663
|
+
},
|
|
1664
|
+
],
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
stateMutability: 'view',
|
|
1668
|
+
type: 'function',
|
|
1669
|
+
name: 'actionId',
|
|
1670
|
+
inputs: [],
|
|
1671
|
+
outputs: [
|
|
1672
|
+
{
|
|
1673
|
+
name: '',
|
|
1674
|
+
type: 'uint256',
|
|
1675
|
+
},
|
|
1676
|
+
],
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
stateMutability: 'view',
|
|
1680
|
+
type: 'function',
|
|
1681
|
+
name: 'actionTimeLock',
|
|
1682
|
+
inputs: [],
|
|
1683
|
+
outputs: [
|
|
1684
|
+
{
|
|
1685
|
+
name: '',
|
|
1686
|
+
type: 'uint256',
|
|
1687
|
+
},
|
|
1688
|
+
],
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
stateMutability: 'view',
|
|
1692
|
+
type: 'function',
|
|
1693
|
+
name: 'expiration',
|
|
1694
|
+
inputs: [],
|
|
1695
|
+
outputs: [
|
|
1696
|
+
{
|
|
1697
|
+
name: '',
|
|
1698
|
+
type: 'uint256',
|
|
1699
|
+
},
|
|
1700
|
+
],
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
stateMutability: 'nonpayable',
|
|
1704
|
+
type: 'function',
|
|
1705
|
+
name: 'pause',
|
|
1706
|
+
inputs: [
|
|
1707
|
+
{
|
|
1708
|
+
name: '_contractAddr',
|
|
1709
|
+
type: 'address',
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
name: '_shouldPause',
|
|
1713
|
+
type: 'bool',
|
|
1714
|
+
},
|
|
1715
|
+
],
|
|
1716
|
+
outputs: [
|
|
1717
|
+
{
|
|
1718
|
+
name: '',
|
|
1719
|
+
type: 'bool',
|
|
1720
|
+
},
|
|
1721
|
+
],
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
stateMutability: 'nonpayable',
|
|
1725
|
+
type: 'function',
|
|
1726
|
+
name: 'recoverFunds',
|
|
1727
|
+
inputs: [
|
|
1728
|
+
{
|
|
1729
|
+
name: '_contractAddr',
|
|
1730
|
+
type: 'address',
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
name: '_recipient',
|
|
1734
|
+
type: 'address',
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
name: '_asset',
|
|
1738
|
+
type: 'address',
|
|
1739
|
+
},
|
|
1740
|
+
],
|
|
1741
|
+
outputs: [
|
|
1742
|
+
{
|
|
1048
1743
|
name: '',
|
|
1049
1744
|
type: 'uint256',
|
|
1050
1745
|
},
|
|
1051
1746
|
],
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
stateMutability: '
|
|
1055
|
-
type: 'function',
|
|
1056
|
-
name: '
|
|
1057
|
-
inputs: [
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
stateMutability: 'nonpayable',
|
|
1750
|
+
type: 'function',
|
|
1751
|
+
name: 'recoverFundsMany',
|
|
1752
|
+
inputs: [
|
|
1753
|
+
{
|
|
1754
|
+
name: '_contractAddr',
|
|
1755
|
+
type: 'address',
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
name: '_recipient',
|
|
1759
|
+
type: 'address',
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
name: '_assets',
|
|
1763
|
+
type: 'address[]',
|
|
1764
|
+
},
|
|
1765
|
+
],
|
|
1766
|
+
outputs: [
|
|
1767
|
+
{
|
|
1768
|
+
name: '',
|
|
1769
|
+
type: 'uint256',
|
|
1770
|
+
},
|
|
1771
|
+
],
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
stateMutability: 'nonpayable',
|
|
1775
|
+
type: 'function',
|
|
1776
|
+
name: 'setBlacklist',
|
|
1777
|
+
inputs: [
|
|
1778
|
+
{
|
|
1779
|
+
name: '_tokenAddr',
|
|
1780
|
+
type: 'address',
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
name: '_addr',
|
|
1784
|
+
type: 'address',
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
name: '_shouldBlacklist',
|
|
1788
|
+
type: 'bool',
|
|
1789
|
+
},
|
|
1790
|
+
],
|
|
1791
|
+
outputs: [
|
|
1792
|
+
{
|
|
1793
|
+
name: '',
|
|
1794
|
+
type: 'bool',
|
|
1795
|
+
},
|
|
1796
|
+
],
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
stateMutability: 'nonpayable',
|
|
1800
|
+
type: 'function',
|
|
1801
|
+
name: 'setLockedAccount',
|
|
1802
|
+
inputs: [
|
|
1803
|
+
{
|
|
1804
|
+
name: '_wallet',
|
|
1805
|
+
type: 'address',
|
|
1806
|
+
},
|
|
1807
|
+
{
|
|
1808
|
+
name: '_shouldLock',
|
|
1809
|
+
type: 'bool',
|
|
1810
|
+
},
|
|
1811
|
+
],
|
|
1058
1812
|
outputs: [
|
|
1059
1813
|
{
|
|
1060
1814
|
name: '',
|
|
1061
|
-
type: '
|
|
1815
|
+
type: 'bool',
|
|
1062
1816
|
},
|
|
1063
1817
|
],
|
|
1064
1818
|
},
|
|
1065
1819
|
{
|
|
1066
1820
|
stateMutability: 'nonpayable',
|
|
1067
1821
|
type: 'function',
|
|
1068
|
-
name: '
|
|
1822
|
+
name: 'updateDebtForUser',
|
|
1069
1823
|
inputs: [
|
|
1070
1824
|
{
|
|
1071
|
-
name: '
|
|
1825
|
+
name: '_user',
|
|
1072
1826
|
type: 'address',
|
|
1073
1827
|
},
|
|
1074
1828
|
],
|
|
@@ -1082,15 +1836,11 @@ export const abi = [
|
|
|
1082
1836
|
{
|
|
1083
1837
|
stateMutability: 'nonpayable',
|
|
1084
1838
|
type: 'function',
|
|
1085
|
-
name: '
|
|
1839
|
+
name: 'updateDebtForManyUsers',
|
|
1086
1840
|
inputs: [
|
|
1087
1841
|
{
|
|
1088
|
-
name: '
|
|
1089
|
-
type: 'address',
|
|
1090
|
-
},
|
|
1091
|
-
{
|
|
1092
|
-
name: '_timeLock',
|
|
1093
|
-
type: 'uint256',
|
|
1842
|
+
name: '_users',
|
|
1843
|
+
type: 'address[]',
|
|
1094
1844
|
},
|
|
1095
1845
|
],
|
|
1096
1846
|
outputs: [
|
|
@@ -1101,48 +1851,40 @@ export const abi = [
|
|
|
1101
1851
|
],
|
|
1102
1852
|
},
|
|
1103
1853
|
{
|
|
1104
|
-
stateMutability: '
|
|
1854
|
+
stateMutability: 'nonpayable',
|
|
1105
1855
|
type: 'function',
|
|
1106
|
-
name: '
|
|
1107
|
-
inputs: [
|
|
1108
|
-
outputs: [
|
|
1856
|
+
name: 'claimLootForUser',
|
|
1857
|
+
inputs: [
|
|
1109
1858
|
{
|
|
1110
|
-
name: '',
|
|
1859
|
+
name: '_user',
|
|
1111
1860
|
type: 'address',
|
|
1112
1861
|
},
|
|
1862
|
+
{
|
|
1863
|
+
name: '_shouldStake',
|
|
1864
|
+
type: 'bool',
|
|
1865
|
+
},
|
|
1113
1866
|
],
|
|
1114
|
-
},
|
|
1115
|
-
{
|
|
1116
|
-
stateMutability: 'view',
|
|
1117
|
-
type: 'function',
|
|
1118
|
-
name: 'pendingGov',
|
|
1119
|
-
inputs: [],
|
|
1120
1867
|
outputs: [
|
|
1121
1868
|
{
|
|
1122
1869
|
name: '',
|
|
1123
|
-
type: '
|
|
1124
|
-
components: [
|
|
1125
|
-
{
|
|
1126
|
-
name: 'newGov',
|
|
1127
|
-
type: 'address',
|
|
1128
|
-
},
|
|
1129
|
-
{
|
|
1130
|
-
name: 'initiatedBlock',
|
|
1131
|
-
type: 'uint256',
|
|
1132
|
-
},
|
|
1133
|
-
{
|
|
1134
|
-
name: 'confirmBlock',
|
|
1135
|
-
type: 'uint256',
|
|
1136
|
-
},
|
|
1137
|
-
],
|
|
1870
|
+
type: 'uint256',
|
|
1138
1871
|
},
|
|
1139
1872
|
],
|
|
1140
1873
|
},
|
|
1141
1874
|
{
|
|
1142
|
-
stateMutability: '
|
|
1875
|
+
stateMutability: 'nonpayable',
|
|
1143
1876
|
type: 'function',
|
|
1144
|
-
name: '
|
|
1145
|
-
inputs: [
|
|
1877
|
+
name: 'claimLootForManyUsers',
|
|
1878
|
+
inputs: [
|
|
1879
|
+
{
|
|
1880
|
+
name: '_users',
|
|
1881
|
+
type: 'address[]',
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
name: '_shouldStake',
|
|
1885
|
+
type: 'bool',
|
|
1886
|
+
},
|
|
1887
|
+
],
|
|
1146
1888
|
outputs: [
|
|
1147
1889
|
{
|
|
1148
1890
|
name: '',
|
|
@@ -1151,27 +1893,22 @@ export const abi = [
|
|
|
1151
1893
|
],
|
|
1152
1894
|
},
|
|
1153
1895
|
{
|
|
1154
|
-
stateMutability: '
|
|
1896
|
+
stateMutability: 'nonpayable',
|
|
1155
1897
|
type: 'function',
|
|
1156
|
-
name: '
|
|
1898
|
+
name: 'updateRipeRewards',
|
|
1157
1899
|
inputs: [],
|
|
1158
1900
|
outputs: [
|
|
1159
1901
|
{
|
|
1160
1902
|
name: '',
|
|
1161
|
-
type: '
|
|
1903
|
+
type: 'bool',
|
|
1162
1904
|
},
|
|
1163
1905
|
],
|
|
1164
1906
|
},
|
|
1165
1907
|
{
|
|
1166
|
-
stateMutability: '
|
|
1908
|
+
stateMutability: 'nonpayable',
|
|
1167
1909
|
type: 'function',
|
|
1168
|
-
name: '
|
|
1169
|
-
inputs: [
|
|
1170
|
-
{
|
|
1171
|
-
name: '_actionId',
|
|
1172
|
-
type: 'uint256',
|
|
1173
|
-
},
|
|
1174
|
-
],
|
|
1910
|
+
name: 'distributeUnderscoreRewards',
|
|
1911
|
+
inputs: [],
|
|
1175
1912
|
outputs: [
|
|
1176
1913
|
{
|
|
1177
1914
|
name: '',
|
|
@@ -1180,13 +1917,13 @@ export const abi = [
|
|
|
1180
1917
|
],
|
|
1181
1918
|
},
|
|
1182
1919
|
{
|
|
1183
|
-
stateMutability: '
|
|
1920
|
+
stateMutability: 'nonpayable',
|
|
1184
1921
|
type: 'function',
|
|
1185
|
-
name: '
|
|
1922
|
+
name: 'setHasUnderscoreRewards',
|
|
1186
1923
|
inputs: [
|
|
1187
1924
|
{
|
|
1188
|
-
name: '
|
|
1189
|
-
type: '
|
|
1925
|
+
name: '_hasRewards',
|
|
1926
|
+
type: 'bool',
|
|
1190
1927
|
},
|
|
1191
1928
|
],
|
|
1192
1929
|
outputs: [
|
|
@@ -1197,29 +1934,29 @@ export const abi = [
|
|
|
1197
1934
|
],
|
|
1198
1935
|
},
|
|
1199
1936
|
{
|
|
1200
|
-
stateMutability: '
|
|
1937
|
+
stateMutability: 'nonpayable',
|
|
1201
1938
|
type: 'function',
|
|
1202
|
-
name: '
|
|
1939
|
+
name: 'setUnderscoreSendInterval',
|
|
1203
1940
|
inputs: [
|
|
1204
1941
|
{
|
|
1205
|
-
name: '
|
|
1942
|
+
name: '_interval',
|
|
1206
1943
|
type: 'uint256',
|
|
1207
1944
|
},
|
|
1208
1945
|
],
|
|
1209
1946
|
outputs: [
|
|
1210
1947
|
{
|
|
1211
1948
|
name: '',
|
|
1212
|
-
type: '
|
|
1949
|
+
type: 'uint256',
|
|
1213
1950
|
},
|
|
1214
1951
|
],
|
|
1215
1952
|
},
|
|
1216
1953
|
{
|
|
1217
|
-
stateMutability: '
|
|
1954
|
+
stateMutability: 'nonpayable',
|
|
1218
1955
|
type: 'function',
|
|
1219
|
-
name: '
|
|
1956
|
+
name: 'setUndyDepositRewardsAmount',
|
|
1220
1957
|
inputs: [
|
|
1221
1958
|
{
|
|
1222
|
-
name: '
|
|
1959
|
+
name: '_amount',
|
|
1223
1960
|
type: 'uint256',
|
|
1224
1961
|
},
|
|
1225
1962
|
],
|
|
@@ -1233,54 +1970,38 @@ export const abi = [
|
|
|
1233
1970
|
{
|
|
1234
1971
|
stateMutability: 'nonpayable',
|
|
1235
1972
|
type: 'function',
|
|
1236
|
-
name: '
|
|
1973
|
+
name: 'setUndyYieldBonusAmount',
|
|
1237
1974
|
inputs: [
|
|
1238
1975
|
{
|
|
1239
|
-
name: '
|
|
1976
|
+
name: '_amount',
|
|
1240
1977
|
type: 'uint256',
|
|
1241
1978
|
},
|
|
1242
1979
|
],
|
|
1243
1980
|
outputs: [
|
|
1244
1981
|
{
|
|
1245
1982
|
name: '',
|
|
1246
|
-
type: '
|
|
1983
|
+
type: 'uint256',
|
|
1247
1984
|
},
|
|
1248
1985
|
],
|
|
1249
1986
|
},
|
|
1250
1987
|
{
|
|
1251
|
-
stateMutability: '
|
|
1988
|
+
stateMutability: 'nonpayable',
|
|
1252
1989
|
type: 'function',
|
|
1253
|
-
name: '
|
|
1990
|
+
name: 'claimDepositLootForAsset',
|
|
1254
1991
|
inputs: [
|
|
1255
1992
|
{
|
|
1256
|
-
name: '
|
|
1257
|
-
type: '
|
|
1993
|
+
name: '_user',
|
|
1994
|
+
type: 'address',
|
|
1258
1995
|
},
|
|
1259
|
-
],
|
|
1260
|
-
outputs: [
|
|
1261
1996
|
{
|
|
1262
|
-
name: '',
|
|
1263
|
-
type: '
|
|
1997
|
+
name: '_vaultId',
|
|
1998
|
+
type: 'uint256',
|
|
1264
1999
|
},
|
|
1265
|
-
],
|
|
1266
|
-
},
|
|
1267
|
-
{
|
|
1268
|
-
stateMutability: 'view',
|
|
1269
|
-
type: 'function',
|
|
1270
|
-
name: 'minActionTimeLock',
|
|
1271
|
-
inputs: [],
|
|
1272
|
-
outputs: [
|
|
1273
2000
|
{
|
|
1274
|
-
name: '',
|
|
1275
|
-
type: '
|
|
2001
|
+
name: '_asset',
|
|
2002
|
+
type: 'address',
|
|
1276
2003
|
},
|
|
1277
2004
|
],
|
|
1278
|
-
},
|
|
1279
|
-
{
|
|
1280
|
-
stateMutability: 'view',
|
|
1281
|
-
type: 'function',
|
|
1282
|
-
name: 'maxActionTimeLock',
|
|
1283
|
-
inputs: [],
|
|
1284
2005
|
outputs: [
|
|
1285
2006
|
{
|
|
1286
2007
|
name: '',
|
|
@@ -1291,25 +2012,21 @@ export const abi = [
|
|
|
1291
2012
|
{
|
|
1292
2013
|
stateMutability: 'nonpayable',
|
|
1293
2014
|
type: 'function',
|
|
1294
|
-
name: '
|
|
2015
|
+
name: 'updateDepositPoints',
|
|
1295
2016
|
inputs: [
|
|
1296
2017
|
{
|
|
1297
|
-
name: '
|
|
2018
|
+
name: '_user',
|
|
2019
|
+
type: 'address',
|
|
2020
|
+
},
|
|
2021
|
+
{
|
|
2022
|
+
name: '_vaultId',
|
|
1298
2023
|
type: 'uint256',
|
|
1299
2024
|
},
|
|
1300
|
-
],
|
|
1301
|
-
outputs: [
|
|
1302
2025
|
{
|
|
1303
|
-
name: '',
|
|
1304
|
-
type: '
|
|
2026
|
+
name: '_asset',
|
|
2027
|
+
type: 'address',
|
|
1305
2028
|
},
|
|
1306
2029
|
],
|
|
1307
|
-
},
|
|
1308
|
-
{
|
|
1309
|
-
stateMutability: 'nonpayable',
|
|
1310
|
-
type: 'function',
|
|
1311
|
-
name: 'setActionTimeLockAfterSetup',
|
|
1312
|
-
inputs: [],
|
|
1313
2030
|
outputs: [
|
|
1314
2031
|
{
|
|
1315
2032
|
name: '',
|
|
@@ -1320,12 +2037,20 @@ export const abi = [
|
|
|
1320
2037
|
{
|
|
1321
2038
|
stateMutability: 'nonpayable',
|
|
1322
2039
|
type: 'function',
|
|
1323
|
-
name: '
|
|
2040
|
+
name: 'updateManyDepositPoints',
|
|
1324
2041
|
inputs: [
|
|
1325
2042
|
{
|
|
1326
|
-
name: '
|
|
2043
|
+
name: '_users',
|
|
2044
|
+
type: 'address[]',
|
|
2045
|
+
},
|
|
2046
|
+
{
|
|
2047
|
+
name: '_vaultId',
|
|
1327
2048
|
type: 'uint256',
|
|
1328
2049
|
},
|
|
2050
|
+
{
|
|
2051
|
+
name: '_asset',
|
|
2052
|
+
type: 'address',
|
|
2053
|
+
},
|
|
1329
2054
|
],
|
|
1330
2055
|
outputs: [
|
|
1331
2056
|
{
|
|
@@ -1335,65 +2060,23 @@ export const abi = [
|
|
|
1335
2060
|
],
|
|
1336
2061
|
},
|
|
1337
2062
|
{
|
|
1338
|
-
stateMutability: '
|
|
2063
|
+
stateMutability: 'nonpayable',
|
|
1339
2064
|
type: 'function',
|
|
1340
|
-
name: '
|
|
2065
|
+
name: 'startAuction',
|
|
1341
2066
|
inputs: [
|
|
1342
2067
|
{
|
|
1343
|
-
name: '
|
|
1344
|
-
type: '
|
|
1345
|
-
},
|
|
1346
|
-
],
|
|
1347
|
-
outputs: [
|
|
1348
|
-
{
|
|
1349
|
-
name: '',
|
|
1350
|
-
type: 'tuple',
|
|
1351
|
-
components: [
|
|
1352
|
-
{
|
|
1353
|
-
name: 'initiatedBlock',
|
|
1354
|
-
type: 'uint256',
|
|
1355
|
-
},
|
|
1356
|
-
{
|
|
1357
|
-
name: 'confirmBlock',
|
|
1358
|
-
type: 'uint256',
|
|
1359
|
-
},
|
|
1360
|
-
{
|
|
1361
|
-
name: 'expiration',
|
|
1362
|
-
type: 'uint256',
|
|
1363
|
-
},
|
|
1364
|
-
],
|
|
2068
|
+
name: '_liqUser',
|
|
2069
|
+
type: 'address',
|
|
1365
2070
|
},
|
|
1366
|
-
],
|
|
1367
|
-
},
|
|
1368
|
-
{
|
|
1369
|
-
stateMutability: 'view',
|
|
1370
|
-
type: 'function',
|
|
1371
|
-
name: 'actionId',
|
|
1372
|
-
inputs: [],
|
|
1373
|
-
outputs: [
|
|
1374
2071
|
{
|
|
1375
|
-
name: '',
|
|
2072
|
+
name: '_vaultId',
|
|
1376
2073
|
type: 'uint256',
|
|
1377
2074
|
},
|
|
1378
|
-
],
|
|
1379
|
-
},
|
|
1380
|
-
{
|
|
1381
|
-
stateMutability: 'view',
|
|
1382
|
-
type: 'function',
|
|
1383
|
-
name: 'actionTimeLock',
|
|
1384
|
-
inputs: [],
|
|
1385
|
-
outputs: [
|
|
1386
2075
|
{
|
|
1387
|
-
name: '',
|
|
1388
|
-
type: '
|
|
2076
|
+
name: '_asset',
|
|
2077
|
+
type: 'address',
|
|
1389
2078
|
},
|
|
1390
2079
|
],
|
|
1391
|
-
},
|
|
1392
|
-
{
|
|
1393
|
-
stateMutability: 'view',
|
|
1394
|
-
type: 'function',
|
|
1395
|
-
name: 'expiration',
|
|
1396
|
-
inputs: [],
|
|
1397
2080
|
outputs: [
|
|
1398
2081
|
{
|
|
1399
2082
|
name: '',
|
|
@@ -1404,36 +2087,46 @@ export const abi = [
|
|
|
1404
2087
|
{
|
|
1405
2088
|
stateMutability: 'nonpayable',
|
|
1406
2089
|
type: 'function',
|
|
1407
|
-
name: '
|
|
2090
|
+
name: 'startManyAuctions',
|
|
1408
2091
|
inputs: [
|
|
1409
2092
|
{
|
|
1410
|
-
name: '
|
|
1411
|
-
type: '
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
2093
|
+
name: '_auctions',
|
|
2094
|
+
type: 'tuple[]',
|
|
2095
|
+
components: [
|
|
2096
|
+
{
|
|
2097
|
+
name: 'liqUser',
|
|
2098
|
+
type: 'address',
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
name: 'vaultId',
|
|
2102
|
+
type: 'uint256',
|
|
2103
|
+
},
|
|
2104
|
+
{
|
|
2105
|
+
name: 'asset',
|
|
2106
|
+
type: 'address',
|
|
2107
|
+
},
|
|
2108
|
+
],
|
|
1416
2109
|
},
|
|
1417
2110
|
],
|
|
1418
2111
|
outputs: [
|
|
1419
2112
|
{
|
|
1420
2113
|
name: '',
|
|
1421
|
-
type: '
|
|
2114
|
+
type: 'uint256',
|
|
1422
2115
|
},
|
|
1423
2116
|
],
|
|
1424
2117
|
},
|
|
1425
2118
|
{
|
|
1426
2119
|
stateMutability: 'nonpayable',
|
|
1427
2120
|
type: 'function',
|
|
1428
|
-
name: '
|
|
2121
|
+
name: 'pauseAuction',
|
|
1429
2122
|
inputs: [
|
|
1430
2123
|
{
|
|
1431
|
-
name: '
|
|
2124
|
+
name: '_liqUser',
|
|
1432
2125
|
type: 'address',
|
|
1433
2126
|
},
|
|
1434
2127
|
{
|
|
1435
|
-
name: '
|
|
1436
|
-
type: '
|
|
2128
|
+
name: '_vaultId',
|
|
2129
|
+
type: 'uint256',
|
|
1437
2130
|
},
|
|
1438
2131
|
{
|
|
1439
2132
|
name: '_asset',
|
|
@@ -1450,19 +2143,25 @@ export const abi = [
|
|
|
1450
2143
|
{
|
|
1451
2144
|
stateMutability: 'nonpayable',
|
|
1452
2145
|
type: 'function',
|
|
1453
|
-
name: '
|
|
2146
|
+
name: 'pauseManyAuctions',
|
|
1454
2147
|
inputs: [
|
|
1455
2148
|
{
|
|
1456
|
-
name: '
|
|
1457
|
-
type: '
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
2149
|
+
name: '_auctions',
|
|
2150
|
+
type: 'tuple[]',
|
|
2151
|
+
components: [
|
|
2152
|
+
{
|
|
2153
|
+
name: 'liqUser',
|
|
2154
|
+
type: 'address',
|
|
2155
|
+
},
|
|
2156
|
+
{
|
|
2157
|
+
name: 'vaultId',
|
|
2158
|
+
type: 'uint256',
|
|
2159
|
+
},
|
|
2160
|
+
{
|
|
2161
|
+
name: 'asset',
|
|
2162
|
+
type: 'address',
|
|
2163
|
+
},
|
|
2164
|
+
],
|
|
1466
2165
|
},
|
|
1467
2166
|
],
|
|
1468
2167
|
outputs: [
|
|
@@ -1475,95 +2174,96 @@ export const abi = [
|
|
|
1475
2174
|
{
|
|
1476
2175
|
stateMutability: 'nonpayable',
|
|
1477
2176
|
type: 'function',
|
|
1478
|
-
name: '
|
|
2177
|
+
name: 'setTrainingWheels',
|
|
1479
2178
|
inputs: [
|
|
1480
2179
|
{
|
|
1481
|
-
name: '
|
|
1482
|
-
type: 'address',
|
|
1483
|
-
},
|
|
1484
|
-
{
|
|
1485
|
-
name: '_addr',
|
|
2180
|
+
name: '_trainingWheels',
|
|
1486
2181
|
type: 'address',
|
|
1487
2182
|
},
|
|
1488
|
-
{
|
|
1489
|
-
name: '_shouldBlacklist',
|
|
1490
|
-
type: 'bool',
|
|
1491
|
-
},
|
|
1492
2183
|
],
|
|
1493
2184
|
outputs: [
|
|
1494
2185
|
{
|
|
1495
2186
|
name: '',
|
|
1496
|
-
type: '
|
|
2187
|
+
type: 'uint256',
|
|
1497
2188
|
},
|
|
1498
2189
|
],
|
|
1499
2190
|
},
|
|
1500
2191
|
{
|
|
1501
2192
|
stateMutability: 'nonpayable',
|
|
1502
2193
|
type: 'function',
|
|
1503
|
-
name: '
|
|
2194
|
+
name: 'setTrainingWheels',
|
|
1504
2195
|
inputs: [
|
|
1505
2196
|
{
|
|
1506
|
-
name: '
|
|
2197
|
+
name: '_trainingWheels',
|
|
1507
2198
|
type: 'address',
|
|
1508
2199
|
},
|
|
1509
2200
|
{
|
|
1510
|
-
name: '
|
|
1511
|
-
type: '
|
|
2201
|
+
name: '_missionControl',
|
|
2202
|
+
type: 'address',
|
|
1512
2203
|
},
|
|
1513
2204
|
],
|
|
1514
2205
|
outputs: [
|
|
1515
2206
|
{
|
|
1516
2207
|
name: '',
|
|
1517
|
-
type: '
|
|
2208
|
+
type: 'uint256',
|
|
1518
2209
|
},
|
|
1519
2210
|
],
|
|
1520
2211
|
},
|
|
1521
2212
|
{
|
|
1522
2213
|
stateMutability: 'nonpayable',
|
|
1523
2214
|
type: 'function',
|
|
1524
|
-
name: '
|
|
2215
|
+
name: 'setManyTrainingWheelsAccess',
|
|
1525
2216
|
inputs: [
|
|
1526
2217
|
{
|
|
1527
|
-
name: '
|
|
2218
|
+
name: '_addr',
|
|
1528
2219
|
type: 'address',
|
|
1529
2220
|
},
|
|
1530
|
-
],
|
|
1531
|
-
outputs: [
|
|
1532
2221
|
{
|
|
1533
|
-
name: '',
|
|
1534
|
-
type: '
|
|
2222
|
+
name: '_trainingWheels',
|
|
2223
|
+
type: 'tuple[]',
|
|
2224
|
+
components: [
|
|
2225
|
+
{
|
|
2226
|
+
name: 'user',
|
|
2227
|
+
type: 'address',
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
name: 'isAllowed',
|
|
2231
|
+
type: 'bool',
|
|
2232
|
+
},
|
|
2233
|
+
],
|
|
1535
2234
|
},
|
|
1536
2235
|
],
|
|
2236
|
+
outputs: [],
|
|
1537
2237
|
},
|
|
1538
2238
|
{
|
|
1539
2239
|
stateMutability: 'nonpayable',
|
|
1540
2240
|
type: 'function',
|
|
1541
|
-
name: '
|
|
2241
|
+
name: 'deregisterAsset',
|
|
1542
2242
|
inputs: [
|
|
1543
2243
|
{
|
|
1544
|
-
name: '
|
|
1545
|
-
type: 'address
|
|
2244
|
+
name: '_asset',
|
|
2245
|
+
type: 'address',
|
|
1546
2246
|
},
|
|
1547
2247
|
],
|
|
1548
2248
|
outputs: [
|
|
1549
2249
|
{
|
|
1550
2250
|
name: '',
|
|
1551
|
-
type: '
|
|
2251
|
+
type: 'uint256',
|
|
1552
2252
|
},
|
|
1553
2253
|
],
|
|
1554
2254
|
},
|
|
1555
2255
|
{
|
|
1556
2256
|
stateMutability: 'nonpayable',
|
|
1557
2257
|
type: 'function',
|
|
1558
|
-
name: '
|
|
2258
|
+
name: 'deregisterAsset',
|
|
1559
2259
|
inputs: [
|
|
1560
2260
|
{
|
|
1561
|
-
name: '
|
|
2261
|
+
name: '_asset',
|
|
1562
2262
|
type: 'address',
|
|
1563
2263
|
},
|
|
1564
2264
|
{
|
|
1565
|
-
name: '
|
|
1566
|
-
type: '
|
|
2265
|
+
name: '_missionControl',
|
|
2266
|
+
type: 'address',
|
|
1567
2267
|
},
|
|
1568
2268
|
],
|
|
1569
2269
|
outputs: [
|
|
@@ -1576,15 +2276,15 @@ export const abi = [
|
|
|
1576
2276
|
{
|
|
1577
2277
|
stateMutability: 'nonpayable',
|
|
1578
2278
|
type: 'function',
|
|
1579
|
-
name: '
|
|
2279
|
+
name: 'deregisterVaultAsset',
|
|
1580
2280
|
inputs: [
|
|
1581
2281
|
{
|
|
1582
|
-
name: '
|
|
1583
|
-
type: 'address
|
|
2282
|
+
name: '_vaultAddr',
|
|
2283
|
+
type: 'address',
|
|
1584
2284
|
},
|
|
1585
2285
|
{
|
|
1586
|
-
name: '
|
|
1587
|
-
type: '
|
|
2286
|
+
name: '_asset',
|
|
2287
|
+
type: 'address',
|
|
1588
2288
|
},
|
|
1589
2289
|
],
|
|
1590
2290
|
outputs: [
|
|
@@ -1597,52 +2297,158 @@ export const abi = [
|
|
|
1597
2297
|
{
|
|
1598
2298
|
stateMutability: 'nonpayable',
|
|
1599
2299
|
type: 'function',
|
|
1600
|
-
name: '
|
|
1601
|
-
inputs: [
|
|
2300
|
+
name: 'setUserConfig',
|
|
2301
|
+
inputs: [
|
|
2302
|
+
{
|
|
2303
|
+
name: '_user',
|
|
2304
|
+
type: 'address',
|
|
2305
|
+
},
|
|
2306
|
+
{
|
|
2307
|
+
name: '_config',
|
|
2308
|
+
type: 'tuple',
|
|
2309
|
+
components: [
|
|
2310
|
+
{
|
|
2311
|
+
name: 'canAnyoneDeposit',
|
|
2312
|
+
type: 'bool',
|
|
2313
|
+
},
|
|
2314
|
+
{
|
|
2315
|
+
name: 'canAnyoneRepayDebt',
|
|
2316
|
+
type: 'bool',
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
name: 'canAnyoneBondForUser',
|
|
2320
|
+
type: 'bool',
|
|
2321
|
+
},
|
|
2322
|
+
],
|
|
2323
|
+
},
|
|
2324
|
+
],
|
|
1602
2325
|
outputs: [
|
|
1603
2326
|
{
|
|
1604
2327
|
name: '',
|
|
1605
|
-
type: '
|
|
2328
|
+
type: 'uint256',
|
|
1606
2329
|
},
|
|
1607
2330
|
],
|
|
1608
2331
|
},
|
|
1609
2332
|
{
|
|
1610
2333
|
stateMutability: 'nonpayable',
|
|
1611
2334
|
type: 'function',
|
|
1612
|
-
name: '
|
|
1613
|
-
inputs: [
|
|
2335
|
+
name: 'setUserConfig',
|
|
2336
|
+
inputs: [
|
|
2337
|
+
{
|
|
2338
|
+
name: '_user',
|
|
2339
|
+
type: 'address',
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
name: '_config',
|
|
2343
|
+
type: 'tuple',
|
|
2344
|
+
components: [
|
|
2345
|
+
{
|
|
2346
|
+
name: 'canAnyoneDeposit',
|
|
2347
|
+
type: 'bool',
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
name: 'canAnyoneRepayDebt',
|
|
2351
|
+
type: 'bool',
|
|
2352
|
+
},
|
|
2353
|
+
{
|
|
2354
|
+
name: 'canAnyoneBondForUser',
|
|
2355
|
+
type: 'bool',
|
|
2356
|
+
},
|
|
2357
|
+
],
|
|
2358
|
+
},
|
|
2359
|
+
{
|
|
2360
|
+
name: '_missionControl',
|
|
2361
|
+
type: 'address',
|
|
2362
|
+
},
|
|
2363
|
+
],
|
|
1614
2364
|
outputs: [
|
|
1615
2365
|
{
|
|
1616
2366
|
name: '',
|
|
1617
|
-
type: '
|
|
2367
|
+
type: 'uint256',
|
|
1618
2368
|
},
|
|
1619
2369
|
],
|
|
1620
2370
|
},
|
|
1621
2371
|
{
|
|
1622
2372
|
stateMutability: 'nonpayable',
|
|
1623
2373
|
type: 'function',
|
|
1624
|
-
name: '
|
|
2374
|
+
name: 'setUserDelegation',
|
|
1625
2375
|
inputs: [
|
|
1626
2376
|
{
|
|
1627
|
-
name: '
|
|
1628
|
-
type: '
|
|
2377
|
+
name: '_user',
|
|
2378
|
+
type: 'address',
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
name: '_delegate',
|
|
2382
|
+
type: 'address',
|
|
2383
|
+
},
|
|
2384
|
+
{
|
|
2385
|
+
name: '_config',
|
|
2386
|
+
type: 'tuple',
|
|
2387
|
+
components: [
|
|
2388
|
+
{
|
|
2389
|
+
name: 'canWithdraw',
|
|
2390
|
+
type: 'bool',
|
|
2391
|
+
},
|
|
2392
|
+
{
|
|
2393
|
+
name: 'canBorrow',
|
|
2394
|
+
type: 'bool',
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
name: 'canClaimFromStabPool',
|
|
2398
|
+
type: 'bool',
|
|
2399
|
+
},
|
|
2400
|
+
{
|
|
2401
|
+
name: 'canClaimLoot',
|
|
2402
|
+
type: 'bool',
|
|
2403
|
+
},
|
|
2404
|
+
],
|
|
1629
2405
|
},
|
|
1630
2406
|
],
|
|
1631
2407
|
outputs: [
|
|
1632
2408
|
{
|
|
1633
2409
|
name: '',
|
|
1634
|
-
type: '
|
|
2410
|
+
type: 'uint256',
|
|
1635
2411
|
},
|
|
1636
2412
|
],
|
|
1637
2413
|
},
|
|
1638
2414
|
{
|
|
1639
2415
|
stateMutability: 'nonpayable',
|
|
1640
2416
|
type: 'function',
|
|
1641
|
-
name: '
|
|
2417
|
+
name: 'setUserDelegation',
|
|
1642
2418
|
inputs: [
|
|
1643
2419
|
{
|
|
1644
|
-
name: '
|
|
1645
|
-
type: '
|
|
2420
|
+
name: '_user',
|
|
2421
|
+
type: 'address',
|
|
2422
|
+
},
|
|
2423
|
+
{
|
|
2424
|
+
name: '_delegate',
|
|
2425
|
+
type: 'address',
|
|
2426
|
+
},
|
|
2427
|
+
{
|
|
2428
|
+
name: '_config',
|
|
2429
|
+
type: 'tuple',
|
|
2430
|
+
components: [
|
|
2431
|
+
{
|
|
2432
|
+
name: 'canWithdraw',
|
|
2433
|
+
type: 'bool',
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
name: 'canBorrow',
|
|
2437
|
+
type: 'bool',
|
|
2438
|
+
},
|
|
2439
|
+
{
|
|
2440
|
+
name: 'canClaimFromStabPool',
|
|
2441
|
+
type: 'bool',
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
name: 'canClaimLoot',
|
|
2445
|
+
type: 'bool',
|
|
2446
|
+
},
|
|
2447
|
+
],
|
|
2448
|
+
},
|
|
2449
|
+
{
|
|
2450
|
+
name: '_missionControl',
|
|
2451
|
+
type: 'address',
|
|
1646
2452
|
},
|
|
1647
2453
|
],
|
|
1648
2454
|
outputs: [
|
|
@@ -1655,77 +2461,73 @@ export const abi = [
|
|
|
1655
2461
|
{
|
|
1656
2462
|
stateMutability: 'nonpayable',
|
|
1657
2463
|
type: 'function',
|
|
1658
|
-
name: '
|
|
2464
|
+
name: 'executePendingAction',
|
|
1659
2465
|
inputs: [
|
|
1660
2466
|
{
|
|
1661
|
-
name: '
|
|
2467
|
+
name: '_aid',
|
|
1662
2468
|
type: 'uint256',
|
|
1663
2469
|
},
|
|
1664
2470
|
],
|
|
1665
2471
|
outputs: [
|
|
1666
2472
|
{
|
|
1667
2473
|
name: '',
|
|
1668
|
-
type: '
|
|
2474
|
+
type: 'bool',
|
|
1669
2475
|
},
|
|
1670
2476
|
],
|
|
1671
2477
|
},
|
|
1672
2478
|
{
|
|
1673
2479
|
stateMutability: 'nonpayable',
|
|
1674
2480
|
type: 'function',
|
|
1675
|
-
name: '
|
|
2481
|
+
name: 'cancelPendingAction',
|
|
1676
2482
|
inputs: [
|
|
1677
2483
|
{
|
|
1678
|
-
name: '
|
|
2484
|
+
name: '_aid',
|
|
1679
2485
|
type: 'uint256',
|
|
1680
2486
|
},
|
|
1681
2487
|
],
|
|
1682
2488
|
outputs: [
|
|
1683
2489
|
{
|
|
1684
2490
|
name: '',
|
|
1685
|
-
type: '
|
|
2491
|
+
type: 'bool',
|
|
1686
2492
|
},
|
|
1687
2493
|
],
|
|
1688
2494
|
},
|
|
1689
2495
|
{
|
|
1690
2496
|
stateMutability: 'nonpayable',
|
|
1691
2497
|
type: 'function',
|
|
1692
|
-
name: '
|
|
2498
|
+
name: 'setCanDepositAsset',
|
|
1693
2499
|
inputs: [
|
|
1694
2500
|
{
|
|
1695
|
-
name: '
|
|
2501
|
+
name: '_asset',
|
|
1696
2502
|
type: 'address',
|
|
1697
2503
|
},
|
|
1698
2504
|
{
|
|
1699
|
-
name: '
|
|
1700
|
-
type: '
|
|
1701
|
-
},
|
|
1702
|
-
{
|
|
1703
|
-
name: '_asset',
|
|
1704
|
-
type: 'address',
|
|
2505
|
+
name: '_shouldEnable',
|
|
2506
|
+
type: 'bool',
|
|
1705
2507
|
},
|
|
1706
2508
|
],
|
|
1707
2509
|
outputs: [
|
|
1708
2510
|
{
|
|
1709
2511
|
name: '',
|
|
1710
|
-
type: '
|
|
2512
|
+
type: 'bool',
|
|
1711
2513
|
},
|
|
1712
2514
|
],
|
|
1713
2515
|
},
|
|
1714
2516
|
{
|
|
1715
2517
|
stateMutability: 'nonpayable',
|
|
1716
2518
|
type: 'function',
|
|
1717
|
-
name: '
|
|
2519
|
+
name: 'setCanDepositAsset',
|
|
1718
2520
|
inputs: [
|
|
1719
2521
|
{
|
|
1720
|
-
name: '
|
|
2522
|
+
name: '_asset',
|
|
1721
2523
|
type: 'address',
|
|
1722
2524
|
},
|
|
1723
2525
|
{
|
|
1724
|
-
name: '
|
|
1725
|
-
type: '
|
|
2526
|
+
name: '_shouldEnable',
|
|
2527
|
+
type: 'bool',
|
|
1726
2528
|
},
|
|
1727
2529
|
{
|
|
1728
|
-
name: '
|
|
2530
|
+
name: '_missionControl',
|
|
1729
2531
|
type: 'address',
|
|
1730
2532
|
},
|
|
1731
2533
|
],
|
|
@@ -1739,20 +2541,16 @@ export const abi = [
|
|
|
1739
2541
|
{
|
|
1740
2542
|
stateMutability: 'nonpayable',
|
|
1741
2543
|
type: 'function',
|
|
1742
|
-
name: '
|
|
2544
|
+
name: 'setCanWithdrawAsset',
|
|
1743
2545
|
inputs: [
|
|
1744
|
-
{
|
|
1745
|
-
name: '_users',
|
|
1746
|
-
type: 'address[]',
|
|
1747
|
-
},
|
|
1748
|
-
{
|
|
1749
|
-
name: '_vaultId',
|
|
1750
|
-
type: 'uint256',
|
|
1751
|
-
},
|
|
1752
2546
|
{
|
|
1753
2547
|
name: '_asset',
|
|
1754
2548
|
type: 'address',
|
|
1755
2549
|
},
|
|
2550
|
+
{
|
|
2551
|
+
name: '_shouldEnable',
|
|
2552
|
+
type: 'bool',
|
|
2553
|
+
},
|
|
1756
2554
|
],
|
|
1757
2555
|
outputs: [
|
|
1758
2556
|
{
|
|
@@ -1764,166 +2562,157 @@ export const abi = [
|
|
|
1764
2562
|
{
|
|
1765
2563
|
stateMutability: 'nonpayable',
|
|
1766
2564
|
type: 'function',
|
|
1767
|
-
name: '
|
|
2565
|
+
name: 'setCanWithdrawAsset',
|
|
1768
2566
|
inputs: [
|
|
1769
2567
|
{
|
|
1770
|
-
name: '
|
|
2568
|
+
name: '_asset',
|
|
1771
2569
|
type: 'address',
|
|
1772
2570
|
},
|
|
1773
2571
|
{
|
|
1774
|
-
name: '
|
|
1775
|
-
type: '
|
|
2572
|
+
name: '_shouldEnable',
|
|
2573
|
+
type: 'bool',
|
|
1776
2574
|
},
|
|
1777
2575
|
{
|
|
1778
|
-
name: '
|
|
2576
|
+
name: '_missionControl',
|
|
1779
2577
|
type: 'address',
|
|
1780
2578
|
},
|
|
1781
2579
|
],
|
|
1782
2580
|
outputs: [
|
|
1783
2581
|
{
|
|
1784
2582
|
name: '',
|
|
1785
|
-
type: '
|
|
2583
|
+
type: 'bool',
|
|
1786
2584
|
},
|
|
1787
2585
|
],
|
|
1788
2586
|
},
|
|
1789
2587
|
{
|
|
1790
2588
|
stateMutability: 'nonpayable',
|
|
1791
2589
|
type: 'function',
|
|
1792
|
-
name: '
|
|
2590
|
+
name: 'setCanRedeemInStabPoolAsset',
|
|
1793
2591
|
inputs: [
|
|
1794
2592
|
{
|
|
1795
|
-
name: '
|
|
1796
|
-
type: '
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
},
|
|
1802
|
-
{
|
|
1803
|
-
name: 'vaultId',
|
|
1804
|
-
type: 'uint256',
|
|
1805
|
-
},
|
|
1806
|
-
{
|
|
1807
|
-
name: 'asset',
|
|
1808
|
-
type: 'address',
|
|
1809
|
-
},
|
|
1810
|
-
],
|
|
2593
|
+
name: '_asset',
|
|
2594
|
+
type: 'address',
|
|
2595
|
+
},
|
|
2596
|
+
{
|
|
2597
|
+
name: '_shouldEnable',
|
|
2598
|
+
type: 'bool',
|
|
1811
2599
|
},
|
|
1812
2600
|
],
|
|
1813
2601
|
outputs: [
|
|
1814
2602
|
{
|
|
1815
2603
|
name: '',
|
|
1816
|
-
type: '
|
|
2604
|
+
type: 'bool',
|
|
1817
2605
|
},
|
|
1818
2606
|
],
|
|
1819
2607
|
},
|
|
1820
2608
|
{
|
|
1821
2609
|
stateMutability: 'nonpayable',
|
|
1822
2610
|
type: 'function',
|
|
1823
|
-
name: '
|
|
2611
|
+
name: 'setCanRedeemInStabPoolAsset',
|
|
1824
2612
|
inputs: [
|
|
1825
2613
|
{
|
|
1826
|
-
name: '
|
|
2614
|
+
name: '_asset',
|
|
1827
2615
|
type: 'address',
|
|
1828
2616
|
},
|
|
1829
2617
|
{
|
|
1830
|
-
name: '
|
|
1831
|
-
type: '
|
|
2618
|
+
name: '_shouldEnable',
|
|
2619
|
+
type: 'bool',
|
|
1832
2620
|
},
|
|
1833
2621
|
{
|
|
1834
|
-
name: '
|
|
2622
|
+
name: '_missionControl',
|
|
1835
2623
|
type: 'address',
|
|
1836
2624
|
},
|
|
1837
2625
|
],
|
|
1838
2626
|
outputs: [
|
|
1839
2627
|
{
|
|
1840
2628
|
name: '',
|
|
1841
|
-
type: '
|
|
2629
|
+
type: 'bool',
|
|
1842
2630
|
},
|
|
1843
2631
|
],
|
|
1844
2632
|
},
|
|
1845
2633
|
{
|
|
1846
2634
|
stateMutability: 'nonpayable',
|
|
1847
2635
|
type: 'function',
|
|
1848
|
-
name: '
|
|
2636
|
+
name: 'setCanBuyInAuctionAsset',
|
|
1849
2637
|
inputs: [
|
|
1850
2638
|
{
|
|
1851
|
-
name: '
|
|
1852
|
-
type: '
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
},
|
|
1858
|
-
{
|
|
1859
|
-
name: 'vaultId',
|
|
1860
|
-
type: 'uint256',
|
|
1861
|
-
},
|
|
1862
|
-
{
|
|
1863
|
-
name: 'asset',
|
|
1864
|
-
type: 'address',
|
|
1865
|
-
},
|
|
1866
|
-
],
|
|
2639
|
+
name: '_asset',
|
|
2640
|
+
type: 'address',
|
|
2641
|
+
},
|
|
2642
|
+
{
|
|
2643
|
+
name: '_shouldEnable',
|
|
2644
|
+
type: 'bool',
|
|
1867
2645
|
},
|
|
1868
2646
|
],
|
|
1869
2647
|
outputs: [
|
|
1870
2648
|
{
|
|
1871
2649
|
name: '',
|
|
1872
|
-
type: '
|
|
2650
|
+
type: 'bool',
|
|
1873
2651
|
},
|
|
1874
2652
|
],
|
|
1875
2653
|
},
|
|
1876
2654
|
{
|
|
1877
2655
|
stateMutability: 'nonpayable',
|
|
1878
2656
|
type: 'function',
|
|
1879
|
-
name: '
|
|
2657
|
+
name: 'setCanBuyInAuctionAsset',
|
|
1880
2658
|
inputs: [
|
|
1881
2659
|
{
|
|
1882
|
-
name: '
|
|
2660
|
+
name: '_asset',
|
|
2661
|
+
type: 'address',
|
|
2662
|
+
},
|
|
2663
|
+
{
|
|
2664
|
+
name: '_shouldEnable',
|
|
2665
|
+
type: 'bool',
|
|
2666
|
+
},
|
|
2667
|
+
{
|
|
2668
|
+
name: '_missionControl',
|
|
1883
2669
|
type: 'address',
|
|
1884
2670
|
},
|
|
1885
2671
|
],
|
|
1886
2672
|
outputs: [
|
|
1887
2673
|
{
|
|
1888
2674
|
name: '',
|
|
1889
|
-
type: '
|
|
2675
|
+
type: 'bool',
|
|
1890
2676
|
},
|
|
1891
2677
|
],
|
|
1892
2678
|
},
|
|
1893
2679
|
{
|
|
1894
2680
|
stateMutability: 'nonpayable',
|
|
1895
2681
|
type: 'function',
|
|
1896
|
-
name: '
|
|
2682
|
+
name: 'setCanClaimInStabPoolAsset',
|
|
1897
2683
|
inputs: [
|
|
1898
2684
|
{
|
|
1899
|
-
name: '
|
|
2685
|
+
name: '_asset',
|
|
1900
2686
|
type: 'address',
|
|
1901
2687
|
},
|
|
1902
2688
|
{
|
|
1903
|
-
name: '
|
|
1904
|
-
type: '
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
name: 'isAllowed',
|
|
1912
|
-
type: 'bool',
|
|
1913
|
-
},
|
|
1914
|
-
],
|
|
2689
|
+
name: '_shouldEnable',
|
|
2690
|
+
type: 'bool',
|
|
2691
|
+
},
|
|
2692
|
+
],
|
|
2693
|
+
outputs: [
|
|
2694
|
+
{
|
|
2695
|
+
name: '',
|
|
2696
|
+
type: 'bool',
|
|
1915
2697
|
},
|
|
1916
2698
|
],
|
|
1917
|
-
outputs: [],
|
|
1918
2699
|
},
|
|
1919
2700
|
{
|
|
1920
2701
|
stateMutability: 'nonpayable',
|
|
1921
2702
|
type: 'function',
|
|
1922
|
-
name: '
|
|
2703
|
+
name: 'setCanClaimInStabPoolAsset',
|
|
1923
2704
|
inputs: [
|
|
1924
2705
|
{
|
|
1925
|
-
name: '
|
|
1926
|
-
type: '
|
|
2706
|
+
name: '_asset',
|
|
2707
|
+
type: 'address',
|
|
2708
|
+
},
|
|
2709
|
+
{
|
|
2710
|
+
name: '_shouldEnable',
|
|
2711
|
+
type: 'bool',
|
|
2712
|
+
},
|
|
2713
|
+
{
|
|
2714
|
+
name: '_missionControl',
|
|
2715
|
+
type: 'address',
|
|
1927
2716
|
},
|
|
1928
2717
|
],
|
|
1929
2718
|
outputs: [
|
|
@@ -1936,11 +2725,15 @@ export const abi = [
|
|
|
1936
2725
|
{
|
|
1937
2726
|
stateMutability: 'nonpayable',
|
|
1938
2727
|
type: 'function',
|
|
1939
|
-
name: '
|
|
2728
|
+
name: 'setCanRedeemCollateralAsset',
|
|
1940
2729
|
inputs: [
|
|
1941
2730
|
{
|
|
1942
|
-
name: '
|
|
1943
|
-
type: '
|
|
2731
|
+
name: '_asset',
|
|
2732
|
+
type: 'address',
|
|
2733
|
+
},
|
|
2734
|
+
{
|
|
2735
|
+
name: '_shouldEnable',
|
|
2736
|
+
type: 'bool',
|
|
1944
2737
|
},
|
|
1945
2738
|
],
|
|
1946
2739
|
outputs: [
|
|
@@ -1951,26 +2744,34 @@ export const abi = [
|
|
|
1951
2744
|
],
|
|
1952
2745
|
},
|
|
1953
2746
|
{
|
|
1954
|
-
stateMutability: '
|
|
2747
|
+
stateMutability: 'nonpayable',
|
|
1955
2748
|
type: 'function',
|
|
1956
|
-
name: '
|
|
2749
|
+
name: 'setCanRedeemCollateralAsset',
|
|
1957
2750
|
inputs: [
|
|
1958
2751
|
{
|
|
1959
|
-
name: '
|
|
1960
|
-
type: '
|
|
2752
|
+
name: '_asset',
|
|
2753
|
+
type: 'address',
|
|
2754
|
+
},
|
|
2755
|
+
{
|
|
2756
|
+
name: '_shouldEnable',
|
|
2757
|
+
type: 'bool',
|
|
2758
|
+
},
|
|
2759
|
+
{
|
|
2760
|
+
name: '_missionControl',
|
|
2761
|
+
type: 'address',
|
|
1961
2762
|
},
|
|
1962
2763
|
],
|
|
1963
2764
|
outputs: [
|
|
1964
2765
|
{
|
|
1965
2766
|
name: '',
|
|
1966
|
-
type: '
|
|
2767
|
+
type: 'bool',
|
|
1967
2768
|
},
|
|
1968
2769
|
],
|
|
1969
2770
|
},
|
|
1970
2771
|
{
|
|
1971
2772
|
stateMutability: 'view',
|
|
1972
2773
|
type: 'function',
|
|
1973
|
-
name: '
|
|
2774
|
+
name: 'actionType',
|
|
1974
2775
|
inputs: [
|
|
1975
2776
|
{
|
|
1976
2777
|
name: 'arg0',
|
|
@@ -1980,17 +2781,7 @@ export const abi = [
|
|
|
1980
2781
|
outputs: [
|
|
1981
2782
|
{
|
|
1982
2783
|
name: '',
|
|
1983
|
-
type: '
|
|
1984
|
-
components: [
|
|
1985
|
-
{
|
|
1986
|
-
name: 'contractAddr',
|
|
1987
|
-
type: 'address',
|
|
1988
|
-
},
|
|
1989
|
-
{
|
|
1990
|
-
name: 'shouldPause',
|
|
1991
|
-
type: 'bool',
|
|
1992
|
-
},
|
|
1993
|
-
],
|
|
2784
|
+
type: 'uint256',
|
|
1994
2785
|
},
|
|
1995
2786
|
],
|
|
1996
2787
|
},
|
|
@@ -2256,6 +3047,157 @@ export const abi = [
|
|
|
2256
3047
|
},
|
|
2257
3048
|
],
|
|
2258
3049
|
},
|
|
3050
|
+
{
|
|
3051
|
+
stateMutability: 'view',
|
|
3052
|
+
type: 'function',
|
|
3053
|
+
name: 'pendingMissionControl',
|
|
3054
|
+
inputs: [
|
|
3055
|
+
{
|
|
3056
|
+
name: 'arg0',
|
|
3057
|
+
type: 'uint256',
|
|
3058
|
+
},
|
|
3059
|
+
],
|
|
3060
|
+
outputs: [
|
|
3061
|
+
{
|
|
3062
|
+
name: '',
|
|
3063
|
+
type: 'address',
|
|
3064
|
+
},
|
|
3065
|
+
],
|
|
3066
|
+
},
|
|
3067
|
+
{
|
|
3068
|
+
stateMutability: 'view',
|
|
3069
|
+
type: 'function',
|
|
3070
|
+
name: 'pendingDeregisterAsset',
|
|
3071
|
+
inputs: [
|
|
3072
|
+
{
|
|
3073
|
+
name: 'arg0',
|
|
3074
|
+
type: 'uint256',
|
|
3075
|
+
},
|
|
3076
|
+
],
|
|
3077
|
+
outputs: [
|
|
3078
|
+
{
|
|
3079
|
+
name: '',
|
|
3080
|
+
type: 'address',
|
|
3081
|
+
},
|
|
3082
|
+
],
|
|
3083
|
+
},
|
|
3084
|
+
{
|
|
3085
|
+
stateMutability: 'view',
|
|
3086
|
+
type: 'function',
|
|
3087
|
+
name: 'pendingDeregisterVaultAsset',
|
|
3088
|
+
inputs: [
|
|
3089
|
+
{
|
|
3090
|
+
name: 'arg0',
|
|
3091
|
+
type: 'uint256',
|
|
3092
|
+
},
|
|
3093
|
+
],
|
|
3094
|
+
outputs: [
|
|
3095
|
+
{
|
|
3096
|
+
name: '',
|
|
3097
|
+
type: 'tuple',
|
|
3098
|
+
components: [
|
|
3099
|
+
{
|
|
3100
|
+
name: 'vaultAddr',
|
|
3101
|
+
type: 'address',
|
|
3102
|
+
},
|
|
3103
|
+
{
|
|
3104
|
+
name: 'asset',
|
|
3105
|
+
type: 'address',
|
|
3106
|
+
},
|
|
3107
|
+
],
|
|
3108
|
+
},
|
|
3109
|
+
],
|
|
3110
|
+
},
|
|
3111
|
+
{
|
|
3112
|
+
stateMutability: 'view',
|
|
3113
|
+
type: 'function',
|
|
3114
|
+
name: 'pendingUserConfig',
|
|
3115
|
+
inputs: [
|
|
3116
|
+
{
|
|
3117
|
+
name: 'arg0',
|
|
3118
|
+
type: 'uint256',
|
|
3119
|
+
},
|
|
3120
|
+
],
|
|
3121
|
+
outputs: [
|
|
3122
|
+
{
|
|
3123
|
+
name: '',
|
|
3124
|
+
type: 'tuple',
|
|
3125
|
+
components: [
|
|
3126
|
+
{
|
|
3127
|
+
name: 'user',
|
|
3128
|
+
type: 'address',
|
|
3129
|
+
},
|
|
3130
|
+
{
|
|
3131
|
+
name: 'config',
|
|
3132
|
+
type: 'tuple',
|
|
3133
|
+
components: [
|
|
3134
|
+
{
|
|
3135
|
+
name: 'canAnyoneDeposit',
|
|
3136
|
+
type: 'bool',
|
|
3137
|
+
},
|
|
3138
|
+
{
|
|
3139
|
+
name: 'canAnyoneRepayDebt',
|
|
3140
|
+
type: 'bool',
|
|
3141
|
+
},
|
|
3142
|
+
{
|
|
3143
|
+
name: 'canAnyoneBondForUser',
|
|
3144
|
+
type: 'bool',
|
|
3145
|
+
},
|
|
3146
|
+
],
|
|
3147
|
+
},
|
|
3148
|
+
],
|
|
3149
|
+
},
|
|
3150
|
+
],
|
|
3151
|
+
},
|
|
3152
|
+
{
|
|
3153
|
+
stateMutability: 'view',
|
|
3154
|
+
type: 'function',
|
|
3155
|
+
name: 'pendingUserDelegation',
|
|
3156
|
+
inputs: [
|
|
3157
|
+
{
|
|
3158
|
+
name: 'arg0',
|
|
3159
|
+
type: 'uint256',
|
|
3160
|
+
},
|
|
3161
|
+
],
|
|
3162
|
+
outputs: [
|
|
3163
|
+
{
|
|
3164
|
+
name: '',
|
|
3165
|
+
type: 'tuple',
|
|
3166
|
+
components: [
|
|
3167
|
+
{
|
|
3168
|
+
name: 'user',
|
|
3169
|
+
type: 'address',
|
|
3170
|
+
},
|
|
3171
|
+
{
|
|
3172
|
+
name: 'delegate',
|
|
3173
|
+
type: 'address',
|
|
3174
|
+
},
|
|
3175
|
+
{
|
|
3176
|
+
name: 'config',
|
|
3177
|
+
type: 'tuple',
|
|
3178
|
+
components: [
|
|
3179
|
+
{
|
|
3180
|
+
name: 'canWithdraw',
|
|
3181
|
+
type: 'bool',
|
|
3182
|
+
},
|
|
3183
|
+
{
|
|
3184
|
+
name: 'canBorrow',
|
|
3185
|
+
type: 'bool',
|
|
3186
|
+
},
|
|
3187
|
+
{
|
|
3188
|
+
name: 'canClaimFromStabPool',
|
|
3189
|
+
type: 'bool',
|
|
3190
|
+
},
|
|
3191
|
+
{
|
|
3192
|
+
name: 'canClaimLoot',
|
|
3193
|
+
type: 'bool',
|
|
3194
|
+
},
|
|
3195
|
+
],
|
|
3196
|
+
},
|
|
3197
|
+
],
|
|
3198
|
+
},
|
|
3199
|
+
],
|
|
3200
|
+
},
|
|
2259
3201
|
{
|
|
2260
3202
|
stateMutability: 'nonpayable',
|
|
2261
3203
|
type: 'constructor',
|
|
@@ -2280,7 +3222,7 @@ export const abi = [
|
|
|
2280
3222
|
outputs: [],
|
|
2281
3223
|
},
|
|
2282
3224
|
];
|
|
2283
|
-
export const deployAddress = '
|
|
3225
|
+
export const deployAddress = '0xA5801c426590F44Bc7d33551Caf7354488C8516C';
|
|
2284
3226
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
2285
3227
|
const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
|
|
2286
3228
|
const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
|
|
@@ -2332,7 +3274,6 @@ export const call = {
|
|
|
2332
3274
|
actionTimeLock: (...args) => getRequest('actionTimeLock', args),
|
|
2333
3275
|
expiration: (...args) => getRequest('expiration', args),
|
|
2334
3276
|
actionType: (...args) => getRequest('actionType', args),
|
|
2335
|
-
pendingPauseActions: (...args) => getRequest('pendingPauseActions', args),
|
|
2336
3277
|
pendingRecoverFundsActions: (...args) => getRequest('pendingRecoverFundsActions', args),
|
|
2337
3278
|
pendingRecoverFundsManyActions: (...args) => getRequest('pendingRecoverFundsManyActions', args),
|
|
2338
3279
|
pendingStartAuctionActions: (...args) => getRequest('pendingStartAuctionActions', args),
|
|
@@ -2343,6 +3284,11 @@ export const call = {
|
|
|
2343
3284
|
pendingUnderscoreSendInterval: (...args) => getRequest('pendingUnderscoreSendInterval', args),
|
|
2344
3285
|
pendingUndyDepositRewardsAmount: (...args) => getRequest('pendingUndyDepositRewardsAmount', args),
|
|
2345
3286
|
pendingUndyYieldBonusAmount: (...args) => getRequest('pendingUndyYieldBonusAmount', args),
|
|
3287
|
+
pendingMissionControl: (...args) => getRequest('pendingMissionControl', args),
|
|
3288
|
+
pendingDeregisterAsset: (...args) => getRequest('pendingDeregisterAsset', args),
|
|
3289
|
+
pendingDeregisterVaultAsset: (...args) => getRequest('pendingDeregisterVaultAsset', args),
|
|
3290
|
+
pendingUserConfig: (...args) => getRequest('pendingUserConfig', args),
|
|
3291
|
+
pendingUserDelegation: (...args) => getRequest('pendingUserDelegation', args),
|
|
2346
3292
|
};
|
|
2347
3293
|
function getMutation(functionName) {
|
|
2348
3294
|
return {
|
|
@@ -2387,8 +3333,18 @@ export const mutation = {
|
|
|
2387
3333
|
pauseManyAuctions: getMutation('pauseManyAuctions'),
|
|
2388
3334
|
setTrainingWheels: getMutation('setTrainingWheels'),
|
|
2389
3335
|
setManyTrainingWheelsAccess: getMutation('setManyTrainingWheelsAccess'),
|
|
3336
|
+
deregisterAsset: getMutation('deregisterAsset'),
|
|
3337
|
+
deregisterVaultAsset: getMutation('deregisterVaultAsset'),
|
|
3338
|
+
setUserConfig: getMutation('setUserConfig'),
|
|
3339
|
+
setUserDelegation: getMutation('setUserDelegation'),
|
|
2390
3340
|
executePendingAction: getMutation('executePendingAction'),
|
|
2391
3341
|
cancelPendingAction: getMutation('cancelPendingAction'),
|
|
3342
|
+
setCanDepositAsset: getMutation('setCanDepositAsset'),
|
|
3343
|
+
setCanWithdrawAsset: getMutation('setCanWithdrawAsset'),
|
|
3344
|
+
setCanRedeemInStabPoolAsset: getMutation('setCanRedeemInStabPoolAsset'),
|
|
3345
|
+
setCanBuyInAuctionAsset: getMutation('setCanBuyInAuctionAsset'),
|
|
3346
|
+
setCanClaimInStabPoolAsset: getMutation('setCanClaimInStabPoolAsset'),
|
|
3347
|
+
setCanRedeemCollateralAsset: getMutation('setCanRedeemCollateralAsset'),
|
|
2392
3348
|
};
|
|
2393
3349
|
export function toSdk(publicClient, walletClient) {
|
|
2394
3350
|
return {
|
|
@@ -2418,7 +3374,6 @@ export function toSdk(publicClient, walletClient) {
|
|
|
2418
3374
|
actionTimeLock: (...args) => singleQuery(publicClient, call.actionTimeLock(...args)),
|
|
2419
3375
|
expiration: (...args) => singleQuery(publicClient, call.expiration(...args)),
|
|
2420
3376
|
actionType: (...args) => singleQuery(publicClient, call.actionType(...args)),
|
|
2421
|
-
pendingPauseActions: (...args) => singleQuery(publicClient, call.pendingPauseActions(...args)),
|
|
2422
3377
|
pendingRecoverFundsActions: (...args) => singleQuery(publicClient, call.pendingRecoverFundsActions(...args)),
|
|
2423
3378
|
pendingRecoverFundsManyActions: (...args) => singleQuery(publicClient, call.pendingRecoverFundsManyActions(...args)),
|
|
2424
3379
|
pendingStartAuctionActions: (...args) => singleQuery(publicClient, call.pendingStartAuctionActions(...args)),
|
|
@@ -2429,6 +3384,11 @@ export function toSdk(publicClient, walletClient) {
|
|
|
2429
3384
|
pendingUnderscoreSendInterval: (...args) => singleQuery(publicClient, call.pendingUnderscoreSendInterval(...args)),
|
|
2430
3385
|
pendingUndyDepositRewardsAmount: (...args) => singleQuery(publicClient, call.pendingUndyDepositRewardsAmount(...args)),
|
|
2431
3386
|
pendingUndyYieldBonusAmount: (...args) => singleQuery(publicClient, call.pendingUndyYieldBonusAmount(...args)),
|
|
3387
|
+
pendingMissionControl: (...args) => singleQuery(publicClient, call.pendingMissionControl(...args)),
|
|
3388
|
+
pendingDeregisterAsset: (...args) => singleQuery(publicClient, call.pendingDeregisterAsset(...args)),
|
|
3389
|
+
pendingDeregisterVaultAsset: (...args) => singleQuery(publicClient, call.pendingDeregisterVaultAsset(...args)),
|
|
3390
|
+
pendingUserConfig: (...args) => singleQuery(publicClient, call.pendingUserConfig(...args)),
|
|
3391
|
+
pendingUserDelegation: (...args) => singleQuery(publicClient, call.pendingUserDelegation(...args)),
|
|
2432
3392
|
// Mutations
|
|
2433
3393
|
startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange)(...args),
|
|
2434
3394
|
confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
|
|
@@ -2463,7 +3423,17 @@ export function toSdk(publicClient, walletClient) {
|
|
|
2463
3423
|
pauseManyAuctions: (...args) => mutate(walletClient, mutation.pauseManyAuctions)(...args),
|
|
2464
3424
|
setTrainingWheels: (...args) => mutate(walletClient, mutation.setTrainingWheels)(...args),
|
|
2465
3425
|
setManyTrainingWheelsAccess: (...args) => mutate(walletClient, mutation.setManyTrainingWheelsAccess)(...args),
|
|
3426
|
+
deregisterAsset: (...args) => mutate(walletClient, mutation.deregisterAsset)(...args),
|
|
3427
|
+
deregisterVaultAsset: (...args) => mutate(walletClient, mutation.deregisterVaultAsset)(...args),
|
|
3428
|
+
setUserConfig: (...args) => mutate(walletClient, mutation.setUserConfig)(...args),
|
|
3429
|
+
setUserDelegation: (...args) => mutate(walletClient, mutation.setUserDelegation)(...args),
|
|
2466
3430
|
executePendingAction: (...args) => mutate(walletClient, mutation.executePendingAction)(...args),
|
|
2467
3431
|
cancelPendingAction: (...args) => mutate(walletClient, mutation.cancelPendingAction)(...args),
|
|
3432
|
+
setCanDepositAsset: (...args) => mutate(walletClient, mutation.setCanDepositAsset)(...args),
|
|
3433
|
+
setCanWithdrawAsset: (...args) => mutate(walletClient, mutation.setCanWithdrawAsset)(...args),
|
|
3434
|
+
setCanRedeemInStabPoolAsset: (...args) => mutate(walletClient, mutation.setCanRedeemInStabPoolAsset)(...args),
|
|
3435
|
+
setCanBuyInAuctionAsset: (...args) => mutate(walletClient, mutation.setCanBuyInAuctionAsset)(...args),
|
|
3436
|
+
setCanClaimInStabPoolAsset: (...args) => mutate(walletClient, mutation.setCanClaimInStabPoolAsset)(...args),
|
|
3437
|
+
setCanRedeemCollateralAsset: (...args) => mutate(walletClient, mutation.setCanRedeemCollateralAsset)(...args),
|
|
2468
3438
|
};
|
|
2469
3439
|
}
|