Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 317b3d3

Browse files
committedJan 10, 2025·
"fix : removed minor import into exchange"
1 parent 6bc3a79 commit 317b3d3

File tree

1 file changed

+0
-59
lines changed
  • packages/plugin-injective/injective-sdk-client-ts/src/template

1 file changed

+0
-59
lines changed
 

‎packages/plugin-injective/injective-sdk-client-ts/src/template/exchange.ts

-59
Original file line numberDiff line numberDiff line change
@@ -1694,65 +1694,6 @@ This query retrieves the atomic swap history based on provided parameters within
16941694
\`\`\`
16951695
`;
16961696

1697-
export const msgBidTemplate = `
1698-
### Place Derivative Bid
1699-
1700-
**Description**:
1701-
This message broadcasts a transaction to place a bid in a specific derivative auction round within the Exchange module. Placing a bid allows participants to compete for the auctioned derivative contracts by offering a certain amount of INJ tokens. Successfully placing a bid updates the bid records, reflecting the participant's commitment to acquire the derivative assets. Monitoring bids is essential for understanding market participation, assessing bid competitiveness, and strategizing future bidding behaviors.
1702-
1703-
**Request Format**:
1704-
\`\`\`json
1705-
{
1706-
"round": number, // Auction round number to bid in (e.g., 1, 2, 3)
1707-
"amount": string // Amount to bid (e.g., "1000") in INJ_DENOM
1708-
}
1709-
\`\`\`
1710-
1711-
**Example Request**:
1712-
\`\`\`json
1713-
{
1714-
"round": 1,
1715-
"amount": "1000"
1716-
}
1717-
\`\`\`
1718-
1719-
**Response Format**:
1720-
\`\`\`json
1721-
{
1722-
"height": number,
1723-
"txHash": string, // Transaction hash
1724-
"codespace": string,
1725-
"code": number,
1726-
"data": string, // Optional: Base64 encoded data containing transaction details
1727-
"rawLog": string,
1728-
"logs": [], // Optional
1729-
"info": string, // Optional
1730-
"gasWanted": number,
1731-
"gasUsed": number,
1732-
"timestamp": string,
1733-
"events": [] // Optional
1734-
}
1735-
\`\`\`
1736-
1737-
**Example Response**:
1738-
\`\`\`json
1739-
{
1740-
"height": 125024,
1741-
"txHash": "XYZ789bidsuccessxyz...",
1742-
"codespace": "",
1743-
"code": 0,
1744-
"data": "CgpidWlkAA==",
1745-
"rawLog": "[{\"events\": [{\"type\": \"bid\", \"attributes\": [{\"key\": \"round\", \"value\": \"1\"}, {\"key\": \"injective_address\", \"value\": \"inj1sender123...\"}, {\"key\": \"amount\", \"value\": \"1000INJ\"}]}]}]",
1746-
"logs": [],
1747-
"info": "",
1748-
"gasWanted": 200000,
1749-
"gasUsed": 160000,
1750-
"timestamp": "2025-10-25T10:00:00Z",
1751-
"events": []
1752-
}
1753-
\`\`\`
1754-
`;
1755-
17561697
export const msgAdminUpdateBinaryOptionsMarketTemplate = `
17571698
### Admin Update Binary Options Market
17581699

0 commit comments

Comments
 (0)
Please sign in to comment.