Commit d9ba8c7e authored by vicotor's avatar vicotor

update contract and name

parent 5174518d
Pipeline #875 failed with stages
MIT License
Copyright (c) 2021 Uniswap Labs
Copyright (c) 2025 LongDistance
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
{
"name": "@uniswap/v2-sdk",
"name": "@longdistance/swap-v2-sdk",
"license": "MIT",
"version": "4.3.0",
"description": "🛠 An SDK for building applications on top of Uniswap V2",
"version": "0.0.1",
"description": "🛠 An SDK for building applications on top of Swap.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"repository": "https://github.com/Uniswap/uniswap-v2-sdk.git",
"repository": "https://github.com/LuckySwap/luckyswap-v2-sdk.git",
"keywords": [
"uniswap",
"swap",
"ethereum"
],
"module": "dist/v2-sdk.esm.js",
......
......@@ -4,11 +4,11 @@ import JSBI from 'jsbi'
/**
* @deprecated use FACTORY_ADDRESS_MAP instead
*/
export const FACTORY_ADDRESS = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f'
export const FACTORY_ADDRESS = '0xedd8Da22D948f3F594FdC37840d961461814EeA3'
export const FACTORY_ADDRESS_MAP: { [chainId: number]: string } = V2_FACTORY_ADDRESSES
export const INIT_CODE_HASH = '0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f'
export const INIT_CODE_HASH = '0x3b74372fa0f22f714191d2557bc894182dd4f96b8d887c81c8008b419e8e4146'
export const MINIMUM_LIQUIDITY = JSBI.BigInt(1000)
......
......@@ -54,8 +54,8 @@ export class Pair {
tokenAmounts[0].currency.chainId,
Pair.getAddress(tokenAmounts[0].currency, tokenAmounts[1].currency),
18,
'UNI-V2',
'Uniswap V2'
'LDSwap-V2',
'LDSwap V2'
)
this.tokenAmounts = tokenAmounts as [CurrencyAmount<Token>, CurrencyAmount<Token>]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment