@lifi/types
Advanced tools
Comparing version 1.7.0 to 1.8.0
@@ -5,2 +5,10 @@ # Changelog | ||
## [1.8.0](https://github.com/lifinance/types/compare/v1.7.0...v1.8.0) (2022-09-30) | ||
### Features | ||
* add Swapr on Gnosis and OKCSwap on OKT ([#97](https://github.com/lifinance/types/issues/97)) ([9abab9b](https://github.com/lifinance/types/commit/9abab9bbe500355de07b61bf8cdb7100e868cf76)) | ||
* add Wagyu Dex on Velas ([#98](https://github.com/lifinance/types/issues/98)) ([d3201a2](https://github.com/lifinance/types/commit/d3201a2c8eaf4a385d79333c3b0ce4923ac58ead)) | ||
## [1.7.0](https://github.com/lifinance/types/compare/v1.6.0...v1.7.0) (2022-09-13) | ||
@@ -7,0 +15,0 @@ |
@@ -685,2 +685,3 @@ /* | ||
multicallAddress: multicallAddresses[ChainId.VEL], | ||
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/velas.png', | ||
metamask: { | ||
@@ -687,0 +688,0 @@ chainId: prefixChainId(106), |
@@ -688,2 +688,3 @@ "use strict"; | ||
multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.VEL], | ||
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/velas.png', | ||
metamask: { | ||
@@ -690,0 +691,0 @@ chainId: (0, EVMChain_1.prefixChainId)(106), |
@@ -82,2 +82,7 @@ "use strict"; | ||
}, | ||
// https://evmexplorer.velas.com/token/0x85219708c49aa701871Ad330A94EA0f41dFf24Ca | ||
[base_1.ChainId.VEL]: { | ||
address: '0x85219708c49aa701871ad330a94ea0f41dff24ca', | ||
decimals: 18, | ||
}, | ||
// Testnets | ||
@@ -148,2 +153,7 @@ [base_1.ChainId.ROP]: { | ||
}, | ||
// https://evmexplorer.velas.com/token/0x6ab0B8C1a35F9F4Ce107cCBd05049CB1Dbd99Ec5/ | ||
[base_1.ChainId.VEL]: { | ||
address: '0x6ab0b8c1a35f9f4ce107ccbd05049cb1dbd99ec5', | ||
decimals: 18, | ||
}, | ||
// Testnet | ||
@@ -190,2 +200,7 @@ [base_1.ChainId.MUM]: { | ||
}, | ||
// https://evmexplorer.velas.com/token/0x2B8e9cD44C9e09D936149549a8d207c918ecB5C4 | ||
[base_1.ChainId.VEL]: { | ||
address: '0x2b8e9cd44c9e09d936149549a8d207c918ecb5c4', | ||
decimals: 18, | ||
}, | ||
// Testnet | ||
@@ -296,2 +311,8 @@ [base_1.ChainId.BSCT]: { | ||
}, | ||
// https://evmexplorer.velas.com/token/0xE3F5a90F9cb311505cd691a46596599aA1A0AD7D | ||
[base_1.ChainId.VEL]: { | ||
address: '0xe3f5a90f9cb311505cd691a46596599aa1a0ad7d', | ||
decimals: 18, | ||
name: 'Dai Stablecoin', | ||
}, | ||
// Testnets | ||
@@ -512,2 +533,8 @@ [base_1.ChainId.ROP]: { | ||
}, | ||
// https://evmexplorer.velas.com/token/0x01445C31581c354b7338AC35693AB2001B50b9aE | ||
[base_1.ChainId.VEL]: { | ||
address: '0x01445c31581c354b7338ac35693ab2001b50b9ae', | ||
decimals: 6, | ||
name: 'Multichain USDT', | ||
}, | ||
// Testnets | ||
@@ -613,2 +640,8 @@ [base_1.ChainId.ROP]: { | ||
}, | ||
// https://evmexplorer.velas.com/token/0xe2C120f188eBd5389F71Cf4d9C16d05b62A58993 | ||
[base_1.ChainId.VEL]: { | ||
address: '0xe2c120f188ebd5389f71cf4d9c16d05b62a58993', | ||
decimals: 6, | ||
name: 'Multichain USDC', | ||
}, | ||
// Testnets | ||
@@ -1079,2 +1112,15 @@ [base_1.ChainId.ROP]: { | ||
}, | ||
// > VEL | ||
{ | ||
key: base_1.CoinKey.VLX, | ||
name: 'Velas', | ||
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/tokens/vlx.png', | ||
verified: true, | ||
chains: { | ||
[base_1.ChainId.VEL]: { | ||
address: '0x0000000000000000000000000000000000000000', | ||
decimals: 18, | ||
}, | ||
}, | ||
}, | ||
]; | ||
@@ -1291,2 +1337,11 @@ exports.defaultCoins = basicCoins.map((coin) => { | ||
}, | ||
[base_1.ChainId.VEL]: { | ||
address: '0xc579d1f3cf86749e05cd06f7ade17856c2ce3126', | ||
symbol: 'WVLX', | ||
decimals: 18, | ||
chainId: base_1.ChainId.VEL, | ||
coinKey: 'WVLX', | ||
name: 'Wrapped VLX', | ||
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/tokens/vlx.png', | ||
}, | ||
// Testnets | ||
@@ -1293,0 +1348,0 @@ [base_1.ChainId.ROP]: { |
@@ -284,2 +284,22 @@ "use strict"; | ||
}, | ||
{ | ||
key: 'swapr-dai', | ||
name: 'Swapr', | ||
chainId: _1.ChainId.DAI, | ||
webUrl: 'https://swapr.eth.limo/', | ||
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/swapr.png', | ||
tokenlistUrl: 'https://gist.githubusercontent.com/mathiasmoeller/03525afe098af3d45b9aff1f8a04acd9/raw/76d9b818659fe1fe90c8f0f0edc36f23160d4dc1/swapr-token-list.json', | ||
routerAddress: '0xE43e60736b1cb4a75ad25240E2f9a62Bff65c0C0', | ||
factoryAddress: '0x5D48C95AdfFD4B40c1AAADc4e08fc44117E02179', | ||
initCodeHash: '0xd306a548755b9295ee49cc729e13ca4a45e00199bbd890fa146da43a50571776', | ||
baseTokens: [ | ||
(0, _1.findWrappedGasOnChain)(_1.ChainId.DAI), | ||
{ | ||
address: '0x532801ed6f82fffd2dab70a19fc2d7b2772c4f4b', | ||
symbol: 'SWPR', | ||
decimals: 18, | ||
chainId: _1.ChainId.DAI, | ||
}, | ||
], | ||
}, | ||
// 250 - Fantom | ||
@@ -645,2 +665,27 @@ { | ||
}, | ||
{ | ||
key: 'okcswap-okt', | ||
name: 'OKCSwap', | ||
chainId: _1.ChainId.OKT, | ||
webUrl: 'https://www.okx.com/okc/swap', | ||
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/okx.png', | ||
tokenlistUrl: 'https://www.okx.com/okc/openapi/swap/tokens', | ||
routerAddress: '0xc97b81B8a38b9146010Df85f1Ac714aFE1554343', | ||
factoryAddress: '0x7b9F0a56cA7D20A44f603C03C6f45Db95b31e539', | ||
initCodeHash: '0x00c49b7a1b728b8f0185f09df0b8487b8f4fd0fc3b133cb58039e67a16acb657', | ||
baseTokens: [ | ||
{ | ||
address: '0x8f8526dbfd6e38e3d8307702ca8469bae6c56c15', | ||
symbol: 'WOKT', | ||
decimals: 18, | ||
chainId: _1.ChainId.OKT, | ||
}, | ||
{ | ||
address: '0x382bB369d343125BfB2117af9c149795C6C65C50', | ||
symbol: _1.CoinKey.USDT, | ||
decimals: 18, | ||
chainId: _1.ChainId.OKT, | ||
}, | ||
], | ||
}, | ||
// 25 - Cronos Mainnet Beta | ||
@@ -1057,2 +1102,34 @@ { | ||
}, | ||
// 106 Velas | ||
{ | ||
key: 'wagyuswap-vel', | ||
name: 'Wagyuswap', | ||
chainId: _1.ChainId.VEL, | ||
webUrl: 'https://exchange.wagyuswap.app', | ||
tokenlistUrl: 'https://github.com/wagyuswapapp/wagyu-frontend/blob/wagyu/src/config/constants/tokenLists/pancake-default.tokenlist.json', | ||
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/wagyu.png', | ||
routerAddress: '0x3D1c58B6d4501E34DF37Cf0f664A58059a188F00', | ||
factoryAddress: '0x69f3212344A38b35844cCe4864C2af9c717F35e3', | ||
initCodeHash: '0x3f7eace9f1c10ecce400030e19a86fd03c98c3770ce239a9cdef3b33fb40e933', | ||
baseTokens: [ | ||
{ | ||
address: '0xabf26902fd7b624e0db40d31171ea9dddf078351', | ||
symbol: 'WAG', | ||
decimals: 18, | ||
chainId: _1.ChainId.VEL, | ||
}, | ||
{ | ||
symbol: 'WVLX', | ||
address: '0xc579d1f3cf86749e05cd06f7ade17856c2ce3126', | ||
decimals: 18, | ||
chainId: _1.ChainId.VEL, | ||
}, | ||
{ | ||
symbol: 'ASTRO', | ||
address: '0x72eb7ca07399ec402c5b7aa6a65752b6a1dc0c27', | ||
decimals: 18, | ||
chainId: _1.ChainId.VEL, | ||
}, | ||
], | ||
}, | ||
]; | ||
@@ -1059,0 +1136,0 @@ /** |
@@ -79,2 +79,7 @@ import { ChainId, CoinKey } from './base'; | ||
}, | ||
// https://evmexplorer.velas.com/token/0x85219708c49aa701871Ad330A94EA0f41dFf24Ca | ||
[ChainId.VEL]: { | ||
address: '0x85219708c49aa701871ad330a94ea0f41dff24ca', | ||
decimals: 18, | ||
}, | ||
// Testnets | ||
@@ -145,2 +150,7 @@ [ChainId.ROP]: { | ||
}, | ||
// https://evmexplorer.velas.com/token/0x6ab0B8C1a35F9F4Ce107cCBd05049CB1Dbd99Ec5/ | ||
[ChainId.VEL]: { | ||
address: '0x6ab0b8c1a35f9f4ce107ccbd05049cb1dbd99ec5', | ||
decimals: 18, | ||
}, | ||
// Testnet | ||
@@ -187,2 +197,7 @@ [ChainId.MUM]: { | ||
}, | ||
// https://evmexplorer.velas.com/token/0x2B8e9cD44C9e09D936149549a8d207c918ecB5C4 | ||
[ChainId.VEL]: { | ||
address: '0x2b8e9cd44c9e09d936149549a8d207c918ecb5c4', | ||
decimals: 18, | ||
}, | ||
// Testnet | ||
@@ -293,2 +308,8 @@ [ChainId.BSCT]: { | ||
}, | ||
// https://evmexplorer.velas.com/token/0xE3F5a90F9cb311505cd691a46596599aA1A0AD7D | ||
[ChainId.VEL]: { | ||
address: '0xe3f5a90f9cb311505cd691a46596599aa1a0ad7d', | ||
decimals: 18, | ||
name: 'Dai Stablecoin', | ||
}, | ||
// Testnets | ||
@@ -509,2 +530,8 @@ [ChainId.ROP]: { | ||
}, | ||
// https://evmexplorer.velas.com/token/0x01445C31581c354b7338AC35693AB2001B50b9aE | ||
[ChainId.VEL]: { | ||
address: '0x01445c31581c354b7338ac35693ab2001b50b9ae', | ||
decimals: 6, | ||
name: 'Multichain USDT', | ||
}, | ||
// Testnets | ||
@@ -610,2 +637,8 @@ [ChainId.ROP]: { | ||
}, | ||
// https://evmexplorer.velas.com/token/0xe2C120f188eBd5389F71Cf4d9C16d05b62A58993 | ||
[ChainId.VEL]: { | ||
address: '0xe2c120f188ebd5389f71cf4d9c16d05b62a58993', | ||
decimals: 6, | ||
name: 'Multichain USDC', | ||
}, | ||
// Testnets | ||
@@ -1076,2 +1109,15 @@ [ChainId.ROP]: { | ||
}, | ||
// > VEL | ||
{ | ||
key: CoinKey.VLX, | ||
name: 'Velas', | ||
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/tokens/vlx.png', | ||
verified: true, | ||
chains: { | ||
[ChainId.VEL]: { | ||
address: '0x0000000000000000000000000000000000000000', | ||
decimals: 18, | ||
}, | ||
}, | ||
}, | ||
]; | ||
@@ -1288,2 +1334,11 @@ export const defaultCoins = basicCoins.map((coin) => { | ||
}, | ||
[ChainId.VEL]: { | ||
address: '0xc579d1f3cf86749e05cd06f7ade17856c2ce3126', | ||
symbol: 'WVLX', | ||
decimals: 18, | ||
chainId: ChainId.VEL, | ||
coinKey: 'WVLX', | ||
name: 'Wrapped VLX', | ||
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/tokens/vlx.png', | ||
}, | ||
// Testnets | ||
@@ -1290,0 +1345,0 @@ [ChainId.ROP]: { |
@@ -281,2 +281,22 @@ import { ChainId, CoinKey, findDefaultToken, findWrappedGasOnChain, } from '.'; | ||
}, | ||
{ | ||
key: 'swapr-dai', | ||
name: 'Swapr', | ||
chainId: ChainId.DAI, | ||
webUrl: 'https://swapr.eth.limo/', | ||
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/swapr.png', | ||
tokenlistUrl: 'https://gist.githubusercontent.com/mathiasmoeller/03525afe098af3d45b9aff1f8a04acd9/raw/76d9b818659fe1fe90c8f0f0edc36f23160d4dc1/swapr-token-list.json', | ||
routerAddress: '0xE43e60736b1cb4a75ad25240E2f9a62Bff65c0C0', | ||
factoryAddress: '0x5D48C95AdfFD4B40c1AAADc4e08fc44117E02179', | ||
initCodeHash: '0xd306a548755b9295ee49cc729e13ca4a45e00199bbd890fa146da43a50571776', | ||
baseTokens: [ | ||
findWrappedGasOnChain(ChainId.DAI), | ||
{ | ||
address: '0x532801ed6f82fffd2dab70a19fc2d7b2772c4f4b', | ||
symbol: 'SWPR', | ||
decimals: 18, | ||
chainId: ChainId.DAI, | ||
}, | ||
], | ||
}, | ||
// 250 - Fantom | ||
@@ -642,2 +662,27 @@ { | ||
}, | ||
{ | ||
key: 'okcswap-okt', | ||
name: 'OKCSwap', | ||
chainId: ChainId.OKT, | ||
webUrl: 'https://www.okx.com/okc/swap', | ||
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/okx.png', | ||
tokenlistUrl: 'https://www.okx.com/okc/openapi/swap/tokens', | ||
routerAddress: '0xc97b81B8a38b9146010Df85f1Ac714aFE1554343', | ||
factoryAddress: '0x7b9F0a56cA7D20A44f603C03C6f45Db95b31e539', | ||
initCodeHash: '0x00c49b7a1b728b8f0185f09df0b8487b8f4fd0fc3b133cb58039e67a16acb657', | ||
baseTokens: [ | ||
{ | ||
address: '0x8f8526dbfd6e38e3d8307702ca8469bae6c56c15', | ||
symbol: 'WOKT', | ||
decimals: 18, | ||
chainId: ChainId.OKT, | ||
}, | ||
{ | ||
address: '0x382bB369d343125BfB2117af9c149795C6C65C50', | ||
symbol: CoinKey.USDT, | ||
decimals: 18, | ||
chainId: ChainId.OKT, | ||
}, | ||
], | ||
}, | ||
// 25 - Cronos Mainnet Beta | ||
@@ -1054,2 +1099,34 @@ { | ||
}, | ||
// 106 Velas | ||
{ | ||
key: 'wagyuswap-vel', | ||
name: 'Wagyuswap', | ||
chainId: ChainId.VEL, | ||
webUrl: 'https://exchange.wagyuswap.app', | ||
tokenlistUrl: 'https://github.com/wagyuswapapp/wagyu-frontend/blob/wagyu/src/config/constants/tokenLists/pancake-default.tokenlist.json', | ||
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/wagyu.png', | ||
routerAddress: '0x3D1c58B6d4501E34DF37Cf0f664A58059a188F00', | ||
factoryAddress: '0x69f3212344A38b35844cCe4864C2af9c717F35e3', | ||
initCodeHash: '0x3f7eace9f1c10ecce400030e19a86fd03c98c3770ce239a9cdef3b33fb40e933', | ||
baseTokens: [ | ||
{ | ||
address: '0xabf26902fd7b624e0db40d31171ea9dddf078351', | ||
symbol: 'WAG', | ||
decimals: 18, | ||
chainId: ChainId.VEL, | ||
}, | ||
{ | ||
symbol: 'WVLX', | ||
address: '0xc579d1f3cf86749e05cd06f7ade17856c2ce3126', | ||
decimals: 18, | ||
chainId: ChainId.VEL, | ||
}, | ||
{ | ||
symbol: 'ASTRO', | ||
address: '0x72eb7ca07399ec402c5b7aa6a65752b6a1dc0c27', | ||
decimals: 18, | ||
chainId: ChainId.VEL, | ||
}, | ||
], | ||
}, | ||
]; | ||
@@ -1056,0 +1133,0 @@ /** |
{ | ||
"name": "@lifi/types", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "Types for the LI.FI stack", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
424442
10107