DeployTransaction
class DeployTransaction extends TransactionContext {}
function constructor(
function estimateGasCost(): Promise<{ ether: string; wei: BigNumber;}>;
function estimateGasLimit(): Promise<BigNumber>;
function populateTransaction(): Promise<TransactionRequest>;
function send(): Promise<ContractTransaction>;
Inherited from
TransactionContext.getArgs
function getArgs(): Array<any>;
Inherited from
TransactionContext.getGasPrice
Calculates the gas price for transactions (adding a 10% tip buffer)
function getGasPrice(): Promise<BigNumber>;
Inherited from
TransactionContext.getOverrides
function getOverrides(): CallOverrides;
Inherited from
TransactionContext.getSignerAddress
Get the address of the transaction signer
function getSignerAddress(): Promise<string>;
Inherited from
TransactionContext.getValue
function getValue(): BigNumberish | Promise<BigNumberish>;
Inherited from
TransactionContext.setAccessList
function setAccessList( accessList: undefined | AccessListish,): TransactionContext;
Inherited from
TransactionContext.setArgs
function setArgs(args: Array<any>): TransactionContext;
Inherited from
TransactionContext.setCcipReadEnabled
function setCcipReadEnabled( ccipReadEnabled: undefined | boolean,): TransactionContext;
Inherited from
TransactionContext.setCustomData
function setCustomData( customData: undefined | Record<string, any>,): TransactionContext;
Inherited from
TransactionContext.setGasLimit
function setGasLimit( gasLimit: undefined | BigNumberish | Promise<BigNumberish>,): TransactionContext;
Inherited from
TransactionContext.setGasLimitMultiple
Set a multiple to multiply the gas limit by
// Set the gas limit multiple to 1.2 (increase by 20%)tx.setGasLimitMultiple(1.2);
function setGasLimitMultiple(factor: number): void;
Inherited from
TransactionContext.setGasPrice
function setGasPrice( gasPrice: undefined | BigNumberish | Promise<BigNumberish>,): TransactionContext;
Inherited from
TransactionContext.setMaxFeePerGas
function setMaxFeePerGas( maxFeePerGas: undefined | BigNumberish | Promise<BigNumberish>,): TransactionContext;
Inherited from
TransactionContext.setMaxPriorityFeePerGas
function setMaxPriorityFeePerGas( maxPriorityFeePerGas: | undefined | BigNumberish | Promise<BigNumberish>,): TransactionContext;
Inherited from
TransactionContext.setNonce
function setNonce( nonce: undefined | BigNumberish | Promise<BigNumberish>,): TransactionContext;
Inherited from
TransactionContext.setOverrides
function setOverrides(overrides: CallOverrides): TransactionContext;
Inherited from
TransactionContext.setType
function setType(type: undefined | number): TransactionContext;
Inherited from
TransactionContext.setValue
function setValue( value: undefined | BigNumberish | Promise<BigNumberish>,): TransactionContext;
Inherited from
TransactionContext.updateOverrides
function updateOverrides( overrides: CallOverrides,): TransactionContext;
let factory: ContractFactory;
let getProvider: Provider;
let getSigner: Signer;