Interface TokenFactory

Hierarchy

  • BaseContract
    • TokenFactory

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>;
    EXECUTE_PERMISSION(overrides?: CallOverrides): Promise<string>;
    TOKEN_FACTORY_RESOURCE(overrides?: CallOverrides): Promise<string>;
    TOKEN_REGISTRY_DEP(overrides?: CallOverrides): Promise<string>;
    deployTERC20(params_: ConstructorParamsStruct, overrides?: CallOverrides): Promise<void>;
    deployTERC721(params_: ConstructorParamsStruct, overrides?: CallOverrides): Promise<void>;
    getInjector(overrides?: CallOverrides): Promise<string>;
    requestTERC20(params_: ConstructorParamsStruct, description_: string, overrides?: CallOverrides): Promise<void>;
    requestTERC721(params_: ConstructorParamsStruct, description_: string, overrides?: CallOverrides): Promise<void>;
    setDependencies(registryAddress_: string, overrides?: CallOverrides): Promise<void>;
    setInjector(_injector: string, overrides?: CallOverrides): Promise<void>;
}

Type declaration

deployTransaction: TransactionResponse
estimateGas: {
    CREATE_PERMISSION(overrides?: CallOverrides): Promise<BigNumber>;
    EXECUTE_PERMISSION(overrides?: CallOverrides): Promise<BigNumber>;
    TOKEN_FACTORY_RESOURCE(overrides?: CallOverrides): Promise<BigNumber>;
    TOKEN_REGISTRY_DEP(overrides?: CallOverrides): Promise<BigNumber>;
    deployTERC20(params_: ConstructorParamsStruct, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    deployTERC721(params_: ConstructorParamsStruct, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    getInjector(overrides?: CallOverrides): Promise<BigNumber>;
    requestTERC20(params_: ConstructorParamsStruct, description_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    requestTERC721(params_: ConstructorParamsStruct, description_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    setDependencies(registryAddress_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    setInjector(_injector: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
}

Type declaration

  • CREATE_PERMISSION:function
  • EXECUTE_PERMISSION:function
  • TOKEN_FACTORY_RESOURCE:function
  • TOKEN_REGISTRY_DEP:function
  • deployTERC20:function
    • Parameters

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

      Returns Promise<BigNumber>

  • deployTERC721:function
    • Parameters

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

      Returns Promise<BigNumber>

  • getInjector:function
  • requestTERC20:function
    • Parameters

      • params_: ConstructorParamsStruct
      • description_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<BigNumber>

  • requestTERC721:function
    • Parameters

      • params_: ConstructorParamsStruct
      • description_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      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>

filters: {
    DeployedTERC20(token?: null): DeployedTERC20EventFilter;
    DeployedTERC20(address)(token?: null): DeployedTERC20EventFilter;
    DeployedTERC721(token?: null): DeployedTERC721EventFilter;
    DeployedTERC721(address)(token?: null): DeployedTERC721EventFilter;
}

Type declaration

functions: {
    CREATE_PERMISSION(overrides?: CallOverrides): Promise<[string]>;
    EXECUTE_PERMISSION(overrides?: CallOverrides): Promise<[string]>;
    TOKEN_FACTORY_RESOURCE(overrides?: CallOverrides): Promise<[string]>;
    TOKEN_REGISTRY_DEP(overrides?: CallOverrides): Promise<[string]>;
    deployTERC20(params_: ConstructorParamsStruct, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    deployTERC721(params_: ConstructorParamsStruct, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    getInjector(overrides?: CallOverrides): Promise<[string] & {
        _injector: string;
    }>;
    requestTERC20(params_: ConstructorParamsStruct, description_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    requestTERC721(params_: ConstructorParamsStruct, description_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    setDependencies(registryAddress_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    setInjector(_injector: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
}

Type declaration

  • CREATE_PERMISSION:function
  • EXECUTE_PERMISSION:function
  • TOKEN_FACTORY_RESOURCE:function
  • TOKEN_REGISTRY_DEP:function
  • deployTERC20:function
    • Parameters

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

      Returns Promise<ContractTransaction>

  • deployTERC721:function
    • Parameters

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

      Returns Promise<ContractTransaction>

  • getInjector:function
  • requestTERC20:function
    • Parameters

      • params_: ConstructorParamsStruct
      • description_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<ContractTransaction>

  • requestTERC721:function
    • Parameters

      • params_: ConstructorParamsStruct
      • description_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<ContractTransaction>

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

interface: TokenFactoryInterface
off: OnEvent<TokenFactory>
on: OnEvent<TokenFactory>
once: OnEvent<TokenFactory>
populateTransaction: {
    CREATE_PERMISSION(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    EXECUTE_PERMISSION(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    TOKEN_FACTORY_RESOURCE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    TOKEN_REGISTRY_DEP(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    deployTERC20(params_: ConstructorParamsStruct, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    deployTERC721(params_: ConstructorParamsStruct, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    getInjector(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    requestTERC20(params_: ConstructorParamsStruct, description_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    requestTERC721(params_: ConstructorParamsStruct, description_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    setDependencies(registryAddress_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    setInjector(_injector: string, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
}

Type declaration

  • CREATE_PERMISSION:function
  • EXECUTE_PERMISSION:function
  • TOKEN_FACTORY_RESOURCE:function
  • TOKEN_REGISTRY_DEP:function
  • deployTERC20:function
    • Parameters

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

      Returns Promise<PopulatedTransaction>

  • deployTERC721:function
    • Parameters

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

      Returns Promise<PopulatedTransaction>

  • getInjector:function
  • requestTERC20:function
    • Parameters

      • params_: ConstructorParamsStruct
      • description_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<PopulatedTransaction>

  • requestTERC721:function
    • Parameters

      • params_: ConstructorParamsStruct
      • description_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      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>

provider: Provider
removeListener: OnEvent<TokenFactory>
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

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

    Returns Promise<ContractTransaction>

  • Parameters

    • params_: ConstructorParamsStruct
    • 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

    • 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

    • params_: ConstructorParamsStruct
    • description_: string
    • Optional overrides: Overrides & {
          from?: string;
      }

    Returns Promise<ContractTransaction>

  • Parameters

    • params_: ConstructorParamsStruct
    • description_: string
    • Optional overrides: Overrides & {
          from?: string;
      }

    Returns Promise<ContractTransaction>

  • Parameters

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

    Returns Promise<ContractTransaction>

  • Parameters

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

    Returns Promise<ContractTransaction>

Generated using TypeDoc