Skip to content

Commit

Permalink
Merge branch 'update-for-new-setup' into 'dev'
Browse files Browse the repository at this point in the history
update for new setup and add binance network

See merge request ergo/rosen-bridge/contract!126
  • Loading branch information
vorujack committed Dec 2, 2024
2 parents 1dccc68 + e2fcf92 commit ab2e596
Show file tree
Hide file tree
Showing 9 changed files with 400 additions and 0 deletions.
72 changes: 72 additions & 0 deletions src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,21 @@ network-general = {
type = "MAINNET"
}
}
pandora = {
main-tokens = {
RepoNFT="ac7bbfff7ec3852afae13153a9a5b063ac26fc43a780aa3468cec8c9cdd176b3"
GuardNFT="a2d7f41b79f98bcaef08214b9e6bf0f3b803e446a9ef5949da799739555165aa"
RSN="d752bede1a85891fff344604431fd6dc30ba685b382f2e0fe15da8141d36e34e",
RSNRatioNFT="145a8281b315f3a7061aaeee6947e082645202080fb1c00deba30e2833426167"
EmissionNFT="6ab309bf4657dfd2f55da99f6e77eb77b0c47fb444776dff27208253d24033b7"
ERSN="bbcb0dc09acb34c09d767aa43683ff2a360fdb4496344988ea10ff5d93ac348a"
}
ergo-network = {
node = "https://node.ergopool.io/"
explorer-url = "https://api.ergoplatform.com/"
type = "MAINNET"
}
}
}

networks = {
Expand All @@ -65,6 +80,17 @@ networks = {
cold-address=""
cleanup-confirm = 10
}
pandora = {
tokens = {
RWTId="e50eca37d788f33086377fbafb934e81802a017105b3e58cb948b574a3be6c79"
CleanupNFT="0cccef61215566439f22b5a4aaa7567183d4f9de963e7bcdb27c9ced76c2ab0c"
AwcNFT="afc30a4b50e0357c09b67d8ea2490dcd5d1252686f4cb3d378ee9494e3030149"
RepoConfigNFT="381423206a33068abe7285067d568c3c8bd0f455cf46b634523b97d210587bc7"
}
lock-address = "addr1vxgffjagh2zfzdtzm2xmgw7l6gpnl075u0rhzy0l3dm3lvc4c8lgh"
cold-address="addr1qxkeujz9323ju7seev0tuvgrlg3p2u8yyxeevwjrrul234mxm4mkxnhkpm9ux69xcf2ywcrm20nnyry8hlanyyzz0ceq6udc2f"
cleanup-confirm = 10
}
idKey = "tokenId"
}
ergo = {
Expand All @@ -88,6 +114,16 @@ networks = {
cold-address=""
cleanup-confirm = 10
}
pandora = {
tokens = {
RWTId="34529f875cad2bf58c5ffb4a9056d26c590f0c35f77958a68dcdb4aa39b437aa"
CleanupNFT="8fbecc9f4f6968b181d70d337f33729e9b3cb591ffcf8fca16282ccbc487a587"
AwcNFT="fb2a47295e30289f3748eb35a325c11db5202b7420ee9588c67f7486de2662db"
RepoConfigNFT="569b1df978b5b57619ac0d1eeb28152a0ab4c906d97dc1220bf2a838e2370595"
}
cold-address="9hx5RVkqwazdGr2YPimSqzxnUPQZsqnJQ4PDEUV5W2S7rNkgash"
cleanup-confirm = 10
}
idKey = "tokenId"
}
bitcoin = {
Expand All @@ -113,6 +149,17 @@ networks = {
cold-address=""
cleanup-confirm = 10
}
pandora = {
tokens = {
RWTId="1f07344576120f8470419419265418a02928bfa2a73976ab9e4fdc9fff5aa402"
CleanupNFT="6672ed5482d5a1b2454a1b6e579b8081ee70f6d135348b10df57418f2ba47650"
AwcNFT="29d5e03ff49aad7917d0e4e9be2f454167e4030354182020252727c6ffa0efc3"
RepoConfigNFT="84970c2c0ec7b3bf9844647e3a57930356dc798e101b628931d2a01f689b8b6e"
}
lock-address = "bc1q0eqaazqyy2agxn74z6ch6a7f0t2hvekd5p9xqk"
cold-address="bc1q89axzv4lul5v7gfth43ufnpw69zl5hwaev5v4g"
cleanup-confirm = 10
}
idKey = "tokenId"
}
ethereum = {
Expand All @@ -138,6 +185,31 @@ networks = {
cold-address=""
cleanup-confirm = 10
}
pandora = {
tokens = {
RWTId="45334f8a4bf7455e0275416c6eef214cfca3a78e9bdbad8fc7846847d10b0851"
CleanupNFT="d8de8d37437d0dc9691bdf288f73524518fd767b2c424876f1c116e9d9dfbf6b"
AwcNFT="cc39494018dc05f61d7bccc07b1747644c3fa5ad6c4d1ce8fb812b9d662a2776"
RepoConfigNFT="a8b1007b8f9285441fe43da063793133d14ef7694e108a2b85aca3c5138ab24e"
}
lock-address = "0x251A4249d853a92db1f8EfeE44C36C43aB89C7e0"
cold-address="0x90d308F9a7bcE059Fe964345ec3D387cA4a00d21"
cleanup-confirm = 10
}
idKey = "tokenId"
}
binance = {
pandora = {
tokens = {
RWTId="b5c6663aadb8491819a0505e8fa90d9c2fe57375c52b0fca85dedcf6f1522a71"
CleanupNFT="b20c5ffec6009aaea0dbe7baff8abbacec73f7a5ca1940feaa0d5a0269a8c72c"
AwcNFT="ad6aef47944a50e9e23ea5e994737f74b22ca8d7ed63e2e3993617e998acd8fe"
RepoConfigNFT="6d806ed9b6d1c6c1550862b8b0884f0d5645ee97cbf47cc235f185331b121c84"
}
lock-address = "0x2f9a9ECd8302B2ad0a3B4A2882c031a8154e744B"
cold-address="0x90d308F9a7bcE059Fe964345ec3D387cA4a00d21"
cleanup-confirm = 10
}
idKey = "tokenId"
}
}
39 changes: 39 additions & 0 deletions tokensMap/ADA.pandora.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"cardano": {
"tokenId": "ada",
"name": "ADA",
"decimals": 6,
"metaData": {
"type": "native",
"residency": "native"
},
"policyId": "ada"
},
"ethereum": {
"tokenId": "0xdc775c392479a4a6a69db564bb495d2f0d8ef366",
"name": "rpnADA",
"decimals": 6,
"metaData": {
"type": "ERC-20",
"residency": "wrapped"
}
},
"ergo": {
"tokenId": "08779df8d22fe096de6b382264af0ed6859326a47212484fffffe3fb212d7a1f",
"name": "rpnADA",
"decimals": 6,
"metaData": {
"type": "EIP-004",
"residency": "wrapped"
}
},
"binance": {
"tokenId": "0x788b22ca96bd6a6f8094e1ec11a82c77b7ecfec4",
"name": "rpnADA",
"decimals": 6,
"metaData": {
"type": "ERC-20",
"residency": "wrapped"
}
}
}
40 changes: 40 additions & 0 deletions tokensMap/Archimedes.pandora.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"ethereum": {
"tokenId": "0xd1a5ee9783b3fc38fff164cce3cc6c419c9d9176",
"name": "AoS",
"decimals": 9,
"metaData": {
"type": "ERC-20",
"residency": "native"
}
},
"cardano": {
"tokenId": "57abe42f549784c88f14e78872127d62fc0a7bfbed0ad7d41e5eb2fb.72706e41726368696d65646573",
"policyId": "57abe42f549784c88f14e78872127d62fc0a7bfbed0ad7d41e5eb2fb",
"assetName": "72706e41726368696d65646573",
"name": "rpnAoS",
"decimals": 3,
"metaData": {
"type": "CIP26",
"residency": "wrapped"
}
},
"ergo": {
"tokenId": "d8ed061f2eb0a50ad7db8970e347356247faefe8ec5c3c786b0f7b55a5279465",
"name": "rpnAoS",
"decimals": 6,
"metaData": {
"type": "EIP-004",
"residency": "wrapped"
}
},
"binance": {
"tokenId": "0xa5e39005da08a7fc872ccdb62f40bff67c3f67cb",
"name": "rpnAoS",
"decimals": 6,
"metaData": {
"type": "ERC-20",
"residency": "wrapped"
}
}
}
40 changes: 40 additions & 0 deletions tokensMap/BNB.pandora.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"binance": {
"tokenId": "bnb",
"name": "BNB",
"decimals": 18,
"metaData": {
"type": "native",
"residency": "native"
}
},
"ethereum": {
"tokenId": "0x3189b3d05ddff3c5e9755579830be2cbe512f200",
"name": "rpnBNB",
"decimals": 18,
"metaData": {
"type": "ERC-20",
"residency": "wrapped"
}
},
"ergo": {
"tokenId": "82f7cec6d682e8a0d965e6d93de66ec18933f72181c59a5d85802f0fe2afc98c",
"name": "rpnBNB",
"decimals": 9,
"metaData": {
"type": "EIP-004",
"residency": "wrapped"
}
},
"cardano": {
"tokenId": "57abe42f549784c88f14e78872127d62fc0a7bfbed0ad7d41e5eb2fb.72706e424e42",
"policyId": "57abe42f549784c88f14e78872127d62fc0a7bfbed0ad7d41e5eb2fb",
"assetName": "72706e424e42",
"name": "rpnBNB",
"decimals": 9,
"metaData": {
"type": "CIP26",
"residency": "wrapped"
}
}
}
49 changes: 49 additions & 0 deletions tokensMap/BTC.pandora.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"bitcoin": {
"tokenId": "btc",
"name": "BTC",
"decimals": 8,
"metaData": {
"type": "native",
"residency": "native"
}
},
"ethereum": {
"tokenId": "0x90f5aac524f21c669e863c9dccdd90be3f5e70c8",
"name": "rpnBTC",
"decimals": 8,
"metaData": {
"type": "ERC-20",
"residency": "wrapped"
}
},
"ergo": {
"tokenId": "b2dcea48caf0e73309138d659f6eb69d7ec8793dee989670c72dd4ffde7ebeb3",
"name": "rpnBTC",
"decimals": 8,
"metaData": {
"type": "EIP-004",
"residency": "wrapped"
}
},
"binance": {
"tokenId": "0x6c0694e681f97f2a3c86202ee9221bdfd6198578",
"name": "rpnBTC",
"decimals": 8,
"metaData": {
"type": "ERC-20",
"residency": "wrapped"
}
},
"cardano": {
"tokenId": "57abe42f549784c88f14e78872127d62fc0a7bfbed0ad7d41e5eb2fb.72706e425443",
"policyId": "57abe42f549784c88f14e78872127d62fc0a7bfbed0ad7d41e5eb2fb",
"assetName": "72706e425443",
"name": "rpnBTC",
"decimals": 8,
"metaData": {
"type": "CIP26",
"residency": "wrapped"
}
}
}
40 changes: 40 additions & 0 deletions tokensMap/ERG.pandora.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"ergo": {
"tokenId": "erg",
"name": "ERG",
"decimals": 9,
"metaData": {
"type": "native",
"residency": "native"
}
},
"ethereum": {
"tokenId": "0x96544b7c03c00da7bfddc560351429ee1376f7d8",
"name": "rpnERG",
"decimals": 9,
"metaData": {
"type": "ERC-20",
"residency": "wrapped"
}
},
"binance": {
"tokenId": "0xbc152e294a24d777e640e6a491edbd3ca461c51f",
"name": "rpnERG",
"decimals": 9,
"metaData": {
"type": "ERC-20",
"residency": "wrapped"
}
},
"cardano": {
"tokenId": "57abe42f549784c88f14e78872127d62fc0a7bfbed0ad7d41e5eb2fb.72706e455247",
"policyId": "57abe42f549784c88f14e78872127d62fc0a7bfbed0ad7d41e5eb2fb",
"assetName": "72706e455247",
"name": "rpnERG",
"decimals": 9,
"metaData": {
"type": "CIP26",
"residency": "wrapped"
}
}
}
40 changes: 40 additions & 0 deletions tokensMap/ETH.pandora.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"ethereum": {
"tokenId": "eth",
"name": "ETH",
"decimals": 18,
"metaData": {
"type": "native",
"residency": "native"
}
},
"ergo": {
"tokenId": "6cf0dd0ebd2c791c2aa8c2a083c16d15fc0e7b609d1dbddb553f319754acfcc1",
"name": "rpnETH",
"decimals": 9,
"metaData": {
"type": "EIP-004",
"residency": "wrapped"
}
},
"cardano": {
"tokenId": "57abe42f549784c88f14e78872127d62fc0a7bfbed0ad7d41e5eb2fb.72706e455448",
"policyId": "57abe42f549784c88f14e78872127d62fc0a7bfbed0ad7d41e5eb2fb",
"assetName": "72706e455448",
"name": "rpnETH",
"decimals": 9,
"metaData": {
"type": "CIP26",
"residency": "wrapped"
}
},
"binance": {
"tokenId": "0x96cb997a115b7f57bd144ef4d1e8a68194444e91",
"name": "rpnETH",
"decimals": 18,
"metaData": {
"type": "ERC-20",
"residency": "wrapped"
}
}
}
Loading

0 comments on commit ab2e596

Please sign in to comment.