Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lifi/data-types",
"version": "6.80.1",
"version": "6.81.0-alpha.0",
"description": "Data types for the LI.FI stack",
"keywords": [
"sdk",
Expand Down Expand Up @@ -78,7 +78,7 @@
]
},
"dependencies": {
"@lifi/types": "17.82.1"
"@lifi/types": "17.83.0-beta.1"
},
"devDependencies": {
"@commitlint/cli": "^19.7.1",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/chains/foundry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export const foundryChainNameMap: Record<ChainId, string> = {
[ChainId.ZEROG]: '0g',
[ChainId.PHR]: 'pharos',
[ChainId.SOM]: 'somnia',
[ChainId.OUT]: 'outlaw',
[ChainId.OPST]: 'optimismsepolia',
[ChainId.BAST]: 'basesepolia',
[ChainId.ARBS]: 'arbitrumsepolia',
Expand Down
25 changes: 25 additions & 0 deletions src/chains/supportedChains.evm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2173,4 +2173,29 @@ export const supportedEVMChains: EVMChain[] = [
],
},
},

// 4663 - Outlaw
{
key: ChainKey.OUT,
chainType: ChainType.EVM,
name: 'Outlaw',
coin: CoinKey.ETH,
id: ChainId.OUT,
mainnet: true,
logoURI:
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/outlaw.svg',
multicallAddress: multicallAddresses[ChainId.OUT],
relayerSupported: false,
metamask: {
chainId: prefixChainId(ChainId.OUT),
blockExplorerUrls: ['https://8crv4vmq6tiu1yqr.blockscout.com/'],
chainName: 'Outlaw',
nativeCurrency: {
name: 'Ether',
symbol: 'ETH',
decimals: 18,
},
rpcUrls: ['https://out-rpc.transferto.xyz/'],
},
},
]
32 changes: 32 additions & 0 deletions src/coins/coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@ export const basicCoins: BasicCoin[] = [
decimals: 18,
name: 'Ether (Spot)',
},
[ChainId.OUT]: {
address: '0x0000000000000000000000000000000000000000',
decimals: 18,
},
},
},
// > MATIC
Expand Down Expand Up @@ -2143,6 +2147,10 @@ export const basicCoins: BasicCoin[] = [
address: '0x1f4b7011Ee3d53969bb67F59428a9ec0477856E9',
decimals: 18,
},
[ChainId.OUT]: {
address: '0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73',
decimals: 18,
},
},
},

Expand Down Expand Up @@ -3549,6 +3557,20 @@ export const basicCoins: BasicCoin[] = [
},
},

// USDG (Global Dollar)
{
key: CoinKey.USDG,
name: 'Global Dollar',
logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/33793.png',
verified: true,
chains: {
[ChainId.OUT]: {
address: '0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168',
decimals: 18,
},
},
},

{
key: CoinKey.ZEROG,
name: '0G',
Expand Down Expand Up @@ -4645,6 +4667,16 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = {
logoURI:
'https://static.debank.com/image/uni_token/logo_url/uni/48bfb74adddd170e936578aec422836d.png',
},
[ChainId.OUT]: {
address: '0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73',
symbol: 'WETH',
decimals: 18,
chainId: ChainId.OUT,
coinKey: CoinKey.WETH,
name: 'Wrapped Ether',
logoURI:
'https://static.debank.com/image/uni_token/logo_url/uni/48bfb74adddd170e936578aec422836d.png',
},
}
export const findDefaultCoin = (coinKey: CoinKey): Coin => {
const coin = defaultCoins.find((coin) => coin.key === coinKey)
Expand Down
1 change: 1 addition & 0 deletions src/multicall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export const multicallAddresses: { [ChainId: number]: string } = {
[ChainId.ZEROG]: '0xcA11bde05977b3631167028862bE2a173976CA11',
[ChainId.PHR]: '0xcA11bde05977b3631167028862bE2a173976CA11',
[ChainId.SOM]: '0x5e44F178E8cF9B2F5409B6f18ce936aB817C5a11',
[ChainId.OUT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
[ChainId.OPST]: '0xcA11bde05977b3631167028862bE2a173976CA11',
[ChainId.BAST]: '0xcA11bde05977b3631167028862bE2a173976CA11',
[ChainId.ARBS]: '0xcA11bde05977b3631167028862bE2a173976CA11',
Expand Down
Loading