@sodax/types 2.0.0-rc.9 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backend/backendApiV1.d.ts +28 -0
- package/dist/backend/backendApiV2.d.ts +678 -0
- package/dist/backend/backendApiV2.js +38 -0
- package/dist/backend/index.d.ts +2 -1
- package/dist/backend/index.js +2 -1
- package/dist/bitcoin/bitcoin.d.ts +18 -0
- package/dist/bitcoin/bitcoin.js +13 -0
- package/dist/chains/chain-keys.d.ts +3 -2
- package/dist/chains/chain-keys.js +1 -0
- package/dist/chains/chains.d.ts +435 -16
- package/dist/chains/chains.js +76 -4
- package/dist/chains/tokens.d.ts +592 -12
- package/dist/chains/tokens.js +285 -5
- package/dist/common/common.d.ts +15 -7
- package/dist/common/constants.d.ts +19 -1
- package/dist/dex/dex.d.ts +4 -1
- package/dist/hooks/hooks.d.ts +42 -0
- package/dist/hooks/hooks.js +44 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/injective/injective.d.ts +4 -0
- package/dist/leverageYield/index.d.ts +1 -0
- package/dist/leverageYield/index.js +1 -0
- package/dist/leverageYield/leverageYield.d.ts +152 -0
- package/dist/leverageYield/leverageYield.js +51 -0
- package/dist/moneyMarket/moneyMarket.d.ts +248 -6
- package/dist/moneyMarket/moneyMarket.js +13 -0
- package/dist/near/near.d.ts +5 -1
- package/dist/shared/analytics.d.ts +119 -0
- package/dist/shared/analytics.js +1 -0
- package/dist/shared/features.d.ts +9 -0
- package/dist/shared/features.js +1 -0
- package/dist/shared/index.d.ts +3 -0
- package/dist/shared/index.js +3 -0
- package/dist/shared/logger.d.ts +27 -0
- package/dist/shared/logger.js +1 -0
- package/dist/shared/shared.d.ts +21 -0
- package/dist/sodax-config/sodax-config.d.ts +769 -73
- package/dist/sodax-config/sodax-config.js +3 -4
- package/dist/solana/solana.d.ts +2 -0
- package/dist/stacks/stacks.d.ts +2 -0
- package/dist/stellar/stellar.d.ts +4 -0
- package/dist/sui/sui.d.ts +3 -2
- package/dist/swap/swap.d.ts +478 -90
- package/dist/swap/swap.js +79 -12
- package/package.json +2 -2
- package/dist/backend/backendApi.d.ts +0 -74
- /package/dist/backend/{backendApi.js → backendApiV1.js} +0 -0
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import type { Address } from '../shared/shared.js';
|
|
2
|
+
import type { PartnerFee, Prettify } from '../common/common.js';
|
|
3
|
+
/**
|
|
4
|
+
* A single deployed LeverageYieldVault.
|
|
5
|
+
*
|
|
6
|
+
* The vault is an ERC-4626 wrapper on the Sonic hub. It accepts deposits of `asset` (a
|
|
7
|
+
* Sodax vault token like sodaWEETH), borrows `borrowToken` from the Sodax-forked AAVE
|
|
8
|
+
* pool, swaps the borrowed amount back into the asset, and re-supplies — yielding a
|
|
9
|
+
* leveraged long on the asset / borrowToken peg.
|
|
10
|
+
*
|
|
11
|
+
* The fields here are static descriptors of the deployed vault. Cross-chain deposits and
|
|
12
|
+
* withdrawals route by the user's spoke-side token (e.g. weETH on Arbitrum); the hub-side
|
|
13
|
+
* AssetToken and Sodax vault token are resolved at call time by `ConfigService`. This
|
|
14
|
+
* registry exists for vault discovery and UI display, not for routing.
|
|
15
|
+
*/
|
|
16
|
+
export type LeverageYieldVault = {
|
|
17
|
+
/**
|
|
18
|
+
* Stable lookup key — by convention the leverage-vault share-token symbol
|
|
19
|
+
* (e.g. `'lsodaWEETH'`, `'lsodaWSTETH'`). Used by `LeverageYieldService.getVault(name)`.
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
/** Deployed `LeverageYieldVault` proxy address on the Sonic hub. */
|
|
23
|
+
vault: Address;
|
|
24
|
+
/**
|
|
25
|
+
* The vault's underlying asset on the hub — the ERC-20 a depositor effectively holds via
|
|
26
|
+
* vault shares. Always a Sodax vault-token wrapper (e.g. sodaWEETH), since user deposits
|
|
27
|
+
* are bridged in as the underlying hub asset and wrapped before the leverage vault deposit.
|
|
28
|
+
*/
|
|
29
|
+
asset: Address;
|
|
30
|
+
/**
|
|
31
|
+
* The token the vault borrows from the Sodax-forked AAVE pool against `asset` collateral.
|
|
32
|
+
* Always a Sodax vault-token wrapper (e.g. sodaETH), matching the asset side. Drives the
|
|
33
|
+
* leverage direction: the position is a long on the `asset` / `borrowToken` peg.
|
|
34
|
+
*/
|
|
35
|
+
borrowToken: Address;
|
|
36
|
+
/**
|
|
37
|
+
* LSD staking-APR source for the underlying asset. When present, callers can use
|
|
38
|
+
* `LeverageYieldService.getEffectiveApr(vault)` to combine AAVE rates with the LSD's
|
|
39
|
+
* native staking yield — the primary yield source for LSD-backed strategies. Omit for
|
|
40
|
+
* non-LSD vaults; the SDK then treats the LSD yield as 0%.
|
|
41
|
+
*/
|
|
42
|
+
lsdSource?: LeverageYieldLsdSource;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Off-chain LSD staking-APR source for a leverage-yield vault. The vault's underlying asset
|
|
46
|
+
* is an LSD (weETH, wstETH, …) that appreciates against its base asset (ETH) at the LSD's
|
|
47
|
+
* native staking rate — yield that does **not** appear in AAVE's `currentLiquidityRate` and
|
|
48
|
+
* that the SDK must therefore fetch off-chain to report an honest effective APR.
|
|
49
|
+
*
|
|
50
|
+
* The SDK fetches all LSD APRs from DefiLlama's per-pool endpoint
|
|
51
|
+
* (`https://yields.llama.fi/chart/<poolId>`) — one CORS-friendly source that already
|
|
52
|
+
* aggregates rates across LSD issuers, so no provider-specific dispatch is needed in the
|
|
53
|
+
* service. Pure data — no functions — so the registry stays serialisable.
|
|
54
|
+
*/
|
|
55
|
+
export type LeverageYieldLsdSource = {
|
|
56
|
+
/**
|
|
57
|
+
* DefiLlama pool ID (UUID) for the LSD's staking pool. Find via the bulk `/pools`
|
|
58
|
+
* endpoint, e.g. `data.filter(p => p.symbol === 'STETH' && p.project === 'lido')`.
|
|
59
|
+
* Examples:
|
|
60
|
+
* - Lido stETH: `747c1d2a-c668-4682-b9f9-296708a3dd90`
|
|
61
|
+
* - EtherFi weETH: `46bd2bdf-6d92-4066-b482-e885ee172264`
|
|
62
|
+
*/
|
|
63
|
+
poolId: string;
|
|
64
|
+
/**
|
|
65
|
+
* Hardcoded APR (percentage, e.g. `3.2` for 3.2%) used when the DefiLlama fetch errors.
|
|
66
|
+
* Should reflect the trailing 30-day yield from the issuer's dashboard; update via PR if
|
|
67
|
+
* it drifts >50 bp from reality.
|
|
68
|
+
*/
|
|
69
|
+
fallbackAprPct: number;
|
|
70
|
+
/** Human label for UI display, e.g. `'Lido (stETH)'` or `'EtherFi (weETH)'`. */
|
|
71
|
+
label: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* SDK-wide registry of known leverage vaults. Add an entry here when a vault is promoted
|
|
75
|
+
* to a default; callers can also override per-instance via the `Sodax({ leverageYield:
|
|
76
|
+
* { vaults: [...] } })` config slot.
|
|
77
|
+
*
|
|
78
|
+
* Addresses are sourced from the canonical token registries — the proxy/share-token address
|
|
79
|
+
* from {@link LsodaTokens} and the hub-side `asset` / `borrowToken` from {@link SodaTokens} —
|
|
80
|
+
* so a deployment-address change lives in exactly one place.
|
|
81
|
+
*/
|
|
82
|
+
export declare const leverageYieldVaults: readonly [{
|
|
83
|
+
readonly name: "lsodaWEETH";
|
|
84
|
+
readonly vault: "0xD09de2f5070699A909c0FD32fb5A909d3886701D";
|
|
85
|
+
readonly asset: "0xCb6B152D3a943f25157381aFcA7fEFCD2ef5a357";
|
|
86
|
+
readonly borrowToken: "0x4effB5813271699683C25c734F4daBc45B363709";
|
|
87
|
+
readonly lsdSource: {
|
|
88
|
+
readonly poolId: "46bd2bdf-6d92-4066-b482-e885ee172264";
|
|
89
|
+
readonly fallbackAprPct: 3;
|
|
90
|
+
readonly label: "EtherFi (weETH)";
|
|
91
|
+
};
|
|
92
|
+
}, {
|
|
93
|
+
readonly name: "lsodaWSTETH";
|
|
94
|
+
readonly vault: "0x136E5D1CEC5db1829E24941Eddd9C8640E02Ce7a";
|
|
95
|
+
readonly asset: "0x58b0538D7EEaeE69EF32f9F1dE5cbF32A10a977B";
|
|
96
|
+
readonly borrowToken: "0x4effB5813271699683C25c734F4daBc45B363709";
|
|
97
|
+
readonly lsdSource: {
|
|
98
|
+
readonly poolId: "747c1d2a-c668-4682-b9f9-296708a3dd90";
|
|
99
|
+
readonly fallbackAprPct: 2.4;
|
|
100
|
+
readonly label: "Lido (stETH)";
|
|
101
|
+
};
|
|
102
|
+
}, {
|
|
103
|
+
readonly name: "lsodaJITOSOL";
|
|
104
|
+
readonly vault: "0xD7Ae4853E0f93682F5DaA14734F5D18cBa09Bd78";
|
|
105
|
+
readonly asset: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
106
|
+
readonly borrowToken: "0xdEa692287E2cE8Cb08FA52917Be0F16b1DACDC87";
|
|
107
|
+
readonly lsdSource: {
|
|
108
|
+
readonly poolId: "0e7d0722-9054-4907-8593-567b353c0900";
|
|
109
|
+
readonly fallbackAprPct: 5.5;
|
|
110
|
+
readonly label: "Jito (JitoSOL)";
|
|
111
|
+
};
|
|
112
|
+
}];
|
|
113
|
+
export type LeverageYieldOptions = {
|
|
114
|
+
partnerFee?: PartnerFee;
|
|
115
|
+
};
|
|
116
|
+
export type LeverageYieldConfig = Prettify<LeverageYieldDefaultConfig & LeverageYieldOptions>;
|
|
117
|
+
export type LeverageYieldDefaultConfig = {
|
|
118
|
+
vaults: readonly LeverageYieldVault[];
|
|
119
|
+
};
|
|
120
|
+
export declare const leverageYieldConfig: {
|
|
121
|
+
readonly vaults: readonly [{
|
|
122
|
+
readonly name: "lsodaWEETH";
|
|
123
|
+
readonly vault: "0xD09de2f5070699A909c0FD32fb5A909d3886701D";
|
|
124
|
+
readonly asset: "0xCb6B152D3a943f25157381aFcA7fEFCD2ef5a357";
|
|
125
|
+
readonly borrowToken: "0x4effB5813271699683C25c734F4daBc45B363709";
|
|
126
|
+
readonly lsdSource: {
|
|
127
|
+
readonly poolId: "46bd2bdf-6d92-4066-b482-e885ee172264";
|
|
128
|
+
readonly fallbackAprPct: 3;
|
|
129
|
+
readonly label: "EtherFi (weETH)";
|
|
130
|
+
};
|
|
131
|
+
}, {
|
|
132
|
+
readonly name: "lsodaWSTETH";
|
|
133
|
+
readonly vault: "0x136E5D1CEC5db1829E24941Eddd9C8640E02Ce7a";
|
|
134
|
+
readonly asset: "0x58b0538D7EEaeE69EF32f9F1dE5cbF32A10a977B";
|
|
135
|
+
readonly borrowToken: "0x4effB5813271699683C25c734F4daBc45B363709";
|
|
136
|
+
readonly lsdSource: {
|
|
137
|
+
readonly poolId: "747c1d2a-c668-4682-b9f9-296708a3dd90";
|
|
138
|
+
readonly fallbackAprPct: 2.4;
|
|
139
|
+
readonly label: "Lido (stETH)";
|
|
140
|
+
};
|
|
141
|
+
}, {
|
|
142
|
+
readonly name: "lsodaJITOSOL";
|
|
143
|
+
readonly vault: "0xD7Ae4853E0f93682F5DaA14734F5D18cBa09Bd78";
|
|
144
|
+
readonly asset: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
145
|
+
readonly borrowToken: "0xdEa692287E2cE8Cb08FA52917Be0F16b1DACDC87";
|
|
146
|
+
readonly lsdSource: {
|
|
147
|
+
readonly poolId: "0e7d0722-9054-4907-8593-567b353c0900";
|
|
148
|
+
readonly fallbackAprPct: 5.5;
|
|
149
|
+
readonly label: "Jito (JitoSOL)";
|
|
150
|
+
};
|
|
151
|
+
}];
|
|
152
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { LsodaTokens, SodaTokens } from '../chains/tokens.js';
|
|
2
|
+
/**
|
|
3
|
+
* SDK-wide registry of known leverage vaults. Add an entry here when a vault is promoted
|
|
4
|
+
* to a default; callers can also override per-instance via the `Sodax({ leverageYield:
|
|
5
|
+
* { vaults: [...] } })` config slot.
|
|
6
|
+
*
|
|
7
|
+
* Addresses are sourced from the canonical token registries — the proxy/share-token address
|
|
8
|
+
* from {@link LsodaTokens} and the hub-side `asset` / `borrowToken` from {@link SodaTokens} —
|
|
9
|
+
* so a deployment-address change lives in exactly one place.
|
|
10
|
+
*/
|
|
11
|
+
export const leverageYieldVaults = [
|
|
12
|
+
{
|
|
13
|
+
name: LsodaTokens.lsodaWEETH.symbol,
|
|
14
|
+
vault: LsodaTokens.lsodaWEETH.vault,
|
|
15
|
+
asset: SodaTokens.sodaWEETH.address, // sodaWEETH on Sonic
|
|
16
|
+
borrowToken: SodaTokens.sodaETH.address, // sodaETH on Sonic
|
|
17
|
+
lsdSource: {
|
|
18
|
+
// DefiLlama pool for EtherFi's weETH on Ethereum (project: 'ether.fi-stake').
|
|
19
|
+
poolId: '46bd2bdf-6d92-4066-b482-e885ee172264',
|
|
20
|
+
fallbackAprPct: 3.0,
|
|
21
|
+
label: 'EtherFi (weETH)',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: LsodaTokens.lsodaWSTETH.symbol,
|
|
26
|
+
vault: LsodaTokens.lsodaWSTETH.vault,
|
|
27
|
+
asset: SodaTokens.sodaWSTETH.address, // sodaWSTETH on Sonic
|
|
28
|
+
borrowToken: SodaTokens.sodaETH.address, // sodaETH on Sonic
|
|
29
|
+
lsdSource: {
|
|
30
|
+
// DefiLlama pool for Lido's stETH on Ethereum (wstETH inherits this rate via redeem).
|
|
31
|
+
poolId: '747c1d2a-c668-4682-b9f9-296708a3dd90',
|
|
32
|
+
fallbackAprPct: 2.4,
|
|
33
|
+
label: 'Lido (stETH)',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: LsodaTokens.lsodaJITOSOL.symbol,
|
|
38
|
+
vault: LsodaTokens.lsodaJITOSOL.vault,
|
|
39
|
+
asset: SodaTokens.sodaJITOSOL.address, // sodaJITOSOL on Sonic
|
|
40
|
+
borrowToken: SodaTokens.sodaSOL.address, // sodaSOL on Sonic
|
|
41
|
+
lsdSource: {
|
|
42
|
+
// DefiLlama pool for Jito's JitoSOL native staking on Solana (project: 'jito-liquid-staking').
|
|
43
|
+
poolId: '0e7d0722-9054-4907-8593-567b353c0900',
|
|
44
|
+
fallbackAprPct: 5.5,
|
|
45
|
+
label: 'Jito (JitoSOL)',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
];
|
|
49
|
+
export const leverageYieldConfig = {
|
|
50
|
+
vaults: leverageYieldVaults,
|
|
51
|
+
};
|
|
@@ -130,6 +130,14 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
130
130
|
readonly chainKey: "0xa4b1.arbitrum";
|
|
131
131
|
readonly hubAsset: "0x8794A87979efA70bBE29Ed3357e9A93932B48675";
|
|
132
132
|
readonly vault: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
133
|
+
}, {
|
|
134
|
+
readonly symbol: "USDS";
|
|
135
|
+
readonly name: "USDS Stablecoin";
|
|
136
|
+
readonly decimals: 18;
|
|
137
|
+
readonly address: "0x6491c05A82219b8D1479057361ff1654749b876b";
|
|
138
|
+
readonly chainKey: "0xa4b1.arbitrum";
|
|
139
|
+
readonly hubAsset: "0x856c02acdD01947788dc5D218A3cb2c4C9BdEed2";
|
|
140
|
+
readonly vault: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
133
141
|
}];
|
|
134
142
|
readonly "0x2105.base": [{
|
|
135
143
|
readonly symbol: "ETH";
|
|
@@ -196,6 +204,14 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
196
204
|
readonly chainKey: "0x2105.base";
|
|
197
205
|
readonly hubAsset: "0x23889bd0e8e718d47a72fdd8b82da39ec856240f";
|
|
198
206
|
readonly vault: "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876";
|
|
207
|
+
}, {
|
|
208
|
+
readonly symbol: "USDS";
|
|
209
|
+
readonly name: "USDS Stablecoin";
|
|
210
|
+
readonly decimals: 18;
|
|
211
|
+
readonly address: "0x820C137fa70C8691f0e44Dc420a5e53c168921Dc";
|
|
212
|
+
readonly chainKey: "0x2105.base";
|
|
213
|
+
readonly hubAsset: "0xFE9b81eF40419Ef9Ce62cCff197345D78c552945";
|
|
214
|
+
readonly vault: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
199
215
|
}];
|
|
200
216
|
readonly "0xa.optimism": [{
|
|
201
217
|
readonly symbol: "ETH";
|
|
@@ -578,6 +594,14 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
578
594
|
readonly chainKey: "solana";
|
|
579
595
|
readonly hubAsset: "0x891c7ab9047eb087b5a988a2638e7056f67adc5c";
|
|
580
596
|
readonly vault: "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876";
|
|
597
|
+
}, {
|
|
598
|
+
readonly symbol: "JitoSOL";
|
|
599
|
+
readonly name: "Jito Staked SOL";
|
|
600
|
+
readonly decimals: 9;
|
|
601
|
+
readonly address: "J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn";
|
|
602
|
+
readonly chainKey: "solana";
|
|
603
|
+
readonly hubAsset: "0x942f89a324d2652e447b9fcf08effc9f9776a680";
|
|
604
|
+
readonly vault: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
581
605
|
}];
|
|
582
606
|
readonly "0x1.icon": [{
|
|
583
607
|
readonly symbol: "bnUSD (legacy)";
|
|
@@ -620,6 +644,30 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
620
644
|
readonly chainKey: "stellar";
|
|
621
645
|
readonly hubAsset: "0x348007B53F25A9A857aB8eA81ec9E3CCBCf440f2";
|
|
622
646
|
readonly vault: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
|
|
647
|
+
}, {
|
|
648
|
+
readonly symbol: "sodaETH";
|
|
649
|
+
readonly name: "Soda ETH";
|
|
650
|
+
readonly decimals: 7;
|
|
651
|
+
readonly address: "CDK5EWVTZLGSLI6D5OSES7XUKWZUKBXDRNOWUVDNPP5RJRP5EYWCW7SL";
|
|
652
|
+
readonly chainKey: "stellar";
|
|
653
|
+
readonly hubAsset: "0x4985a4b72ac723723e9ae82382d12d77e9a715de";
|
|
654
|
+
readonly vault: "0x4effB5813271699683C25c734F4daBc45B363709";
|
|
655
|
+
}, {
|
|
656
|
+
readonly symbol: "sodaBTC";
|
|
657
|
+
readonly name: "Soda BTC";
|
|
658
|
+
readonly decimals: 7;
|
|
659
|
+
readonly address: "CD6XWBW74YVFDQQYUM2GALCULMA5MAWGP6NTCWF3ZYXP4Z7MEVY4JKBX";
|
|
660
|
+
readonly chainKey: "stellar";
|
|
661
|
+
readonly hubAsset: "0xddee01f63c18843e2bac30cb702864d7632c83a2";
|
|
662
|
+
readonly vault: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
|
|
663
|
+
}, {
|
|
664
|
+
readonly symbol: "sodaBNB";
|
|
665
|
+
readonly name: "Soda BNB";
|
|
666
|
+
readonly decimals: 7;
|
|
667
|
+
readonly address: "CCXTXZAFLVNTMORVWYB6BGL7YEW3U3ONDAL2FGBRGDUQH7AGANVQPRS6";
|
|
668
|
+
readonly chainKey: "stellar";
|
|
669
|
+
readonly hubAsset: "0xa10be5f5c2dea7d272555dc73ea2a7317c3c5b63";
|
|
670
|
+
readonly vault: "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b";
|
|
623
671
|
}];
|
|
624
672
|
readonly sui: [{
|
|
625
673
|
readonly symbol: "SUI";
|
|
@@ -751,6 +799,14 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
751
799
|
readonly chainKey: "sonic";
|
|
752
800
|
readonly hubAsset: "0x7c7d53EEcda37a87ce0D5bf8E0b24512A48dC963";
|
|
753
801
|
readonly vault: "0x21685E341DE7844135329914Be6Bd8D16982d834";
|
|
802
|
+
}, {
|
|
803
|
+
readonly symbol: "USSD";
|
|
804
|
+
readonly name: "US Sonic Dollar";
|
|
805
|
+
readonly decimals: 18;
|
|
806
|
+
readonly address: "0x000000000eCcFf26B795F73fb0A70d48da657fEf";
|
|
807
|
+
readonly chainKey: "sonic";
|
|
808
|
+
readonly hubAsset: "0x000000000eCcFf26B795F73fb0A70d48da657fEf";
|
|
809
|
+
readonly vault: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
754
810
|
}, ...({
|
|
755
811
|
readonly symbol: "sodaBNB";
|
|
756
812
|
readonly name: "Soda BNB";
|
|
@@ -944,13 +1000,45 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
944
1000
|
readonly hubAsset: "0x1Fbe5229e9d189F26bEE77E5bFa24309FdA90483";
|
|
945
1001
|
readonly vault: "0x1Fbe5229e9d189F26bEE77E5bFa24309FdA90483";
|
|
946
1002
|
} | {
|
|
947
|
-
readonly symbol: "
|
|
948
|
-
readonly name: "
|
|
1003
|
+
readonly symbol: "sodaSUSDS";
|
|
1004
|
+
readonly name: "SODA sUSDS";
|
|
949
1005
|
readonly decimals: 18;
|
|
950
1006
|
readonly address: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
951
1007
|
readonly chainKey: "sonic";
|
|
952
1008
|
readonly hubAsset: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
953
1009
|
readonly vault: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
1010
|
+
} | {
|
|
1011
|
+
readonly symbol: "sodaHBAR";
|
|
1012
|
+
readonly name: "Soda HBAR";
|
|
1013
|
+
readonly decimals: 18;
|
|
1014
|
+
readonly address: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
1015
|
+
readonly chainKey: "sonic";
|
|
1016
|
+
readonly hubAsset: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
1017
|
+
readonly vault: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
1018
|
+
} | {
|
|
1019
|
+
readonly symbol: "sodaJITOSOL";
|
|
1020
|
+
readonly name: "Soda JITOSOL";
|
|
1021
|
+
readonly decimals: 18;
|
|
1022
|
+
readonly address: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
1023
|
+
readonly chainKey: "sonic";
|
|
1024
|
+
readonly hubAsset: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
1025
|
+
readonly vault: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
1026
|
+
} | {
|
|
1027
|
+
readonly symbol: "sodaUSDS";
|
|
1028
|
+
readonly name: "Soda USDS";
|
|
1029
|
+
readonly decimals: 18;
|
|
1030
|
+
readonly address: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
1031
|
+
readonly chainKey: "sonic";
|
|
1032
|
+
readonly hubAsset: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
1033
|
+
readonly vault: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
1034
|
+
} | {
|
|
1035
|
+
readonly symbol: "sodaUSSD";
|
|
1036
|
+
readonly name: "Soda USSD";
|
|
1037
|
+
readonly decimals: 18;
|
|
1038
|
+
readonly address: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
1039
|
+
readonly chainKey: "sonic";
|
|
1040
|
+
readonly hubAsset: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
1041
|
+
readonly vault: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
954
1042
|
})[]];
|
|
955
1043
|
readonly near: [{
|
|
956
1044
|
readonly symbol: "NEAR";
|
|
@@ -1074,6 +1162,14 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1074
1162
|
readonly chainKey: "ethereum";
|
|
1075
1163
|
readonly hubAsset: "0xee6236c791db0755c9bc333b4c7c85ab754f2a0a";
|
|
1076
1164
|
readonly vault: "0x14C5eB2D25dFb834852dFc85744875d1eCb09748";
|
|
1165
|
+
}, {
|
|
1166
|
+
readonly symbol: "USDS";
|
|
1167
|
+
readonly name: "USDS Stablecoin";
|
|
1168
|
+
readonly decimals: 18;
|
|
1169
|
+
readonly address: "0xdC035D45d973E3EC169d2276DDab16f1e407384F";
|
|
1170
|
+
readonly chainKey: "ethereum";
|
|
1171
|
+
readonly hubAsset: "0x31D3a9319C76EC4A474721966dA65b94e6bFc9eF";
|
|
1172
|
+
readonly vault: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
1077
1173
|
}];
|
|
1078
1174
|
readonly redbelly: [{
|
|
1079
1175
|
readonly symbol: "bnUSD";
|
|
@@ -1271,8 +1367,33 @@ export declare const moneyMarketSupportedTokens: {
|
|
|
1271
1367
|
readonly hubAsset: "0xeb0393893b5bf98a50073d6740738b08e575058b";
|
|
1272
1368
|
readonly vault: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
|
|
1273
1369
|
}];
|
|
1370
|
+
readonly hedera: [{
|
|
1371
|
+
readonly symbol: "bnUSD";
|
|
1372
|
+
readonly name: "bnUSD";
|
|
1373
|
+
readonly decimals: 8;
|
|
1374
|
+
readonly address: "0x0000000000000000000000000000000000a0286a";
|
|
1375
|
+
readonly chainKey: "hedera";
|
|
1376
|
+
readonly hubAsset: "0x44be1984cd279334a630469fa357305c7dba2837";
|
|
1377
|
+
readonly vault: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
|
|
1378
|
+
}, {
|
|
1379
|
+
readonly symbol: "SODA";
|
|
1380
|
+
readonly name: "SODAX";
|
|
1381
|
+
readonly decimals: 8;
|
|
1382
|
+
readonly address: "0x0000000000000000000000000000000000a02869";
|
|
1383
|
+
readonly chainKey: "hedera";
|
|
1384
|
+
readonly hubAsset: "0x1217721376839dbffe78093ddd5d8e50d0239b3f";
|
|
1385
|
+
readonly vault: "0x21685E341DE7844135329914Be6Bd8D16982d834";
|
|
1386
|
+
}, {
|
|
1387
|
+
readonly symbol: "USDC";
|
|
1388
|
+
readonly name: "USD Coin";
|
|
1389
|
+
readonly decimals: 6;
|
|
1390
|
+
readonly address: "0x000000000000000000000000000000000006f89a";
|
|
1391
|
+
readonly chainKey: "hedera";
|
|
1392
|
+
readonly hubAsset: "0xafafae0c1476424c4b81f09095bd7dcb858047c8";
|
|
1393
|
+
readonly vault: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
|
|
1394
|
+
}];
|
|
1274
1395
|
};
|
|
1275
|
-
export declare const moneyMarketReserveAssets: [...("0x21685E341DE7844135329914Be6Bd8D16982d834" | "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d" | "0x4effB5813271699683C25c734F4daBc45B363709" | "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b" | "0x14238D267557E9d799016ad635B53CD15935d290" | "0x811C3fCc13f9c2a23AE2Ae2DCadacFAC6eb5f0eB" | "0xdEa692287E2cE8Cb08FA52917Be0F16b1DACDC87" | "0x6BC8C37cba91F76E68C9e6d689A9C21E4d32079B" | "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13" | "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3" | "0xE801CA34E19aBCbFeA12025378D19c4FBE250131" | "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833" | "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876" | "0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51" | "0x62ecc3Eeb80a162c57624B3fF80313FE69f5203e" | "0x208ED38f4783328aA9eBFeC360D32e7520A9B779" | "0x6E81124fC5d2Bf666B16a0A5d90066eBf35c7411" | "0x4B207114F9118dEAC56436e1aE3c45648783c7Ac" | "0x14C5eB2D25dFb834852dFc85744875d1eCb09748" | "0xCb6B152D3a943f25157381aFcA7fEFCD2ef5a357" | "0x58b0538D7EEaeE69EF32f9F1dE5cbF32A10a977B" | "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39" | "0xD7d41b5f803b6A40F8A6eAa34E459A4564e39891" | "0x1Fbe5229e9d189F26bEE77E5bFa24309FdA90483" | "0x243b0c26c8b38793908d7C64e8510f21B19B4613")[], "0xE801CA34E19aBCbFeA12025378D19c4FBE250131"];
|
|
1396
|
+
export declare const moneyMarketReserveAssets: [...("0x21685E341DE7844135329914Be6Bd8D16982d834" | "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d" | "0x4effB5813271699683C25c734F4daBc45B363709" | "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b" | "0x14238D267557E9d799016ad635B53CD15935d290" | "0x811C3fCc13f9c2a23AE2Ae2DCadacFAC6eb5f0eB" | "0xdEa692287E2cE8Cb08FA52917Be0F16b1DACDC87" | "0x6BC8C37cba91F76E68C9e6d689A9C21E4d32079B" | "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13" | "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3" | "0xE801CA34E19aBCbFeA12025378D19c4FBE250131" | "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833" | "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876" | "0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51" | "0x62ecc3Eeb80a162c57624B3fF80313FE69f5203e" | "0x208ED38f4783328aA9eBFeC360D32e7520A9B779" | "0x6E81124fC5d2Bf666B16a0A5d90066eBf35c7411" | "0x4B207114F9118dEAC56436e1aE3c45648783c7Ac" | "0x14C5eB2D25dFb834852dFc85744875d1eCb09748" | "0xCb6B152D3a943f25157381aFcA7fEFCD2ef5a357" | "0x58b0538D7EEaeE69EF32f9F1dE5cbF32A10a977B" | "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39" | "0xD7d41b5f803b6A40F8A6eAa34E459A4564e39891" | "0x1Fbe5229e9d189F26bEE77E5bFa24309FdA90483" | "0x243b0c26c8b38793908d7C64e8510f21B19B4613" | "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4" | "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0" | "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e" | "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37")[], "0xE801CA34E19aBCbFeA12025378D19c4FBE250131"];
|
|
1276
1397
|
export declare const moneyMarketConfig: {
|
|
1277
1398
|
readonly partnerFee: undefined;
|
|
1278
1399
|
readonly lendingPool: "0x553434896D39F867761859D0FE7189d2Af70514E";
|
|
@@ -1413,6 +1534,14 @@ export declare const moneyMarketConfig: {
|
|
|
1413
1534
|
readonly chainKey: "0xa4b1.arbitrum";
|
|
1414
1535
|
readonly hubAsset: "0x8794A87979efA70bBE29Ed3357e9A93932B48675";
|
|
1415
1536
|
readonly vault: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
1537
|
+
}, {
|
|
1538
|
+
readonly symbol: "USDS";
|
|
1539
|
+
readonly name: "USDS Stablecoin";
|
|
1540
|
+
readonly decimals: 18;
|
|
1541
|
+
readonly address: "0x6491c05A82219b8D1479057361ff1654749b876b";
|
|
1542
|
+
readonly chainKey: "0xa4b1.arbitrum";
|
|
1543
|
+
readonly hubAsset: "0x856c02acdD01947788dc5D218A3cb2c4C9BdEed2";
|
|
1544
|
+
readonly vault: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
1416
1545
|
}];
|
|
1417
1546
|
readonly "0x2105.base": [{
|
|
1418
1547
|
readonly symbol: "ETH";
|
|
@@ -1479,6 +1608,14 @@ export declare const moneyMarketConfig: {
|
|
|
1479
1608
|
readonly chainKey: "0x2105.base";
|
|
1480
1609
|
readonly hubAsset: "0x23889bd0e8e718d47a72fdd8b82da39ec856240f";
|
|
1481
1610
|
readonly vault: "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876";
|
|
1611
|
+
}, {
|
|
1612
|
+
readonly symbol: "USDS";
|
|
1613
|
+
readonly name: "USDS Stablecoin";
|
|
1614
|
+
readonly decimals: 18;
|
|
1615
|
+
readonly address: "0x820C137fa70C8691f0e44Dc420a5e53c168921Dc";
|
|
1616
|
+
readonly chainKey: "0x2105.base";
|
|
1617
|
+
readonly hubAsset: "0xFE9b81eF40419Ef9Ce62cCff197345D78c552945";
|
|
1618
|
+
readonly vault: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
1482
1619
|
}];
|
|
1483
1620
|
readonly "0xa.optimism": [{
|
|
1484
1621
|
readonly symbol: "ETH";
|
|
@@ -1861,6 +1998,14 @@ export declare const moneyMarketConfig: {
|
|
|
1861
1998
|
readonly chainKey: "solana";
|
|
1862
1999
|
readonly hubAsset: "0x891c7ab9047eb087b5a988a2638e7056f67adc5c";
|
|
1863
2000
|
readonly vault: "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876";
|
|
2001
|
+
}, {
|
|
2002
|
+
readonly symbol: "JitoSOL";
|
|
2003
|
+
readonly name: "Jito Staked SOL";
|
|
2004
|
+
readonly decimals: 9;
|
|
2005
|
+
readonly address: "J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn";
|
|
2006
|
+
readonly chainKey: "solana";
|
|
2007
|
+
readonly hubAsset: "0x942f89a324d2652e447b9fcf08effc9f9776a680";
|
|
2008
|
+
readonly vault: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
1864
2009
|
}];
|
|
1865
2010
|
readonly "0x1.icon": [{
|
|
1866
2011
|
readonly symbol: "bnUSD (legacy)";
|
|
@@ -1903,6 +2048,30 @@ export declare const moneyMarketConfig: {
|
|
|
1903
2048
|
readonly chainKey: "stellar";
|
|
1904
2049
|
readonly hubAsset: "0x348007B53F25A9A857aB8eA81ec9E3CCBCf440f2";
|
|
1905
2050
|
readonly vault: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
|
|
2051
|
+
}, {
|
|
2052
|
+
readonly symbol: "sodaETH";
|
|
2053
|
+
readonly name: "Soda ETH";
|
|
2054
|
+
readonly decimals: 7;
|
|
2055
|
+
readonly address: "CDK5EWVTZLGSLI6D5OSES7XUKWZUKBXDRNOWUVDNPP5RJRP5EYWCW7SL";
|
|
2056
|
+
readonly chainKey: "stellar";
|
|
2057
|
+
readonly hubAsset: "0x4985a4b72ac723723e9ae82382d12d77e9a715de";
|
|
2058
|
+
readonly vault: "0x4effB5813271699683C25c734F4daBc45B363709";
|
|
2059
|
+
}, {
|
|
2060
|
+
readonly symbol: "sodaBTC";
|
|
2061
|
+
readonly name: "Soda BTC";
|
|
2062
|
+
readonly decimals: 7;
|
|
2063
|
+
readonly address: "CD6XWBW74YVFDQQYUM2GALCULMA5MAWGP6NTCWF3ZYXP4Z7MEVY4JKBX";
|
|
2064
|
+
readonly chainKey: "stellar";
|
|
2065
|
+
readonly hubAsset: "0xddee01f63c18843e2bac30cb702864d7632c83a2";
|
|
2066
|
+
readonly vault: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
|
|
2067
|
+
}, {
|
|
2068
|
+
readonly symbol: "sodaBNB";
|
|
2069
|
+
readonly name: "Soda BNB";
|
|
2070
|
+
readonly decimals: 7;
|
|
2071
|
+
readonly address: "CCXTXZAFLVNTMORVWYB6BGL7YEW3U3ONDAL2FGBRGDUQH7AGANVQPRS6";
|
|
2072
|
+
readonly chainKey: "stellar";
|
|
2073
|
+
readonly hubAsset: "0xa10be5f5c2dea7d272555dc73ea2a7317c3c5b63";
|
|
2074
|
+
readonly vault: "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b";
|
|
1906
2075
|
}];
|
|
1907
2076
|
readonly sui: [{
|
|
1908
2077
|
readonly symbol: "SUI";
|
|
@@ -2034,6 +2203,14 @@ export declare const moneyMarketConfig: {
|
|
|
2034
2203
|
readonly chainKey: "sonic";
|
|
2035
2204
|
readonly hubAsset: "0x7c7d53EEcda37a87ce0D5bf8E0b24512A48dC963";
|
|
2036
2205
|
readonly vault: "0x21685E341DE7844135329914Be6Bd8D16982d834";
|
|
2206
|
+
}, {
|
|
2207
|
+
readonly symbol: "USSD";
|
|
2208
|
+
readonly name: "US Sonic Dollar";
|
|
2209
|
+
readonly decimals: 18;
|
|
2210
|
+
readonly address: "0x000000000eCcFf26B795F73fb0A70d48da657fEf";
|
|
2211
|
+
readonly chainKey: "sonic";
|
|
2212
|
+
readonly hubAsset: "0x000000000eCcFf26B795F73fb0A70d48da657fEf";
|
|
2213
|
+
readonly vault: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
2037
2214
|
}, ...({
|
|
2038
2215
|
readonly symbol: "sodaBNB";
|
|
2039
2216
|
readonly name: "Soda BNB";
|
|
@@ -2227,13 +2404,45 @@ export declare const moneyMarketConfig: {
|
|
|
2227
2404
|
readonly hubAsset: "0x1Fbe5229e9d189F26bEE77E5bFa24309FdA90483";
|
|
2228
2405
|
readonly vault: "0x1Fbe5229e9d189F26bEE77E5bFa24309FdA90483";
|
|
2229
2406
|
} | {
|
|
2230
|
-
readonly symbol: "
|
|
2231
|
-
readonly name: "
|
|
2407
|
+
readonly symbol: "sodaSUSDS";
|
|
2408
|
+
readonly name: "SODA sUSDS";
|
|
2232
2409
|
readonly decimals: 18;
|
|
2233
2410
|
readonly address: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
2234
2411
|
readonly chainKey: "sonic";
|
|
2235
2412
|
readonly hubAsset: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
2236
2413
|
readonly vault: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
2414
|
+
} | {
|
|
2415
|
+
readonly symbol: "sodaHBAR";
|
|
2416
|
+
readonly name: "Soda HBAR";
|
|
2417
|
+
readonly decimals: 18;
|
|
2418
|
+
readonly address: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
2419
|
+
readonly chainKey: "sonic";
|
|
2420
|
+
readonly hubAsset: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
2421
|
+
readonly vault: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
2422
|
+
} | {
|
|
2423
|
+
readonly symbol: "sodaJITOSOL";
|
|
2424
|
+
readonly name: "Soda JITOSOL";
|
|
2425
|
+
readonly decimals: 18;
|
|
2426
|
+
readonly address: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
2427
|
+
readonly chainKey: "sonic";
|
|
2428
|
+
readonly hubAsset: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
2429
|
+
readonly vault: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
2430
|
+
} | {
|
|
2431
|
+
readonly symbol: "sodaUSDS";
|
|
2432
|
+
readonly name: "Soda USDS";
|
|
2433
|
+
readonly decimals: 18;
|
|
2434
|
+
readonly address: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
2435
|
+
readonly chainKey: "sonic";
|
|
2436
|
+
readonly hubAsset: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
2437
|
+
readonly vault: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
2438
|
+
} | {
|
|
2439
|
+
readonly symbol: "sodaUSSD";
|
|
2440
|
+
readonly name: "Soda USSD";
|
|
2441
|
+
readonly decimals: 18;
|
|
2442
|
+
readonly address: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
2443
|
+
readonly chainKey: "sonic";
|
|
2444
|
+
readonly hubAsset: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
2445
|
+
readonly vault: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
2237
2446
|
})[]];
|
|
2238
2447
|
readonly near: [{
|
|
2239
2448
|
readonly symbol: "NEAR";
|
|
@@ -2357,6 +2566,14 @@ export declare const moneyMarketConfig: {
|
|
|
2357
2566
|
readonly chainKey: "ethereum";
|
|
2358
2567
|
readonly hubAsset: "0xee6236c791db0755c9bc333b4c7c85ab754f2a0a";
|
|
2359
2568
|
readonly vault: "0x14C5eB2D25dFb834852dFc85744875d1eCb09748";
|
|
2569
|
+
}, {
|
|
2570
|
+
readonly symbol: "USDS";
|
|
2571
|
+
readonly name: "USDS Stablecoin";
|
|
2572
|
+
readonly decimals: 18;
|
|
2573
|
+
readonly address: "0xdC035D45d973E3EC169d2276DDab16f1e407384F";
|
|
2574
|
+
readonly chainKey: "ethereum";
|
|
2575
|
+
readonly hubAsset: "0x31D3a9319C76EC4A474721966dA65b94e6bFc9eF";
|
|
2576
|
+
readonly vault: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
2360
2577
|
}];
|
|
2361
2578
|
readonly redbelly: [{
|
|
2362
2579
|
readonly symbol: "bnUSD";
|
|
@@ -2554,6 +2771,31 @@ export declare const moneyMarketConfig: {
|
|
|
2554
2771
|
readonly hubAsset: "0xeb0393893b5bf98a50073d6740738b08e575058b";
|
|
2555
2772
|
readonly vault: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
|
|
2556
2773
|
}];
|
|
2774
|
+
readonly hedera: [{
|
|
2775
|
+
readonly symbol: "bnUSD";
|
|
2776
|
+
readonly name: "bnUSD";
|
|
2777
|
+
readonly decimals: 8;
|
|
2778
|
+
readonly address: "0x0000000000000000000000000000000000a0286a";
|
|
2779
|
+
readonly chainKey: "hedera";
|
|
2780
|
+
readonly hubAsset: "0x44be1984cd279334a630469fa357305c7dba2837";
|
|
2781
|
+
readonly vault: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
|
|
2782
|
+
}, {
|
|
2783
|
+
readonly symbol: "SODA";
|
|
2784
|
+
readonly name: "SODAX";
|
|
2785
|
+
readonly decimals: 8;
|
|
2786
|
+
readonly address: "0x0000000000000000000000000000000000a02869";
|
|
2787
|
+
readonly chainKey: "hedera";
|
|
2788
|
+
readonly hubAsset: "0x1217721376839dbffe78093ddd5d8e50d0239b3f";
|
|
2789
|
+
readonly vault: "0x21685E341DE7844135329914Be6Bd8D16982d834";
|
|
2790
|
+
}, {
|
|
2791
|
+
readonly symbol: "USDC";
|
|
2792
|
+
readonly name: "USD Coin";
|
|
2793
|
+
readonly decimals: 6;
|
|
2794
|
+
readonly address: "0x000000000000000000000000000000000006f89a";
|
|
2795
|
+
readonly chainKey: "hedera";
|
|
2796
|
+
readonly hubAsset: "0xafafae0c1476424c4b81f09095bd7dcb858047c8";
|
|
2797
|
+
readonly vault: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
|
|
2798
|
+
}];
|
|
2557
2799
|
};
|
|
2558
|
-
readonly supportedReserveAssets: [...("0x21685E341DE7844135329914Be6Bd8D16982d834" | "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d" | "0x4effB5813271699683C25c734F4daBc45B363709" | "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b" | "0x14238D267557E9d799016ad635B53CD15935d290" | "0x811C3fCc13f9c2a23AE2Ae2DCadacFAC6eb5f0eB" | "0xdEa692287E2cE8Cb08FA52917Be0F16b1DACDC87" | "0x6BC8C37cba91F76E68C9e6d689A9C21E4d32079B" | "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13" | "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3" | "0xE801CA34E19aBCbFeA12025378D19c4FBE250131" | "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833" | "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876" | "0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51" | "0x62ecc3Eeb80a162c57624B3fF80313FE69f5203e" | "0x208ED38f4783328aA9eBFeC360D32e7520A9B779" | "0x6E81124fC5d2Bf666B16a0A5d90066eBf35c7411" | "0x4B207114F9118dEAC56436e1aE3c45648783c7Ac" | "0x14C5eB2D25dFb834852dFc85744875d1eCb09748" | "0xCb6B152D3a943f25157381aFcA7fEFCD2ef5a357" | "0x58b0538D7EEaeE69EF32f9F1dE5cbF32A10a977B" | "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39" | "0xD7d41b5f803b6A40F8A6eAa34E459A4564e39891" | "0x1Fbe5229e9d189F26bEE77E5bFa24309FdA90483" | "0x243b0c26c8b38793908d7C64e8510f21B19B4613")[], "0xE801CA34E19aBCbFeA12025378D19c4FBE250131"];
|
|
2800
|
+
readonly supportedReserveAssets: [...("0x21685E341DE7844135329914Be6Bd8D16982d834" | "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d" | "0x4effB5813271699683C25c734F4daBc45B363709" | "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b" | "0x14238D267557E9d799016ad635B53CD15935d290" | "0x811C3fCc13f9c2a23AE2Ae2DCadacFAC6eb5f0eB" | "0xdEa692287E2cE8Cb08FA52917Be0F16b1DACDC87" | "0x6BC8C37cba91F76E68C9e6d689A9C21E4d32079B" | "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13" | "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3" | "0xE801CA34E19aBCbFeA12025378D19c4FBE250131" | "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833" | "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876" | "0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51" | "0x62ecc3Eeb80a162c57624B3fF80313FE69f5203e" | "0x208ED38f4783328aA9eBFeC360D32e7520A9B779" | "0x6E81124fC5d2Bf666B16a0A5d90066eBf35c7411" | "0x4B207114F9118dEAC56436e1aE3c45648783c7Ac" | "0x14C5eB2D25dFb834852dFc85744875d1eCb09748" | "0xCb6B152D3a943f25157381aFcA7fEFCD2ef5a357" | "0x58b0538D7EEaeE69EF32f9F1dE5cbF32A10a977B" | "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39" | "0xD7d41b5f803b6A40F8A6eAa34E459A4564e39891" | "0x1Fbe5229e9d189F26bEE77E5bFa24309FdA90483" | "0x243b0c26c8b38793908d7C64e8510f21B19B4613" | "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4" | "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0" | "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e" | "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37")[], "0xE801CA34E19aBCbFeA12025378D19c4FBE250131"];
|
|
2559
2801
|
};
|
|
@@ -21,6 +21,7 @@ export const moneyMarketSupportedTokens = {
|
|
|
21
21
|
spokeChainConfig[ChainKeys.ARBITRUM_MAINNET].supportedTokens.USDC,
|
|
22
22
|
spokeChainConfig[ChainKeys.ARBITRUM_MAINNET].supportedTokens.SODA,
|
|
23
23
|
spokeChainConfig[ChainKeys.ARBITRUM_MAINNET].supportedTokens.sUSDS,
|
|
24
|
+
spokeChainConfig[ChainKeys.ARBITRUM_MAINNET].supportedTokens.USDS,
|
|
24
25
|
],
|
|
25
26
|
[ChainKeys.BASE_MAINNET]: [
|
|
26
27
|
spokeChainConfig[ChainKeys.BASE_MAINNET].supportedTokens.ETH,
|
|
@@ -31,6 +32,7 @@ export const moneyMarketSupportedTokens = {
|
|
|
31
32
|
spokeChainConfig[ChainKeys.BASE_MAINNET].supportedTokens.cbBTC,
|
|
32
33
|
spokeChainConfig[ChainKeys.BASE_MAINNET].supportedTokens.SODA,
|
|
33
34
|
spokeChainConfig[ChainKeys.BASE_MAINNET].supportedTokens.USDT,
|
|
35
|
+
spokeChainConfig[ChainKeys.BASE_MAINNET].supportedTokens.USDS,
|
|
34
36
|
],
|
|
35
37
|
[ChainKeys.OPTIMISM_MAINNET]: [
|
|
36
38
|
spokeChainConfig[ChainKeys.OPTIMISM_MAINNET].supportedTokens.ETH,
|
|
@@ -90,6 +92,7 @@ export const moneyMarketSupportedTokens = {
|
|
|
90
92
|
spokeChainConfig[ChainKeys.SOLANA_MAINNET].supportedTokens.USDC,
|
|
91
93
|
spokeChainConfig[ChainKeys.SOLANA_MAINNET].supportedTokens.SODA,
|
|
92
94
|
spokeChainConfig[ChainKeys.SOLANA_MAINNET].supportedTokens.USDT,
|
|
95
|
+
spokeChainConfig[ChainKeys.SOLANA_MAINNET].supportedTokens.JitoSOL,
|
|
93
96
|
],
|
|
94
97
|
[ChainKeys.ICON_MAINNET]: [
|
|
95
98
|
// spokeChainConfig[ChainKeys.ICON].supportedTokens.ICX,
|
|
@@ -101,6 +104,9 @@ export const moneyMarketSupportedTokens = {
|
|
|
101
104
|
spokeChainConfig[ChainKeys.STELLAR_MAINNET].supportedTokens.bnUSD,
|
|
102
105
|
spokeChainConfig[ChainKeys.STELLAR_MAINNET].supportedTokens.SODA,
|
|
103
106
|
spokeChainConfig[ChainKeys.STELLAR_MAINNET].supportedTokens.USDC,
|
|
107
|
+
spokeChainConfig[ChainKeys.STELLAR_MAINNET].supportedTokens.sodaETH,
|
|
108
|
+
spokeChainConfig[ChainKeys.STELLAR_MAINNET].supportedTokens.sodaBTC,
|
|
109
|
+
spokeChainConfig[ChainKeys.STELLAR_MAINNET].supportedTokens.sodaBNB,
|
|
104
110
|
],
|
|
105
111
|
[ChainKeys.SUI_MAINNET]: [
|
|
106
112
|
spokeChainConfig[ChainKeys.SUI_MAINNET].supportedTokens.SUI,
|
|
@@ -123,6 +129,7 @@ export const moneyMarketSupportedTokens = {
|
|
|
123
129
|
spokeChainConfig[ChainKeys.SONIC_MAINNET].supportedTokens.USDT,
|
|
124
130
|
spokeChainConfig[ChainKeys.SONIC_MAINNET].supportedTokens.wS,
|
|
125
131
|
spokeChainConfig[ChainKeys.SONIC_MAINNET].supportedTokens.SODA,
|
|
132
|
+
spokeChainConfig[ChainKeys.SONIC_MAINNET].supportedTokens.USSD,
|
|
126
133
|
...Object.values(SodaTokens),
|
|
127
134
|
],
|
|
128
135
|
[ChainKeys.NEAR_MAINNET]: [
|
|
@@ -143,6 +150,7 @@ export const moneyMarketSupportedTokens = {
|
|
|
143
150
|
spokeChainConfig[ChainKeys.ETHEREUM_MAINNET].supportedTokens.WBTC,
|
|
144
151
|
spokeChainConfig[ChainKeys.ETHEREUM_MAINNET].supportedTokens.WBTC_LEGACY,
|
|
145
152
|
spokeChainConfig[ChainKeys.ETHEREUM_MAINNET].supportedTokens.LL,
|
|
153
|
+
spokeChainConfig[ChainKeys.ETHEREUM_MAINNET].supportedTokens.USDS,
|
|
146
154
|
],
|
|
147
155
|
[ChainKeys.REDBELLY_MAINNET]: [
|
|
148
156
|
spokeChainConfig[ChainKeys.REDBELLY_MAINNET].supportedTokens.bnUSD,
|
|
@@ -176,6 +184,11 @@ export const moneyMarketSupportedTokens = {
|
|
|
176
184
|
[ChainKeys.BITCOIN_MAINNET]: [
|
|
177
185
|
spokeChainConfig[ChainKeys.BITCOIN_MAINNET].supportedTokens.BTC,
|
|
178
186
|
],
|
|
187
|
+
[ChainKeys.HEDERA_MAINNET]: [
|
|
188
|
+
spokeChainConfig[ChainKeys.HEDERA_MAINNET].supportedTokens.bnUSD,
|
|
189
|
+
spokeChainConfig[ChainKeys.HEDERA_MAINNET].supportedTokens.SODA,
|
|
190
|
+
spokeChainConfig[ChainKeys.HEDERA_MAINNET].supportedTokens.USDC,
|
|
191
|
+
],
|
|
179
192
|
};
|
|
180
193
|
export const moneyMarketReserveAssets = [
|
|
181
194
|
...Object.values(SodaTokens).map(vault => vault.address),
|
package/dist/near/near.d.ts
CHANGED
|
@@ -37,6 +37,10 @@ export interface FTTransferCallArgs {
|
|
|
37
37
|
memo?: string;
|
|
38
38
|
msg?: string;
|
|
39
39
|
}
|
|
40
|
+
export interface StorageDepositArgs {
|
|
41
|
+
account_id: string;
|
|
42
|
+
registration_only?: boolean;
|
|
43
|
+
}
|
|
40
44
|
export interface NearTransferArgs {
|
|
41
45
|
to: Array<number>;
|
|
42
46
|
amount: string;
|
|
@@ -52,7 +56,7 @@ export interface SetHubConfig {
|
|
|
52
56
|
hub_chain_id: number;
|
|
53
57
|
hub_asset_manager: number[];
|
|
54
58
|
}
|
|
55
|
-
export type ContractArgs = TransferArgs | InitArgs | SetHubConfig | FTTransferCallArgs | NearTransferArgs | SendMsgArgs | FillIntentArgs;
|
|
59
|
+
export type ContractArgs = TransferArgs | InitArgs | SetHubConfig | FTTransferCallArgs | StorageDepositArgs | NearTransferArgs | SendMsgArgs | FillIntentArgs;
|
|
56
60
|
export interface CallContractParams {
|
|
57
61
|
contractId: string;
|
|
58
62
|
method: string;
|