Interface TokenRegistry

Hierarchy

  • BaseContract
    • TokenRegistry

Properties

_deployedPromise: Promise<Contract>
_runningEvents: {
    [eventTag: string]: RunningEvent;
}

Type declaration

  • [eventTag: string]: RunningEvent
_wrappedEmits: {
    [eventTag: string]: ((...args: any[]) => void);
}

Type declaration

  • [eventTag: string]: ((...args: any[]) => void)
      • (...args: any[]): void
      • Parameters

        • Rest ...args: any[]

        Returns void

address: string
callStatic: {
    CREATE_PERMISSION(overrides?: CallOverrides): Promise<string>;
    TERC20_NAME(overrides?: CallOverrides): Promise<string>;
    TERC721_NAME(overrides?: CallOverrides): Promise<string>;
    TOKEN_FACTORY_DEP(overrides?: CallOverrides): Promise<string>;
    TOKEN_REGISTRY_RESOURCE(overrides?: CallOverrides): Promise<string>;
    addProxyPool(name: string, poolAddress: string, overrides?: CallOverrides): Promise<void>;
    countPools(name: string, overrides?: CallOverrides): Promise<BigNumber>;
    getImplementation(name: string, overrides?: CallOverrides): Promise<string>;
    getInjector(overrides?: CallOverrides): Promise<string>;
    getProxyBeacon(name: string, overrides?: CallOverrides): Promise<string>;
    injectDependenciesToExistingPools(name: string, offset: BigNumberish, limit: BigNumberish, overrides?: CallOverrides): Promise<void>;
    listPools(name: string, offset: BigNumberish, limit: BigNumberish, overrides?: CallOverrides): Promise<string[]>;
    setDependencies(registryAddress_: string, overrides?: CallOverrides): Promise<void>;
    setInjector(_injector: string, overrides?: CallOverrides): Promise<void>;
    setNewImplementations(names: string[], newImplementations: string[], overrides?: CallOverrides): Promise<void>;
}

Type declaration

deployTransaction: TransactionResponse
estimateGas: {
    CREATE_PERMISSION(overrides?: CallOverrides): Promise<BigNumber>;
    TERC20_NAME(overrides?: CallOverrides): Promise<BigNumber>;
    TERC721_NAME(overrides?: CallOverrides): Promise<BigNumber>;
    TOKEN_FACTORY_DEP(overrides?: CallOverrides): Promise<BigNumber>;
    TOKEN_REGISTRY_RESOURCE(overrides?: CallOverrides): Promise<BigNumber>;
    addProxyPool(name: string, poolAddress: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    countPools(name: string, overrides?: CallOverrides): Promise<BigNumber>;
    getImplementation(name: string, overrides?: CallOverrides): Promise<BigNumber>;
    getInjector(overrides?: CallOverrides): Promise<BigNumber>;
    getProxyBeacon(name: string, overrides?: CallOverrides): Promise<BigNumber>;
    injectDependenciesToExistingPools(name: string, offset: BigNumberish, limit: BigNumberish, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    listPools(name: string, offset: BigNumberish, limit: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
    setDependencies(registryAddress_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    setInjector(_injector: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    setNewImplementations(names: string[], newImplementations: string[], overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
}

Type declaration

  • CREATE_PERMISSION:function
  • TERC20_NAME:function
  • TERC721_NAME:function
  • TOKEN_FACTORY_DEP:function
  • TOKEN_REGISTRY_RESOURCE:function
  • addProxyPool:function
    • Parameters

      • name: string
      • poolAddress: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<BigNumber>

  • countPools:function
  • getImplementation:function
  • getInjector:function
  • getProxyBeacon:function
  • injectDependenciesToExistingPools:function
    • Parameters

      • name: string
      • offset: BigNumberish
      • limit: BigNumberish
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<BigNumber>

  • listPools:function
    • Parameters

      • name: string
      • offset: BigNumberish
      • limit: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • setDependencies:function
    • Parameters

      • registryAddress_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<BigNumber>

  • setInjector:function
    • Parameters

      • _injector: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<BigNumber>

  • setNewImplementations:function
    • Parameters

      • names: string[]
      • newImplementations: string[]
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<BigNumber>

filters: {}

Type declaration

    functions: {
        CREATE_PERMISSION(overrides?: CallOverrides): Promise<[string]>;
        TERC20_NAME(overrides?: CallOverrides): Promise<[string]>;
        TERC721_NAME(overrides?: CallOverrides): Promise<[string]>;
        TOKEN_FACTORY_DEP(overrides?: CallOverrides): Promise<[string]>;
        TOKEN_REGISTRY_RESOURCE(overrides?: CallOverrides): Promise<[string]>;
        addProxyPool(name: string, poolAddress: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        countPools(name: string, overrides?: CallOverrides): Promise<[BigNumber]>;
        getImplementation(name: string, overrides?: CallOverrides): Promise<[string]>;
        getInjector(overrides?: CallOverrides): Promise<[string] & {
            _injector: string;
        }>;
        getProxyBeacon(name: string, overrides?: CallOverrides): Promise<[string]>;
        injectDependenciesToExistingPools(name: string, offset: BigNumberish, limit: BigNumberish, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        listPools(name: string, offset: BigNumberish, limit: BigNumberish, overrides?: CallOverrides): Promise<[string[]] & {
            pools: string[];
        }>;
        setDependencies(registryAddress_: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        setInjector(_injector: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        setNewImplementations(names: string[], newImplementations: string[], overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
    }

    Type declaration

    • CREATE_PERMISSION:function
    • TERC20_NAME:function
    • TERC721_NAME:function
    • TOKEN_FACTORY_DEP:function
    • TOKEN_REGISTRY_RESOURCE:function
    • addProxyPool:function
      • Parameters

        • name: string
        • poolAddress: string
        • Optional overrides: Overrides & {
              from?: string;
          }

        Returns Promise<ContractTransaction>

    • countPools:function
    • getImplementation:function
    • getInjector:function
    • getProxyBeacon:function
    • injectDependenciesToExistingPools:function
      • Parameters

        • name: string
        • offset: BigNumberish
        • limit: BigNumberish
        • Optional overrides: Overrides & {
              from?: string;
          }

        Returns Promise<ContractTransaction>

    • listPools:function
      • Parameters

        • name: string
        • offset: BigNumberish
        • limit: BigNumberish
        • Optional overrides: CallOverrides

        Returns Promise<[string[]] & {
            pools: string[];
        }>

    • setDependencies:function
      • Parameters

        • registryAddress_: string
        • Optional overrides: Overrides & {
              from?: string;
          }

        Returns Promise<ContractTransaction>

    • setInjector:function
      • Parameters

        • _injector: string
        • Optional overrides: Overrides & {
              from?: string;
          }

        Returns Promise<ContractTransaction>

    • setNewImplementations:function
      • Parameters

        • names: string[]
        • newImplementations: string[]
        • Optional overrides: Overrides & {
              from?: string;
          }

        Returns Promise<ContractTransaction>

    interface: TokenRegistryInterface
    off: OnEvent<TokenRegistry>
    on: OnEvent<TokenRegistry>
    once: OnEvent<TokenRegistry>
    populateTransaction: {
        CREATE_PERMISSION(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        TERC20_NAME(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        TERC721_NAME(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        TOKEN_FACTORY_DEP(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        TOKEN_REGISTRY_RESOURCE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        addProxyPool(name: string, poolAddress: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        countPools(name: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getImplementation(name: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getInjector(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getProxyBeacon(name: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        injectDependenciesToExistingPools(name: string, offset: BigNumberish, limit: BigNumberish, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        listPools(name: string, offset: BigNumberish, limit: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        setDependencies(registryAddress_: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        setInjector(_injector: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        setNewImplementations(names: string[], newImplementations: string[], overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
    }

    Type declaration

    • CREATE_PERMISSION:function
    • TERC20_NAME:function
    • TERC721_NAME:function
    • TOKEN_FACTORY_DEP:function
    • TOKEN_REGISTRY_RESOURCE:function
    • addProxyPool:function
      • Parameters

        • name: string
        • poolAddress: string
        • Optional overrides: Overrides & {
              from?: string;
          }

        Returns Promise<PopulatedTransaction>

    • countPools:function
    • getImplementation:function
    • getInjector:function
    • getProxyBeacon:function
    • injectDependenciesToExistingPools:function
      • Parameters

        • name: string
        • offset: BigNumberish
        • limit: BigNumberish
        • Optional overrides: Overrides & {
              from?: string;
          }

        Returns Promise<PopulatedTransaction>

    • listPools:function
      • Parameters

        • name: string
        • offset: BigNumberish
        • limit: BigNumberish
        • Optional overrides: CallOverrides

        Returns Promise<PopulatedTransaction>

    • setDependencies:function
      • Parameters

        • registryAddress_: string
        • Optional overrides: Overrides & {
              from?: string;
          }

        Returns Promise<PopulatedTransaction>

    • setInjector:function
      • Parameters

        • _injector: string
        • Optional overrides: Overrides & {
              from?: string;
          }

        Returns Promise<PopulatedTransaction>

    • setNewImplementations:function
      • Parameters

        • names: string[]
        • newImplementations: string[]
        • Optional overrides: Overrides & {
              from?: string;
          }

        Returns Promise<PopulatedTransaction>

    provider: Provider
    removeListener: OnEvent<TokenRegistry>
    resolvedAddress: Promise<string>
    signer: Signer

    Methods

    • Parameters

      • runningEvent: RunningEvent

      Returns void

    • Parameters

      • Optional blockTag: BlockTag

      Returns Promise<Contract>

    • Parameters

      • runningEvent: RunningEvent
      • log: Log
      • listener: Listener

      Returns Event

    • Parameters

      • name: string
      • poolAddress: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<ContractTransaction>

    • Parameters

      • eventName: string | EventFilter
      • Rest ...args: any[]

      Returns boolean

    • Parameters

      • Optional overrides: TransactionRequest

      Returns Promise<TransactionResponse>

    • Parameters

      • name: string
      • offset: BigNumberish
      • limit: BigNumberish
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<ContractTransaction>

    • Parameters

      • name: string
      • offset: BigNumberish
      • limit: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<string[]>

    • Parameters

      • Optional eventName: string | EventFilter

      Returns number

    • Type Parameters

      • TEvent extends TypedEvent<any, any>

      Parameters

      • event: TypedEventFilter<TEvent>
      • Optional fromBlockOrBlockhash: string | number
      • Optional toBlock: string | number

      Returns Promise<TEvent[]>

    • Parameters

      • registryAddress_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<ContractTransaction>

    • Parameters

      • _injector: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<ContractTransaction>

    • Parameters

      • names: string[]
      • newImplementations: string[]
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<ContractTransaction>

    Generated using TypeDoc