Ticket
Last updated
Last updated
Read grey list
** Request **
** Response **
Read the rent expiration date for a ticket
** Request **
** Response **
Read the token address issued under a ticket
** Response **
Read the total token amount issued under a ticket
** Response **
The amount of specified tickets
** Request **
** Response **
Read the ticket address of the owner
** Request **
** Response **
Read whether the ticket is collateralized or not
** Request **
** Response **
Issue a CDS
Transfer a ticket
Take back the NFT ticket after the rental period expires
Params
Type
Description
_tokenId
uint256
ticket token id
Params
Type
Description
isGreyToken
bool
is grey token
** Params**
Type
Description
_tokenId
uint256
ticket token id
_user
address
rent user
Params
Type
Description
timestamp
uint256
rent expired at
Params
Type
Description
miner
address
miner
Params
Type
Description
totalSupply
uint256
ticket total supply
Params
Type
Description
token_id
uint256
ticket id
Params
Type
Description
totalSupply
uint256
a ticket amount
Params
Type
Description
token_id
uint256
ticket id
Params
Type
Description
owner
address
a ticket owner
Params
Type
Description
token_id
uint256
ticket id
Params
Type
Description
isFroze
bool
ticket is frozen
Params
Type
Description
_tokenId
address
ticket id
_leverage
uint256
Leverage,*10,e.g., leverage 1.1 is 11
_baseToken
address
Tokens
_underlyingHash
bytes32
cds content
_isStakeNFT
uint256
Is the collateral nft
_maturityDate
uint256
cds maturity date(seconds)
_initialMargin
uint256
Initial lp amount
_minInvest
uint256
Minimum liquidity investment
Params
Type
Description
from
address
ticket transfer from
to
address
ticket transfer to
ticket_id
uint256
ticket transfer id
amount
uint256
amount=from address balance,just ticket owner have right to transfer
Params
Type
Description
user
address
rent address of user
ticket_id
uint256
ticket transfer id