Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LPToken

Hierarchy

  • Contract
    • LPToken

Index

Constructors

Properties

Methods

Constructors

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

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

    Returns LPToken

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; DEFAULT_ADMIN_ROLE(): any; MAX_INT_32: any; MAX_INT_32(): any; MAX_INT_64: any; MAX_INT_64(): any; MINTER_ROLE: any; MINTER_ROLE(): any; PAUSER_ROLE: any; PAUSER_ROLE(): any; amms: any; amms(uint64): any; balanceOf: any; balanceOf(address,uint256): any; balanceOfBatch: any; balanceOfBatch(address[],uint256[]): any; burn: any; burn(address,uint256,uint256): any; burnBatch: any; burnBatch(address,uint256[],uint256[]): any; burnFrom: any; burnFrom(address,uint256,uint256): any; getAMMId: any; getAMMId(uint256): any; getPairId: any; getPairId(uint256): any; getPeriodIndex: any; getPeriodIndex(uint256): any; getRoleAdmin: any; getRoleAdmin(bytes32): any; getRoleMember: any; getRoleMember(bytes32,uint256): any; getRoleMemberCount: any; getRoleMemberCount(bytes32): any; grantRole: any; grantRole(bytes32,address): any; hasRole: any; hasRole(bytes32,address): any; initialize: any; initialize(string): any; isApprovedForAll: any; isApprovedForAll(address,address): any; mint: any; mint(address,uint64,uint64,uint32,uint256,bytes): any; paused: any; paused(): any; predictTokenId: any; predictTokenId(uint256,uint256,uint256): any; renounceRole: any; renounceRole(bytes32,address): any; revokeRole: any; revokeRole(bytes32,address): any; safeBatchTransferFrom: any; safeBatchTransferFrom(address,address,uint256[],uint256[],bytes): any; safeTransferFrom: any; safeTransferFrom(address,address,uint256,uint256,bytes): any; setAmmAddress: any; setAmmAddress(uint64,address): any; setApprovalForAll: any; setApprovalForAll(address,bool): any; supportsInterface: any; supportsInterface(bytes4): any; togglePause: any; togglePause(): any; uri: any; uri(uint256): any }

Type declaration

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

      • Optional overrides: CallOverrides

      Returns Promise<string>

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

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • MAX_INT_32:function
    • MAX_INT_32(overrides?: CallOverrides): Promise<number>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<number>

  • MAX_INT_32():function
    • MAX_INT_32()(overrides?: CallOverrides): Promise<number>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<number>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

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

      • Optional overrides: CallOverrides

      Returns Promise<string>

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

      • Optional overrides: CallOverrides

      Returns Promise<string>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<string>

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

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

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

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

      Returns Promise<void>

  • burn(address,uint256,uint256):function
    • burn(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>

  • burnBatch:function
    • burnBatch(account: string, ids: BigNumberish[], values: BigNumberish[], overrides?: CallOverrides): Promise<void>
    • Parameters

      • account: string
      • ids: BigNumberish[]
      • values: BigNumberish[]
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • burnBatch(address,uint256[],uint256[]):function
    • burnBatch(address,uint256[],uint256[])(account: string, ids: BigNumberish[], values: BigNumberish[], overrides?: CallOverrides): Promise<void>
    • Parameters

      • account: string
      • ids: BigNumberish[]
      • values: BigNumberish[]
      • Optional overrides: CallOverrides

      Returns Promise<void>

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

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

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • getRoleAdmin(bytes32):function
    • getRoleAdmin(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<string>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • getRoleMember:function
    • getRoleMember(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<string>
    • Parameters

      • role: BytesLike
      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • getRoleMember(bytes32,uint256):function
    • getRoleMember(bytes32,uint256)(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<string>
    • Parameters

      • role: BytesLike
      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • getRoleMemberCount:function
    • getRoleMemberCount(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getRoleMemberCount(bytes32):function
    • getRoleMemberCount(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • 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>

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

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

      Returns Promise<boolean>

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

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

      Returns Promise<boolean>

  • initialize:function
    • initialize(uri: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • uri: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • initialize(string):function
    • initialize(string)(uri: string, overrides?: CallOverrides): Promise<void>
    • Parameters

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

  • paused:function
    • paused(overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • paused():function
    • paused()(overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<boolean>

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

      • _ammId: BigNumberish
      • _periodIndex: BigNumberish
      • _pairId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • predictTokenId(uint256,uint256,uint256):function
    • predictTokenId(uint256,uint256,uint256)(_ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _ammId: BigNumberish
      • _periodIndex: BigNumberish
      • _pairId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

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

      Returns Promise<void>

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

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

      Returns Promise<void>

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

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

      Returns Promise<void>

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

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

      Returns Promise<void>

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

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

      • _ammId: BigNumberish
      • _ammAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • setAmmAddress(uint64,address):function
    • setAmmAddress(uint64,address)(_ammId: BigNumberish, _ammAddress: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _ammId: BigNumberish
      • _ammAddress: string
      • 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>

  • togglePause:function
    • togglePause(overrides?: CallOverrides): Promise<void>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<void>

  • togglePause():function
    • togglePause()(overrides?: CallOverrides): Promise<void>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<void>

  • uri:function
    • uri(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • uri(uint256):function
    • uri(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<string>

deployTransaction: TransactionResponse
estimateGas: { DEFAULT_ADMIN_ROLE: any; DEFAULT_ADMIN_ROLE(): any; MAX_INT_32: any; MAX_INT_32(): any; MAX_INT_64: any; MAX_INT_64(): any; MINTER_ROLE: any; MINTER_ROLE(): any; PAUSER_ROLE: any; PAUSER_ROLE(): any; amms: any; amms(uint64): any; balanceOf: any; balanceOf(address,uint256): any; balanceOfBatch: any; balanceOfBatch(address[],uint256[]): any; burn: any; burn(address,uint256,uint256): any; burnBatch: any; burnBatch(address,uint256[],uint256[]): any; burnFrom: any; burnFrom(address,uint256,uint256): any; getAMMId: any; getAMMId(uint256): any; getPairId: any; getPairId(uint256): any; getPeriodIndex: any; getPeriodIndex(uint256): any; getRoleAdmin: any; getRoleAdmin(bytes32): any; getRoleMember: any; getRoleMember(bytes32,uint256): any; getRoleMemberCount: any; getRoleMemberCount(bytes32): any; grantRole: any; grantRole(bytes32,address): any; hasRole: any; hasRole(bytes32,address): any; initialize: any; initialize(string): any; isApprovedForAll: any; isApprovedForAll(address,address): any; mint: any; mint(address,uint64,uint64,uint32,uint256,bytes): any; paused: any; paused(): any; predictTokenId: any; predictTokenId(uint256,uint256,uint256): any; renounceRole: any; renounceRole(bytes32,address): any; revokeRole: any; revokeRole(bytes32,address): any; safeBatchTransferFrom: any; safeBatchTransferFrom(address,address,uint256[],uint256[],bytes): any; safeTransferFrom: any; safeTransferFrom(address,address,uint256,uint256,bytes): any; setAmmAddress: any; setAmmAddress(uint64,address): any; setApprovalForAll: any; setApprovalForAll(address,bool): any; supportsInterface: any; supportsInterface(bytes4): any; togglePause: any; togglePause(): any; uri: any; uri(uint256): any }

Type declaration

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • MAX_INT_64():function
    • MAX_INT_64()(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>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

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

  • burn:function
    • burn(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>

  • burn(address,uint256,uint256):function
    • burn(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>

  • burnBatch:function
    • burnBatch(account: string, ids: BigNumberish[], values: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • account: string
      • ids: BigNumberish[]
      • values: BigNumberish[]
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • burnBatch(address,uint256[],uint256[]):function
    • burnBatch(address,uint256[],uint256[])(account: string, ids: BigNumberish[], values: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • account: string
      • ids: BigNumberish[]
      • values: BigNumberish[]
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      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>

  • getRoleAdmin:function
    • getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getRoleAdmin(bytes32):function
    • getRoleAdmin(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getRoleMember:function
    • getRoleMember(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getRoleMember(bytes32,uint256):function
    • getRoleMember(bytes32,uint256)(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getRoleMemberCount:function
    • getRoleMemberCount(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getRoleMemberCount(bytes32):function
    • getRoleMemberCount(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • 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>

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

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

      Returns Promise<BigNumber>

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

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

      Returns Promise<BigNumber>

  • initialize:function
    • initialize(uri: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • uri: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • initialize(string):function
    • initialize(string)(uri: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

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

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • _ammId: BigNumberish
      • _periodIndex: BigNumberish
      • _pairId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • predictTokenId(uint256,uint256,uint256):function
    • predictTokenId(uint256,uint256,uint256)(_ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _ammId: BigNumberish
      • _periodIndex: BigNumberish
      • _pairId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • renounceRole:function
    • renounceRole(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>

  • renounceRole(bytes32,address):function
    • renounceRole(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>

  • revokeRole:function
    • revokeRole(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>

  • revokeRole(bytes32,address):function
    • revokeRole(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>

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

  • setAmmAddress:function
    • setAmmAddress(_ammId: BigNumberish, _ammAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _ammId: BigNumberish
      • _ammAddress: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • setAmmAddress(uint64,address):function
    • setAmmAddress(uint64,address)(_ammId: BigNumberish, _ammAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _ammId: BigNumberish
      • _ammAddress: string
      • 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>

  • togglePause:function
    • togglePause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

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

      Returns Promise<BigNumber>

  • togglePause():function
    • togglePause()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

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

      Returns Promise<BigNumber>

  • uri:function
    • uri(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

filters: { AmmAddressSet: any; ApprovalForAll: any; Paused: any; RoleAdminChanged: any; RoleGranted: any; RoleRevoked: any; TransferBatch: any; TransferSingle: any; URI: any; Unpaused: any }

Type declaration

  • AmmAddressSet:function
    • AmmAddressSet(_ammId: null, _ammAddress: null): TypedEventFilter<[BigNumber, string], { _ammAddress: string; _ammId: BigNumber }>
    • Parameters

      • _ammId: null
      • _ammAddress: null

      Returns TypedEventFilter<[BigNumber, string], { _ammAddress: string; _ammId: BigNumber }>

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

  • Paused:function
    • Paused(account: null): TypedEventFilter<[string], { account: string }>
    • Parameters

      • account: null

      Returns TypedEventFilter<[string], { account: string }>

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

      • role: null | BytesLike
      • previousAdminRole: null | BytesLike
      • newAdminRole: null | BytesLike

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

  • RoleGranted:function
    • RoleGranted(role: null | BytesLike, account: null | string, sender: null | string): TypedEventFilter<[string, string, string], { account: string; role: string; sender: string }>
    • Parameters

      • role: null | BytesLike
      • account: null | string
      • sender: null | string

      Returns TypedEventFilter<[string, string, string], { account: string; role: string; sender: string }>

  • RoleRevoked:function
    • RoleRevoked(role: null | BytesLike, account: null | string, sender: null | string): TypedEventFilter<[string, string, string], { account: string; role: string; sender: string }>
    • Parameters

      • role: null | BytesLike
      • account: null | string
      • sender: null | string

      Returns TypedEventFilter<[string, string, string], { account: string; role: string; sender: 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 }>

  • Unpaused:function
    • Unpaused(account: null): TypedEventFilter<[string], { account: string }>
    • Parameters

      • account: null

      Returns TypedEventFilter<[string], { account: string }>

functions: { DEFAULT_ADMIN_ROLE: any; DEFAULT_ADMIN_ROLE(): any; MAX_INT_32: any; MAX_INT_32(): any; MAX_INT_64: any; MAX_INT_64(): any; MINTER_ROLE: any; MINTER_ROLE(): any; PAUSER_ROLE: any; PAUSER_ROLE(): any; amms: any; amms(uint64): any; balanceOf: any; balanceOf(address,uint256): any; balanceOfBatch: any; balanceOfBatch(address[],uint256[]): any; burn: any; burn(address,uint256,uint256): any; burnBatch: any; burnBatch(address,uint256[],uint256[]): any; burnFrom: any; burnFrom(address,uint256,uint256): any; getAMMId: any; getAMMId(uint256): any; getPairId: any; getPairId(uint256): any; getPeriodIndex: any; getPeriodIndex(uint256): any; getRoleAdmin: any; getRoleAdmin(bytes32): any; getRoleMember: any; getRoleMember(bytes32,uint256): any; getRoleMemberCount: any; getRoleMemberCount(bytes32): any; grantRole: any; grantRole(bytes32,address): any; hasRole: any; hasRole(bytes32,address): any; initialize: any; initialize(string): any; isApprovedForAll: any; isApprovedForAll(address,address): any; mint: any; mint(address,uint64,uint64,uint32,uint256,bytes): any; paused: any; paused(): any; predictTokenId: any; predictTokenId(uint256,uint256,uint256): any; renounceRole: any; renounceRole(bytes32,address): any; revokeRole: any; revokeRole(bytes32,address): any; safeBatchTransferFrom: any; safeBatchTransferFrom(address,address,uint256[],uint256[],bytes): any; safeTransferFrom: any; safeTransferFrom(address,address,uint256,uint256,bytes): any; setAmmAddress: any; setAmmAddress(uint64,address): any; setApprovalForAll: any; setApprovalForAll(address,bool): any; supportsInterface: any; supportsInterface(bytes4): any; togglePause: any; togglePause(): any; uri: any; uri(uint256): any }

Type declaration

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

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

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

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • MAX_INT_32:function
    • MAX_INT_32(overrides?: CallOverrides): Promise<[number]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[number]>

  • MAX_INT_32():function
    • MAX_INT_32()(overrides?: CallOverrides): Promise<[number]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[number]>

  • MAX_INT_64:function
    • MAX_INT_64(overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • MAX_INT_64():function
    • MAX_INT_64()(overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

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

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

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

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

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

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

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

  • burn:function
    • burn(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>

  • burn(address,uint256,uint256):function
    • burn(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>

  • burnBatch:function
    • burnBatch(account: string, ids: BigNumberish[], values: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • account: string
      • ids: BigNumberish[]
      • values: BigNumberish[]
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • burnBatch(address,uint256[],uint256[]):function
    • burnBatch(address,uint256[],uint256[])(account: string, ids: BigNumberish[], values: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • account: string
      • ids: BigNumberish[]
      • values: BigNumberish[]
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

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

  • getRoleAdmin:function
    • getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • getRoleAdmin(bytes32):function
    • getRoleAdmin(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • getRoleMember:function
    • getRoleMember(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • role: BytesLike
      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • getRoleMember(bytes32,uint256):function
    • getRoleMember(bytes32,uint256)(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • role: BytesLike
      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • getRoleMemberCount:function
    • getRoleMemberCount(role: BytesLike, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • getRoleMemberCount(bytes32):function
    • getRoleMemberCount(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • role: BytesLike
      • 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>

  • hasRole:function
    • hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

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

      Returns Promise<[boolean]>

  • hasRole(bytes32,address):function
    • hasRole(bytes32,address)(role: BytesLike, account: string, overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

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

      Returns Promise<[boolean]>

  • initialize:function
    • initialize(uri: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • uri: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • initialize(string):function
    • initialize(string)(uri: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

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

  • paused:function
    • paused(overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • paused():function
    • paused()(overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • predictTokenId:function
    • predictTokenId(_ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • _ammId: BigNumberish
      • _periodIndex: BigNumberish
      • _pairId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • predictTokenId(uint256,uint256,uint256):function
    • predictTokenId(uint256,uint256,uint256)(_ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • _ammId: BigNumberish
      • _periodIndex: BigNumberish
      • _pairId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • renounceRole:function
    • renounceRole(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>

  • renounceRole(bytes32,address):function
    • renounceRole(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>

  • revokeRole:function
    • revokeRole(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>

  • revokeRole(bytes32,address):function
    • revokeRole(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>

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

  • setAmmAddress:function
    • setAmmAddress(_ammId: BigNumberish, _ammAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _ammId: BigNumberish
      • _ammAddress: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • setAmmAddress(uint64,address):function
    • setAmmAddress(uint64,address)(_ammId: BigNumberish, _ammAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _ammId: BigNumberish
      • _ammAddress: string
      • 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]>

  • togglePause:function
    • togglePause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

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

      Returns Promise<ContractTransaction>

  • togglePause():function
    • togglePause()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

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

      Returns Promise<ContractTransaction>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • uri(uint256):function
    • uri(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

interface: LPTokenInterface
populateTransaction: { DEFAULT_ADMIN_ROLE: any; DEFAULT_ADMIN_ROLE(): any; MAX_INT_32: any; MAX_INT_32(): any; MAX_INT_64: any; MAX_INT_64(): any; MINTER_ROLE: any; MINTER_ROLE(): any; PAUSER_ROLE: any; PAUSER_ROLE(): any; amms: any; amms(uint64): any; balanceOf: any; balanceOf(address,uint256): any; balanceOfBatch: any; balanceOfBatch(address[],uint256[]): any; burn: any; burn(address,uint256,uint256): any; burnBatch: any; burnBatch(address,uint256[],uint256[]): any; burnFrom: any; burnFrom(address,uint256,uint256): any; getAMMId: any; getAMMId(uint256): any; getPairId: any; getPairId(uint256): any; getPeriodIndex: any; getPeriodIndex(uint256): any; getRoleAdmin: any; getRoleAdmin(bytes32): any; getRoleMember: any; getRoleMember(bytes32,uint256): any; getRoleMemberCount: any; getRoleMemberCount(bytes32): any; grantRole: any; grantRole(bytes32,address): any; hasRole: any; hasRole(bytes32,address): any; initialize: any; initialize(string): any; isApprovedForAll: any; isApprovedForAll(address,address): any; mint: any; mint(address,uint64,uint64,uint32,uint256,bytes): any; paused: any; paused(): any; predictTokenId: any; predictTokenId(uint256,uint256,uint256): any; renounceRole: any; renounceRole(bytes32,address): any; revokeRole: any; revokeRole(bytes32,address): any; safeBatchTransferFrom: any; safeBatchTransferFrom(address,address,uint256[],uint256[],bytes): any; safeTransferFrom: any; safeTransferFrom(address,address,uint256,uint256,bytes): any; setAmmAddress: any; setAmmAddress(uint64,address): any; setApprovalForAll: any; setApprovalForAll(address,bool): any; supportsInterface: any; supportsInterface(bytes4): any; togglePause: any; togglePause(): any; uri: any; uri(uint256): any }

Type declaration

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • MAX_INT_64():function
    • MAX_INT_64()(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>

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

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

  • burn:function
    • burn(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>

  • burn(address,uint256,uint256):function
    • burn(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>

  • burnBatch:function
    • burnBatch(account: string, ids: BigNumberish[], values: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • account: string
      • ids: BigNumberish[]
      • values: BigNumberish[]
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • burnBatch(address,uint256[],uint256[]):function
    • burnBatch(address,uint256[],uint256[])(account: string, ids: BigNumberish[], values: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • account: string
      • ids: BigNumberish[]
      • values: BigNumberish[]
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      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>

  • getRoleAdmin:function
    • getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getRoleAdmin(bytes32):function
    • getRoleAdmin(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getRoleMember:function
    • getRoleMember(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getRoleMember(bytes32,uint256):function
    • getRoleMember(bytes32,uint256)(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getRoleMemberCount:function
    • getRoleMemberCount(role: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getRoleMemberCount(bytes32):function
    • getRoleMemberCount(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • 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>

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

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

      Returns Promise<PopulatedTransaction>

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

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

      Returns Promise<PopulatedTransaction>

  • initialize:function
    • initialize(uri: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • uri: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • initialize(string):function
    • initialize(string)(uri: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

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

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • _ammId: BigNumberish
      • _periodIndex: BigNumberish
      • _pairId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • predictTokenId(uint256,uint256,uint256):function
    • predictTokenId(uint256,uint256,uint256)(_ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _ammId: BigNumberish
      • _periodIndex: BigNumberish
      • _pairId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • renounceRole:function
    • renounceRole(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>

  • renounceRole(bytes32,address):function
    • renounceRole(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>

  • revokeRole:function
    • revokeRole(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>

  • revokeRole(bytes32,address):function
    • revokeRole(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>

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

  • setAmmAddress:function
    • setAmmAddress(_ammId: BigNumberish, _ammAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _ammId: BigNumberish
      • _ammAddress: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • setAmmAddress(uint64,address):function
    • setAmmAddress(uint64,address)(_ammId: BigNumberish, _ammAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _ammId: BigNumberish
      • _ammAddress: string
      • 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>

  • togglePause:function
    • togglePause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

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

      Returns Promise<PopulatedTransaction>

  • togglePause():function
    • togglePause()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

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

      Returns Promise<PopulatedTransaction>

  • uri:function
    • uri(arg0: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

Methods

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

    • Optional overrides: CallOverrides

    Returns Promise<string>

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

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • MAX_INT_32(overrides?: CallOverrides): Promise<number>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<number>

  • MAX_INT_32()(overrides?: CallOverrides): Promise<number>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<number>

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

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

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

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

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

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

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • PAUSER_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(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>
  • Parameters

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<string>

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

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • attach(addressOrName: string): LPToken
  • Parameters

    • addressOrName: string

    Returns LPToken

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

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

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

  • burnBatch(account: string, ids: BigNumberish[], values: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • account: string
    • ids: BigNumberish[]
    • values: BigNumberish[]
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • burnBatch(address,uint256[],uint256[])(account: string, ids: BigNumberish[], values: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • account: string
    • ids: BigNumberish[]
    • values: BigNumberish[]
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • 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): LPToken
  • Parameters

    • signerOrProvider: string | Signer | Provider

    Returns LPToken

  • Returns Promise<LPToken>

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

  • getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<string>
  • Parameters

    • role: BytesLike
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • getRoleAdmin(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<string>
  • Parameters

    • role: BytesLike
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • getRoleMember(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<string>
  • Parameters

    • role: BytesLike
    • index: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • getRoleMember(bytes32,uint256)(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<string>
  • Parameters

    • role: BytesLike
    • index: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • getRoleMemberCount(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • role: BytesLike
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • getRoleMemberCount(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • role: BytesLike
    • 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>

  • hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<boolean>
  • Parameters

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

    Returns Promise<boolean>

  • hasRole(bytes32,address)(role: BytesLike, account: string, overrides?: CallOverrides): Promise<boolean>
  • Parameters

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

    Returns Promise<boolean>

  • initialize(uri: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • uri: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • initialize(string)(uri: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • uri: 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>): LPToken
  • off(eventName: string, listener: Listener): LPToken
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

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

    Returns LPToken

  • Parameters

    • eventName: string
    • listener: Listener

    Returns LPToken

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

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

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

    Returns LPToken

  • Parameters

    • eventName: string
    • listener: Listener

    Returns LPToken

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

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

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

    Returns LPToken

  • Parameters

    • eventName: string
    • listener: Listener

    Returns LPToken

  • paused(overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<boolean>

  • paused()(overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<boolean>

  • predictTokenId(_ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • _ammId: BigNumberish
    • _periodIndex: BigNumberish
    • _pairId: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • predictTokenId(uint256,uint256,uint256)(_ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • _ammId: BigNumberish
    • _periodIndex: BigNumberish
    • _pairId: BigNumberish
    • Optional overrides: CallOverrides

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

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

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

    Returns LPToken

  • Parameters

    • Optional eventName: string

    Returns LPToken

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

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

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

    Returns LPToken

  • Parameters

    • eventName: string
    • listener: Listener

    Returns LPToken

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

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

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

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

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

  • setAmmAddress(_ammId: BigNumberish, _ammAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _ammId: BigNumberish
    • _ammAddress: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • setAmmAddress(uint64,address)(_ammId: BigNumberish, _ammAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _ammId: BigNumberish
    • _ammAddress: string
    • 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>

  • togglePause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

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

    Returns Promise<ContractTransaction>

  • togglePause()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

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

    Returns Promise<ContractTransaction>

  • uri(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>
  • Parameters

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • uri(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>
  • Parameters

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • 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 11/12/2022