Interface RegistrationV4Contract

Hierarchy

  • BaseContract
    • RegistrationV4Contract

Properties

interface: RegistrationV4Interface
removeListener: OnEvent<Contracts.RegistrationV4Contract>
functions: {
    getVersion(overrides?) => Promise<[string]>;
    imx(overrides?) => Promise<[string]>;
    isRegistered(starkKey, overrides?) => Promise<[boolean]>;
    registerAndWithdrawAll(ethKey, starkKey, signature, assetType, overrides?) => Promise<ContractTransaction>;
    registerAndWithdrawNft(ethKey, starkKey, signature, assetType, tokenId, overrides?) => Promise<ContractTransaction>;
    registerWithdrawAndMint(ethKey, starkKey, signature, assetType, mintingBlob, overrides?) => Promise<ContractTransaction>;
    withdrawAll(ethKey, starkKey, assetType, overrides?) => Promise<ContractTransaction>;
}

Type declaration

  • getVersion:function
  • imx:function
  • isRegistered:function
  • registerAndWithdrawAll:function
    • Parameters

      • ethKey: PromiseOrValue<string>
      • starkKey: PromiseOrValue<BigNumberish>
      • signature: PromiseOrValue<BytesLike>
      • assetType: PromiseOrValue<BigNumberish>
      • Optional overrides: Overrides & {
            from?: PromiseOrValue<string>;
        }

      Returns Promise<ContractTransaction>

  • registerAndWithdrawNft:function
    • Parameters

      • ethKey: PromiseOrValue<string>
      • starkKey: PromiseOrValue<BigNumberish>
      • signature: PromiseOrValue<BytesLike>
      • assetType: PromiseOrValue<BigNumberish>
      • tokenId: PromiseOrValue<BigNumberish>
      • Optional overrides: Overrides & {
            from?: PromiseOrValue<string>;
        }

      Returns Promise<ContractTransaction>

  • registerWithdrawAndMint:function
    • Parameters

      • ethKey: PromiseOrValue<string>
      • starkKey: PromiseOrValue<BigNumberish>
      • signature: PromiseOrValue<BytesLike>
      • assetType: PromiseOrValue<BigNumberish>
      • mintingBlob: PromiseOrValue<BytesLike>
      • Optional overrides: Overrides & {
            from?: PromiseOrValue<string>;
        }

      Returns Promise<ContractTransaction>

  • withdrawAll:function
    • Parameters

      • ethKey: PromiseOrValue<BigNumberish>
      • starkKey: PromiseOrValue<BigNumberish>
      • assetType: PromiseOrValue<BigNumberish>
      • Optional overrides: Overrides & {
            from?: PromiseOrValue<string>;
        }

      Returns Promise<ContractTransaction>

callStatic: {
    getVersion(overrides?) => Promise<string>;
    imx(overrides?) => Promise<string>;
    isRegistered(starkKey, overrides?) => Promise<boolean>;
    registerAndWithdrawAll(ethKey, starkKey, signature, assetType, overrides?) => Promise<void>;
    registerAndWithdrawNft(ethKey, starkKey, signature, assetType, tokenId, overrides?) => Promise<void>;
    registerWithdrawAndMint(ethKey, starkKey, signature, assetType, mintingBlob, overrides?) => Promise<void>;
    withdrawAll(ethKey, starkKey, assetType, overrides?) => Promise<void>;
}

Type declaration

  • getVersion:function
  • imx:function
  • isRegistered:function
  • registerAndWithdrawAll:function
    • Parameters

      • ethKey: PromiseOrValue<string>
      • starkKey: PromiseOrValue<BigNumberish>
      • signature: PromiseOrValue<BytesLike>
      • assetType: PromiseOrValue<BigNumberish>
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • registerAndWithdrawNft:function
    • Parameters

      • ethKey: PromiseOrValue<string>
      • starkKey: PromiseOrValue<BigNumberish>
      • signature: PromiseOrValue<BytesLike>
      • assetType: PromiseOrValue<BigNumberish>
      • tokenId: PromiseOrValue<BigNumberish>
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • registerWithdrawAndMint:function
    • Parameters

      • ethKey: PromiseOrValue<string>
      • starkKey: PromiseOrValue<BigNumberish>
      • signature: PromiseOrValue<BytesLike>
      • assetType: PromiseOrValue<BigNumberish>
      • mintingBlob: PromiseOrValue<BytesLike>
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • withdrawAll:function
filters: {}

Type declaration

    estimateGas: {
        getVersion(overrides?) => Promise<BigNumber>;
        imx(overrides?) => Promise<BigNumber>;
        isRegistered(starkKey, overrides?) => Promise<BigNumber>;
        registerAndWithdrawAll(ethKey, starkKey, signature, assetType, overrides?) => Promise<BigNumber>;
        registerAndWithdrawNft(ethKey, starkKey, signature, assetType, tokenId, overrides?) => Promise<BigNumber>;
        registerWithdrawAndMint(ethKey, starkKey, signature, assetType, mintingBlob, overrides?) => Promise<BigNumber>;
        withdrawAll(ethKey, starkKey, assetType, overrides?) => Promise<BigNumber>;
    }

    Type declaration

    • getVersion:function
    • imx:function
    • isRegistered:function
    • registerAndWithdrawAll:function
      • Parameters

        • ethKey: PromiseOrValue<string>
        • starkKey: PromiseOrValue<BigNumberish>
        • signature: PromiseOrValue<BytesLike>
        • assetType: PromiseOrValue<BigNumberish>
        • Optional overrides: Overrides & {
              from?: PromiseOrValue<string>;
          }

        Returns Promise<BigNumber>

    • registerAndWithdrawNft:function
      • Parameters

        • ethKey: PromiseOrValue<string>
        • starkKey: PromiseOrValue<BigNumberish>
        • signature: PromiseOrValue<BytesLike>
        • assetType: PromiseOrValue<BigNumberish>
        • tokenId: PromiseOrValue<BigNumberish>
        • Optional overrides: Overrides & {
              from?: PromiseOrValue<string>;
          }

        Returns Promise<BigNumber>

    • registerWithdrawAndMint:function
      • Parameters

        • ethKey: PromiseOrValue<string>
        • starkKey: PromiseOrValue<BigNumberish>
        • signature: PromiseOrValue<BytesLike>
        • assetType: PromiseOrValue<BigNumberish>
        • mintingBlob: PromiseOrValue<BytesLike>
        • Optional overrides: Overrides & {
              from?: PromiseOrValue<string>;
          }

        Returns Promise<BigNumber>

    • withdrawAll:function
      • Parameters

        • ethKey: PromiseOrValue<BigNumberish>
        • starkKey: PromiseOrValue<BigNumberish>
        • assetType: PromiseOrValue<BigNumberish>
        • Optional overrides: Overrides & {
              from?: PromiseOrValue<string>;
          }

        Returns Promise<BigNumber>

    populateTransaction: {
        getVersion(overrides?) => Promise<PopulatedTransaction>;
        imx(overrides?) => Promise<PopulatedTransaction>;
        isRegistered(starkKey, overrides?) => Promise<PopulatedTransaction>;
        registerAndWithdrawAll(ethKey, starkKey, signature, assetType, overrides?) => Promise<PopulatedTransaction>;
        registerAndWithdrawNft(ethKey, starkKey, signature, assetType, tokenId, overrides?) => Promise<PopulatedTransaction>;
        registerWithdrawAndMint(ethKey, starkKey, signature, assetType, mintingBlob, overrides?) => Promise<PopulatedTransaction>;
        withdrawAll(ethKey, starkKey, assetType, overrides?) => Promise<PopulatedTransaction>;
    }

    Type declaration

    • getVersion:function
    • imx:function
    • isRegistered:function
    • registerAndWithdrawAll:function
      • Parameters

        • ethKey: PromiseOrValue<string>
        • starkKey: PromiseOrValue<BigNumberish>
        • signature: PromiseOrValue<BytesLike>
        • assetType: PromiseOrValue<BigNumberish>
        • Optional overrides: Overrides & {
              from?: PromiseOrValue<string>;
          }

        Returns Promise<PopulatedTransaction>

    • registerAndWithdrawNft:function
      • Parameters

        • ethKey: PromiseOrValue<string>
        • starkKey: PromiseOrValue<BigNumberish>
        • signature: PromiseOrValue<BytesLike>
        • assetType: PromiseOrValue<BigNumberish>
        • tokenId: PromiseOrValue<BigNumberish>
        • Optional overrides: Overrides & {
              from?: PromiseOrValue<string>;
          }

        Returns Promise<PopulatedTransaction>

    • registerWithdrawAndMint:function
      • Parameters

        • ethKey: PromiseOrValue<string>
        • starkKey: PromiseOrValue<BigNumberish>
        • signature: PromiseOrValue<BytesLike>
        • assetType: PromiseOrValue<BigNumberish>
        • mintingBlob: PromiseOrValue<BytesLike>
        • Optional overrides: Overrides & {
              from?: PromiseOrValue<string>;
          }

        Returns Promise<PopulatedTransaction>

    • withdrawAll:function
      • Parameters

        • ethKey: PromiseOrValue<BigNumberish>
        • starkKey: PromiseOrValue<BigNumberish>
        • assetType: PromiseOrValue<BigNumberish>
        • Optional overrides: Overrides & {
              from?: PromiseOrValue<string>;
          }

        Returns Promise<PopulatedTransaction>

    address: string
    signer: EthSigner
    provider: Provider
    resolvedAddress: Promise<string>
    deployTransaction: TransactionResponse
    _deployedPromise: Promise<Contract>
    _runningEvents: {
        [eventTag: string]: RunningEvent;
    }

    Type declaration

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

    Type declaration

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

          • Rest ...args: any[]

          Returns void

    Methods

    • Type Parameters

      • TEvent extends TypedEvent<any, any, TEvent>

      Parameters

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

      Returns Promise<TEvent[]>

    • Parameters

      • ethKey: PromiseOrValue<string>
      • starkKey: PromiseOrValue<BigNumberish>
      • signature: PromiseOrValue<BytesLike>
      • assetType: PromiseOrValue<BigNumberish>
      • Optional overrides: Overrides & {
            from?: PromiseOrValue<string>;
        }

      Returns Promise<ContractTransaction>

    • Parameters

      • ethKey: PromiseOrValue<string>
      • starkKey: PromiseOrValue<BigNumberish>
      • signature: PromiseOrValue<BytesLike>
      • assetType: PromiseOrValue<BigNumberish>
      • tokenId: PromiseOrValue<BigNumberish>
      • Optional overrides: Overrides & {
            from?: PromiseOrValue<string>;
        }

      Returns Promise<ContractTransaction>

    • Parameters

      • ethKey: PromiseOrValue<string>
      • starkKey: PromiseOrValue<BigNumberish>
      • signature: PromiseOrValue<BytesLike>
      • assetType: PromiseOrValue<BigNumberish>
      • mintingBlob: PromiseOrValue<BytesLike>
      • Optional overrides: Overrides & {
            from?: PromiseOrValue<string>;
        }

      Returns Promise<ContractTransaction>

    • Parameters

      • ethKey: PromiseOrValue<BigNumberish>
      • starkKey: PromiseOrValue<BigNumberish>
      • assetType: PromiseOrValue<BigNumberish>
      • Optional overrides: Overrides & {
            from?: PromiseOrValue<string>;
        }

      Returns Promise<ContractTransaction>

    • Parameters

      • Optional blockTag: BlockTag

      Returns Promise<Contract>

    • Parameters

      • Optional overrides: TransactionRequest

      Returns Promise<TransactionResponse>

    • Parameters

      • runningEvent: RunningEvent

      Returns void

    • Parameters

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

      Returns Event

    • Parameters

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

      Returns boolean

    • Parameters

      • Optional eventName: string | EventFilter

      Returns number

    Generated using TypeDoc