Using a bqTest in read mode
First we will need to define a new reading mode bqTest. We can do so simply by running:
Where:
testId is the unique integer indentifier of the test you wish to load.
ethersProvider is a valid ethers.providers.JsonRpcProvider which will be used to retreive the necessary data.
testCreatorAddress is the corresponding smart contract address of the TestCreator smart contract to interact with.
As the protocol still lacks an official deployed contract, this test creator address is left for the user to define after they themselves deploy it. In future versions this will be given a default value deployed on a specified chain.
Last updated