Skip to content

Commit

Permalink
chore: add DAI_ON_BASE_MAIN element in asset_prices
Browse files Browse the repository at this point in the history
  • Loading branch information
alstjd0921 committed Aug 23, 2023
1 parent 51752b8 commit c220933
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,12 @@ Use the oracle_config provided.
"MATIC_ON_MATIC_MAIN",
"USDC_ON_ETH_MAIN",
"USDT_ON_ETH_MAIN",
"BIFI_ON_ETH_MAIN"
"BIFI_ON_ETH_MAIN",
"DAI_ON_BASE_MAIN"
],
"collection_period_sec": 300
}
},
}
// ...
}
```
Expand Down
3 changes: 2 additions & 1 deletion configs-testnet/entity.relayer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"MATIC_ON_MATIC_MAIN",
"USDC_ON_ETH_MAIN",
"USDT_ON_ETH_MAIN",
"BIFI_ON_ETH_MAIN"
"BIFI_ON_ETH_MAIN",
"DAI_ON_BASE_MAIN"
],
"collection_period_sec": 300
}
Expand Down
2 changes: 1 addition & 1 deletion rbclib/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.7.16"
__version__ = "0.7.17"
6 changes: 6 additions & 0 deletions rbclib/switchable_enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ def __init__(self, test_flag: bool):
self.BRIDGED_ETHEREUM_USDT_ON_BIFROST = Asset.BRIDGED_ETH_MAIN_USDT_ON_BFC_MAIN
self.UNIFIED_USDT_ON_BIFROST = Asset.UNIFIED_USDT_ON_BFC_MAIN

# DAI---------------------------------------------------------------------------------------------------------------
self.DAI_ON_BASE = Asset.DAI_ON_BASE_MAIN

if test_flag:
self.switch_testnet_config()

Expand Down Expand Up @@ -134,6 +137,9 @@ def switch_testnet_config(self):
self.BRIDGED_ETHEREUM_USDT_ON_BIFROST = Asset.BRIDGED_ETH_GOERLI_USDT_ON_BFC_TEST
self.UNIFIED_USDT_ON_BIFROST = Asset.UNIFIED_USDT_ON_BFC_TEST

# DAI---------------------------------------------------------------------------------------------------------------
self.DAI_ON_BASE = Asset.DAI_ON_BASE_GOERLI


SwitchableChain = _SwitchableChain("--testnet" in sys.argv[1:])
SwitchableAsset = _SwitchableAsset("--testnet" in sys.argv[1:])
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
git+https://github.com/bifrost-platform/bifrost-python-lib.git@0.7.16
git+https://github.com/bifrost-platform/bifrost-python-lib.git@0.7.17
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
version=__version__,
packages=["rbclib"],
install_requires=[
"chainpy @ git+https://github.com/bifrost-platform/bifrost-python-lib.git@0.7.16"
"chainpy @ git+https://github.com/bifrost-platform/bifrost-python-lib.git@0.7.17"
]
)

0 comments on commit c220933

Please sign in to comment.