Properties
_deployedPromise
_deployedPromise: Promise<Contract>
_runningEvents
_runningEvents: {}
Type declaration
-
[eventTag: string]: RunningEvent
_wrappedEmits
_wrappedEmits: {}
Type declaration
-
[eventTag: string]: (...args: any[]) => void
Readonly address
address: string
callStatic
callStatic: { allowance: any; approve: any; balanceOf: any; decimals: any; deposit: any; name: any; symbol: any; totalSupply: any; transfer: any; transferFrom: any; withdraw: any }
Type declaration
-
allowance: function
- allowance(arg0: string, arg1: string, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
arg0: string
-
arg1: string
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
approve: function
- approve(guy: string, wad: BigNumberish, overrides?: CallOverrides): Promise<boolean>
-
Parameters
-
guy: string
-
wad: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<boolean>
-
balanceOf: function
- balanceOf(arg0: string, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
arg0: string
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
decimals: function
- decimals(overrides?: CallOverrides): Promise<number>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<number>
-
deposit: function
- deposit(overrides?: CallOverrides): Promise<void>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<void>
-
name: function
- name(overrides?: CallOverrides): Promise<string>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<string>
-
symbol: function
- symbol(overrides?: CallOverrides): Promise<string>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<string>
-
totalSupply: function
- totalSupply(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
transfer: function
- transfer(dst: string, wad: BigNumberish, overrides?: CallOverrides): Promise<boolean>
-
Parameters
-
dst: string
-
wad: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<boolean>
-
transferFrom: function
- transferFrom(src: string, dst: string, wad: BigNumberish, overrides?: CallOverrides): Promise<boolean>
-
Parameters
-
src: string
-
dst: string
-
wad: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<boolean>
-
withdraw: function
- withdraw(wad: BigNumberish, overrides?: CallOverrides): Promise<void>
-
Parameters
-
wad: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<void>
Readonly deployTransaction
deployTransaction: TransactionResponse
estimateGas
estimateGas: { allowance: any; approve: any; balanceOf: any; decimals: any; deposit: any; name: any; symbol: any; totalSupply: any; transfer: any; transferFrom: any; withdraw: any }
Type declaration
-
allowance: function
- allowance(arg0: string, arg1: string, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
arg0: string
-
arg1: string
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
approve: function
- approve(guy: string, wad: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
guy: string
-
wad: BigNumberish
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
balanceOf: function
- balanceOf(arg0: string, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
arg0: string
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
decimals: function
- decimals(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
deposit: function
- deposit(overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
name: function
- name(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
symbol: function
- symbol(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
totalSupply: function
- totalSupply(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
transfer: function
- transfer(dst: string, wad: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
dst: string
-
wad: BigNumberish
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
transferFrom: function
- transferFrom(src: string, dst: string, wad: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
src: string
-
dst: string
-
wad: BigNumberish
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
withdraw: function
- withdraw(wad: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
wad: BigNumberish
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
filters
filters: { Approval: any; Deposit: any; Transfer: any; Withdrawal: any }
Type declaration
-
Approval: function
- Approval(src?: null | string, guy?: null | string, wad?: null): TypedEventFilter<[string, string, BigNumber], { guy: string; src: string; wad: BigNumber }>
-
Parameters
-
Optional src: null | string
-
Optional guy: null | string
-
Optional wad: null
Returns TypedEventFilter<[string, string, BigNumber], { guy: string; src: string; wad: BigNumber }>
-
Deposit: function
- Deposit(dst?: null | string, wad?: null): TypedEventFilter<[string, BigNumber], { dst: string; wad: BigNumber }>
-
Parameters
-
Optional dst: null | string
-
Optional wad: null
Returns TypedEventFilter<[string, BigNumber], { dst: string; wad: BigNumber }>
-
Transfer: function
- Transfer(src?: null | string, dst?: null | string, wad?: null): TypedEventFilter<[string, string, BigNumber], { dst: string; src: string; wad: BigNumber }>
-
Parameters
-
Optional src: null | string
-
Optional dst: null | string
-
Optional wad: null
Returns TypedEventFilter<[string, string, BigNumber], { dst: string; src: string; wad: BigNumber }>
-
Withdrawal: function
- Withdrawal(src?: null | string, wad?: null): TypedEventFilter<[string, BigNumber], { src: string; wad: BigNumber }>
-
Parameters
-
Optional src: null | string
-
Optional wad: null
Returns TypedEventFilter<[string, BigNumber], { src: string; wad: BigNumber }>
functions
functions: { allowance: any; approve: any; balanceOf: any; decimals: any; deposit: any; name: any; symbol: any; totalSupply: any; transfer: any; transferFrom: any; withdraw: any }
Type declaration
-
allowance: function
- allowance(arg0: string, arg1: string, overrides?: CallOverrides): Promise<[BigNumber]>
-
Parameters
-
arg0: string
-
arg1: string
-
Optional overrides: CallOverrides
Returns Promise<[BigNumber]>
-
approve: function
- approve(guy: string, wad: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
guy: string
-
wad: BigNumberish
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
balanceOf: function
- balanceOf(arg0: string, overrides?: CallOverrides): Promise<[BigNumber]>
-
Parameters
-
arg0: string
-
Optional overrides: CallOverrides
Returns Promise<[BigNumber]>
-
decimals: function
- decimals(overrides?: CallOverrides): Promise<[number]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[number]>
-
deposit: function
- deposit(overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
name: function
- name(overrides?: CallOverrides): Promise<[string]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[string]>
-
symbol: function
- symbol(overrides?: CallOverrides): Promise<[string]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[string]>
-
totalSupply: function
- totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[BigNumber]>
-
transfer: function
- transfer(dst: string, wad: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
dst: string
-
wad: BigNumberish
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
transferFrom: function
- transferFrom(src: string, dst: string, wad: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
src: string
-
dst: string
-
wad: BigNumberish
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
withdraw: function
- withdraw(wad: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
wad: BigNumberish
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
interface
interface: MockWETH9Interface
populateTransaction
populateTransaction: { allowance: any; approve: any; balanceOf: any; decimals: any; deposit: any; name: any; symbol: any; totalSupply: any; transfer: any; transferFrom: any; withdraw: any }
Type declaration
-
allowance: function
- allowance(arg0: string, arg1: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
arg0: string
-
arg1: string
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
approve: function
- approve(guy: string, wad: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
guy: string
-
wad: BigNumberish
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
balanceOf: function
- balanceOf(arg0: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
arg0: string
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
decimals: function
- decimals(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
deposit: function
- deposit(overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
name: function
- name(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
symbol: function
- symbol(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
totalSupply: function
- totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
transfer: function
- transfer(dst: string, wad: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
dst: string
-
wad: BigNumberish
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
transferFrom: function
- transferFrom(src: string, dst: string, wad: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
src: string
-
dst: string
-
wad: BigNumberish
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
withdraw: function
- withdraw(wad: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
wad: BigNumberish
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
Readonly provider
provider: Provider
Readonly resolvedAddress
resolvedAddress: Promise<string>
Readonly signer
signer: Signer