arb1 accounting config
This commit is contained in:
@@ -4,3 +4,17 @@ archive_url = 'arbitrum_alchemy'
|
|||||||
concurrent_rpc_connections=8
|
concurrent_rpc_connections=8
|
||||||
metrics_port=9090
|
metrics_port=9090
|
||||||
metadata = '' # this setting approves no tokens
|
metadata = '' # this setting approves no tokens
|
||||||
|
stablecoins = [
|
||||||
|
# in order of preference
|
||||||
|
'0xaf88d065e77c8cC2239327C5EDb3A432268e5831', # USDC
|
||||||
|
'0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', # USDT
|
||||||
|
'0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', # USDC.e
|
||||||
|
]
|
||||||
|
|
||||||
|
quotecoins = [
|
||||||
|
# in order of preference
|
||||||
|
'0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f', # WBTC
|
||||||
|
'0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', # WETH
|
||||||
|
]
|
||||||
|
|
||||||
|
nativecoin = ['0x82aF49447D8a07e3bd95BD0d56f35241523fBab1'] # WETH
|
||||||
|
|||||||
@@ -114,6 +114,7 @@ async def _initialize_mark_to_market():
|
|||||||
impl_addr = await factory.implementation()
|
impl_addr = await factory.implementation()
|
||||||
wrapper = await ContractProxy(impl_addr, 'Vault').wrapper()
|
wrapper = await ContractProxy(impl_addr, 'Vault').wrapper()
|
||||||
if wrapper != ADDRESS_0:
|
if wrapper != ADDRESS_0:
|
||||||
|
log.info(f'Detected native coin wrapper {wrapper}')
|
||||||
config.nativecoin = wrapper
|
config.nativecoin = wrapper
|
||||||
quotes.clear()
|
quotes.clear()
|
||||||
quotes.extend(config.stablecoins)
|
quotes.extend(config.stablecoins)
|
||||||
|
|||||||
Reference in New Issue
Block a user