Closed nwbrettski closed 1 year ago
Currently, using hardhat a transaction looks like this (where token is the deployed contract)
token
const transferTx = await token .connect(signer) .transfer(toAddress, amount)
Can we support a structure like the below to enable a developer to easily create a transaction with clauses
clauses
const tx = await token.clauseBuilder() .withClause(token.transfer, toAddress, amount) .withClause(token.transfer, toAddress, amount) .withClause(token.transfer, toAddress, amount) .send()
Released
Currently, using hardhat a transaction looks like this (where
token
is the deployed contract)Can we support a structure like the below to enable a developer to easily create a transaction with
clauses