deployProxyByImplementation

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

Example

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

Parameters

The options for the "deployProxyByImplementation" function.

Type

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.