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: { approveSpender: any; approveSpender(address,address,uint256): any; sendEther: any; sendEther(address,uint256): any; sendToken: any; sendToken(address,address,uint256): any }
Type declaration
approveSpender:function
- approveSpender(_erc20: string, _spender: string, _amount: BigNumberish, overrides?: CallOverrides): Promise<void>
Parameters
_erc20: string
_spender: string
_amount: BigNumberish
Optional overrides: CallOverrides
Returns Promise<void>
approveSpender(address,address,uint256):function
- approveSpender(address,address,uint256)(_erc20: string, _spender: string, _amount: BigNumberish, overrides?: CallOverrides): Promise<void>
Parameters
_erc20: string
_spender: string
_amount: BigNumberish
Optional overrides: CallOverrides
Returns Promise<void>
sendEther:function
- sendEther(_recipient: string, _amount: BigNumberish, overrides?: CallOverrides): Promise<void>
Parameters
_recipient: string
_amount: BigNumberish
Optional overrides: CallOverrides
Returns Promise<void>
sendEther(address,uint256):function
- sendEther(address,uint256)(_recipient: string, _amount: BigNumberish, overrides?: CallOverrides): Promise<void>
Parameters
_recipient: string
_amount: BigNumberish
Optional overrides: CallOverrides
Returns Promise<void>
sendToken:function
- sendToken(_erc20: string, _recipient: string, _amount: BigNumberish, overrides?: CallOverrides): Promise<void>
Parameters
_erc20: string
_recipient: string
_amount: BigNumberish
Optional overrides: CallOverrides
Returns Promise<void>
sendToken(address,address,uint256):function
- sendToken(address,address,uint256)(_erc20: string, _recipient: string, _amount: BigNumberish, overrides?: CallOverrides): Promise<void>
Parameters
_erc20: string
_recipient: string
_amount: BigNumberish
Optional overrides: CallOverrides
Returns Promise<void>
Readonly deployTransaction
deployTransaction: TransactionResponse
estimateGas
estimateGas: { approveSpender: any; approveSpender(address,address,uint256): any; sendEther: any; sendEther(address,uint256): any; sendToken: any; sendToken(address,address,uint256): any }
Type declaration
approveSpender:function
- approveSpender(_erc20: string, _spender: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
_erc20: string
_spender: string
_amount: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
approveSpender(address,address,uint256):function
- approveSpender(address,address,uint256)(_erc20: string, _spender: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
_erc20: string
_spender: string
_amount: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
sendEther:function
- sendEther(_recipient: string, _amount: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
_recipient: string
_amount: BigNumberish
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
sendEther(address,uint256):function
- sendEther(address,uint256)(_recipient: string, _amount: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
_recipient: string
_amount: BigNumberish
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
sendToken:function
- sendToken(_erc20: string, _recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
_erc20: string
_recipient: string
_amount: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
sendToken(address,address,uint256):function
- sendToken(address,address,uint256)(_erc20: string, _recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
_erc20: string
_recipient: string
_amount: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
functions
functions: { approveSpender: any; approveSpender(address,address,uint256): any; sendEther: any; sendEther(address,uint256): any; sendToken: any; sendToken(address,address,uint256): any }
Type declaration
approveSpender:function
- approveSpender(_erc20: string, _spender: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
_erc20: string
_spender: string
_amount: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
approveSpender(address,address,uint256):function
- approveSpender(address,address,uint256)(_erc20: string, _spender: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
_erc20: string
_spender: string
_amount: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
sendEther:function
- sendEther(_recipient: string, _amount: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
_recipient: string
_amount: BigNumberish
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
sendEther(address,uint256):function
- sendEther(address,uint256)(_recipient: string, _amount: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
_recipient: string
_amount: BigNumberish
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
sendToken:function
- sendToken(_erc20: string, _recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
_erc20: string
_recipient: string
_amount: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
sendToken(address,address,uint256):function
- sendToken(address,address,uint256)(_erc20: string, _recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
_erc20: string
_recipient: string
_amount: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
interface
interface: ITreasuryInterface
populateTransaction
populateTransaction: { approveSpender: any; approveSpender(address,address,uint256): any; sendEther: any; sendEther(address,uint256): any; sendToken: any; sendToken(address,address,uint256): any }
Type declaration
approveSpender:function
- approveSpender(_erc20: string, _spender: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
_erc20: string
_spender: string
_amount: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
approveSpender(address,address,uint256):function
- approveSpender(address,address,uint256)(_erc20: string, _spender: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
_erc20: string
_spender: string
_amount: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
sendEther:function
- sendEther(_recipient: string, _amount: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
_recipient: string
_amount: BigNumberish
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
sendEther(address,uint256):function
- sendEther(address,uint256)(_recipient: string, _amount: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
_recipient: string
_amount: BigNumberish
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
sendToken:function
- sendToken(_erc20: string, _recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
_erc20: string
_recipient: string
_amount: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
sendToken(address,address,uint256):function
- sendToken(address,address,uint256)(_erc20: string, _recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
_erc20: string
_recipient: string
_amount: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
Readonly provider
provider: Provider
Readonly resolvedAddress
resolvedAddress: Promise<string>
Readonly signer
signer: Signer