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.getArgsfunction getArgs(): Array<any>;
Inherited from
TransactionContext.getGasPriceCalculates the gas price for transactions (adding a 10% tip buffer)
function getGasPrice(): Promise<BigNumber>;
Inherited from
TransactionContext.getOverridesfunction getOverrides(): CallOverrides;
Inherited from
TransactionContext.getSignerAddressGet the address of the transaction signer
function getSignerAddress(): Promise<string>;
Inherited from
TransactionContext.getValuefunction getValue(): BigNumberish | Promise<BigNumberish>;
Inherited from
TransactionContext.setAccessListfunction setAccessList( accessList: undefined | AccessListish,): TransactionContext;
Inherited from
TransactionContext.setArgsfunction setArgs(args: Array<any>): TransactionContext;
Inherited from
TransactionContext.setCcipReadEnabledfunction setCcipReadEnabled( ccipReadEnabled: undefined | boolean,): TransactionContext;
Inherited from
TransactionContext.setCustomDatafunction setCustomData( customData: undefined | Record<string, any>,): TransactionContext;
Inherited from
TransactionContext.setGasLimitfunction setGasLimit( gasLimit: undefined | BigNumberish | Promise<BigNumberish>,): TransactionContext;
Inherited from
TransactionContext.setGasLimitMultipleSet 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.setGasPricefunction setGasPrice( gasPrice: undefined | BigNumberish | Promise<BigNumberish>,): TransactionContext;
Inherited from
TransactionContext.setMaxFeePerGasfunction setMaxFeePerGas( maxFeePerGas: undefined | BigNumberish | Promise<BigNumberish>,): TransactionContext;
Inherited from
TransactionContext.setMaxPriorityFeePerGasfunction setMaxPriorityFeePerGas( maxPriorityFeePerGas: | undefined | BigNumberish | Promise<BigNumberish>,): TransactionContext;
Inherited from
TransactionContext.setNoncefunction setNonce( nonce: undefined | BigNumberish | Promise<BigNumberish>,): TransactionContext;
Inherited from
TransactionContext.setOverridesfunction setOverrides(overrides: CallOverrides): TransactionContext;
Inherited from
TransactionContext.setTypefunction setType(type: undefined | number): TransactionContext;
Inherited from
TransactionContext.setValuefunction setValue( value: undefined | BigNumberish | Promise<BigNumberish>,): TransactionContext;
Inherited from
TransactionContext.updateOverridesfunction updateOverrides( overrides: CallOverrides,): TransactionContext;
let factory: ContractFactory;
let getProvider: Provider;
let getSigner: Signer;