Interface MasterContractsRegistry

Hierarchy

  • BaseContract
    • MasterContractsRegistry

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: {
    CONSTANTS_REGISTRY_NAME(overrides?: CallOverrides): Promise<string>;
    MASTER_ACCESS_MANAGEMENT_NAME(overrides?: CallOverrides): Promise<string>;
    REVIEWABLE_REQUESTS_NAME(overrides?: CallOverrides): Promise<string>;
    __MasterContractsRegistry_init(masterAccess_: string, overrides?: CallOverrides): Promise<void>;
    addContract(name_: string, contractAddress_: string, overrides?: CallOverrides): Promise<void>;
    addProxyContract(name_: string, contractAddress_: string, overrides?: CallOverrides): Promise<void>;
    getConstantsRegistry(overrides?: CallOverrides): Promise<string>;
    getContract(name: string, overrides?: CallOverrides): Promise<string>;
    getImplementation(name: string, overrides?: CallOverrides): Promise<string>;
    getMasterAccessManagement(overrides?: CallOverrides): Promise<string>;
    getProxyUpgrader(overrides?: CallOverrides): Promise<string>;
    getReviewableRequests(overrides?: CallOverrides): Promise<string>;
    hasContract(name: string, overrides?: CallOverrides): Promise<boolean>;
    injectDependencies(name_: string, overrides?: CallOverrides): Promise<void>;
    justAddProxyContract(name_: string, contractAddress_: string, overrides?: CallOverrides): Promise<void>;
    proxiableUUID(overrides?: CallOverrides): Promise<string>;
    removeContract(name_: string, overrides?: CallOverrides): Promise<void>;
    upgradeContract(name_: string, newImplementation_: string, overrides?: CallOverrides): Promise<void>;
    upgradeContractAndCall(name_: string, newImplementation_: string, data_: BytesLike, overrides?: CallOverrides): Promise<void>;
    upgradeTo(newImplementation: string, overrides?: CallOverrides): Promise<void>;
    upgradeToAndCall(newImplementation: string, data: BytesLike, overrides?: CallOverrides): Promise<void>;
}

Type declaration

deployTransaction: TransactionResponse
estimateGas: {
    CONSTANTS_REGISTRY_NAME(overrides?: CallOverrides): Promise<BigNumber>;
    MASTER_ACCESS_MANAGEMENT_NAME(overrides?: CallOverrides): Promise<BigNumber>;
    REVIEWABLE_REQUESTS_NAME(overrides?: CallOverrides): Promise<BigNumber>;
    __MasterContractsRegistry_init(masterAccess_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    addContract(name_: string, contractAddress_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    addProxyContract(name_: string, contractAddress_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    getConstantsRegistry(overrides?: CallOverrides): Promise<BigNumber>;
    getContract(name: string, overrides?: CallOverrides): Promise<BigNumber>;
    getImplementation(name: string, overrides?: CallOverrides): Promise<BigNumber>;
    getMasterAccessManagement(overrides?: CallOverrides): Promise<BigNumber>;
    getProxyUpgrader(overrides?: CallOverrides): Promise<BigNumber>;
    getReviewableRequests(overrides?: CallOverrides): Promise<BigNumber>;
    hasContract(name: string, overrides?: CallOverrides): Promise<BigNumber>;
    injectDependencies(name_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    justAddProxyContract(name_: string, contractAddress_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    proxiableUUID(overrides?: CallOverrides): Promise<BigNumber>;
    removeContract(name_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    upgradeContract(name_: string, newImplementation_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    upgradeContractAndCall(name_: string, newImplementation_: string, data_: BytesLike, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    upgradeTo(newImplementation: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    upgradeToAndCall(newImplementation: string, data: BytesLike, overrides?: PayableOverrides & {
        from?: string;
    }): Promise<BigNumber>;
}

Type declaration

filters: {
    AddedContract(name?: null, contractAddress?: null, isProxy?: null): AddedContractEventFilter;
    AddedContract(string,address,bool)(name?: null, contractAddress?: null, isProxy?: null): AddedContractEventFilter;
    AdminChanged(previousAdmin?: null, newAdmin?: null): AdminChangedEventFilter;
    AdminChanged(address,address)(previousAdmin?: null, newAdmin?: null): AdminChangedEventFilter;
    BeaconUpgraded(beacon?: null | string): BeaconUpgradedEventFilter;
    BeaconUpgraded(address)(beacon?: null | string): BeaconUpgradedEventFilter;
    RemovedContract(name?: null): RemovedContractEventFilter;
    RemovedContract(string)(name?: null): RemovedContractEventFilter;
    Upgraded(implementation?: null | string): UpgradedEventFilter;
    Upgraded(address)(implementation?: null | string): UpgradedEventFilter;
}

Type declaration

functions: {
    CONSTANTS_REGISTRY_NAME(overrides?: CallOverrides): Promise<[string]>;
    MASTER_ACCESS_MANAGEMENT_NAME(overrides?: CallOverrides): Promise<[string]>;
    REVIEWABLE_REQUESTS_NAME(overrides?: CallOverrides): Promise<[string]>;
    __MasterContractsRegistry_init(masterAccess_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    addContract(name_: string, contractAddress_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    addProxyContract(name_: string, contractAddress_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    getConstantsRegistry(overrides?: CallOverrides): Promise<[string]>;
    getContract(name: string, overrides?: CallOverrides): Promise<[string]>;
    getImplementation(name: string, overrides?: CallOverrides): Promise<[string]>;
    getMasterAccessManagement(overrides?: CallOverrides): Promise<[string]>;
    getProxyUpgrader(overrides?: CallOverrides): Promise<[string]>;
    getReviewableRequests(overrides?: CallOverrides): Promise<[string]>;
    hasContract(name: string, overrides?: CallOverrides): Promise<[boolean]>;
    injectDependencies(name_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    justAddProxyContract(name_: string, contractAddress_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    proxiableUUID(overrides?: CallOverrides): Promise<[string]>;
    removeContract(name_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    upgradeContract(name_: string, newImplementation_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    upgradeContractAndCall(name_: string, newImplementation_: string, data_: BytesLike, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    upgradeTo(newImplementation: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    upgradeToAndCall(newImplementation: string, data: BytesLike, overrides?: PayableOverrides & {
        from?: string;
    }): Promise<ContractTransaction>;
}

Type declaration

interface: MasterContractsRegistryInterface
populateTransaction: {
    CONSTANTS_REGISTRY_NAME(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    MASTER_ACCESS_MANAGEMENT_NAME(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    REVIEWABLE_REQUESTS_NAME(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    __MasterContractsRegistry_init(masterAccess_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    addContract(name_: string, contractAddress_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    addProxyContract(name_: string, contractAddress_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    getConstantsRegistry(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    getContract(name: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    getImplementation(name: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    getMasterAccessManagement(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    getProxyUpgrader(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    getReviewableRequests(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    hasContract(name: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    injectDependencies(name_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    justAddProxyContract(name_: string, contractAddress_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    proxiableUUID(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    removeContract(name_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    upgradeContract(name_: string, newImplementation_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    upgradeContractAndCall(name_: string, newImplementation_: string, data_: BytesLike, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    upgradeTo(newImplementation: string, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    upgradeToAndCall(newImplementation: string, data: BytesLike, overrides?: PayableOverrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
}

Type declaration

  • CONSTANTS_REGISTRY_NAME:function
  • MASTER_ACCESS_MANAGEMENT_NAME:function
  • REVIEWABLE_REQUESTS_NAME:function
  • __MasterContractsRegistry_init:function
    • Parameters

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

      Returns Promise<PopulatedTransaction>

  • addContract:function
    • Parameters

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

      Returns Promise<PopulatedTransaction>

  • addProxyContract:function
    • Parameters

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

      Returns Promise<PopulatedTransaction>

  • getConstantsRegistry:function
  • getContract:function
  • getImplementation:function
  • getMasterAccessManagement:function
  • getProxyUpgrader:function
  • getReviewableRequests:function
  • hasContract:function
  • injectDependencies:function
  • justAddProxyContract:function
    • Parameters

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

      Returns Promise<PopulatedTransaction>

  • proxiableUUID:function
  • removeContract:function
  • upgradeContract:function
    • Parameters

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

      Returns Promise<PopulatedTransaction>

  • upgradeContractAndCall:function
    • Parameters

      • name_: string
      • newImplementation_: string
      • data_: BytesLike
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<PopulatedTransaction>

  • upgradeTo:function
    • Parameters

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

      Returns Promise<PopulatedTransaction>

  • upgradeToAndCall:function
    • Parameters

      • newImplementation: string
      • data: BytesLike
      • Optional overrides: PayableOverrides & {
            from?: string;
        }

      Returns Promise<PopulatedTransaction>

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

Methods

  • Parameters

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

    Returns Promise<ContractTransaction>

  • Parameters

    • runningEvent: RunningEvent

    Returns void

  • Parameters

    • Optional blockTag: BlockTag

    Returns Promise<Contract>

  • Parameters

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

    Returns Event

  • Parameters

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

    Returns Promise<ContractTransaction>

  • Parameters

    • name_: string
    • contractAddress_: 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
    • contractAddress_: string
    • Optional overrides: Overrides & {
          from?: string;
      }

    Returns Promise<ContractTransaction>

  • 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

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

    Returns Promise<ContractTransaction>

  • Parameters

    • name_: string
    • newImplementation_: string
    • data_: BytesLike
    • Optional overrides: Overrides & {
          from?: string;
      }

    Returns Promise<ContractTransaction>

  • Parameters

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

    Returns Promise<ContractTransaction>

  • Parameters

    • newImplementation: string
    • data: BytesLike
    • Optional overrides: PayableOverrides & {
          from?: string;
      }

    Returns Promise<ContractTransaction>

Generated using TypeDoc