Interface IVaultRegistry

Hierarchy

  • BaseContract
    • IVaultRegistry

Properties

[internal]: any
addSupportedTokenPairs: TypedContractMethod<[vault: AddressLike, tokenPairs: TokenPairStruct[]], [void], "nonpayable">
addVault: TypedContractMethod<[vault: AddressLike, asset: AddressLike, vaultType: BytesLike, side: BigNumberish, optionType: BigNumberish], [void], "nonpayable">
fallback: null | WrappedFallback
filters: {
    SupportedTokenPairAdded: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SupportedTokenPairAdded(address,address,address,address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SupportedTokenPairRemoved: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SupportedTokenPairRemoved(address,address,address,address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    VaultAdded: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    VaultAdded(address,address,bytes32,uint8,uint8): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    VaultRemoved: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    VaultRemoved(address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    VaultUpdated: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    VaultUpdated(address,address,bytes32,uint8,uint8): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
}

Type declaration

  • SupportedTokenPairAdded: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • SupportedTokenPairAdded(address,address,address,address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • SupportedTokenPairRemoved: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • SupportedTokenPairRemoved(address,address,address,address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • VaultAdded: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • VaultAdded(address,address,bytes32,uint8,uint8): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • VaultRemoved: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • VaultRemoved(address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • VaultUpdated: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • VaultUpdated(address,address,bytes32,uint8,uint8): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
getImplementation: TypedContractMethod<[vaultType: BytesLike], [string], "view">
getNumberOfVaults: TypedContractMethod<[], [bigint], "view">
getSettings: TypedContractMethod<[vaultType: BytesLike], [string], "view">
getSupportedTokenPairs: TypedContractMethod<[vault: AddressLike], [TokenPairStructOutput[]], "view">
getVault: TypedContractMethod<[vault: AddressLike], [VaultStructOutput], "view">
getVaults: TypedContractMethod<[], [VaultStructOutput[]], "view">
getVaultsByAsset: TypedContractMethod<[asset: AddressLike], [VaultStructOutput[]], "view">
getVaultsByFilter: TypedContractMethod<[assets: AddressLike[], side: BigNumberish, optionType: BigNumberish], [VaultStructOutput[]], "view">
getVaultsByOptionType: TypedContractMethod<[optionType: BigNumberish], [VaultStructOutput[]], "view">
getVaultsByTokenPair: TypedContractMethod<[tokenPair: TokenPairStruct], [VaultStructOutput[]], "view">
getVaultsByTradeSide: TypedContractMethod<[side: BigNumberish], [VaultStructOutput[]], "view">
getVaultsByType: TypedContractMethod<[vaultType: BytesLike], [VaultStructOutput[]], "view">
interface: IVaultRegistryInterface
isVault: TypedContractMethod<[vault: AddressLike], [boolean], "view">
removeSupportedTokenPairs: TypedContractMethod<[vault: AddressLike, tokenPairsToRemove: TokenPairStruct[]], [void], "nonpayable">
removeVault: TypedContractMethod<[vault: AddressLike], [void], "nonpayable">
runner: null | ContractRunner
setImplementation: TypedContractMethod<[vaultType: BytesLike, implementation: AddressLike], [void], "nonpayable">
target: string | Addressable
updateSettings: TypedContractMethod<[vaultType: BytesLike, updatedSettings: BytesLike], [void], "nonpayable">
updateVault: TypedContractMethod<[vault: AddressLike, asset: AddressLike, vaultType: BytesLike, side: BigNumberish, optionType: BigNumberish], [void], "nonpayable">

Methods

  • Parameters

    • event: ContractEventName
    • listener: Listener

    Returns Promise<IVaultRegistry>

  • Parameters

    • addressOrName: AddressLike

    Returns IVaultRegistry

  • Parameters

    • Optional runner: null | ContractRunner

    Returns BaseContract

  • Returns null | ContractTransactionResponse

  • Parameters

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

    Returns Promise<boolean>

  • Returns Promise<string>

  • Returns Promise<null | string>

  • Parameters

    • key: "SupportedTokenPairAdded"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Parameters

    • key: "SupportedTokenPairRemoved"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Parameters

    • key: "VaultAdded"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Parameters

    • key: "VaultRemoved"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Parameters

    • key: "VaultUpdated"

    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: "addSupportedTokenPairs"

    Returns TypedContractMethod<[vault: AddressLike, tokenPairs: TokenPairStruct[]], [void], "nonpayable">

  • Parameters

    • nameOrSignature: "addVault"

    Returns TypedContractMethod<[vault: AddressLike, asset: AddressLike, vaultType: BytesLike, side: BigNumberish, optionType: BigNumberish], [void], "nonpayable">

  • Parameters

    • nameOrSignature: "getImplementation"

    Returns TypedContractMethod<[vaultType: BytesLike], [string], "view">

  • Parameters

    • nameOrSignature: "getNumberOfVaults"

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

  • Parameters

    • nameOrSignature: "getSettings"

    Returns TypedContractMethod<[vaultType: BytesLike], [string], "view">

  • Parameters

    • nameOrSignature: "getSupportedTokenPairs"

    Returns TypedContractMethod<[vault: AddressLike], [TokenPairStructOutput[]], "view">

  • Parameters

    • nameOrSignature: "getVault"

    Returns TypedContractMethod<[vault: AddressLike], [VaultStructOutput], "view">

  • Parameters

    • nameOrSignature: "getVaults"

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

  • Parameters

    • nameOrSignature: "getVaultsByAsset"

    Returns TypedContractMethod<[asset: AddressLike], [VaultStructOutput[]], "view">

  • Parameters

    • nameOrSignature: "getVaultsByFilter"

    Returns TypedContractMethod<[assets: AddressLike[], side: BigNumberish, optionType: BigNumberish], [VaultStructOutput[]], "view">

  • Parameters

    • nameOrSignature: "getVaultsByOptionType"

    Returns TypedContractMethod<[optionType: BigNumberish], [VaultStructOutput[]], "view">

  • Parameters

    • nameOrSignature: "getVaultsByTokenPair"

    Returns TypedContractMethod<[tokenPair: TokenPairStruct], [VaultStructOutput[]], "view">

  • Parameters

    • nameOrSignature: "getVaultsByTradeSide"

    Returns TypedContractMethod<[side: BigNumberish], [VaultStructOutput[]], "view">

  • Parameters

    • nameOrSignature: "getVaultsByType"

    Returns TypedContractMethod<[vaultType: BytesLike], [VaultStructOutput[]], "view">

  • Parameters

    • nameOrSignature: "isVault"

    Returns TypedContractMethod<[vault: AddressLike], [boolean], "view">

  • Parameters

    • nameOrSignature: "removeSupportedTokenPairs"

    Returns TypedContractMethod<[vault: AddressLike, tokenPairsToRemove: TokenPairStruct[]], [void], "nonpayable">

  • Parameters

    • nameOrSignature: "removeVault"

    Returns TypedContractMethod<[vault: AddressLike], [void], "nonpayable">

  • Parameters

    • nameOrSignature: "setImplementation"

    Returns TypedContractMethod<[vaultType: BytesLike, implementation: AddressLike], [void], "nonpayable">

  • Parameters

    • nameOrSignature: "updateSettings"

    Returns TypedContractMethod<[vaultType: BytesLike, updatedSettings: BytesLike], [void], "nonpayable">

  • Parameters

    • nameOrSignature: "updateVault"

    Returns TypedContractMethod<[vault: AddressLike, asset: AddressLike, vaultType: BytesLike, side: BigNumberish, optionType: BigNumberish], [void], "nonpayable">

  • 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[]>

  • Parameters

    • event: ContractEventName
    • Optional listener: Listener

    Returns Promise<IVaultRegistry>

  • Type Parameters

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

    Parameters

    • event: TCEvent
    • listener: TypedListener<TCEvent>

    Returns Promise<IVaultRegistry>

  • Type Parameters

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

    Parameters

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

    Returns Promise<IVaultRegistry>

  • Type Parameters

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

    Parameters

    • event: TCEvent
    • listener: TypedListener<TCEvent>

    Returns Promise<IVaultRegistry>

  • Type Parameters

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

    Parameters

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

    Returns Promise<IVaultRegistry>

  • 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>[]>

  • Parameters

    • hash: string

    Returns Promise<EventLog[]>

  • Type Parameters

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

    Parameters

    • Optional event: TCEvent

    Returns Promise<IVaultRegistry>

  • Parameters

    • event: ContractEventName
    • listener: Listener

    Returns Promise<IVaultRegistry>

  • Returns Promise<IVaultRegistry>

Generated using TypeDoc