Properties
_deployedPromise
_deployedPromise: Promise<Contract>
_runningEvents
_runningEvents: {}
Type declaration
[eventTag: string]: RunningEvent
_wrappedEmits
_wrappedEmits: {}
Type declaration
[eventTag: string]: (...args: any[]) => void
Readonly address
address: string
callStatic
callStatic: { MINTER_ROLE: any; MINTER_ROLE(): any; amms: any; amms(uint64): any; balanceOf: any; balanceOf(address,uint256): any; balanceOfBatch: any; balanceOfBatch(address[],uint256[]): any; burnFrom: any; burnFrom(address,uint256,uint256): any; getAMMId: any; getAMMId(uint256): any; getPairId: any; getPairId(uint256): any; getPeriodIndex: any; getPeriodIndex(uint256): any; grantRole: any; grantRole(bytes32,address): any; isApprovedForAll: any; isApprovedForAll(address,address): any; mint: any; mint(address,uint64,uint64,uint32,uint256,bytes): any; safeBatchTransferFrom: any; safeBatchTransferFrom(address,address,uint256[],uint256[],bytes): any; safeTransferFrom: any; safeTransferFrom(address,address,uint256,uint256,bytes): any; setApprovalForAll: any; setApprovalForAll(address,bool): any; supportsInterface: any; supportsInterface(bytes4): any }
Type declaration
MINTER_ROLE:function
- MINTER_ROLE(overrides?: CallOverrides): Promise<string>
Parameters
Optional overrides: CallOverrides
Returns Promise<string>
MINTER_ROLE():function
- MINTER_ROLE()(overrides?: CallOverrides): Promise<string>
Parameters
Optional overrides: CallOverrides
Returns Promise<string>
amms:function
- amms(_ammId: BigNumberish, overrides?: CallOverrides): Promise<string>
Parameters
_ammId: BigNumberish
Optional overrides: CallOverrides
Returns Promise<string>
amms(uint64):function
- amms(uint64)(_ammId: BigNumberish, overrides?: CallOverrides): Promise<string>
Parameters
_ammId: BigNumberish
Optional overrides: CallOverrides
Returns Promise<string>
balanceOf:function
- balanceOf(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
account: string
id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
balanceOf(address,uint256):function
- balanceOf(address,uint256)(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
account: string
id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
balanceOfBatch:function
- balanceOfBatch(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<BigNumber[]>
Parameters
accounts: string[]
ids: BigNumberish[]
Optional overrides: CallOverrides
Returns Promise<BigNumber[]>
balanceOfBatch(address[],uint256[]):function
- balanceOfBatch(address[],uint256[])(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<BigNumber[]>
Parameters
accounts: string[]
ids: BigNumberish[]
Optional overrides: CallOverrides
Returns Promise<BigNumber[]>
burnFrom:function
- burnFrom(account: string, id: BigNumberish, value: BigNumberish, overrides?: CallOverrides): Promise<void>
Parameters
account: string
id: BigNumberish
value: BigNumberish
Optional overrides: CallOverrides
Returns Promise<void>
burnFrom(address,uint256,uint256):function
- burnFrom(address,uint256,uint256)(account: string, id: BigNumberish, value: BigNumberish, overrides?: CallOverrides): Promise<void>
Parameters
account: string
id: BigNumberish
value: BigNumberish
Optional overrides: CallOverrides
Returns Promise<void>
getAMMId:function
- getAMMId(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
getAMMId(uint256):function
- getAMMId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
getPairId:function
- getPairId(_id: BigNumberish, overrides?: CallOverrides): Promise<number>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<number>
getPairId(uint256):function
- getPairId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<number>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<number>
getPeriodIndex:function
- getPeriodIndex(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
getPeriodIndex(uint256):function
- getPeriodIndex(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
grantRole:function
- grantRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<void>
Parameters
role: BytesLike
account: string
Optional overrides: CallOverrides
Returns Promise<void>
grantRole(bytes32,address):function
- grantRole(bytes32,address)(role: BytesLike, account: string, overrides?: CallOverrides): Promise<void>
Parameters
role: BytesLike
account: string
Optional overrides: CallOverrides
Returns Promise<void>
isApprovedForAll:function
- isApprovedForAll(account: string, operator: string, overrides?: CallOverrides): Promise<boolean>
Parameters
account: string
operator: string
Optional overrides: CallOverrides
Returns Promise<boolean>
isApprovedForAll(address,address):function
- isApprovedForAll(address,address)(account: string, operator: string, overrides?: CallOverrides): Promise<boolean>
Parameters
account: string
operator: string
Optional overrides: CallOverrides
Returns Promise<boolean>
mint:function
- mint(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
Parameters
to: string
_ammId: BigNumberish
_periodIndex: BigNumberish
_pairId: BigNumberish
amount: BigNumberish
data: BytesLike
Optional overrides: CallOverrides
Returns Promise<BigNumber>
mint(address,uint64,uint64,uint32,uint256,bytes):function
- mint(address,uint64,uint64,uint32,uint256,bytes)(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
Parameters
to: string
_ammId: BigNumberish
_periodIndex: BigNumberish
_pairId: BigNumberish
amount: BigNumberish
data: BytesLike
Optional overrides: CallOverrides
Returns Promise<BigNumber>
safeBatchTransferFrom:function
- safeBatchTransferFrom(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: CallOverrides): Promise<void>
Parameters
from: string
to: string
ids: BigNumberish[]
amounts: BigNumberish[]
data: BytesLike
Optional overrides: CallOverrides
Returns Promise<void>
safeBatchTransferFrom(address,address,uint256[],uint256[],bytes):function
- safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: CallOverrides): Promise<void>
Parameters
from: string
to: string
ids: BigNumberish[]
amounts: BigNumberish[]
data: BytesLike
Optional overrides: CallOverrides
Returns Promise<void>
safeTransferFrom:function
- safeTransferFrom(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: CallOverrides): Promise<void>
Parameters
from: string
to: string
id: BigNumberish
amount: BigNumberish
data: BytesLike
Optional overrides: CallOverrides
Returns Promise<void>
safeTransferFrom(address,address,uint256,uint256,bytes):function
- safeTransferFrom(address,address,uint256,uint256,bytes)(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: CallOverrides): Promise<void>
Parameters
from: string
to: string
id: BigNumberish
amount: BigNumberish
data: BytesLike
Optional overrides: CallOverrides
Returns Promise<void>
setApprovalForAll:function
- setApprovalForAll(operator: string, approved: boolean, overrides?: CallOverrides): Promise<void>
Parameters
operator: string
approved: boolean
Optional overrides: CallOverrides
Returns Promise<void>
setApprovalForAll(address,bool):function
- setApprovalForAll(address,bool)(operator: string, approved: boolean, overrides?: CallOverrides): Promise<void>
Parameters
operator: string
approved: boolean
Optional overrides: CallOverrides
Returns Promise<void>
supportsInterface:function
- supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<boolean>
Parameters
interfaceId: BytesLike
Optional overrides: CallOverrides
Returns Promise<boolean>
supportsInterface(bytes4):function
- supportsInterface(bytes4)(interfaceId: BytesLike, overrides?: CallOverrides): Promise<boolean>
Parameters
interfaceId: BytesLike
Optional overrides: CallOverrides
Returns Promise<boolean>
Readonly deployTransaction
deployTransaction: TransactionResponse
estimateGas
estimateGas: { MINTER_ROLE: any; MINTER_ROLE(): any; amms: any; amms(uint64): any; balanceOf: any; balanceOf(address,uint256): any; balanceOfBatch: any; balanceOfBatch(address[],uint256[]): any; burnFrom: any; burnFrom(address,uint256,uint256): any; getAMMId: any; getAMMId(uint256): any; getPairId: any; getPairId(uint256): any; getPeriodIndex: any; getPeriodIndex(uint256): any; grantRole: any; grantRole(bytes32,address): any; isApprovedForAll: any; isApprovedForAll(address,address): any; mint: any; mint(address,uint64,uint64,uint32,uint256,bytes): any; safeBatchTransferFrom: any; safeBatchTransferFrom(address,address,uint256[],uint256[],bytes): any; safeTransferFrom: any; safeTransferFrom(address,address,uint256,uint256,bytes): any; setApprovalForAll: any; setApprovalForAll(address,bool): any; supportsInterface: any; supportsInterface(bytes4): any }
Type declaration
MINTER_ROLE:function
- MINTER_ROLE(overrides?: CallOverrides): Promise<BigNumber>
Parameters
Optional overrides: CallOverrides
Returns Promise<BigNumber>
MINTER_ROLE():function
- MINTER_ROLE()(overrides?: CallOverrides): Promise<BigNumber>
Parameters
Optional overrides: CallOverrides
Returns Promise<BigNumber>
amms:function
- amms(_ammId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_ammId: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
amms(uint64):function
- amms(uint64)(_ammId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_ammId: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
balanceOf:function
- balanceOf(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
account: string
id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
balanceOf(address,uint256):function
- balanceOf(address,uint256)(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
account: string
id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
balanceOfBatch:function
- balanceOfBatch(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<BigNumber>
Parameters
accounts: string[]
ids: BigNumberish[]
Optional overrides: CallOverrides
Returns Promise<BigNumber>
balanceOfBatch(address[],uint256[]):function
- balanceOfBatch(address[],uint256[])(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<BigNumber>
Parameters
accounts: string[]
ids: BigNumberish[]
Optional overrides: CallOverrides
Returns Promise<BigNumber>
burnFrom:function
- burnFrom(account: string, id: BigNumberish, value: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
account: string
id: BigNumberish
value: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
burnFrom(address,uint256,uint256):function
- burnFrom(address,uint256,uint256)(account: string, id: BigNumberish, value: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
account: string
id: BigNumberish
value: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
getAMMId:function
- getAMMId(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
getAMMId(uint256):function
- getAMMId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
getPairId:function
- getPairId(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
getPairId(uint256):function
- getPairId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
getPeriodIndex:function
- getPeriodIndex(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
getPeriodIndex(uint256):function
- getPeriodIndex(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
grantRole:function
- grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
role: BytesLike
account: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
grantRole(bytes32,address):function
- grantRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
role: BytesLike
account: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
isApprovedForAll:function
- isApprovedForAll(account: string, operator: string, overrides?: CallOverrides): Promise<BigNumber>
Parameters
account: string
operator: string
Optional overrides: CallOverrides
Returns Promise<BigNumber>
isApprovedForAll(address,address):function
- isApprovedForAll(address,address)(account: string, operator: string, overrides?: CallOverrides): Promise<BigNumber>
Parameters
account: string
operator: string
Optional overrides: CallOverrides
Returns Promise<BigNumber>
mint:function
- mint(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
to: string
_ammId: BigNumberish
_periodIndex: BigNumberish
_pairId: BigNumberish
amount: BigNumberish
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
mint(address,uint64,uint64,uint32,uint256,bytes):function
- mint(address,uint64,uint64,uint32,uint256,bytes)(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
to: string
_ammId: BigNumberish
_periodIndex: BigNumberish
_pairId: BigNumberish
amount: BigNumberish
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
safeBatchTransferFrom:function
- safeBatchTransferFrom(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
from: string
to: string
ids: BigNumberish[]
amounts: BigNumberish[]
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
safeBatchTransferFrom(address,address,uint256[],uint256[],bytes):function
- safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
from: string
to: string
ids: BigNumberish[]
amounts: BigNumberish[]
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
safeTransferFrom:function
- safeTransferFrom(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
from: string
to: string
id: BigNumberish
amount: BigNumberish
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
safeTransferFrom(address,address,uint256,uint256,bytes):function
- safeTransferFrom(address,address,uint256,uint256,bytes)(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
from: string
to: string
id: BigNumberish
amount: BigNumberish
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
setApprovalForAll:function
- setApprovalForAll(operator: string, approved: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
operator: string
approved: boolean
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
setApprovalForAll(address,bool):function
- setApprovalForAll(address,bool)(operator: string, approved: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
operator: string
approved: boolean
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
supportsInterface:function
- supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
Parameters
interfaceId: BytesLike
Optional overrides: CallOverrides
Returns Promise<BigNumber>
supportsInterface(bytes4):function
- supportsInterface(bytes4)(interfaceId: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
Parameters
interfaceId: BytesLike
Optional overrides: CallOverrides
Returns Promise<BigNumber>
filters
filters: { ApprovalForAll: any; TransferBatch: any; TransferSingle: any; URI: any }
Type declaration
ApprovalForAll:function
- ApprovalForAll(account: null | string, operator: null | string, approved: null): TypedEventFilter<[string, string, boolean], { account: string; approved: boolean; operator: string }>
Parameters
account: null | string
operator: null | string
approved: null
Returns TypedEventFilter<[string, string, boolean], { account: string; approved: boolean; operator: string }>
TransferBatch:function
- TransferBatch(operator: null | string, from: null | string, to: null | string, ids: null, values: null): TypedEventFilter<[string, string, string, BigNumber[], BigNumber[]], { from: string; ids: BigNumber[]; operator: string; to: string; values: BigNumber[] }>
Parameters
operator: null | string
from: null | string
to: null | string
ids: null
values: null
Returns TypedEventFilter<[string, string, string, BigNumber[], BigNumber[]], { from: string; ids: BigNumber[]; operator: string; to: string; values: BigNumber[] }>
TransferSingle:function
- TransferSingle(operator: null | string, from: null | string, to: null | string, id: null, value: null): TypedEventFilter<[string, string, string, BigNumber, BigNumber], { from: string; id: BigNumber; operator: string; to: string; value: BigNumber }>
Parameters
operator: null | string
from: null | string
to: null | string
id: null
value: null
Returns TypedEventFilter<[string, string, string, BigNumber, BigNumber], { from: string; id: BigNumber; operator: string; to: string; value: BigNumber }>
URI:function
- URI(value: null, id: null | BigNumberish): TypedEventFilter<[string, BigNumber], { id: BigNumber; value: string }>
Parameters
value: null
id: null | BigNumberish
Returns TypedEventFilter<[string, BigNumber], { id: BigNumber; value: string }>
functions
functions: { MINTER_ROLE: any; MINTER_ROLE(): any; amms: any; amms(uint64): any; balanceOf: any; balanceOf(address,uint256): any; balanceOfBatch: any; balanceOfBatch(address[],uint256[]): any; burnFrom: any; burnFrom(address,uint256,uint256): any; getAMMId: any; getAMMId(uint256): any; getPairId: any; getPairId(uint256): any; getPeriodIndex: any; getPeriodIndex(uint256): any; grantRole: any; grantRole(bytes32,address): any; isApprovedForAll: any; isApprovedForAll(address,address): any; mint: any; mint(address,uint64,uint64,uint32,uint256,bytes): any; safeBatchTransferFrom: any; safeBatchTransferFrom(address,address,uint256[],uint256[],bytes): any; safeTransferFrom: any; safeTransferFrom(address,address,uint256,uint256,bytes): any; setApprovalForAll: any; setApprovalForAll(address,bool): any; supportsInterface: any; supportsInterface(bytes4): any }
Type declaration
MINTER_ROLE:function
- MINTER_ROLE(overrides?: CallOverrides): Promise<[string]>
Parameters
Optional overrides: CallOverrides
Returns Promise<[string]>
MINTER_ROLE():function
- MINTER_ROLE()(overrides?: CallOverrides): Promise<[string]>
Parameters
Optional overrides: CallOverrides
Returns Promise<[string]>
amms:function
- amms(_ammId: BigNumberish, overrides?: CallOverrides): Promise<[string]>
Parameters
_ammId: BigNumberish
Optional overrides: CallOverrides
Returns Promise<[string]>
amms(uint64):function
- amms(uint64)(_ammId: BigNumberish, overrides?: CallOverrides): Promise<[string]>
Parameters
_ammId: BigNumberish
Optional overrides: CallOverrides
Returns Promise<[string]>
balanceOf:function
- balanceOf(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
Parameters
account: string
id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<[BigNumber]>
balanceOf(address,uint256):function
- balanceOf(address,uint256)(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
Parameters
account: string
id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<[BigNumber]>
balanceOfBatch:function
- balanceOfBatch(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<[BigNumber[]]>
Parameters
accounts: string[]
ids: BigNumberish[]
Optional overrides: CallOverrides
Returns Promise<[BigNumber[]]>
balanceOfBatch(address[],uint256[]):function
- balanceOfBatch(address[],uint256[])(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<[BigNumber[]]>
Parameters
accounts: string[]
ids: BigNumberish[]
Optional overrides: CallOverrides
Returns Promise<[BigNumber[]]>
burnFrom:function
- burnFrom(account: string, id: BigNumberish, value: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
account: string
id: BigNumberish
value: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
burnFrom(address,uint256,uint256):function
- burnFrom(address,uint256,uint256)(account: string, id: BigNumberish, value: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
account: string
id: BigNumberish
value: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
getAMMId:function
- getAMMId(_id: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<[BigNumber]>
getAMMId(uint256):function
- getAMMId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<[BigNumber]>
getPairId:function
- getPairId(_id: BigNumberish, overrides?: CallOverrides): Promise<[number]>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<[number]>
getPairId(uint256):function
- getPairId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<[number]>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<[number]>
getPeriodIndex:function
- getPeriodIndex(_id: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<[BigNumber]>
getPeriodIndex(uint256):function
- getPeriodIndex(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<[BigNumber]>
grantRole:function
- grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
role: BytesLike
account: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
grantRole(bytes32,address):function
- grantRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
role: BytesLike
account: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
isApprovedForAll:function
- isApprovedForAll(account: string, operator: string, overrides?: CallOverrides): Promise<[boolean]>
Parameters
account: string
operator: string
Optional overrides: CallOverrides
Returns Promise<[boolean]>
isApprovedForAll(address,address):function
- isApprovedForAll(address,address)(account: string, operator: string, overrides?: CallOverrides): Promise<[boolean]>
Parameters
account: string
operator: string
Optional overrides: CallOverrides
Returns Promise<[boolean]>
mint:function
- mint(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
to: string
_ammId: BigNumberish
_periodIndex: BigNumberish
_pairId: BigNumberish
amount: BigNumberish
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
mint(address,uint64,uint64,uint32,uint256,bytes):function
- mint(address,uint64,uint64,uint32,uint256,bytes)(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
to: string
_ammId: BigNumberish
_periodIndex: BigNumberish
_pairId: BigNumberish
amount: BigNumberish
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
safeBatchTransferFrom:function
- safeBatchTransferFrom(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
from: string
to: string
ids: BigNumberish[]
amounts: BigNumberish[]
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
safeBatchTransferFrom(address,address,uint256[],uint256[],bytes):function
- safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
from: string
to: string
ids: BigNumberish[]
amounts: BigNumberish[]
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
safeTransferFrom:function
- safeTransferFrom(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
from: string
to: string
id: BigNumberish
amount: BigNumberish
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
safeTransferFrom(address,address,uint256,uint256,bytes):function
- safeTransferFrom(address,address,uint256,uint256,bytes)(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
from: string
to: string
id: BigNumberish
amount: BigNumberish
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
setApprovalForAll:function
- setApprovalForAll(operator: string, approved: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
operator: string
approved: boolean
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
setApprovalForAll(address,bool):function
- setApprovalForAll(address,bool)(operator: string, approved: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
operator: string
approved: boolean
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
supportsInterface:function
- supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<[boolean]>
Parameters
interfaceId: BytesLike
Optional overrides: CallOverrides
Returns Promise<[boolean]>
supportsInterface(bytes4):function
- supportsInterface(bytes4)(interfaceId: BytesLike, overrides?: CallOverrides): Promise<[boolean]>
Parameters
interfaceId: BytesLike
Optional overrides: CallOverrides
Returns Promise<[boolean]>
interface
interface: ILPTokenInterface
populateTransaction
populateTransaction: { MINTER_ROLE: any; MINTER_ROLE(): any; amms: any; amms(uint64): any; balanceOf: any; balanceOf(address,uint256): any; balanceOfBatch: any; balanceOfBatch(address[],uint256[]): any; burnFrom: any; burnFrom(address,uint256,uint256): any; getAMMId: any; getAMMId(uint256): any; getPairId: any; getPairId(uint256): any; getPeriodIndex: any; getPeriodIndex(uint256): any; grantRole: any; grantRole(bytes32,address): any; isApprovedForAll: any; isApprovedForAll(address,address): any; mint: any; mint(address,uint64,uint64,uint32,uint256,bytes): any; safeBatchTransferFrom: any; safeBatchTransferFrom(address,address,uint256[],uint256[],bytes): any; safeTransferFrom: any; safeTransferFrom(address,address,uint256,uint256,bytes): any; setApprovalForAll: any; setApprovalForAll(address,bool): any; supportsInterface: any; supportsInterface(bytes4): any }
Type declaration
MINTER_ROLE:function
- MINTER_ROLE(overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
MINTER_ROLE():function
- MINTER_ROLE()(overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
amms:function
- amms(_ammId: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
_ammId: BigNumberish
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
amms(uint64):function
- amms(uint64)(_ammId: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
_ammId: BigNumberish
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
balanceOf:function
- balanceOf(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
account: string
id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
balanceOf(address,uint256):function
- balanceOf(address,uint256)(account: string, id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
account: string
id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
balanceOfBatch:function
- balanceOfBatch(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
accounts: string[]
ids: BigNumberish[]
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
balanceOfBatch(address[],uint256[]):function
- balanceOfBatch(address[],uint256[])(accounts: string[], ids: BigNumberish[], overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
accounts: string[]
ids: BigNumberish[]
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
burnFrom:function
- burnFrom(account: string, id: BigNumberish, value: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
account: string
id: BigNumberish
value: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
burnFrom(address,uint256,uint256):function
- burnFrom(address,uint256,uint256)(account: string, id: BigNumberish, value: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
account: string
id: BigNumberish
value: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
getAMMId:function
- getAMMId(_id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
getAMMId(uint256):function
- getAMMId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
getPairId:function
- getPairId(_id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
getPairId(uint256):function
- getPairId(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
getPeriodIndex:function
- getPeriodIndex(_id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
getPeriodIndex(uint256):function
- getPeriodIndex(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
_id: BigNumberish
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
grantRole:function
- grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
role: BytesLike
account: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
grantRole(bytes32,address):function
- grantRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
role: BytesLike
account: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
isApprovedForAll:function
- isApprovedForAll(account: string, operator: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
account: string
operator: string
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
isApprovedForAll(address,address):function
- isApprovedForAll(address,address)(account: string, operator: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
account: string
operator: string
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
mint:function
- mint(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
to: string
_ammId: BigNumberish
_periodIndex: BigNumberish
_pairId: BigNumberish
amount: BigNumberish
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
mint(address,uint64,uint64,uint32,uint256,bytes):function
- mint(address,uint64,uint64,uint32,uint256,bytes)(to: string, _ammId: BigNumberish, _periodIndex: BigNumberish, _pairId: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
to: string
_ammId: BigNumberish
_periodIndex: BigNumberish
_pairId: BigNumberish
amount: BigNumberish
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
safeBatchTransferFrom:function
- safeBatchTransferFrom(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
from: string
to: string
ids: BigNumberish[]
amounts: BigNumberish[]
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
safeBatchTransferFrom(address,address,uint256[],uint256[],bytes):function
- safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)(from: string, to: string, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
from: string
to: string
ids: BigNumberish[]
amounts: BigNumberish[]
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
safeTransferFrom:function
- safeTransferFrom(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
from: string
to: string
id: BigNumberish
amount: BigNumberish
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
safeTransferFrom(address,address,uint256,uint256,bytes):function
- safeTransferFrom(address,address,uint256,uint256,bytes)(from: string, to: string, id: BigNumberish, amount: BigNumberish, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
from: string
to: string
id: BigNumberish
amount: BigNumberish
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
setApprovalForAll:function
- setApprovalForAll(operator: string, approved: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
operator: string
approved: boolean
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
setApprovalForAll(address,bool):function
- setApprovalForAll(address,bool)(operator: string, approved: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
operator: string
approved: boolean
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
supportsInterface:function
- supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
interfaceId: BytesLike
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
supportsInterface(bytes4):function
- supportsInterface(bytes4)(interfaceId: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
interfaceId: BytesLike
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
Readonly provider
provider: Provider
Readonly resolvedAddress
resolvedAddress: Promise<string>
Readonly signer
signer: Signer