Deployed Contract Wrapper
Wrappers
const contractWrapper = await deployer.deploy(ICOTokenContract);
const transferTransaction = await contractWrapper.transferOwnership(randomAddress);
const result = await contractWrapper.verboseWaitForTransaction(transferTransaction,
'Transfer Ownership'); let balance = await contractWrapper.utils.getBalance(); const deployer = new etherlime.EtherlimeGanacheDeployer();
const contractWrapper = await deployer.deploy(SomeContract);
const tx = await contractWrapper
.from(0 /* could be string address or ethers.Wallet instance*/).someFunction(params);
const result = await contractWrapper.verboseWaitForTransaction(tx);Working with previously deployed contracts
etherlime.ContractAt
The deployer instance
Last updated
Was this helpful?