Pendle · Schema
CreateLimitOrderDto
Web3DeFiYield TokenizationCryptoPrincipal TokensYield TokensAMMLiquidity Pools
Properties
| Name | Type | Description |
|---|---|---|
| chainId | number | Chain Id |
| signature | string | Signature of order, signed by maker |
| salt | string | BigInt string of salt |
| expiry | string | BigInt string of expiry |
| nonce | string | BigInt string of nonce |
| type | number | LimitOrderType { 0 : TOKEN_FOR_PT, 1 : PT_FOR_TOKEN, 2 : TOKEN_FOR_YT, 3 : YT_FOR_TOKEN } |
| token | string | Token used by user to make order |
| yt | string | YT address |
| maker | string | Maker address |
| receiver | string | Receiver address |
| makingAmount | string | BigInt string of making amount |
| lnImpliedRate | string | BigInt string of lnImpliedRate |
| failSafeRate | string | BigInt string of failSafeRate |
| permit | string | Bytes string for permit |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CreateLimitOrderDto",
"type": "object",
"properties": {
"chainId": {
"type": "number",
"description": "Chain Id"
},
"signature": {
"type": "string",
"description": "Signature of order, signed by maker"
},
"salt": {
"type": "string",
"description": "BigInt string of salt"
},
"expiry": {
"type": "string",
"description": "BigInt string of expiry"
},
"nonce": {
"type": "string",
"description": "BigInt string of nonce"
},
"type": {
"type": "number",
"enum": [
0,
1,
2,
3
],
"description": "LimitOrderType { 0 : TOKEN_FOR_PT, 1 : PT_FOR_TOKEN, 2 : TOKEN_FOR_YT, 3 : YT_FOR_TOKEN }"
},
"token": {
"type": "string",
"description": "Token used by user to make order"
},
"yt": {
"type": "string",
"description": "YT address"
},
"maker": {
"type": "string",
"description": "Maker address"
},
"receiver": {
"type": "string",
"description": "Receiver address"
},
"makingAmount": {
"type": "string",
"description": "BigInt string of making amount"
},
"lnImpliedRate": {
"type": "string",
"description": "BigInt string of lnImpliedRate"
},
"failSafeRate": {
"type": "string",
"description": "BigInt string of failSafeRate"
},
"permit": {
"type": "string",
"description": "Bytes string for permit"
}
},
"required": [
"chainId",
"signature",
"salt",
"expiry",
"nonce",
"type",
"token",
"yt",
"maker",
"receiver",
"makingAmount",
"lnImpliedRate",
"failSafeRate",
"permit"
]
}