Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BaseContract
    • GovernedTokenWrapper

Index

Constructors

  • new GovernedTokenWrapper(addressOrName: string, contractInterface: ContractInterface, signerOrProvider?: Signer | Provider): Contracts.GovernedTokenWrapper
  • Parameters

    • addressOrName: string
    • contractInterface: ContractInterface
    • Optional signerOrProvider: Signer | Provider

    Returns Contracts.GovernedTokenWrapper

Properties

_deployedPromise: Promise<Contract>
_runningEvents: {}

Type declaration

  • [eventTag: string]: RunningEvent
_wrappedEmits: {}

Type declaration

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

        • Rest ...args: any[]

        Returns void

address: string
callStatic: { DEFAULT_ADMIN_ROLE: any; MINTER_ROLE: any; PAUSER_ROLE: any; add: any; allowance: any; approve: any; balanceOf: any; burn: any; burnFrom: any; decimals: any; decreaseAllowance: any; feeRecipient: any; getAmountToWrap: any; getFee: any; getFeeFromAmount: any; getRoleAdmin: any; getRoleMember: any; getRoleMemberCount: any; getTokens: any; governor: any; grantRole: any; hasRole: any; historicalTokens: any; increaseAllowance: any; isNativeAllowed: any; mint: any; name: any; pause: any; paused: any; proposalNonce: any; remove: any; renounceRole: any; revokeRole: any; setFee: any; setFeeRecipient: any; setGovernor: any; setNativeAllowed: any; supportsInterface: any; symbol: any; tokens: any; totalSupply: any; transfer: any; transferFrom: any; unpause: any; unwrap: any; unwrapAndSendTo: any; unwrapFor: any; updateLimit: any; wrap: any; wrapFor: any; wrapForAndSendTo: any; wrappingLimit: any }

Type declaration

deployTransaction: TransactionResponse
estimateGas: { DEFAULT_ADMIN_ROLE: any; MINTER_ROLE: any; PAUSER_ROLE: any; add: any; allowance: any; approve: any; balanceOf: any; burn: any; burnFrom: any; decimals: any; decreaseAllowance: any; feeRecipient: any; getAmountToWrap: any; getFee: any; getFeeFromAmount: any; getRoleAdmin: any; getRoleMember: any; getRoleMemberCount: any; getTokens: any; governor: any; grantRole: any; hasRole: any; historicalTokens: any; increaseAllowance: any; isNativeAllowed: any; mint: any; name: any; pause: any; paused: any; proposalNonce: any; remove: any; renounceRole: any; revokeRole: any; setFee: any; setFeeRecipient: any; setGovernor: any; setNativeAllowed: any; supportsInterface: any; symbol: any; tokens: any; totalSupply: any; transfer: any; transferFrom: any; unpause: any; unwrap: any; unwrapAndSendTo: any; unwrapFor: any; updateLimit: any; wrap: any; wrapFor: any; wrapForAndSendTo: any; wrappingLimit: any }

Type declaration

  • DEFAULT_ADMIN_ROLE:function
    • DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<BigNumber>
  • MINTER_ROLE:function
    • MINTER_ROLE(overrides?: CallOverrides): Promise<BigNumber>
  • PAUSER_ROLE:function
    • PAUSER_ROLE(overrides?: CallOverrides): Promise<BigNumber>
  • add:function
    • add(_tokenAddress: string, _nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • allowance:function
    • allowance(owner: string, spender: string, overrides?: CallOverrides): Promise<BigNumber>
  • approve:function
    • approve(spender: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • balanceOf:function
    • balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>
  • burn:function
    • burn(amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • burnFrom:function
    • burnFrom(account: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • decimals:function
    • decimals(overrides?: CallOverrides): Promise<BigNumber>
  • decreaseAllowance:function
    • decreaseAllowance(spender: string, subtractedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • feeRecipient:function
    • feeRecipient(overrides?: CallOverrides): Promise<BigNumber>
  • getAmountToWrap:function
    • getAmountToWrap(_deposit: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • getFee:function
    • getFee(overrides?: CallOverrides): Promise<BigNumber>
  • getFeeFromAmount:function
    • getFeeFromAmount(_amountToWrap: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • getRoleAdmin:function
    • getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
  • getRoleMember:function
    • getRoleMember(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • getRoleMemberCount:function
    • getRoleMemberCount(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
  • getTokens:function
    • getTokens(overrides?: CallOverrides): Promise<BigNumber>
  • governor:function
    • governor(overrides?: CallOverrides): Promise<BigNumber>
  • grantRole:function
    • grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • hasRole:function
    • hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<BigNumber>
  • historicalTokens:function
    • historicalTokens(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • increaseAllowance:function
    • increaseAllowance(spender: string, addedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • isNativeAllowed:function
    • isNativeAllowed(overrides?: CallOverrides): Promise<BigNumber>
  • mint:function
    • mint(to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • name:function
    • name(overrides?: CallOverrides): Promise<BigNumber>
  • pause:function
    • pause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • paused:function
    • paused(overrides?: CallOverrides): Promise<BigNumber>
  • proposalNonce:function
    • proposalNonce(overrides?: CallOverrides): Promise<BigNumber>
  • remove:function
    • remove(_tokenAddress: string, _nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • renounceRole:function
    • renounceRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • revokeRole:function
    • revokeRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • setFee:function
    • setFee(_feePercentage: BigNumberish, _nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • setFeeRecipient:function
    • setFeeRecipient(_feeRecipient: string, _nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • setGovernor:function
    • setGovernor(_governor: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • setNativeAllowed:function
    • setNativeAllowed(_isNativeAllowed: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • supportsInterface:function
    • supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
  • symbol:function
    • symbol(overrides?: CallOverrides): Promise<BigNumber>
  • tokens:function
    • tokens(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • totalSupply:function
    • totalSupply(overrides?: CallOverrides): Promise<BigNumber>
  • transfer:function
    • transfer(recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • transferFrom:function
    • transferFrom(sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • unpause:function
    • unpause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • unwrap:function
    • unwrap(tokenAddress: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • unwrapAndSendTo:function
    • unwrapAndSendTo(tokenAddress: string, amount: BigNumberish, recipient: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • unwrapFor:function
    • unwrapFor(sender: string, tokenAddress: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • updateLimit:function
    • updateLimit(_limit: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • wrap:function
    • wrap(tokenAddress: string, amount: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • wrapFor:function
    • wrapFor(sender: string, tokenAddress: string, amount: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • wrapForAndSendTo:function
    • wrapForAndSendTo(sender: string, tokenAddress: string, amount: BigNumberish, recipient: string, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • wrappingLimit:function
    • wrappingLimit(overrides?: CallOverrides): Promise<BigNumber>
filters: { Approval: any; Approval(address,address,uint256): any; Paused: any; Paused(address): any; RoleAdminChanged: any; RoleAdminChanged(bytes32,bytes32,bytes32): any; RoleGranted: any; RoleGranted(bytes32,address,address): any; RoleRevoked: any; RoleRevoked(bytes32,address,address): any; Transfer: any; Transfer(address,address,uint256): any; Unpaused: any; Unpaused(address): any }

Type declaration

  • Approval:function
    • Approval(owner?: string, spender?: string, value?: null): TypedEventFilter<[string, string, BigNumber], { owner: string; spender: string; value: BigNumber }>
  • Approval(address,address,uint256):function
    • Approval(address,address,uint256)(owner?: string, spender?: string, value?: null): TypedEventFilter<[string, string, BigNumber], { owner: string; spender: string; value: BigNumber }>
  • Paused:function
    • Paused(account?: null): TypedEventFilter<[string], { account: string }>
  • Paused(address):function
    • Paused(address)(account?: null): TypedEventFilter<[string], { account: string }>
  • RoleAdminChanged:function
    • RoleAdminChanged(role?: BytesLike, previousAdminRole?: BytesLike, newAdminRole?: BytesLike): TypedEventFilter<[string, string, string], { newAdminRole: string; previousAdminRole: string; role: string }>
    • Parameters

      • Optional role: BytesLike
      • Optional previousAdminRole: BytesLike
      • Optional newAdminRole: BytesLike

      Returns TypedEventFilter<[string, string, string], { newAdminRole: string; previousAdminRole: string; role: string }>

  • RoleAdminChanged(bytes32,bytes32,bytes32):function
    • RoleAdminChanged(bytes32,bytes32,bytes32)(role?: BytesLike, previousAdminRole?: BytesLike, newAdminRole?: BytesLike): TypedEventFilter<[string, string, string], { newAdminRole: string; previousAdminRole: string; role: string }>
    • Parameters

      • Optional role: BytesLike
      • Optional previousAdminRole: BytesLike
      • Optional newAdminRole: BytesLike

      Returns TypedEventFilter<[string, string, string], { newAdminRole: string; previousAdminRole: string; role: string }>

  • RoleGranted:function
    • RoleGranted(role?: BytesLike, account?: string, sender?: string): TypedEventFilter<[string, string, string], { account: string; role: string; sender: string }>
  • RoleGranted(bytes32,address,address):function
    • RoleGranted(bytes32,address,address)(role?: BytesLike, account?: string, sender?: string): TypedEventFilter<[string, string, string], { account: string; role: string; sender: string }>
  • RoleRevoked:function
    • RoleRevoked(role?: BytesLike, account?: string, sender?: string): TypedEventFilter<[string, string, string], { account: string; role: string; sender: string }>
  • RoleRevoked(bytes32,address,address):function
    • RoleRevoked(bytes32,address,address)(role?: BytesLike, account?: string, sender?: string): TypedEventFilter<[string, string, string], { account: string; role: string; sender: string }>
  • Transfer:function
    • Transfer(from?: string, to?: string, value?: null): TypedEventFilter<[string, string, BigNumber], { from: string; to: string; value: BigNumber }>
  • Transfer(address,address,uint256):function
    • Transfer(address,address,uint256)(from?: string, to?: string, value?: null): TypedEventFilter<[string, string, BigNumber], { from: string; to: string; value: BigNumber }>
  • Unpaused:function
    • Unpaused(account?: null): TypedEventFilter<[string], { account: string }>
  • Unpaused(address):function
    • Unpaused(address)(account?: null): TypedEventFilter<[string], { account: string }>
functions: { DEFAULT_ADMIN_ROLE: any; MINTER_ROLE: any; PAUSER_ROLE: any; add: any; allowance: any; approve: any; balanceOf: any; burn: any; burnFrom: any; decimals: any; decreaseAllowance: any; feeRecipient: any; getAmountToWrap: any; getFee: any; getFeeFromAmount: any; getRoleAdmin: any; getRoleMember: any; getRoleMemberCount: any; getTokens: any; governor: any; grantRole: any; hasRole: any; historicalTokens: any; increaseAllowance: any; isNativeAllowed: any; mint: any; name: any; pause: any; paused: any; proposalNonce: any; remove: any; renounceRole: any; revokeRole: any; setFee: any; setFeeRecipient: any; setGovernor: any; setNativeAllowed: any; supportsInterface: any; symbol: any; tokens: any; totalSupply: any; transfer: any; transferFrom: any; unpause: any; unwrap: any; unwrapAndSendTo: any; unwrapFor: any; updateLimit: any; wrap: any; wrapFor: any; wrapForAndSendTo: any; wrappingLimit: any }

Type declaration

  • DEFAULT_ADMIN_ROLE:function
    • DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<[string]>
  • MINTER_ROLE:function
    • MINTER_ROLE(overrides?: CallOverrides): Promise<[string]>
  • PAUSER_ROLE:function
    • PAUSER_ROLE(overrides?: CallOverrides): Promise<[string]>
  • add:function
    • add(_tokenAddress: string, _nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • allowance:function
    • allowance(owner: string, spender: string, overrides?: CallOverrides): Promise<[BigNumber]>
  • approve:function
    • approve(spender: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • balanceOf:function
    • balanceOf(account: string, overrides?: CallOverrides): Promise<[BigNumber]>
  • burn:function
    • burn(amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • burnFrom:function
    • burnFrom(account: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • decimals:function
    • decimals(overrides?: CallOverrides): Promise<[number]>
  • decreaseAllowance:function
    • decreaseAllowance(spender: string, subtractedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • feeRecipient:function
    • feeRecipient(overrides?: CallOverrides): Promise<[string]>
  • getAmountToWrap:function
    • getAmountToWrap(_deposit: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
  • getFee:function
    • getFee(overrides?: CallOverrides): Promise<[number]>
  • getFeeFromAmount:function
    • getFeeFromAmount(_amountToWrap: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
  • getRoleAdmin:function
    • getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<[string]>
  • getRoleMember:function
    • getRoleMember(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<[string]>
  • getRoleMemberCount:function
    • getRoleMemberCount(role: BytesLike, overrides?: CallOverrides): Promise<[BigNumber]>
  • getTokens:function
    • getTokens(overrides?: CallOverrides): Promise<[string[]]>
  • governor:function
    • governor(overrides?: CallOverrides): Promise<[string]>
  • grantRole:function
    • grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • hasRole:function
    • hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<[boolean]>
  • historicalTokens:function
    • historicalTokens(arg0: BigNumberish, overrides?: CallOverrides): Promise<[string]>
  • increaseAllowance:function
    • increaseAllowance(spender: string, addedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • isNativeAllowed:function
    • isNativeAllowed(overrides?: CallOverrides): Promise<[boolean]>
  • mint:function
    • mint(to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • name:function
    • name(overrides?: CallOverrides): Promise<[string]>
  • pause:function
    • pause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • paused:function
    • paused(overrides?: CallOverrides): Promise<[boolean]>
  • proposalNonce:function
    • proposalNonce(overrides?: CallOverrides): Promise<[BigNumber]>
  • remove:function
    • remove(_tokenAddress: string, _nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • renounceRole:function
    • renounceRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • revokeRole:function
    • revokeRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • setFee:function
    • setFee(_feePercentage: BigNumberish, _nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • setFeeRecipient:function
    • setFeeRecipient(_feeRecipient: string, _nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • setGovernor:function
    • setGovernor(_governor: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • setNativeAllowed:function
    • setNativeAllowed(_isNativeAllowed: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • supportsInterface:function
    • supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<[boolean]>
  • symbol:function
    • symbol(overrides?: CallOverrides): Promise<[string]>
  • tokens:function
    • tokens(arg0: BigNumberish, overrides?: CallOverrides): Promise<[string]>
  • totalSupply:function
    • totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>
  • transfer:function
    • transfer(recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • transferFrom:function
    • transferFrom(sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • unpause:function
    • unpause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • unwrap:function
    • unwrap(tokenAddress: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • unwrapAndSendTo:function
    • unwrapAndSendTo(tokenAddress: string, amount: BigNumberish, recipient: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • unwrapFor:function
    • unwrapFor(sender: string, tokenAddress: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • updateLimit:function
    • updateLimit(_limit: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • wrap:function
    • wrap(tokenAddress: string, amount: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • wrapFor:function
    • wrapFor(sender: string, tokenAddress: string, amount: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • wrapForAndSendTo:function
    • wrapForAndSendTo(sender: string, tokenAddress: string, amount: BigNumberish, recipient: string, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • wrappingLimit:function
    • wrappingLimit(overrides?: CallOverrides): Promise<[BigNumber]>
interface: GovernedTokenWrapperInterface
populateTransaction: { DEFAULT_ADMIN_ROLE: any; MINTER_ROLE: any; PAUSER_ROLE: any; add: any; allowance: any; approve: any; balanceOf: any; burn: any; burnFrom: any; decimals: any; decreaseAllowance: any; feeRecipient: any; getAmountToWrap: any; getFee: any; getFeeFromAmount: any; getRoleAdmin: any; getRoleMember: any; getRoleMemberCount: any; getTokens: any; governor: any; grantRole: any; hasRole: any; historicalTokens: any; increaseAllowance: any; isNativeAllowed: any; mint: any; name: any; pause: any; paused: any; proposalNonce: any; remove: any; renounceRole: any; revokeRole: any; setFee: any; setFeeRecipient: any; setGovernor: any; setNativeAllowed: any; supportsInterface: any; symbol: any; tokens: any; totalSupply: any; transfer: any; transferFrom: any; unpause: any; unwrap: any; unwrapAndSendTo: any; unwrapFor: any; updateLimit: any; wrap: any; wrapFor: any; wrapForAndSendTo: any; wrappingLimit: any }

Type declaration

  • DEFAULT_ADMIN_ROLE:function
    • DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • MINTER_ROLE:function
    • MINTER_ROLE(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • PAUSER_ROLE:function
    • PAUSER_ROLE(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • add:function
    • add(_tokenAddress: string, _nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • allowance:function
    • allowance(owner: string, spender: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
  • approve:function
    • approve(spender: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • balanceOf:function
    • balanceOf(account: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
  • burn:function
    • burn(amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • burnFrom:function
    • burnFrom(account: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • decimals:function
    • decimals(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • decreaseAllowance:function
    • decreaseAllowance(spender: string, subtractedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • feeRecipient:function
    • feeRecipient(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • getAmountToWrap:function
    • getAmountToWrap(_deposit: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
  • getFee:function
    • getFee(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • getFeeFromAmount:function
    • getFeeFromAmount(_amountToWrap: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
  • getRoleAdmin:function
    • getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
  • getRoleMember:function
    • getRoleMember(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
  • getRoleMemberCount:function
    • getRoleMemberCount(role: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
  • getTokens:function
    • getTokens(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • governor:function
    • governor(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • grantRole:function
    • grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • hasRole:function
    • hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
  • historicalTokens:function
    • historicalTokens(arg0: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
  • increaseAllowance:function
    • increaseAllowance(spender: string, addedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • isNativeAllowed:function
    • isNativeAllowed(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • mint:function
    • mint(to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • name:function
    • name(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • pause:function
    • pause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • paused:function
    • paused(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • proposalNonce:function
    • proposalNonce(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • remove:function
    • remove(_tokenAddress: string, _nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • renounceRole:function
    • renounceRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • revokeRole:function
    • revokeRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • setFee:function
    • setFee(_feePercentage: BigNumberish, _nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • setFeeRecipient:function
    • setFeeRecipient(_feeRecipient: string, _nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • setGovernor:function
    • setGovernor(_governor: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • setNativeAllowed:function
    • setNativeAllowed(_isNativeAllowed: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • supportsInterface:function
    • supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
  • symbol:function
    • symbol(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • tokens:function
    • tokens(arg0: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
  • totalSupply:function
    • totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • transfer:function
    • transfer(recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • transferFrom:function
    • transferFrom(sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • unpause:function
    • unpause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • unwrap:function
    • unwrap(tokenAddress: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • unwrapAndSendTo:function
    • unwrapAndSendTo(tokenAddress: string, amount: BigNumberish, recipient: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • unwrapFor:function
    • unwrapFor(sender: string, tokenAddress: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • updateLimit:function
    • updateLimit(_limit: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • wrap:function
    • wrap(tokenAddress: string, amount: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • wrapFor:function
    • wrapFor(sender: string, tokenAddress: string, amount: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • wrapForAndSendTo:function
    • wrapForAndSendTo(sender: string, tokenAddress: string, amount: BigNumberish, recipient: string, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • wrappingLimit:function
    • wrappingLimit(overrides?: CallOverrides): Promise<PopulatedTransaction>
provider: Provider
resolvedAddress: Promise<string>
signer: Signer

Methods

  • DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<string>
  • MINTER_ROLE(overrides?: CallOverrides): Promise<string>
  • PAUSER_ROLE(overrides?: CallOverrides): Promise<string>
  • _checkRunningEvents(runningEvent: RunningEvent): void
  • Parameters

    • runningEvent: RunningEvent

    Returns void

  • _deployed(blockTag?: BlockTag): Promise<Contract>
  • Parameters

    • Optional blockTag: BlockTag

    Returns Promise<Contract>

  • _wrapEvent(runningEvent: RunningEvent, log: Log, listener: Listener): Event
  • Parameters

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

    Returns Event

  • add(_tokenAddress: string, _nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • allowance(owner: string, spender: string, overrides?: CallOverrides): Promise<BigNumber>
  • approve(spender: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>
  • burn(amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • burnFrom(account: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • decimals(overrides?: CallOverrides): Promise<number>
  • decreaseAllowance(spender: string, subtractedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • emit(eventName: string | EventFilter, ...args: any[]): boolean
  • Parameters

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

    Returns boolean

  • fallback(overrides?: TransactionRequest): Promise<TransactionResponse>
  • Parameters

    • Optional overrides: TransactionRequest

    Returns Promise<TransactionResponse>

  • feeRecipient(overrides?: CallOverrides): Promise<string>
  • getAmountToWrap(_deposit: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • getFee(overrides?: CallOverrides): Promise<number>
  • getFeeFromAmount(_amountToWrap: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<string>
  • getRoleMember(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<string>
  • getRoleMemberCount(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
  • getTokens(overrides?: CallOverrides): Promise<string[]>
  • governor(overrides?: CallOverrides): Promise<string>
  • grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<boolean>
  • historicalTokens(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>
  • increaseAllowance(spender: string, addedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • isNativeAllowed(overrides?: CallOverrides): Promise<boolean>
  • listenerCount(eventName?: string | EventFilter): number
  • Parameters

    • Optional eventName: string | EventFilter

    Returns number

  • listeners<EventArgsArray, EventArgsObject>(eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject>): TypedListener<EventArgsArray, EventArgsObject>[]
  • listeners(eventName?: string): Listener[]
  • mint(to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • name(overrides?: CallOverrides): Promise<string>
  • pause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • paused(overrides?: CallOverrides): Promise<boolean>
  • proposalNonce(overrides?: CallOverrides): Promise<BigNumber>
  • queryFilter<EventArgsArray, EventArgsObject>(event: TypedEventFilter<EventArgsArray, EventArgsObject>, fromBlockOrBlockhash?: string | number, toBlock?: string | number): Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • event: TypedEventFilter<EventArgsArray, EventArgsObject>
    • Optional fromBlockOrBlockhash: string | number
    • Optional toBlock: string | number

    Returns Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>

  • remove(_tokenAddress: string, _nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • renounceRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • revokeRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • setFee(_feePercentage: BigNumberish, _nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • setFeeRecipient(_feeRecipient: string, _nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • setGovernor(_governor: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • setNativeAllowed(_isNativeAllowed: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<boolean>
  • symbol(overrides?: CallOverrides): Promise<string>
  • tokens(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>
  • totalSupply(overrides?: CallOverrides): Promise<BigNumber>
  • transfer(recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • transferFrom(sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • unpause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • unwrap(tokenAddress: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • unwrapAndSendTo(tokenAddress: string, amount: BigNumberish, recipient: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • unwrapFor(sender: string, tokenAddress: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • updateLimit(_limit: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • wrap(tokenAddress: string, amount: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • wrapFor(sender: string, tokenAddress: string, amount: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • wrapForAndSendTo(sender: string, tokenAddress: string, amount: BigNumberish, recipient: string, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • wrappingLimit(overrides?: CallOverrides): Promise<BigNumber>
  • getContractAddress(transaction: { from: string; nonce: BigNumberish }): string
  • Parameters

    • transaction: { from: string; nonce: BigNumberish }
      • from: string
      • nonce: BigNumberish

    Returns string

  • getInterface(contractInterface: ContractInterface): Interface
  • Parameters

    • contractInterface: ContractInterface

    Returns Interface

  • isIndexed(value: any): value is Indexed
  • Parameters

    • value: any

    Returns value is Indexed

Generated using TypeDoc