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: { proposalNonce: any; rescueTokens: any; setHandler: any }
Type declaration
proposalNonce:function
- proposalNonce(overrides?: CallOverrides): Promise<BigNumber>
Parameters
Optional overrides: CallOverrides
Returns Promise<BigNumber>
rescueTokens:function
- rescueTokens(tokenAddress: string, to: string, amountToRescue: BigNumberish, nonce: BigNumberish, overrides?: CallOverrides): Promise<void>
Parameters
tokenAddress: string
to: string
amountToRescue: BigNumberish
nonce: BigNumberish
Optional overrides: CallOverrides
Returns Promise<void>
setHandler:function
- setHandler(newHandler: string, nonce: BigNumberish, overrides?: CallOverrides): Promise<void>
Parameters
newHandler: string
nonce: BigNumberish
Optional overrides: CallOverrides
Returns Promise<void>
Readonly deployTransaction
deployTransaction: TransactionResponse
estimateGas
estimateGas: { proposalNonce: any; rescueTokens: any; setHandler: any }
Type declaration
proposalNonce:function
- proposalNonce(overrides?: CallOverrides): Promise<BigNumber>
Parameters
Optional overrides: CallOverrides
Returns Promise<BigNumber>
rescueTokens:function
- rescueTokens(tokenAddress: string, to: string, amountToRescue: BigNumberish, nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
tokenAddress: string
to: string
amountToRescue: BigNumberish
nonce: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
setHandler:function
- setHandler(newHandler: string, nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
newHandler: string
nonce: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
functions
functions: { proposalNonce: any; rescueTokens: any; setHandler: any }
Type declaration
proposalNonce:function
- proposalNonce(overrides?: CallOverrides): Promise<[BigNumber]>
Parameters
Optional overrides: CallOverrides
Returns Promise<[BigNumber]>
rescueTokens:function
- rescueTokens(tokenAddress: string, to: string, amountToRescue: BigNumberish, nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
tokenAddress: string
to: string
amountToRescue: BigNumberish
nonce: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
setHandler:function
- setHandler(newHandler: string, nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
newHandler: string
nonce: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
interface
interface: TreasuryInterface
populateTransaction
populateTransaction: { proposalNonce: any; rescueTokens: any; setHandler: any }
Type declaration
proposalNonce:function
- proposalNonce(overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
rescueTokens:function
- rescueTokens(tokenAddress: string, to: string, amountToRescue: BigNumberish, nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
tokenAddress: string
to: string
amountToRescue: BigNumberish
nonce: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
setHandler:function
- setHandler(newHandler: string, nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
newHandler: string
nonce: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
Readonly provider
provider: Provider
Readonly resolvedAddress
resolvedAddress: Promise<string>
Readonly signer
signer: Signer