get_datastore_contract

Documentation for eth_defi.gmx.contracts.get_datastore_contract function.

get_datastore_contract(web3, chain)

Get DataStore contract instance for a specific network.

Parameters
  • web3 (web3.main.Web3) – Web3 connection instance

  • chain (str) – Network name

Returns

Web3 contract instance for DataStore

Return type

web3.contract.contract.Contract