Gmx v2 - Funding rates (#6)
* Setup GMX v2 * Add get markets * Map token with service * Add get market info data * Add get markets * Add get market token prices * Get markets infos multicall * Try call datastore * Add some tests to figure out why datastore call dont work * Update funding rates * clean
This commit is contained in:
@@ -37,7 +37,8 @@ public static class ChainService
|
||||
return new Chain()
|
||||
{
|
||||
Name = Constants.Chains.Arbitrum,
|
||||
RpcUrl = RPC_ARBITRUM
|
||||
RpcUrl = RPC_ARBITRUM,
|
||||
ChainId = 42161
|
||||
};
|
||||
}
|
||||
|
||||
@@ -46,7 +47,8 @@ public static class ChainService
|
||||
return new Chain()
|
||||
{
|
||||
Name = Constants.Chains.Ethereum,
|
||||
RpcUrl = RPC_ETHEREUM
|
||||
RpcUrl = RPC_ETHEREUM,
|
||||
ChainId = 1
|
||||
};
|
||||
}
|
||||
|
||||
@@ -67,4 +69,4 @@ public static class ChainService
|
||||
RpcUrl = RPC_ETHEREUM_GOERLI
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user