Skip to content

Commit

Permalink
Merge pull request #449 from ambrosus/new-cfg
Browse files Browse the repository at this point in the history
Deploy new samb token on eth; Migrate to new config
  • Loading branch information
SvineruS authored Jan 22, 2024
2 parents bcd7f24 + ee9b222 commit 0088eb3
Show file tree
Hide file tree
Showing 28 changed files with 1,649 additions and 547 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- main
- dev
- 'test-*'
- new-cfg
tags:
- 'v*'
- 'test-*'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upload_config_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches:
- '*'
paths:
- 'contracts/configs/main.json'
- 'contracts/configs/legacy/main.json'

jobs:
upload_chainspec_devnet:
Expand All @@ -31,4 +31,4 @@ jobs:

- name: Upload config
run: |
aws s3 cp contracts/configs/main.json s3://${{ steps.extract_bucket.outputs.bucket_name }}/index.html --content-type application/json --cache-control no-cache
aws s3 cp contracts/configs/legacy/main.json s3://${{ steps.extract_bucket.outputs.bucket_name }}/index.html --content-type application/json --cache-control no-cache
4 changes: 2 additions & 2 deletions .github/workflows/upload_config_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches:
- '*'
paths:
- 'contracts/configs/test.json'
- 'contracts/configs/legacy/test.json'

jobs:
upload_chainspec_devnet:
Expand All @@ -31,4 +31,4 @@ jobs:

- name: Upload config
run: |
aws s3 cp contracts/configs/test.json s3://${{ steps.extract_bucket.outputs.bucket_name }}/index.html --content-type application/json --cache-control no-cache
aws s3 cp contracts/configs/legacy/test.json s3://${{ steps.extract_bucket.outputs.bucket_name }}/index.html --content-type application/json --cache-control no-cache
166 changes: 85 additions & 81 deletions contracts/configs/dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,118 +14,122 @@
"isActive": true,
"name": "Synthetic Amber",
"symbol": "SAMB",
"denomination": 18,
"decimals": {
"eth": 18,
"bsc": 18
},
"logo": "https://media-exp1.licdn.com/dms/image/C560BAQFuR2Fncbgbtg/company-logo_200_200/0/1636390910839?e=2159024400&v=beta&t=W0WA5w02tIEH859mVypmzB_FPn29tS5JqTEYr4EYvps",
"primaryNets": [
"amb"
],
"addresses": {
"amb": "0x53a747d34cbe07F6b3d271f75D7B6f0a28A24d3d",
"eth": "0x7cee2ae3042D2C646Aa24FACfA92dfeE589046f0",
"bsc": "0x115E4BEF320793Ff7cA3B4d0d9988292d08a2f45"
},
"nativeAnalog": "AMB"
"networks": {
"amb": {
"address": "0x53a747d34cbe07F6b3d271f75D7B6f0a28A24d3d",
"denomination": 18,
"isPrimary": true,
"nativeCoin": "AMB"
},
"bsc": {
"address": "0x115E4BEF320793Ff7cA3B4d0d9988292d08a2f45",
"denomination": 18,
"isPrimary": false
},
"eth": {
"address": "0x7cee2ae3042D2C646Aa24FACfA92dfeE589046f0",
"denomination": 18,
"isPrimary": false
}
}
},
"WETH": {
"isActive": false,
"name": "Wrapped Ether",
"symbol": "WETH",
"denomination": 18,
"decimals": {
"eth": 18
},
"logo": "https://ethereum.org/static/bfc04ac72981166c740b189463e1f74c/448ee/eth-diamond-black-white.webp",
"primaryNets": [
"eth"
],
"addresses": {
"amb": "0x1BB900dFC9Ce42230C497716CaF0b8f657724FE4",
"eth": "0x1D1c26e0b8DAFa08FD678A888a8f4de175B1d060",
"bsc": ""
},
"nativeAnalog": "ETH"
"networks": {
"amb": {
"address": "0x1BB900dFC9Ce42230C497716CaF0b8f657724FE4",
"denomination": 18,
"isPrimary": false
},
"eth": {
"address": "0x1D1c26e0b8DAFa08FD678A888a8f4de175B1d060",
"denomination": 18,
"isPrimary": true,
"nativeCoin": "ETH"
}
}
},
"WBNB": {
"isActive": false,
"name": "Wrapped BNB",
"symbol": "WBNB",
"denomination": 18,
"decimals": {
"bsc": 18
},
"logo": "https://bscscan.com/token/images/binance_32.png",
"primaryNets": [
"bsc"
],
"addresses": {
"amb": "0x9BAc26CEC2F956f5DeD50a2bc092eCcca2cC3b63",
"eth": "",
"bsc": "0x40549ef989d05D60e40CdB0E9b9764a792Bf293E"
},
"nativeAnalog": "BNB"
"networks": {
"amb": {
"address": "0x9BAc26CEC2F956f5DeD50a2bc092eCcca2cC3b63",
"denomination": 18,
"isPrimary": false
},
"bsc": {
"address": "0x40549ef989d05D60e40CdB0E9b9764a792Bf293E",
"denomination": 18,
"isPrimary": true,
"nativeCoin": "BNB"
}
}
},
"USDC": {
"isActive": true,
"name": "USD Coin",
"symbol": "USDC",
"denomination": 18,
"decimals": {
"eth": 6,
"bsc": 18
},
"logo": "https://etherscan.io/token/images/centre-usdc_28.png",
"primaryNets": [
"eth",
"bsc"
],
"addresses": {
"amb": "0xB6318deCa7eE555d306d2d3d2a12B98C048234bE",
"eth": "0x765e3e03f8dfca312EfdAb378e386E1EA60ee93F",
"bsc": "0x9D38570fEd985C14897Dfd95366198f9Fb0d9E2e"
},
"nativeAnalog": ""
"networks": {
"amb": {
"address": "0xB6318deCa7eE555d306d2d3d2a12B98C048234bE",
"denomination": 18,
"isPrimary": false
},
"bsc": {
"address": "0x9D38570fEd985C14897Dfd95366198f9Fb0d9E2e",
"denomination": 18,
"isPrimary": true
},
"eth": {
"address": "0x765e3e03f8dfca312EfdAb378e386E1EA60ee93F",
"denomination": 6,
"isPrimary": true
}
}
},
"USDT": {
"isActive": true,
"name": "Tether USD",
"symbol": "USDT",
"denomination": 18,
"decimals": {
"eth": 6
},
"logo": "https://etherscan.io/token/images/tether_32.png",
"primaryNets": [
"eth"
],
"addresses": {
"amb": "0xbA58409f9c00eaE6788f4CAc426314022ed4f60E",
"eth": "0x130c0e94E79DbA9F8A63D6452210C89e5942130c",
"bsc": ""
},
"nativeAnalog": ""
"networks": {
"amb": {
"address": "0xbA58409f9c00eaE6788f4CAc426314022ed4f60E",
"denomination": 18,
"isPrimary": false
},
"eth": {
"address": "0x130c0e94E79DbA9F8A63D6452210C89e5942130c",
"denomination": 6,
"isPrimary": true
}
}
},
"BUSD": {
"isActive": true,
"name": "BUSD Token",
"symbol": "BUSD",
"denomination": 18,
"decimals": {
"bsc": 18
},
"logo": "https://bscscan.com/token/images/busd_32.png",
"primaryNets": [
"bsc"
],
"addresses": {
"amb": "0x1978F2436ba80Bf0947F1876996FF8747bE7fC67",
"eth": "",
"bsc": "0xDD767424cbEaF9fb75cb92fE7961C1a214D83450"
},
"nativeAnalog": ""
"networks": {
"amb": {
"address": "0x1978F2436ba80Bf0947F1876996FF8747bE7fC67",
"denomination": 18,
"isPrimary": false
},
"bsc": {
"address": "0xDD767424cbEaF9fb75cb92fE7961C1a214D83450",
"denomination": 18,
"isPrimary": true
}
}
}
}
}
22 changes: 0 additions & 22 deletions contracts/configs/integr.json

This file was deleted.

Loading

0 comments on commit 0088eb3

Please sign in to comment.