@sodax/types 2.2.0-rc.2 → 2.2.0-rc.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/backend/backendApiV2.d.ts +16 -0
- package/dist/backend/index.d.ts +1 -0
- package/dist/backend/index.js +1 -0
- package/dist/backend/leverageYieldApiV2.d.ts +350 -0
- package/dist/backend/leverageYieldApiV2.js +24 -0
- package/dist/chains/chains.d.ts +655 -0
- package/dist/chains/chains.js +65 -0
- package/dist/chains/tokens.d.ts +1082 -2
- package/dist/chains/tokens.js +496 -1
- package/dist/common/constants.d.ts +2 -2
- package/dist/common/constants.js +1 -1
- package/dist/evm/evm.d.ts +4 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/leverageYield/leverageYield.d.ts +27 -0
- package/dist/leverageYield/leverageYield.js +13 -0
- package/dist/moneyMarket/moneyMarket.d.ts +60 -60
- package/dist/moneyMarket/moneyMarket.js +35 -2
- package/dist/sodax-config/sodax-config.d.ts +1160 -95
- package/dist/swap/swap.d.ts +904 -104
- package/dist/swap/swap.js +83 -2
- package/package.json +1 -1
|
@@ -903,7 +903,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
903
903
|
readonly chainKey: "sonic";
|
|
904
904
|
readonly hubAsset: "0x000000000eCcFf26B795F73fb0A70d48da657fEf";
|
|
905
905
|
readonly vault: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
906
|
-
},
|
|
906
|
+
}, {
|
|
907
907
|
readonly symbol: "sodaBNB";
|
|
908
908
|
readonly name: "Soda BNB";
|
|
909
909
|
readonly decimals: 18;
|
|
@@ -911,7 +911,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
911
911
|
readonly chainKey: "sonic";
|
|
912
912
|
readonly hubAsset: "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b";
|
|
913
913
|
readonly vault: "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b";
|
|
914
|
-
}
|
|
914
|
+
}, {
|
|
915
915
|
readonly symbol: "sodaAVAX";
|
|
916
916
|
readonly name: "Soda AVAX";
|
|
917
917
|
readonly decimals: 18;
|
|
@@ -919,7 +919,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
919
919
|
readonly chainKey: "sonic";
|
|
920
920
|
readonly hubAsset: "0x14238D267557E9d799016ad635B53CD15935d290";
|
|
921
921
|
readonly vault: "0x14238D267557E9d799016ad635B53CD15935d290";
|
|
922
|
-
}
|
|
922
|
+
}, {
|
|
923
923
|
readonly symbol: "sodaETH";
|
|
924
924
|
readonly name: "Soda ETH";
|
|
925
925
|
readonly decimals: 18;
|
|
@@ -927,7 +927,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
927
927
|
readonly chainKey: "sonic";
|
|
928
928
|
readonly hubAsset: "0x4effB5813271699683C25c734F4daBc45B363709";
|
|
929
929
|
readonly vault: "0x4effB5813271699683C25c734F4daBc45B363709";
|
|
930
|
-
}
|
|
930
|
+
}, {
|
|
931
931
|
readonly symbol: "sodaBTC";
|
|
932
932
|
readonly name: "Soda BTC";
|
|
933
933
|
readonly decimals: 18;
|
|
@@ -935,7 +935,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
935
935
|
readonly chainKey: "sonic";
|
|
936
936
|
readonly hubAsset: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
|
|
937
937
|
readonly vault: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
|
|
938
|
-
}
|
|
938
|
+
}, {
|
|
939
939
|
readonly symbol: "sodaWBTC";
|
|
940
940
|
readonly name: "Soda Wrapped BTC";
|
|
941
941
|
readonly decimals: 18;
|
|
@@ -943,7 +943,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
943
943
|
readonly chainKey: "sonic";
|
|
944
944
|
readonly hubAsset: "0x811C3fCc13f9c2a23AE2Ae2DCadacFAC6eb5f0eB";
|
|
945
945
|
readonly vault: "0x811C3fCc13f9c2a23AE2Ae2DCadacFAC6eb5f0eB";
|
|
946
|
-
}
|
|
946
|
+
}, {
|
|
947
947
|
readonly symbol: "sodaSOL";
|
|
948
948
|
readonly name: "Soda SOL";
|
|
949
949
|
readonly decimals: 18;
|
|
@@ -951,7 +951,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
951
951
|
readonly chainKey: "sonic";
|
|
952
952
|
readonly hubAsset: "0xdEa692287E2cE8Cb08FA52917Be0F16b1DACDC87";
|
|
953
953
|
readonly vault: "0xdEa692287E2cE8Cb08FA52917Be0F16b1DACDC87";
|
|
954
|
-
}
|
|
954
|
+
}, {
|
|
955
955
|
readonly symbol: "sodaXLM";
|
|
956
956
|
readonly name: "Soda XLM";
|
|
957
957
|
readonly decimals: 18;
|
|
@@ -959,7 +959,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
959
959
|
readonly chainKey: "sonic";
|
|
960
960
|
readonly hubAsset: "0x6BC8C37cba91F76E68C9e6d689A9C21E4d32079B";
|
|
961
961
|
readonly vault: "0x6BC8C37cba91F76E68C9e6d689A9C21E4d32079B";
|
|
962
|
-
}
|
|
962
|
+
}, {
|
|
963
963
|
readonly symbol: "sodaINJ";
|
|
964
964
|
readonly name: "Soda INJ";
|
|
965
965
|
readonly decimals: 18;
|
|
@@ -967,7 +967,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
967
967
|
readonly chainKey: "sonic";
|
|
968
968
|
readonly hubAsset: "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13";
|
|
969
969
|
readonly vault: "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13";
|
|
970
|
-
}
|
|
970
|
+
}, {
|
|
971
971
|
readonly symbol: "sodaSUI";
|
|
972
972
|
readonly name: "Soda SUI";
|
|
973
973
|
readonly decimals: 18;
|
|
@@ -975,7 +975,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
975
975
|
readonly chainKey: "sonic";
|
|
976
976
|
readonly hubAsset: "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3";
|
|
977
977
|
readonly vault: "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3";
|
|
978
|
-
}
|
|
978
|
+
}, {
|
|
979
979
|
readonly symbol: "bnUSD";
|
|
980
980
|
readonly name: "Balanced Dollar";
|
|
981
981
|
readonly decimals: 18;
|
|
@@ -983,7 +983,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
983
983
|
readonly chainKey: "sonic";
|
|
984
984
|
readonly hubAsset: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
|
|
985
985
|
readonly vault: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
|
|
986
|
-
}
|
|
986
|
+
}, {
|
|
987
987
|
readonly symbol: "sodaUSDC";
|
|
988
988
|
readonly name: "Soda USDC";
|
|
989
989
|
readonly decimals: 18;
|
|
@@ -991,7 +991,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
991
991
|
readonly chainKey: "sonic";
|
|
992
992
|
readonly hubAsset: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
|
|
993
993
|
readonly vault: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
|
|
994
|
-
}
|
|
994
|
+
}, {
|
|
995
995
|
readonly symbol: "sodaUSDT";
|
|
996
996
|
readonly name: "Soda USDT";
|
|
997
997
|
readonly decimals: 18;
|
|
@@ -999,7 +999,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
999
999
|
readonly chainKey: "sonic";
|
|
1000
1000
|
readonly hubAsset: "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876";
|
|
1001
1001
|
readonly vault: "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876";
|
|
1002
|
-
}
|
|
1002
|
+
}, {
|
|
1003
1003
|
readonly symbol: "IbnUSD";
|
|
1004
1004
|
readonly name: "ICON bnUSD (Migration)";
|
|
1005
1005
|
readonly decimals: 18;
|
|
@@ -1007,7 +1007,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1007
1007
|
readonly chainKey: "sonic";
|
|
1008
1008
|
readonly hubAsset: "0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51";
|
|
1009
1009
|
readonly vault: "0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51";
|
|
1010
|
-
}
|
|
1010
|
+
}, {
|
|
1011
1011
|
readonly symbol: "sodaS";
|
|
1012
1012
|
readonly name: "Soda S";
|
|
1013
1013
|
readonly decimals: 18;
|
|
@@ -1015,7 +1015,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1015
1015
|
readonly chainKey: "sonic";
|
|
1016
1016
|
readonly hubAsset: "0x62ecc3Eeb80a162c57624B3fF80313FE69f5203e";
|
|
1017
1017
|
readonly vault: "0x62ecc3Eeb80a162c57624B3fF80313FE69f5203e";
|
|
1018
|
-
}
|
|
1018
|
+
}, {
|
|
1019
1019
|
readonly symbol: "sodaPOL";
|
|
1020
1020
|
readonly name: "Soda POL";
|
|
1021
1021
|
readonly decimals: 18;
|
|
@@ -1023,7 +1023,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1023
1023
|
readonly chainKey: "sonic";
|
|
1024
1024
|
readonly hubAsset: "0x208ED38f4783328aA9eBFeC360D32e7520A9B779";
|
|
1025
1025
|
readonly vault: "0x208ED38f4783328aA9eBFeC360D32e7520A9B779";
|
|
1026
|
-
}
|
|
1026
|
+
}, {
|
|
1027
1027
|
readonly symbol: "sodaSODA";
|
|
1028
1028
|
readonly name: "Soda SODA";
|
|
1029
1029
|
readonly decimals: 18;
|
|
@@ -1031,7 +1031,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1031
1031
|
readonly chainKey: "sonic";
|
|
1032
1032
|
readonly hubAsset: "0x21685E341DE7844135329914Be6Bd8D16982d834";
|
|
1033
1033
|
readonly vault: "0x21685E341DE7844135329914Be6Bd8D16982d834";
|
|
1034
|
-
}
|
|
1034
|
+
}, {
|
|
1035
1035
|
readonly symbol: "sodaHYPE";
|
|
1036
1036
|
readonly name: "Soda HYPE";
|
|
1037
1037
|
readonly decimals: 18;
|
|
@@ -1039,7 +1039,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1039
1039
|
readonly chainKey: "sonic";
|
|
1040
1040
|
readonly hubAsset: "0x6E81124fC5d2Bf666B16a0A5d90066eBf35c7411";
|
|
1041
1041
|
readonly vault: "0x6E81124fC5d2Bf666B16a0A5d90066eBf35c7411";
|
|
1042
|
-
}
|
|
1042
|
+
}, {
|
|
1043
1043
|
readonly symbol: "sodaRBNT";
|
|
1044
1044
|
readonly name: "Soda RBNT";
|
|
1045
1045
|
readonly decimals: 18;
|
|
@@ -1047,7 +1047,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1047
1047
|
readonly chainKey: "sonic";
|
|
1048
1048
|
readonly hubAsset: "0x4B207114F9118dEAC56436e1aE3c45648783c7Ac";
|
|
1049
1049
|
readonly vault: "0x4B207114F9118dEAC56436e1aE3c45648783c7Ac";
|
|
1050
|
-
}
|
|
1050
|
+
}, {
|
|
1051
1051
|
readonly symbol: "sodaLL";
|
|
1052
1052
|
readonly name: "Soda LL";
|
|
1053
1053
|
readonly decimals: 18;
|
|
@@ -1055,7 +1055,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1055
1055
|
readonly chainKey: "sonic";
|
|
1056
1056
|
readonly hubAsset: "0x14C5eB2D25dFb834852dFc85744875d1eCb09748";
|
|
1057
1057
|
readonly vault: "0x14C5eB2D25dFb834852dFc85744875d1eCb09748";
|
|
1058
|
-
}
|
|
1058
|
+
}, {
|
|
1059
1059
|
readonly symbol: "sodaWEETH";
|
|
1060
1060
|
readonly name: "SODA WEETH";
|
|
1061
1061
|
readonly decimals: 18;
|
|
@@ -1063,7 +1063,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1063
1063
|
readonly chainKey: "sonic";
|
|
1064
1064
|
readonly hubAsset: "0xCb6B152D3a943f25157381aFcA7fEFCD2ef5a357";
|
|
1065
1065
|
readonly vault: "0xCb6B152D3a943f25157381aFcA7fEFCD2ef5a357";
|
|
1066
|
-
}
|
|
1066
|
+
}, {
|
|
1067
1067
|
readonly symbol: "sodaWSTETH";
|
|
1068
1068
|
readonly name: "SODA WSTETH";
|
|
1069
1069
|
readonly decimals: 18;
|
|
@@ -1071,7 +1071,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1071
1071
|
readonly chainKey: "sonic";
|
|
1072
1072
|
readonly hubAsset: "0x58b0538D7EEaeE69EF32f9F1dE5cbF32A10a977B";
|
|
1073
1073
|
readonly vault: "0x58b0538D7EEaeE69EF32f9F1dE5cbF32A10a977B";
|
|
1074
|
-
}
|
|
1074
|
+
}, {
|
|
1075
1075
|
readonly symbol: "sodaNEAR";
|
|
1076
1076
|
readonly name: "SODA NEAR";
|
|
1077
1077
|
readonly decimals: 18;
|
|
@@ -1079,7 +1079,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1079
1079
|
readonly chainKey: "sonic";
|
|
1080
1080
|
readonly hubAsset: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
|
|
1081
1081
|
readonly vault: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
|
|
1082
|
-
}
|
|
1082
|
+
}, {
|
|
1083
1083
|
readonly symbol: "sodaKAIA";
|
|
1084
1084
|
readonly name: "Soda KAIA";
|
|
1085
1085
|
readonly decimals: 18;
|
|
@@ -1087,7 +1087,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1087
1087
|
readonly chainKey: "sonic";
|
|
1088
1088
|
readonly hubAsset: "0xD7d41b5f803b6A40F8A6eAa34E459A4564e39891";
|
|
1089
1089
|
readonly vault: "0xD7d41b5f803b6A40F8A6eAa34E459A4564e39891";
|
|
1090
|
-
}
|
|
1090
|
+
}, {
|
|
1091
1091
|
readonly symbol: "sodaSTX";
|
|
1092
1092
|
readonly name: "Soda STX";
|
|
1093
1093
|
readonly decimals: 18;
|
|
@@ -1095,7 +1095,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1095
1095
|
readonly chainKey: "sonic";
|
|
1096
1096
|
readonly hubAsset: "0x1Fbe5229e9d189F26bEE77E5bFa24309FdA90483";
|
|
1097
1097
|
readonly vault: "0x1Fbe5229e9d189F26bEE77E5bFa24309FdA90483";
|
|
1098
|
-
}
|
|
1098
|
+
}, {
|
|
1099
1099
|
readonly symbol: "sodaSUSDS";
|
|
1100
1100
|
readonly name: "SODA sUSDS";
|
|
1101
1101
|
readonly decimals: 18;
|
|
@@ -1103,7 +1103,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1103
1103
|
readonly chainKey: "sonic";
|
|
1104
1104
|
readonly hubAsset: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
1105
1105
|
readonly vault: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
1106
|
-
}
|
|
1106
|
+
}, {
|
|
1107
1107
|
readonly symbol: "sodaHBAR";
|
|
1108
1108
|
readonly name: "Soda HBAR";
|
|
1109
1109
|
readonly decimals: 18;
|
|
@@ -1111,7 +1111,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1111
1111
|
readonly chainKey: "sonic";
|
|
1112
1112
|
readonly hubAsset: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
1113
1113
|
readonly vault: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
1114
|
-
}
|
|
1114
|
+
}, {
|
|
1115
1115
|
readonly symbol: "sodaJITOSOL";
|
|
1116
1116
|
readonly name: "Soda JITOSOL";
|
|
1117
1117
|
readonly decimals: 18;
|
|
@@ -1119,7 +1119,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1119
1119
|
readonly chainKey: "sonic";
|
|
1120
1120
|
readonly hubAsset: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
1121
1121
|
readonly vault: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
1122
|
-
}
|
|
1122
|
+
}, {
|
|
1123
1123
|
readonly symbol: "sodaUSDS";
|
|
1124
1124
|
readonly name: "Soda USDS";
|
|
1125
1125
|
readonly decimals: 18;
|
|
@@ -1127,7 +1127,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1127
1127
|
readonly chainKey: "sonic";
|
|
1128
1128
|
readonly hubAsset: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
1129
1129
|
readonly vault: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
1130
|
-
}
|
|
1130
|
+
}, {
|
|
1131
1131
|
readonly symbol: "sodaUSSD";
|
|
1132
1132
|
readonly name: "Soda USSD";
|
|
1133
1133
|
readonly decimals: 18;
|
|
@@ -1135,7 +1135,7 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1135
1135
|
readonly chainKey: "sonic";
|
|
1136
1136
|
readonly hubAsset: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
1137
1137
|
readonly vault: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
1138
|
-
}
|
|
1138
|
+
}];
|
|
1139
1139
|
readonly near: [{
|
|
1140
1140
|
readonly symbol: "NEAR";
|
|
1141
1141
|
readonly name: "NEAR";
|
|
@@ -2532,7 +2532,7 @@ export declare const moneyMarketConfig: {
|
|
|
2532
2532
|
readonly chainKey: "sonic";
|
|
2533
2533
|
readonly hubAsset: "0x000000000eCcFf26B795F73fb0A70d48da657fEf";
|
|
2534
2534
|
readonly vault: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
2535
|
-
},
|
|
2535
|
+
}, {
|
|
2536
2536
|
readonly symbol: "sodaBNB";
|
|
2537
2537
|
readonly name: "Soda BNB";
|
|
2538
2538
|
readonly decimals: 18;
|
|
@@ -2540,7 +2540,7 @@ export declare const moneyMarketConfig: {
|
|
|
2540
2540
|
readonly chainKey: "sonic";
|
|
2541
2541
|
readonly hubAsset: "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b";
|
|
2542
2542
|
readonly vault: "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b";
|
|
2543
|
-
}
|
|
2543
|
+
}, {
|
|
2544
2544
|
readonly symbol: "sodaAVAX";
|
|
2545
2545
|
readonly name: "Soda AVAX";
|
|
2546
2546
|
readonly decimals: 18;
|
|
@@ -2548,7 +2548,7 @@ export declare const moneyMarketConfig: {
|
|
|
2548
2548
|
readonly chainKey: "sonic";
|
|
2549
2549
|
readonly hubAsset: "0x14238D267557E9d799016ad635B53CD15935d290";
|
|
2550
2550
|
readonly vault: "0x14238D267557E9d799016ad635B53CD15935d290";
|
|
2551
|
-
}
|
|
2551
|
+
}, {
|
|
2552
2552
|
readonly symbol: "sodaETH";
|
|
2553
2553
|
readonly name: "Soda ETH";
|
|
2554
2554
|
readonly decimals: 18;
|
|
@@ -2556,7 +2556,7 @@ export declare const moneyMarketConfig: {
|
|
|
2556
2556
|
readonly chainKey: "sonic";
|
|
2557
2557
|
readonly hubAsset: "0x4effB5813271699683C25c734F4daBc45B363709";
|
|
2558
2558
|
readonly vault: "0x4effB5813271699683C25c734F4daBc45B363709";
|
|
2559
|
-
}
|
|
2559
|
+
}, {
|
|
2560
2560
|
readonly symbol: "sodaBTC";
|
|
2561
2561
|
readonly name: "Soda BTC";
|
|
2562
2562
|
readonly decimals: 18;
|
|
@@ -2564,7 +2564,7 @@ export declare const moneyMarketConfig: {
|
|
|
2564
2564
|
readonly chainKey: "sonic";
|
|
2565
2565
|
readonly hubAsset: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
|
|
2566
2566
|
readonly vault: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
|
|
2567
|
-
}
|
|
2567
|
+
}, {
|
|
2568
2568
|
readonly symbol: "sodaWBTC";
|
|
2569
2569
|
readonly name: "Soda Wrapped BTC";
|
|
2570
2570
|
readonly decimals: 18;
|
|
@@ -2572,7 +2572,7 @@ export declare const moneyMarketConfig: {
|
|
|
2572
2572
|
readonly chainKey: "sonic";
|
|
2573
2573
|
readonly hubAsset: "0x811C3fCc13f9c2a23AE2Ae2DCadacFAC6eb5f0eB";
|
|
2574
2574
|
readonly vault: "0x811C3fCc13f9c2a23AE2Ae2DCadacFAC6eb5f0eB";
|
|
2575
|
-
}
|
|
2575
|
+
}, {
|
|
2576
2576
|
readonly symbol: "sodaSOL";
|
|
2577
2577
|
readonly name: "Soda SOL";
|
|
2578
2578
|
readonly decimals: 18;
|
|
@@ -2580,7 +2580,7 @@ export declare const moneyMarketConfig: {
|
|
|
2580
2580
|
readonly chainKey: "sonic";
|
|
2581
2581
|
readonly hubAsset: "0xdEa692287E2cE8Cb08FA52917Be0F16b1DACDC87";
|
|
2582
2582
|
readonly vault: "0xdEa692287E2cE8Cb08FA52917Be0F16b1DACDC87";
|
|
2583
|
-
}
|
|
2583
|
+
}, {
|
|
2584
2584
|
readonly symbol: "sodaXLM";
|
|
2585
2585
|
readonly name: "Soda XLM";
|
|
2586
2586
|
readonly decimals: 18;
|
|
@@ -2588,7 +2588,7 @@ export declare const moneyMarketConfig: {
|
|
|
2588
2588
|
readonly chainKey: "sonic";
|
|
2589
2589
|
readonly hubAsset: "0x6BC8C37cba91F76E68C9e6d689A9C21E4d32079B";
|
|
2590
2590
|
readonly vault: "0x6BC8C37cba91F76E68C9e6d689A9C21E4d32079B";
|
|
2591
|
-
}
|
|
2591
|
+
}, {
|
|
2592
2592
|
readonly symbol: "sodaINJ";
|
|
2593
2593
|
readonly name: "Soda INJ";
|
|
2594
2594
|
readonly decimals: 18;
|
|
@@ -2596,7 +2596,7 @@ export declare const moneyMarketConfig: {
|
|
|
2596
2596
|
readonly chainKey: "sonic";
|
|
2597
2597
|
readonly hubAsset: "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13";
|
|
2598
2598
|
readonly vault: "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13";
|
|
2599
|
-
}
|
|
2599
|
+
}, {
|
|
2600
2600
|
readonly symbol: "sodaSUI";
|
|
2601
2601
|
readonly name: "Soda SUI";
|
|
2602
2602
|
readonly decimals: 18;
|
|
@@ -2604,7 +2604,7 @@ export declare const moneyMarketConfig: {
|
|
|
2604
2604
|
readonly chainKey: "sonic";
|
|
2605
2605
|
readonly hubAsset: "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3";
|
|
2606
2606
|
readonly vault: "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3";
|
|
2607
|
-
}
|
|
2607
|
+
}, {
|
|
2608
2608
|
readonly symbol: "bnUSD";
|
|
2609
2609
|
readonly name: "Balanced Dollar";
|
|
2610
2610
|
readonly decimals: 18;
|
|
@@ -2612,7 +2612,7 @@ export declare const moneyMarketConfig: {
|
|
|
2612
2612
|
readonly chainKey: "sonic";
|
|
2613
2613
|
readonly hubAsset: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
|
|
2614
2614
|
readonly vault: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
|
|
2615
|
-
}
|
|
2615
|
+
}, {
|
|
2616
2616
|
readonly symbol: "sodaUSDC";
|
|
2617
2617
|
readonly name: "Soda USDC";
|
|
2618
2618
|
readonly decimals: 18;
|
|
@@ -2620,7 +2620,7 @@ export declare const moneyMarketConfig: {
|
|
|
2620
2620
|
readonly chainKey: "sonic";
|
|
2621
2621
|
readonly hubAsset: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
|
|
2622
2622
|
readonly vault: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
|
|
2623
|
-
}
|
|
2623
|
+
}, {
|
|
2624
2624
|
readonly symbol: "sodaUSDT";
|
|
2625
2625
|
readonly name: "Soda USDT";
|
|
2626
2626
|
readonly decimals: 18;
|
|
@@ -2628,7 +2628,7 @@ export declare const moneyMarketConfig: {
|
|
|
2628
2628
|
readonly chainKey: "sonic";
|
|
2629
2629
|
readonly hubAsset: "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876";
|
|
2630
2630
|
readonly vault: "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876";
|
|
2631
|
-
}
|
|
2631
|
+
}, {
|
|
2632
2632
|
readonly symbol: "IbnUSD";
|
|
2633
2633
|
readonly name: "ICON bnUSD (Migration)";
|
|
2634
2634
|
readonly decimals: 18;
|
|
@@ -2636,7 +2636,7 @@ export declare const moneyMarketConfig: {
|
|
|
2636
2636
|
readonly chainKey: "sonic";
|
|
2637
2637
|
readonly hubAsset: "0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51";
|
|
2638
2638
|
readonly vault: "0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51";
|
|
2639
|
-
}
|
|
2639
|
+
}, {
|
|
2640
2640
|
readonly symbol: "sodaS";
|
|
2641
2641
|
readonly name: "Soda S";
|
|
2642
2642
|
readonly decimals: 18;
|
|
@@ -2644,7 +2644,7 @@ export declare const moneyMarketConfig: {
|
|
|
2644
2644
|
readonly chainKey: "sonic";
|
|
2645
2645
|
readonly hubAsset: "0x62ecc3Eeb80a162c57624B3fF80313FE69f5203e";
|
|
2646
2646
|
readonly vault: "0x62ecc3Eeb80a162c57624B3fF80313FE69f5203e";
|
|
2647
|
-
}
|
|
2647
|
+
}, {
|
|
2648
2648
|
readonly symbol: "sodaPOL";
|
|
2649
2649
|
readonly name: "Soda POL";
|
|
2650
2650
|
readonly decimals: 18;
|
|
@@ -2652,7 +2652,7 @@ export declare const moneyMarketConfig: {
|
|
|
2652
2652
|
readonly chainKey: "sonic";
|
|
2653
2653
|
readonly hubAsset: "0x208ED38f4783328aA9eBFeC360D32e7520A9B779";
|
|
2654
2654
|
readonly vault: "0x208ED38f4783328aA9eBFeC360D32e7520A9B779";
|
|
2655
|
-
}
|
|
2655
|
+
}, {
|
|
2656
2656
|
readonly symbol: "sodaSODA";
|
|
2657
2657
|
readonly name: "Soda SODA";
|
|
2658
2658
|
readonly decimals: 18;
|
|
@@ -2660,7 +2660,7 @@ export declare const moneyMarketConfig: {
|
|
|
2660
2660
|
readonly chainKey: "sonic";
|
|
2661
2661
|
readonly hubAsset: "0x21685E341DE7844135329914Be6Bd8D16982d834";
|
|
2662
2662
|
readonly vault: "0x21685E341DE7844135329914Be6Bd8D16982d834";
|
|
2663
|
-
}
|
|
2663
|
+
}, {
|
|
2664
2664
|
readonly symbol: "sodaHYPE";
|
|
2665
2665
|
readonly name: "Soda HYPE";
|
|
2666
2666
|
readonly decimals: 18;
|
|
@@ -2668,7 +2668,7 @@ export declare const moneyMarketConfig: {
|
|
|
2668
2668
|
readonly chainKey: "sonic";
|
|
2669
2669
|
readonly hubAsset: "0x6E81124fC5d2Bf666B16a0A5d90066eBf35c7411";
|
|
2670
2670
|
readonly vault: "0x6E81124fC5d2Bf666B16a0A5d90066eBf35c7411";
|
|
2671
|
-
}
|
|
2671
|
+
}, {
|
|
2672
2672
|
readonly symbol: "sodaRBNT";
|
|
2673
2673
|
readonly name: "Soda RBNT";
|
|
2674
2674
|
readonly decimals: 18;
|
|
@@ -2676,7 +2676,7 @@ export declare const moneyMarketConfig: {
|
|
|
2676
2676
|
readonly chainKey: "sonic";
|
|
2677
2677
|
readonly hubAsset: "0x4B207114F9118dEAC56436e1aE3c45648783c7Ac";
|
|
2678
2678
|
readonly vault: "0x4B207114F9118dEAC56436e1aE3c45648783c7Ac";
|
|
2679
|
-
}
|
|
2679
|
+
}, {
|
|
2680
2680
|
readonly symbol: "sodaLL";
|
|
2681
2681
|
readonly name: "Soda LL";
|
|
2682
2682
|
readonly decimals: 18;
|
|
@@ -2684,7 +2684,7 @@ export declare const moneyMarketConfig: {
|
|
|
2684
2684
|
readonly chainKey: "sonic";
|
|
2685
2685
|
readonly hubAsset: "0x14C5eB2D25dFb834852dFc85744875d1eCb09748";
|
|
2686
2686
|
readonly vault: "0x14C5eB2D25dFb834852dFc85744875d1eCb09748";
|
|
2687
|
-
}
|
|
2687
|
+
}, {
|
|
2688
2688
|
readonly symbol: "sodaWEETH";
|
|
2689
2689
|
readonly name: "SODA WEETH";
|
|
2690
2690
|
readonly decimals: 18;
|
|
@@ -2692,7 +2692,7 @@ export declare const moneyMarketConfig: {
|
|
|
2692
2692
|
readonly chainKey: "sonic";
|
|
2693
2693
|
readonly hubAsset: "0xCb6B152D3a943f25157381aFcA7fEFCD2ef5a357";
|
|
2694
2694
|
readonly vault: "0xCb6B152D3a943f25157381aFcA7fEFCD2ef5a357";
|
|
2695
|
-
}
|
|
2695
|
+
}, {
|
|
2696
2696
|
readonly symbol: "sodaWSTETH";
|
|
2697
2697
|
readonly name: "SODA WSTETH";
|
|
2698
2698
|
readonly decimals: 18;
|
|
@@ -2700,7 +2700,7 @@ export declare const moneyMarketConfig: {
|
|
|
2700
2700
|
readonly chainKey: "sonic";
|
|
2701
2701
|
readonly hubAsset: "0x58b0538D7EEaeE69EF32f9F1dE5cbF32A10a977B";
|
|
2702
2702
|
readonly vault: "0x58b0538D7EEaeE69EF32f9F1dE5cbF32A10a977B";
|
|
2703
|
-
}
|
|
2703
|
+
}, {
|
|
2704
2704
|
readonly symbol: "sodaNEAR";
|
|
2705
2705
|
readonly name: "SODA NEAR";
|
|
2706
2706
|
readonly decimals: 18;
|
|
@@ -2708,7 +2708,7 @@ export declare const moneyMarketConfig: {
|
|
|
2708
2708
|
readonly chainKey: "sonic";
|
|
2709
2709
|
readonly hubAsset: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
|
|
2710
2710
|
readonly vault: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
|
|
2711
|
-
}
|
|
2711
|
+
}, {
|
|
2712
2712
|
readonly symbol: "sodaKAIA";
|
|
2713
2713
|
readonly name: "Soda KAIA";
|
|
2714
2714
|
readonly decimals: 18;
|
|
@@ -2716,7 +2716,7 @@ export declare const moneyMarketConfig: {
|
|
|
2716
2716
|
readonly chainKey: "sonic";
|
|
2717
2717
|
readonly hubAsset: "0xD7d41b5f803b6A40F8A6eAa34E459A4564e39891";
|
|
2718
2718
|
readonly vault: "0xD7d41b5f803b6A40F8A6eAa34E459A4564e39891";
|
|
2719
|
-
}
|
|
2719
|
+
}, {
|
|
2720
2720
|
readonly symbol: "sodaSTX";
|
|
2721
2721
|
readonly name: "Soda STX";
|
|
2722
2722
|
readonly decimals: 18;
|
|
@@ -2724,7 +2724,7 @@ export declare const moneyMarketConfig: {
|
|
|
2724
2724
|
readonly chainKey: "sonic";
|
|
2725
2725
|
readonly hubAsset: "0x1Fbe5229e9d189F26bEE77E5bFa24309FdA90483";
|
|
2726
2726
|
readonly vault: "0x1Fbe5229e9d189F26bEE77E5bFa24309FdA90483";
|
|
2727
|
-
}
|
|
2727
|
+
}, {
|
|
2728
2728
|
readonly symbol: "sodaSUSDS";
|
|
2729
2729
|
readonly name: "SODA sUSDS";
|
|
2730
2730
|
readonly decimals: 18;
|
|
@@ -2732,7 +2732,7 @@ export declare const moneyMarketConfig: {
|
|
|
2732
2732
|
readonly chainKey: "sonic";
|
|
2733
2733
|
readonly hubAsset: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
2734
2734
|
readonly vault: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
2735
|
-
}
|
|
2735
|
+
}, {
|
|
2736
2736
|
readonly symbol: "sodaHBAR";
|
|
2737
2737
|
readonly name: "Soda HBAR";
|
|
2738
2738
|
readonly decimals: 18;
|
|
@@ -2740,7 +2740,7 @@ export declare const moneyMarketConfig: {
|
|
|
2740
2740
|
readonly chainKey: "sonic";
|
|
2741
2741
|
readonly hubAsset: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
2742
2742
|
readonly vault: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
2743
|
-
}
|
|
2743
|
+
}, {
|
|
2744
2744
|
readonly symbol: "sodaJITOSOL";
|
|
2745
2745
|
readonly name: "Soda JITOSOL";
|
|
2746
2746
|
readonly decimals: 18;
|
|
@@ -2748,7 +2748,7 @@ export declare const moneyMarketConfig: {
|
|
|
2748
2748
|
readonly chainKey: "sonic";
|
|
2749
2749
|
readonly hubAsset: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
2750
2750
|
readonly vault: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
2751
|
-
}
|
|
2751
|
+
}, {
|
|
2752
2752
|
readonly symbol: "sodaUSDS";
|
|
2753
2753
|
readonly name: "Soda USDS";
|
|
2754
2754
|
readonly decimals: 18;
|
|
@@ -2756,7 +2756,7 @@ export declare const moneyMarketConfig: {
|
|
|
2756
2756
|
readonly chainKey: "sonic";
|
|
2757
2757
|
readonly hubAsset: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
2758
2758
|
readonly vault: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
2759
|
-
}
|
|
2759
|
+
}, {
|
|
2760
2760
|
readonly symbol: "sodaUSSD";
|
|
2761
2761
|
readonly name: "Soda USSD";
|
|
2762
2762
|
readonly decimals: 18;
|
|
@@ -2764,7 +2764,7 @@ export declare const moneyMarketConfig: {
|
|
|
2764
2764
|
readonly chainKey: "sonic";
|
|
2765
2765
|
readonly hubAsset: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
2766
2766
|
readonly vault: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
2767
|
-
}
|
|
2767
|
+
}];
|
|
2768
2768
|
readonly near: [{
|
|
2769
2769
|
readonly symbol: "NEAR";
|
|
2770
2770
|
readonly name: "NEAR";
|
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
import { SodaTokens } from '../chains/tokens.js';
|
|
2
2
|
import { spokeChainConfig, ChainKeys, hubConfig } from '../chains/chains.js';
|
|
3
|
+
// Hub vaults the money market lends against, and the source of `moneyMarketReserveAssets`.
|
|
4
|
+
// Membership is an explicit opt-in: a new SodaTokens entry is not a reserve asset until listed here.
|
|
5
|
+
const moneyMarketHubVaults = [
|
|
6
|
+
SodaTokens.sodaBNB,
|
|
7
|
+
SodaTokens.sodaAVAX,
|
|
8
|
+
SodaTokens.sodaETH,
|
|
9
|
+
SodaTokens.sodaBTC,
|
|
10
|
+
SodaTokens.sodaWBTC,
|
|
11
|
+
SodaTokens.sodaSOL,
|
|
12
|
+
SodaTokens.sodaXLM,
|
|
13
|
+
SodaTokens.sodaINJ,
|
|
14
|
+
SodaTokens.sodaSUI,
|
|
15
|
+
SodaTokens.bnUSD,
|
|
16
|
+
SodaTokens.sodaUSDC,
|
|
17
|
+
SodaTokens.sodaUSDT,
|
|
18
|
+
SodaTokens.IbnUSD,
|
|
19
|
+
SodaTokens.sodaS,
|
|
20
|
+
SodaTokens.sodaPOL,
|
|
21
|
+
SodaTokens.sodaSODA,
|
|
22
|
+
SodaTokens.sodaHYPE,
|
|
23
|
+
SodaTokens.sodaRBNT,
|
|
24
|
+
SodaTokens.sodaLL,
|
|
25
|
+
SodaTokens.sodaWEETH,
|
|
26
|
+
SodaTokens.sodaWSTETH,
|
|
27
|
+
SodaTokens.sodaNEAR,
|
|
28
|
+
SodaTokens.sodaKAIA,
|
|
29
|
+
SodaTokens.sodaSTX,
|
|
30
|
+
SodaTokens.sodaSUSDS,
|
|
31
|
+
SodaTokens.sodaHBAR,
|
|
32
|
+
SodaTokens.sodaJITOSOL,
|
|
33
|
+
SodaTokens.sodaUSDS,
|
|
34
|
+
SodaTokens.sodaUSSD,
|
|
35
|
+
];
|
|
3
36
|
// currently supported spoke chain tokens for money market
|
|
4
37
|
export const moneyMarketSupportedTokens = {
|
|
5
38
|
[ChainKeys.AVALANCHE_MAINNET]: [
|
|
@@ -143,7 +176,7 @@ export const moneyMarketSupportedTokens = {
|
|
|
143
176
|
spokeChainConfig[ChainKeys.SONIC_MAINNET].supportedTokens.wS,
|
|
144
177
|
spokeChainConfig[ChainKeys.SONIC_MAINNET].supportedTokens.SODA,
|
|
145
178
|
spokeChainConfig[ChainKeys.SONIC_MAINNET].supportedTokens.USSD,
|
|
146
|
-
...
|
|
179
|
+
...moneyMarketHubVaults,
|
|
147
180
|
],
|
|
148
181
|
[ChainKeys.NEAR_MAINNET]: [
|
|
149
182
|
spokeChainConfig[ChainKeys.NEAR_MAINNET].supportedTokens.NEAR,
|
|
@@ -223,7 +256,7 @@ export const moneyMarketSupportedTokens = {
|
|
|
223
256
|
],
|
|
224
257
|
};
|
|
225
258
|
export const moneyMarketReserveAssets = [
|
|
226
|
-
...
|
|
259
|
+
...moneyMarketHubVaults.map(vault => vault.address),
|
|
227
260
|
hubConfig.bnUSD,
|
|
228
261
|
];
|
|
229
262
|
export const moneyMarketConfig = {
|