Closed antazoey closed 1 year ago
deploy()
InvokeFunctionTransaction
The UDC contract method name is deployContract. You can see its implementation inputs here: https://github.com/OpenZeppelin/cairo-contracts/blob/main/src/openzeppelin/utils/presets/UniversalDeployer.cairo#L29-L33 We should automatically craft an InvokeFunctionTransaction using this method and expected call data. The contract address of the UDC should be hardcoded or gathered from a library.
deployContract
Include links to any open issues that must be resolved before this feature can be implemented.
Overview
deploy()
API methods in Ape by making anInvokeFunctionTransaction
against the Universal Deployer ContractSpecification
The UDC contract method name is
deployContract
. You can see its implementation inputs here: https://github.com/OpenZeppelin/cairo-contracts/blob/main/src/openzeppelin/utils/presets/UniversalDeployer.cairo#L29-L33 We should automatically craft anInvokeFunctionTransaction
using this method and expected call data. The contract address of the UDC should be hardcoded or gathered from a library.Dependencies
Include links to any open issues that must be resolved before this feature can be implemented.