deployProxyByImplementation

Prepares a transaction to call the "deployProxyByImplementation" function on the contract.

Example

import { deployProxyByImplementation } from "thirdweb/extensions/thirdweb";
const transaction = deployProxyByImplementation({
contract,
implementation: ...,
data: ...,
salt: ...,
overrides: {
...
}
});
// Send the transaction
...
function deployProxyByImplementation(
| {
asyncParams: () => Promise<DeployProxyByImplementationParams>;
}
>,

Parameters

The options for the "deployProxyByImplementation" function.

Type

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.