Interface ISolidStateERC4626

Hierarchy

  • BaseContract
    • ISolidStateERC4626

Properties

DOMAIN_SEPARATOR: TypedContractMethod<[], [string], "view">
[internal]: any

@_ignore:

allowance: TypedContractMethod<[holder: AddressLike, spender: AddressLike], [bigint], "view">
approve: TypedContractMethod<[spender: AddressLike, amount: BigNumberish], [boolean], "nonpayable">
asset: TypedContractMethod<[], [string], "view">
balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">
convertToAssets: TypedContractMethod<[shareAmount: BigNumberish], [bigint], "view">
convertToShares: TypedContractMethod<[assetAmount: BigNumberish], [bigint], "view">
decimals: TypedContractMethod<[], [bigint], "view">
decreaseAllowance: TypedContractMethod<[spender: AddressLike, amount: BigNumberish], [boolean], "nonpayable">
deposit: TypedContractMethod<[assetAmount: BigNumberish, receiver: AddressLike], [bigint], "nonpayable">
fallback: null | WrappedFallback

The fallback or receive function if any.

filters: {
    Approval: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    Approval(address,address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    Deposit: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    Deposit(address,address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    Transfer: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    Transfer(address,address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    Withdraw: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    Withdraw(address,address,address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
}

Type declaration

  • Approval: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • Approval(address,address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • Deposit: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • Deposit(address,address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • Transfer: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • Transfer(address,address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • Withdraw: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • Withdraw(address,address,address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
increaseAllowance: TypedContractMethod<[spender: AddressLike, amount: BigNumberish], [boolean], "nonpayable">
interface: ISolidStateERC4626Interface
maxDeposit: TypedContractMethod<[receiver: AddressLike], [bigint], "view">
maxMint: TypedContractMethod<[receiver: AddressLike], [bigint], "view">
maxRedeem: TypedContractMethod<[owner: AddressLike], [bigint], "view">
maxWithdraw: TypedContractMethod<[owner: AddressLike], [bigint], "view">
mint: TypedContractMethod<[shareAmount: BigNumberish, receiver: AddressLike], [bigint], "nonpayable">
name: TypedContractMethod<[], [string], "view">
nonces: TypedContractMethod<[owner: AddressLike], [bigint], "view">
permit: TypedContractMethod<[owner: AddressLike, spender: AddressLike, amount: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike], [void], "nonpayable">
previewDeposit: TypedContractMethod<[assetAmount: BigNumberish], [bigint], "view">
previewMint: TypedContractMethod<[shareAmount: BigNumberish], [bigint], "view">
previewRedeem: TypedContractMethod<[shareAmount: BigNumberish], [bigint], "view">
previewWithdraw: TypedContractMethod<[assetAmount: BigNumberish], [bigint], "view">
redeem: TypedContractMethod<[shareAmount: BigNumberish, receiver: AddressLike, owner: AddressLike], [bigint], "nonpayable">
runner: null | ContractRunner

The connected runner. This is generally a [[Provider]] or a [[Signer]], which dictates what operations are supported.

For example, a Contract connected to a [[Provider]] may only execute read-only operations.

symbol: TypedContractMethod<[], [string], "view">
target: string | Addressable

The target to connect to.

This can be an address, ENS name or any [[Addressable]], such as another contract. To get the resovled address, use the getAddress method.

totalAssets: TypedContractMethod<[], [bigint], "view">
totalSupply: TypedContractMethod<[], [bigint], "view">
transfer: TypedContractMethod<[recipient: AddressLike, amount: BigNumberish], [boolean], "nonpayable">
transferFrom: TypedContractMethod<[holder: AddressLike, recipient: AddressLike, amount: BigNumberish], [boolean], "nonpayable">
withdraw: TypedContractMethod<[assetAmount: BigNumberish, receiver: AddressLike, owner: AddressLike], [bigint], "nonpayable">

Methods

  • Alias for [on].

    Parameters

    • event: ContractEventName
    • listener: Listener

    Returns Promise<ISolidStateERC4626>

  • Return a new Contract instance with the same ABI and runner, but a different %%target%%.

    Parameters

    • target: string | Addressable

    Returns BaseContract

  • Parameters

    • Optional runner: null | ContractRunner

    Returns ISolidStateERC4626

  • Return the transaction used to deploy this contract.

    This is only available if this instance was returned from a [[ContractFactory]].

    Returns null | ContractTransactionResponse

  • Emit an %%event%% calling all listeners with %%args%%.

    Resolves to true if any listeners were called.

    Parameters

    • event: ContractEventName
    • Rest ...args: any[]

    Returns Promise<boolean>

  • Return the resolved address of this Contract.

    Returns Promise<string>

  • Return the deployed bytecode or null if no bytecode is found.

    Returns Promise<null | string>

  • Parameters

    • key: "Approval"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Parameters

    • key: "Deposit"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Parameters

    • key: "Transfer"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Parameters

    • key: "Withdraw"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Type Parameters

    • T extends ContractMethod<any[], any, any, T> = ContractMethod<any[], any, any>

    Parameters

    • key: string | FunctionFragment

    Returns T

  • Parameters

    • nameOrSignature: "DOMAIN_SEPARATOR"

    Returns TypedContractMethod<[], [string], "view">

  • Parameters

    • nameOrSignature: "allowance"

    Returns TypedContractMethod<[holder: AddressLike, spender: AddressLike], [bigint], "view">

  • Parameters

    • nameOrSignature: "approve"

    Returns TypedContractMethod<[spender: AddressLike, amount: BigNumberish], [boolean], "nonpayable">

  • Parameters

    • nameOrSignature: "asset"

    Returns TypedContractMethod<[], [string], "view">

  • Parameters

    • nameOrSignature: "balanceOf"

    Returns TypedContractMethod<[account: AddressLike], [bigint], "view">

  • Parameters

    • nameOrSignature: "convertToAssets"

    Returns TypedContractMethod<[shareAmount: BigNumberish], [bigint], "view">

  • Parameters

    • nameOrSignature: "convertToShares"

    Returns TypedContractMethod<[assetAmount: BigNumberish], [bigint], "view">

  • Parameters

    • nameOrSignature: "decimals"

    Returns TypedContractMethod<[], [bigint], "view">

  • Parameters

    • nameOrSignature: "decreaseAllowance"

    Returns TypedContractMethod<[spender: AddressLike, amount: BigNumberish], [boolean], "nonpayable">

  • Parameters

    • nameOrSignature: "deposit"

    Returns TypedContractMethod<[assetAmount: BigNumberish, receiver: AddressLike], [bigint], "nonpayable">

  • Parameters

    • nameOrSignature: "increaseAllowance"

    Returns TypedContractMethod<[spender: AddressLike, amount: BigNumberish], [boolean], "nonpayable">

  • Parameters

    • nameOrSignature: "maxDeposit"

    Returns TypedContractMethod<[receiver: AddressLike], [bigint], "view">

  • Parameters

    • nameOrSignature: "maxMint"

    Returns TypedContractMethod<[receiver: AddressLike], [bigint], "view">

  • Parameters

    • nameOrSignature: "maxRedeem"

    Returns TypedContractMethod<[owner: AddressLike], [bigint], "view">

  • Parameters

    • nameOrSignature: "maxWithdraw"

    Returns TypedContractMethod<[owner: AddressLike], [bigint], "view">

  • Parameters

    • nameOrSignature: "mint"

    Returns TypedContractMethod<[shareAmount: BigNumberish, receiver: AddressLike], [bigint], "nonpayable">

  • Parameters

    • nameOrSignature: "name"

    Returns TypedContractMethod<[], [string], "view">

  • Parameters

    • nameOrSignature: "nonces"

    Returns TypedContractMethod<[owner: AddressLike], [bigint], "view">

  • Parameters

    • nameOrSignature: "permit"

    Returns TypedContractMethod<[owner: AddressLike, spender: AddressLike, amount: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike], [void], "nonpayable">

  • Parameters

    • nameOrSignature: "previewDeposit"

    Returns TypedContractMethod<[assetAmount: BigNumberish], [bigint], "view">

  • Parameters

    • nameOrSignature: "previewMint"

    Returns TypedContractMethod<[shareAmount: BigNumberish], [bigint], "view">

  • Parameters

    • nameOrSignature: "previewRedeem"

    Returns TypedContractMethod<[shareAmount: BigNumberish], [bigint], "view">

  • Parameters

    • nameOrSignature: "previewWithdraw"

    Returns TypedContractMethod<[assetAmount: BigNumberish], [bigint], "view">

  • Parameters

    • nameOrSignature: "redeem"

    Returns TypedContractMethod<[shareAmount: BigNumberish, receiver: AddressLike, owner: AddressLike], [bigint], "nonpayable">

  • Parameters

    • nameOrSignature: "symbol"

    Returns TypedContractMethod<[], [string], "view">

  • Parameters

    • nameOrSignature: "totalAssets"

    Returns TypedContractMethod<[], [bigint], "view">

  • Parameters

    • nameOrSignature: "totalSupply"

    Returns TypedContractMethod<[], [bigint], "view">

  • Parameters

    • nameOrSignature: "transfer"

    Returns TypedContractMethod<[recipient: AddressLike, amount: BigNumberish], [boolean], "nonpayable">

  • Parameters

    • nameOrSignature: "transferFrom"

    Returns TypedContractMethod<[holder: AddressLike, recipient: AddressLike, amount: BigNumberish], [boolean], "nonpayable">

  • Parameters

    • nameOrSignature: "withdraw"

    Returns TypedContractMethod<[assetAmount: BigNumberish, receiver: AddressLike, owner: AddressLike], [bigint], "nonpayable">

  • Resolves to the number of listeners of %%event%% or the total number of listeners if unspecified.

    Parameters

    • Optional event: ContractEventName

    Returns Promise<number>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • event: TCEvent

    Returns Promise<TypedListener<TCEvent>[]>

  • Parameters

    • Optional eventName: string

    Returns Promise<Listener[]>

  • Remove the %%listener%% from the listeners for %%event%% or remove all listeners if unspecified.

    Parameters

    • event: ContractEventName
    • Optional listener: Listener

    Returns Promise<ISolidStateERC4626>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • event: TCEvent
    • listener: TypedListener<TCEvent>

    Returns Promise<ISolidStateERC4626>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • filter: TypedDeferredTopicFilter<TCEvent>
    • listener: TypedListener<TCEvent>

    Returns Promise<ISolidStateERC4626>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • event: TCEvent
    • listener: TypedListener<TCEvent>

    Returns Promise<ISolidStateERC4626>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • filter: TypedDeferredTopicFilter<TCEvent>
    • listener: TypedListener<TCEvent>

    Returns Promise<ISolidStateERC4626>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • event: TCEvent
    • Optional fromBlockOrBlockhash: string | number
    • Optional toBlock: string | number

    Returns Promise<TypedEventLog<TCEvent>[]>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • filter: TypedDeferredTopicFilter<TCEvent>
    • Optional fromBlockOrBlockhash: string | number
    • Optional toBlock: string | number

    Returns Promise<TypedEventLog<TCEvent>[]>

  • @_ignore:

    Parameters

    • hash: string

    Returns Promise<EventLog[]>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • Optional event: TCEvent

    Returns Promise<ISolidStateERC4626>

  • Alias for [off].

    Parameters

    • event: ContractEventName
    • listener: Listener

    Returns Promise<ISolidStateERC4626>

  • Returns Promise<ISolidStateERC4626>

Generated using TypeDoc