Skip to content

Commit

Permalink
Merge pull request #1268 from airswap/develop
Browse files Browse the repository at this point in the history
update staking token addresses, deploy staking to testnets (#1267)
  • Loading branch information
dmosites authored Jan 19, 2024
2 parents a9d08e3 + 4fa22ea commit da9bbc7
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 20 deletions.
2 changes: 1 addition & 1 deletion source/batch-call/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@airswap/swap-erc20": "4.2.0-beta.0"
},
"devDependencies": {
"@airswap/constants": "4.2.0-beta.0",
"@airswap/constants": "4.2.0-beta.1",
"@airswap/utils": "4.2.0-beta.0",
"prompt-confirm": "^2.0.4"
},
Expand Down
2 changes: 1 addition & 1 deletion source/pool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@openzeppelin/contracts": "^4.8.3"
},
"devDependencies": {
"@airswap/constants": "4.2.0-beta.0",
"@airswap/constants": "4.2.0-beta.1",
"@airswap/metadata": "4.1.16",
"@airswap/types": "4.2.0-beta.0",
"@airswap/utils": "4.2.0-beta.0",
Expand Down
2 changes: 1 addition & 1 deletion source/registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"access": "public"
},
"devDependencies": {
"@airswap/constants": "4.2.0-beta.0",
"@airswap/constants": "4.2.0-beta.1",
"@airswap/utils": "4.2.0-beta.0",
"prompt-confirm": "^2.0.4"
}
Expand Down
4 changes: 3 additions & 1 deletion source/staking/deploys-blocks.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module.exports = {
5: 10396254,
5: 10399105,
17000: 767722,
11155111: 5113781,
}
4 changes: 3 additions & 1 deletion source/staking/deploys.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module.exports = {
5: '0x86E8A7Efb420C19f2ba1d72ee74d31C4f4A8aC70',
5: '0xaCfd509f5785E57257B2eAc3AE4Ef080074d37c3',
17000: '0xaCfd509f5785E57257B2eAc3AE4Ef080074d37c3',
11155111: '0xaCfd509f5785E57257B2eAc3AE4Ef080074d37c3',
}
2 changes: 1 addition & 1 deletion source/staking/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@airswap/staking",
"version": "4.2.0-beta.0",
"version": "4.2.0-beta.1",
"description": "AirSwap: Stake Tokens",
"license": "MIT",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions source/swap-erc20/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"@openzeppelin/contracts": "^4.8.3"
},
"devDependencies": {
"@airswap/constants": "4.2.0-beta.0",
"@airswap/staking": "4.2.0-beta.0",
"@airswap/constants": "4.2.0-beta.1",
"@airswap/staking": "4.2.0-beta.1",
"@airswap/types": "4.2.0-beta.0",
"@airswap/utils": "4.2.0-beta.0",
"prompt-confirm": "^2.0.4"
Expand Down
2 changes: 1 addition & 1 deletion source/swap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@openzeppelin/contracts": "^4.8.3"
},
"devDependencies": {
"@airswap/constants": "4.2.0-beta.0",
"@airswap/constants": "4.2.0-beta.1",
"@airswap/types": "4.2.0-beta.0",
"@airswap/utils": "4.2.0-beta.0",
"@nomicfoundation/hardhat-network-helpers": "^1.0.7"
Expand Down
2 changes: 1 addition & 1 deletion source/wrapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@openzeppelin/contracts": "^4.8.3"
},
"devDependencies": {
"@airswap/constants": "4.2.0-beta.0",
"@airswap/constants": "4.2.0-beta.1",
"@airswap/utils": "4.2.0-beta.0",
"@airswap/types": "4.2.0-beta.0",
"@uniswap/v2-periphery": "^1.1.0-beta.0",
Expand Down
8 changes: 4 additions & 4 deletions tools/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export const explorerUrls: Record<number, string> = {
[ChainIds.MUMBAI]: 'https://mumbai.polygonscan.com',
[ChainIds.BASEGOERLI]: 'https://goerli.basescan.org',
[ChainIds.ARBITRUMGOERLI]: 'https://goerli.arbiscan.io',
[ChainIds.SEPOLIA]: 'https://sepolia.etherscan.io/',
[ChainIds.SEPOLIA]: 'https://sepolia.etherscan.io',
}

export const explorerApiUrls: Record<number, string> = {
Expand All @@ -210,9 +210,9 @@ export const explorerApiUrls: Record<number, string> = {

export const stakingTokenAddresses: Record<number, string> = {
[ChainIds.MAINNET]: '0x27054b13b1b798b345b591a4d22e6562d47ea75a',
[ChainIds.GOERLI]: '0x23474e94e27ac59eec4411ce96c322add8833680',
[ChainIds.SEPOLIA]: '0x517d482f686f11b922eed764692f2b42663ce2fa',
[ChainIds.HOLESKY]: '0x71070c5607358fc25E3B4aaf4FB0a580c190252a',
[ChainIds.GOERLI]: '0x4092d6dba9abb7450b9d91aa7ed2712935d63b39',
[ChainIds.SEPOLIA]: '0x4092d6dba9abb7450b9d91aa7ed2712935d63b39',
[ChainIds.HOLESKY]: '0x4092d6dba9abb7450b9d91aa7ed2712935d63b39',
}

export const ownerAddresses: Record<number, string> = {
Expand Down
2 changes: 1 addition & 1 deletion tools/constants/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@airswap/constants",
"version": "4.2.0-beta.0",
"version": "4.2.0-beta.1",
"description": "AirSwap: Constants for Developers",
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions tools/libraries/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@airswap/libraries",
"version": "4.1.19-beta.1",
"version": "4.1.19-beta.2",
"description": "AirSwap: Libraries for Developers",
"repository": {
"type": "git",
Expand All @@ -27,11 +27,11 @@
},
"dependencies": {
"@airswap/batch-call": "4.2.0-beta.0",
"@airswap/constants": "4.2.0-beta.0",
"@airswap/constants": "4.2.0-beta.1",
"@airswap/jsonrpc-client-websocket": "0.0.1",
"@airswap/registry": "4.2.0-beta.0",
"@airswap/pool": "4.2.0-beta.0",
"@airswap/staking": "4.2.0-beta.0",
"@airswap/staking": "4.2.0-beta.1",
"@airswap/swap": "4.2.0-beta.0",
"@airswap/swap-erc20": "4.2.0-beta.0",
"@airswap/types": "4.2.0-beta.0",
Expand Down
2 changes: 1 addition & 1 deletion tools/metadata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test": "TS_NODE_COMPILER_OPTIONS='{\"strict\":false}' yarn mocha -r ts-node/esm test/*.ts"
},
"dependencies": {
"@airswap/constants": "4.2.0-beta.0",
"@airswap/constants": "4.2.0-beta.1",
"@airswap/types": "4.2.0-beta.0",
"@airswap/wrapper": "4.2.0-beta.0",
"@openzeppelin/contracts": "^4.8.3",
Expand Down
2 changes: 1 addition & 1 deletion tools/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"test:ci": "yarn test"
},
"dependencies": {
"@airswap/constants": "4.2.0-beta.0",
"@airswap/constants": "4.2.0-beta.1",
"@airswap/types": "4.2.0-beta.0",
"@metamask/eth-sig-util": "^5.0.2",
"bignumber.js": "^9.0.1",
Expand Down

0 comments on commit da9bbc7

Please sign in to comment.