()
| 1 | import { readIntegrationInfo, deployContract, getDeployedContract, runAndHandleErrors, cliPrint } from '../'; |
| 2 | |
| 3 | const main = async () => { |
| 4 | const integrationInfo = readIntegrationInfo(); |
| 5 | const airnodeRrp = await getDeployedContract('@api3/airnode-protocol/contracts/rrp/AirnodeRrpV0.sol'); |
| 6 | |
| 7 | const requester = await deployContract(`contracts/${integrationInfo.integration}/Requester.sol`, [ |
| 8 | airnodeRrp.address, |
| 9 | ]); |
| 10 | cliPrint.info(`Requester deployed to address: ${requester.address}`); |
| 11 | }; |
| 12 | |
| 13 | runAndHandleErrors(main); |
nothing calls this directly
no test coverage detected