Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ILPToken

Hierarchy

  • Contract
    • ILPToken

Index

Constructors

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

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

    Returns ILPToken

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: { MINTER_ROLE: any; MINTER_ROLE(): any; amms: any; amms(uint64): any; balanceOf: any; balanceOf(address,uint256): any; balanceOfBatch: any; balanceOfBatch(address[],uint256[]): any; burnFrom: any; burnFrom(address,uint256,uint256): any; getAMMId: any; getAMMId(uint256): any; getPairId: any; getPairId(uint256): any; getPeriodIndex: any; getPeriodIndex(uint256): any; grantRole: any; grantRole(bytes32,address): any; isApprovedForAll: any; isApprovedForAll(address,address): any; mint: any; mint(address,uint64,uint64,uint32,uint256,bytes): any; safeBatchTransferFrom: any; safeBatchTransferFrom(address,address,uint256[],uint256[],bytes): any; safeTransferFrom: any; safeTransferFrom(address,address,uint256,uint256,bytes): any; setApprovalForAll: any; setApprovalForAll(address,bool): any; supportsInterface: any; supportsInterface(bytes4): any }

Type declaration

  • MINTER_ROLE:function
    • MINTER_ROLE(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • MINTER_ROLE():function
    • MINTER_ROLE()(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • amms:function
    • amms(_ammId: BigNumberish, overrides?: CallOverrides): Promise<string>
    • Parameters

      • _ammId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • amms(uint64):function
    • amms(uint64)(_ammId: BigNumberish, overrides?: CallOverrides): Promise<string>
    • Parameters

      • _ammId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • balanceOf:function
    • balanceOf(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • account: string
      • id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • balanceOf(address,uint256):function
    • balanceOf(address,uint256)(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • account: string
      • id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • balanceOfBatch:function
    • balanceOfBatch(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<BigNumber[]>
    • Parameters

      • accounts: string[]
      • ids: BigNumberish[]
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber[]>

  • balanceOfBatch(address[],uint256[]):function
    • balanceOfBatch(address[],uint256[])(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<BigNumber[]>
    • Parameters

      • accounts: string[]
      • ids: BigNumberish[]
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber[]>

  • burnFrom:function
    • burnFrom(account: string, id: BigNumberish, value: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • account: string
      • id: BigNumberish
      • value: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • burnFrom(address,uint256,uint256):function
    • burnFrom(address,uint256,uint256)(account: string, id: BigNumberish, value: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • account: string
      • id: BigNumberish
      • value: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • getAMMId:function
    • getAMMId(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getAMMId(uint256):function
    • getAMMId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getPairId:function
    • getPairId(_id: BigNumberish, overrides?: CallOverrides): Promise<number>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<number>

  • getPairId(uint256):function
    • getPairId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<number>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<number>

  • getPeriodIndex:function
    • getPeriodIndex(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getPeriodIndex(uint256):function
    • getPeriodIndex(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • grantRole:function
    • grantRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • grantRole(bytes32,address):function
    • grantRole(bytes32,address)(role: BytesLike, account: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • isApprovedForAll:function
    • isApprovedForAll(account: string, operator: string, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • account: string
      • operator: string
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • isApprovedForAll(address,address):function
    • isApprovedForAll(address,address)(account: string, operator: string, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • account: string
      • operator: string
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • mint:function
    • mint(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • to: string
      • _ammId: BigNumberish
      • _periodIndex: BigNumberish
      • _pairId: BigNumberish
      • amount: BigNumberish
      • data: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • mint(address,uint64,uint64,uint32,uint256,bytes):function
    • mint(address,uint64,uint64,uint32,uint256,bytes)(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • to: string
      • _ammId: BigNumberish
      • _periodIndex: BigNumberish
      • _pairId: BigNumberish
      • amount: BigNumberish
      • data: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • safeBatchTransferFrom:function
    • safeBatchTransferFrom(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: CallOverrides): Promise<void>
    • Parameters

      • from: string
      • to: string
      • ids: BigNumberish[]
      • amounts: BigNumberish[]
      • data: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • safeBatchTransferFrom(address,address,uint256[],uint256[],bytes):function
    • safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: CallOverrides): Promise<void>
    • Parameters

      • from: string
      • to: string
      • ids: BigNumberish[]
      • amounts: BigNumberish[]
      • data: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • safeTransferFrom:function
    • safeTransferFrom(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: CallOverrides): Promise<void>
    • Parameters

      • from: string
      • to: string
      • id: BigNumberish
      • amount: BigNumberish
      • data: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • safeTransferFrom(address,address,uint256,uint256,bytes):function
    • safeTransferFrom(address,address,uint256,uint256,bytes)(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: CallOverrides): Promise<void>
    • Parameters

      • from: string
      • to: string
      • id: BigNumberish
      • amount: BigNumberish
      • data: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • setApprovalForAll:function
    • setApprovalForAll(operator: string, approved: boolean, overrides?: CallOverrides): Promise<void>
    • Parameters

      • operator: string
      • approved: boolean
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • setApprovalForAll(address,bool):function
    • setApprovalForAll(address,bool)(operator: string, approved: boolean, overrides?: CallOverrides): Promise<void>
    • Parameters

      • operator: string
      • approved: boolean
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • supportsInterface:function
    • supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • interfaceId: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • supportsInterface(bytes4):function
    • supportsInterface(bytes4)(interfaceId: BytesLike, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • interfaceId: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

deployTransaction: TransactionResponse
estimateGas: { MINTER_ROLE: any; MINTER_ROLE(): any; amms: any; amms(uint64): any; balanceOf: any; balanceOf(address,uint256): any; balanceOfBatch: any; balanceOfBatch(address[],uint256[]): any; burnFrom: any; burnFrom(address,uint256,uint256): any; getAMMId: any; getAMMId(uint256): any; getPairId: any; getPairId(uint256): any; getPeriodIndex: any; getPeriodIndex(uint256): any; grantRole: any; grantRole(bytes32,address): any; isApprovedForAll: any; isApprovedForAll(address,address): any; mint: any; mint(address,uint64,uint64,uint32,uint256,bytes): any; safeBatchTransferFrom: any; safeBatchTransferFrom(address,address,uint256[],uint256[],bytes): any; safeTransferFrom: any; safeTransferFrom(address,address,uint256,uint256,bytes): any; setApprovalForAll: any; setApprovalForAll(address,bool): any; supportsInterface: any; supportsInterface(bytes4): any }

Type declaration

  • MINTER_ROLE:function
    • MINTER_ROLE(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • MINTER_ROLE():function
    • MINTER_ROLE()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • amms:function
    • amms(_ammId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _ammId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • amms(uint64):function
    • amms(uint64)(_ammId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _ammId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • balanceOf:function
    • balanceOf(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • account: string
      • id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • balanceOf(address,uint256):function
    • balanceOf(address,uint256)(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • account: string
      • id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • balanceOfBatch:function
    • balanceOfBatch(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • accounts: string[]
      • ids: BigNumberish[]
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • balanceOfBatch(address[],uint256[]):function
    • balanceOfBatch(address[],uint256[])(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • accounts: string[]
      • ids: BigNumberish[]
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • burnFrom:function
    • burnFrom(account: string, id: BigNumberish, value: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • account: string
      • id: BigNumberish
      • value: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • burnFrom(address,uint256,uint256):function
    • burnFrom(address,uint256,uint256)(account: string, id: BigNumberish, value: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • account: string
      • id: BigNumberish
      • value: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • getAMMId:function
    • getAMMId(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getAMMId(uint256):function
    • getAMMId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getPairId:function
    • getPairId(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getPairId(uint256):function
    • getPairId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getPeriodIndex:function
    • getPeriodIndex(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getPeriodIndex(uint256):function
    • getPeriodIndex(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • grantRole:function
    • grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • grantRole(bytes32,address):function
    • grantRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • isApprovedForAll:function
    • isApprovedForAll(account: string, operator: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • account: string
      • operator: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • isApprovedForAll(address,address):function
    • isApprovedForAll(address,address)(account: string, operator: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • account: string
      • operator: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • mint:function
    • mint(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • to: string
      • _ammId: BigNumberish
      • _periodIndex: BigNumberish
      • _pairId: BigNumberish
      • amount: BigNumberish
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • mint(address,uint64,uint64,uint32,uint256,bytes):function
    • mint(address,uint64,uint64,uint32,uint256,bytes)(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • to: string
      • _ammId: BigNumberish
      • _periodIndex: BigNumberish
      • _pairId: BigNumberish
      • amount: BigNumberish
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • safeBatchTransferFrom:function
    • safeBatchTransferFrom(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • from: string
      • to: string
      • ids: BigNumberish[]
      • amounts: BigNumberish[]
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • safeBatchTransferFrom(address,address,uint256[],uint256[],bytes):function
    • safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • from: string
      • to: string
      • ids: BigNumberish[]
      • amounts: BigNumberish[]
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • safeTransferFrom:function
    • safeTransferFrom(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • from: string
      • to: string
      • id: BigNumberish
      • amount: BigNumberish
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • safeTransferFrom(address,address,uint256,uint256,bytes):function
    • safeTransferFrom(address,address,uint256,uint256,bytes)(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • from: string
      • to: string
      • id: BigNumberish
      • amount: BigNumberish
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • setApprovalForAll:function
    • setApprovalForAll(operator: string, approved: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • operator: string
      • approved: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • setApprovalForAll(address,bool):function
    • setApprovalForAll(address,bool)(operator: string, approved: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • operator: string
      • approved: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • supportsInterface:function
    • supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • interfaceId: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • supportsInterface(bytes4):function
    • supportsInterface(bytes4)(interfaceId: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • interfaceId: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

filters: { ApprovalForAll: any; TransferBatch: any; TransferSingle: any; URI: any }

Type declaration

  • ApprovalForAll:function
    • ApprovalForAll(account: null | string, operator: null | string, approved: null): TypedEventFilter<[string, string, boolean], { account: string; approved: boolean; operator: string }>
    • Parameters

      • account: null | string
      • operator: null | string
      • approved: null

      Returns TypedEventFilter<[string, string, boolean], { account: string; approved: boolean; operator: string }>

  • TransferBatch:function
    • TransferBatch(operator: null | string, from: null | string, to: null | string, ids: null, values: null): TypedEventFilter<[string, string, string, BigNumber[], BigNumber[]], { from: string; ids: BigNumber[]; operator: string; to: string; values: BigNumber[] }>
    • Parameters

      • operator: null | string
      • from: null | string
      • to: null | string
      • ids: null
      • values: null

      Returns TypedEventFilter<[string, string, string, BigNumber[], BigNumber[]], { from: string; ids: BigNumber[]; operator: string; to: string; values: BigNumber[] }>

  • TransferSingle:function
    • TransferSingle(operator: null | string, from: null | string, to: null | string, id: null, value: null): TypedEventFilter<[string, string, string, BigNumber, BigNumber], { from: string; id: BigNumber; operator: string; to: string; value: BigNumber }>
    • Parameters

      • operator: null | string
      • from: null | string
      • to: null | string
      • id: null
      • value: null

      Returns TypedEventFilter<[string, string, string, BigNumber, BigNumber], { from: string; id: BigNumber; operator: string; to: string; value: BigNumber }>

  • URI:function
    • URI(value: null, id: null | BigNumberish): TypedEventFilter<[string, BigNumber], { id: BigNumber; value: string }>
    • Parameters

      • value: null
      • id: null | BigNumberish

      Returns TypedEventFilter<[string, BigNumber], { id: BigNumber; value: string }>

functions: { MINTER_ROLE: any; MINTER_ROLE(): any; amms: any; amms(uint64): any; balanceOf: any; balanceOf(address,uint256): any; balanceOfBatch: any; balanceOfBatch(address[],uint256[]): any; burnFrom: any; burnFrom(address,uint256,uint256): any; getAMMId: any; getAMMId(uint256): any; getPairId: any; getPairId(uint256): any; getPeriodIndex: any; getPeriodIndex(uint256): any; grantRole: any; grantRole(bytes32,address): any; isApprovedForAll: any; isApprovedForAll(address,address): any; mint: any; mint(address,uint64,uint64,uint32,uint256,bytes): any; safeBatchTransferFrom: any; safeBatchTransferFrom(address,address,uint256[],uint256[],bytes): any; safeTransferFrom: any; safeTransferFrom(address,address,uint256,uint256,bytes): any; setApprovalForAll: any; setApprovalForAll(address,bool): any; supportsInterface: any; supportsInterface(bytes4): any }

Type declaration

  • MINTER_ROLE:function
    • MINTER_ROLE(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • MINTER_ROLE():function
    • MINTER_ROLE()(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • amms:function
    • amms(_ammId: BigNumberish, overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • _ammId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • amms(uint64):function
    • amms(uint64)(_ammId: BigNumberish, overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • _ammId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • balanceOf:function
    • balanceOf(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • account: string
      • id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • balanceOf(address,uint256):function
    • balanceOf(address,uint256)(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • account: string
      • id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • balanceOfBatch:function
    • balanceOfBatch(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<[BigNumber[]]>
    • Parameters

      • accounts: string[]
      • ids: BigNumberish[]
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber[]]>

  • balanceOfBatch(address[],uint256[]):function
    • balanceOfBatch(address[],uint256[])(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<[BigNumber[]]>
    • Parameters

      • accounts: string[]
      • ids: BigNumberish[]
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber[]]>

  • burnFrom:function
    • burnFrom(account: string, id: BigNumberish, value: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • account: string
      • id: BigNumberish
      • value: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • burnFrom(address,uint256,uint256):function
    • burnFrom(address,uint256,uint256)(account: string, id: BigNumberish, value: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • account: string
      • id: BigNumberish
      • value: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • getAMMId:function
    • getAMMId(_id: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • getAMMId(uint256):function
    • getAMMId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • getPairId:function
    • getPairId(_id: BigNumberish, overrides?: CallOverrides): Promise<[number]>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[number]>

  • getPairId(uint256):function
    • getPairId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<[number]>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[number]>

  • getPeriodIndex:function
    • getPeriodIndex(_id: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • getPeriodIndex(uint256):function
    • getPeriodIndex(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • grantRole:function
    • grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • grantRole(bytes32,address):function
    • grantRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • isApprovedForAll:function
    • isApprovedForAll(account: string, operator: string, overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • account: string
      • operator: string
      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • isApprovedForAll(address,address):function
    • isApprovedForAll(address,address)(account: string, operator: string, overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • account: string
      • operator: string
      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • mint:function
    • mint(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • to: string
      • _ammId: BigNumberish
      • _periodIndex: BigNumberish
      • _pairId: BigNumberish
      • amount: BigNumberish
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • mint(address,uint64,uint64,uint32,uint256,bytes):function
    • mint(address,uint64,uint64,uint32,uint256,bytes)(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • to: string
      • _ammId: BigNumberish
      • _periodIndex: BigNumberish
      • _pairId: BigNumberish
      • amount: BigNumberish
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • safeBatchTransferFrom:function
    • safeBatchTransferFrom(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • from: string
      • to: string
      • ids: BigNumberish[]
      • amounts: BigNumberish[]
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • safeBatchTransferFrom(address,address,uint256[],uint256[],bytes):function
    • safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • from: string
      • to: string
      • ids: BigNumberish[]
      • amounts: BigNumberish[]
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • safeTransferFrom:function
    • safeTransferFrom(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • from: string
      • to: string
      • id: BigNumberish
      • amount: BigNumberish
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • safeTransferFrom(address,address,uint256,uint256,bytes):function
    • safeTransferFrom(address,address,uint256,uint256,bytes)(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • from: string
      • to: string
      • id: BigNumberish
      • amount: BigNumberish
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • setApprovalForAll:function
    • setApprovalForAll(operator: string, approved: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • operator: string
      • approved: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • setApprovalForAll(address,bool):function
    • setApprovalForAll(address,bool)(operator: string, approved: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • operator: string
      • approved: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • supportsInterface:function
    • supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • interfaceId: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • supportsInterface(bytes4):function
    • supportsInterface(bytes4)(interfaceId: BytesLike, overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • interfaceId: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

interface: ILPTokenInterface
populateTransaction: { MINTER_ROLE: any; MINTER_ROLE(): any; amms: any; amms(uint64): any; balanceOf: any; balanceOf(address,uint256): any; balanceOfBatch: any; balanceOfBatch(address[],uint256[]): any; burnFrom: any; burnFrom(address,uint256,uint256): any; getAMMId: any; getAMMId(uint256): any; getPairId: any; getPairId(uint256): any; getPeriodIndex: any; getPeriodIndex(uint256): any; grantRole: any; grantRole(bytes32,address): any; isApprovedForAll: any; isApprovedForAll(address,address): any; mint: any; mint(address,uint64,uint64,uint32,uint256,bytes): any; safeBatchTransferFrom: any; safeBatchTransferFrom(address,address,uint256[],uint256[],bytes): any; safeTransferFrom: any; safeTransferFrom(address,address,uint256,uint256,bytes): any; setApprovalForAll: any; setApprovalForAll(address,bool): any; supportsInterface: any; supportsInterface(bytes4): any }

Type declaration

  • MINTER_ROLE:function
    • MINTER_ROLE(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • MINTER_ROLE():function
    • MINTER_ROLE()(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • amms:function
    • amms(_ammId: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _ammId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • amms(uint64):function
    • amms(uint64)(_ammId: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _ammId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • balanceOf:function
    • balanceOf(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • account: string
      • id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • balanceOf(address,uint256):function
    • balanceOf(address,uint256)(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • account: string
      • id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • balanceOfBatch:function
    • balanceOfBatch(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • accounts: string[]
      • ids: BigNumberish[]
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • balanceOfBatch(address[],uint256[]):function
    • balanceOfBatch(address[],uint256[])(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • accounts: string[]
      • ids: BigNumberish[]
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • burnFrom:function
    • burnFrom(account: string, id: BigNumberish, value: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • account: string
      • id: BigNumberish
      • value: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • burnFrom(address,uint256,uint256):function
    • burnFrom(address,uint256,uint256)(account: string, id: BigNumberish, value: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • account: string
      • id: BigNumberish
      • value: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • getAMMId:function
    • getAMMId(_id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getAMMId(uint256):function
    • getAMMId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getPairId:function
    • getPairId(_id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getPairId(uint256):function
    • getPairId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getPeriodIndex:function
    • getPeriodIndex(_id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getPeriodIndex(uint256):function
    • getPeriodIndex(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • grantRole:function
    • grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • grantRole(bytes32,address):function
    • grantRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • isApprovedForAll:function
    • isApprovedForAll(account: string, operator: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • account: string
      • operator: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • isApprovedForAll(address,address):function
    • isApprovedForAll(address,address)(account: string, operator: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • account: string
      • operator: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • mint:function
    • mint(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • to: string
      • _ammId: BigNumberish
      • _periodIndex: BigNumberish
      • _pairId: BigNumberish
      • amount: BigNumberish
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • mint(address,uint64,uint64,uint32,uint256,bytes):function
    • mint(address,uint64,uint64,uint32,uint256,bytes)(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • to: string
      • _ammId: BigNumberish
      • _periodIndex: BigNumberish
      • _pairId: BigNumberish
      • amount: BigNumberish
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • safeBatchTransferFrom:function
    • safeBatchTransferFrom(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • from: string
      • to: string
      • ids: BigNumberish[]
      • amounts: BigNumberish[]
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • safeBatchTransferFrom(address,address,uint256[],uint256[],bytes):function
    • safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • from: string
      • to: string
      • ids: BigNumberish[]
      • amounts: BigNumberish[]
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • safeTransferFrom:function
    • safeTransferFrom(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • from: string
      • to: string
      • id: BigNumberish
      • amount: BigNumberish
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • safeTransferFrom(address,address,uint256,uint256,bytes):function
    • safeTransferFrom(address,address,uint256,uint256,bytes)(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • from: string
      • to: string
      • id: BigNumberish
      • amount: BigNumberish
      • data: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • setApprovalForAll:function
    • setApprovalForAll(operator: string, approved: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • operator: string
      • approved: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • setApprovalForAll(address,bool):function
    • setApprovalForAll(address,bool)(operator: string, approved: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • operator: string
      • approved: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • supportsInterface:function
    • supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • interfaceId: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • supportsInterface(bytes4):function
    • supportsInterface(bytes4)(interfaceId: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • interfaceId: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

provider: Provider
resolvedAddress: Promise<string>
signer: Signer

Methods

  • MINTER_ROLE(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • MINTER_ROLE()(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns 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

  • amms(_ammId: BigNumberish, overrides?: CallOverrides): Promise<string>
  • Parameters

    • _ammId: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • amms(uint64)(_ammId: BigNumberish, overrides?: CallOverrides): Promise<string>
  • Parameters

    • _ammId: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • Parameters

    • addressOrName: string

    Returns ILPToken

  • balanceOf(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • account: string
    • id: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • balanceOf(address,uint256)(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • account: string
    • id: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • balanceOfBatch(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<BigNumber[]>
  • Parameters

    • accounts: string[]
    • ids: BigNumberish[]
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber[]>

  • balanceOfBatch(address[],uint256[])(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<BigNumber[]>
  • Parameters

    • accounts: string[]
    • ids: BigNumberish[]
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber[]>

  • burnFrom(account: string, id: BigNumberish, value: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • account: string
    • id: BigNumberish
    • value: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • burnFrom(address,uint256,uint256)(account: string, id: BigNumberish, value: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • account: string
    • id: BigNumberish
    • value: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • connect(signerOrProvider: string | Signer | Provider): ILPToken
  • Parameters

    • signerOrProvider: string | Signer | Provider

    Returns ILPToken

  • Returns Promise<ILPToken>

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

  • getAMMId(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • _id: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • getAMMId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • _id: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • getPairId(_id: BigNumberish, overrides?: CallOverrides): Promise<number>
  • Parameters

    • _id: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<number>

  • getPairId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<number>
  • Parameters

    • _id: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<number>

  • getPeriodIndex(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • _id: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • getPeriodIndex(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • _id: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • role: BytesLike
    • account: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • grantRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • role: BytesLike
    • account: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • isApprovedForAll(account: string, operator: string, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • account: string
    • operator: string
    • Optional overrides: CallOverrides

    Returns Promise<boolean>

  • isApprovedForAll(address,address)(account: string, operator: string, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • account: string
    • operator: string
    • Optional overrides: CallOverrides

    Returns 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[]
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • Optional eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

    Returns TypedListener<EventArgsArray, EventArgsObject>[]

  • Parameters

    • Optional eventName: string

    Returns Listener[]

  • mint(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • to: string
    • _ammId: BigNumberish
    • _periodIndex: BigNumberish
    • _pairId: BigNumberish
    • amount: BigNumberish
    • data: BytesLike
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • mint(address,uint64,uint64,uint32,uint256,bytes)(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • to: string
    • _ammId: BigNumberish
    • _periodIndex: BigNumberish
    • _pairId: BigNumberish
    • amount: BigNumberish
    • data: BytesLike
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • off<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): ILPToken
  • off(eventName: string, listener: Listener): ILPToken
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns ILPToken

  • Parameters

    • eventName: string
    • listener: Listener

    Returns ILPToken

  • on<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): ILPToken
  • on(eventName: string, listener: Listener): ILPToken
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns ILPToken

  • Parameters

    • eventName: string
    • listener: Listener

    Returns ILPToken

  • once<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): ILPToken
  • once(eventName: string, listener: Listener): ILPToken
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns ILPToken

  • Parameters

    • eventName: string
    • listener: Listener

    Returns ILPToken

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

  • removeAllListeners<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>): ILPToken
  • removeAllListeners(eventName?: string): ILPToken
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

    Returns ILPToken

  • Parameters

    • Optional eventName: string

    Returns ILPToken

  • removeListener<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): ILPToken
  • removeListener(eventName: string, listener: Listener): ILPToken
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns ILPToken

  • Parameters

    • eventName: string
    • listener: Listener

    Returns ILPToken

  • safeBatchTransferFrom(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • from: string
    • to: string
    • ids: BigNumberish[]
    • amounts: BigNumberish[]
    • data: BytesLike
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • from: string
    • to: string
    • ids: BigNumberish[]
    • amounts: BigNumberish[]
    • data: BytesLike
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • safeTransferFrom(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • from: string
    • to: string
    • id: BigNumberish
    • amount: BigNumberish
    • data: BytesLike
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • safeTransferFrom(address,address,uint256,uint256,bytes)(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • from: string
    • to: string
    • id: BigNumberish
    • amount: BigNumberish
    • data: BytesLike
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • setApprovalForAll(operator: string, approved: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • operator: string
    • approved: boolean
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • setApprovalForAll(address,bool)(operator: string, approved: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • operator: string
    • approved: boolean
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • interfaceId: BytesLike
    • Optional overrides: CallOverrides

    Returns Promise<boolean>

  • supportsInterface(bytes4)(interfaceId: BytesLike, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • interfaceId: BytesLike
    • Optional overrides: CallOverrides

    Returns Promise<boolean>

  • 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, the 1/8/2023