|
| 1 | +export const getAuctionModuleParamsExample = [ |
| 2 | + { |
| 3 | + user: "{{user1}}", |
| 4 | + content: { |
| 5 | + text: "Retrieve the auction module parameters, including the auction period and the minimum next bid increment rate." |
| 6 | + }, |
| 7 | + }, |
| 8 | + { |
| 9 | + user: "{{user2}}", |
| 10 | + content: { |
| 11 | + text: "Auction module parameters retrieved successfully.", |
| 12 | + action: "GET_AUCTION_MODULE_PARAMS", |
| 13 | + content: { |
| 14 | + auctionPeriod: 7200, |
| 15 | + minNextBidIncrementRate: "0.05" |
| 16 | + }, |
| 17 | + }, |
| 18 | + }, |
| 19 | +]; |
| 20 | + |
| 21 | +export const getAuctionModuleStateExample = [ |
| 22 | + { |
| 23 | + user: "{{user1}}", |
| 24 | + content: { |
| 25 | + text: "Get the current state of the auction module, including parameters, auction round, highest bid, and auction ending timestamp." |
| 26 | + }, |
| 27 | + }, |
| 28 | + { |
| 29 | + user: "{{user2}}", |
| 30 | + content: { |
| 31 | + text: "Auction module state retrieved successfully.", |
| 32 | + action: "GET_AUCTION_MODULE_STATE", |
| 33 | + content: { |
| 34 | + params: { |
| 35 | + auctionPeriod: 7200, |
| 36 | + minNextBidIncrementRate: "0.05" |
| 37 | + }, |
| 38 | + auctionRound: 12, |
| 39 | + highestBid: { |
| 40 | + bidder: "inj1xmpl3bidderaddress", |
| 41 | + amount: "2500000000" |
| 42 | + }, |
| 43 | + auctionEndingTimestamp: 1700000000 |
| 44 | + }, |
| 45 | + }, |
| 46 | + }, |
| 47 | +]; |
| 48 | + |
| 49 | +export const getCurrentBasketExample = [ |
| 50 | + { |
| 51 | + user: "{{user1}}", |
| 52 | + content: { |
| 53 | + text: "Fetch the details of the current auction basket, including the list of amounts, auction round, closing time, highest bidder, and highest bid amount." |
| 54 | + }, |
| 55 | + }, |
| 56 | + { |
| 57 | + user: "{{user2}}", |
| 58 | + content: { |
| 59 | + text: "Current auction basket details retrieved successfully.", |
| 60 | + action: "GET_CURRENT_BASKET", |
| 61 | + content: { |
| 62 | + amountList: [ |
| 63 | + { |
| 64 | + denom: "inj", |
| 65 | + amount: "500000000" |
| 66 | + }, |
| 67 | + { |
| 68 | + denom: "usdt", |
| 69 | + amount: "1000000" |
| 70 | + } |
| 71 | + ], |
| 72 | + auctionRound: 12, |
| 73 | + auctionClosingTime: 1700003600, |
| 74 | + highestBidder: "inj1xmpl3bidderaddress", |
| 75 | + highestBidAmount: "2500000000" |
| 76 | + }, |
| 77 | + }, |
| 78 | + }, |
| 79 | +]; |
| 80 | + |
| 81 | +export const getAuctionRoundExample = [ |
| 82 | + { |
| 83 | + user: "{{user1}}", |
| 84 | + content: { |
| 85 | + text: "Retrieve information for auction round number 12." |
| 86 | + }, |
| 87 | + }, |
| 88 | + { |
| 89 | + user: "{{user2}}", |
| 90 | + content: { |
| 91 | + text: "Auction round 12 details retrieved successfully.", |
| 92 | + action: "GET_AUCTION_ROUND", |
| 93 | + content: { |
| 94 | + auction: { |
| 95 | + winner: "inj1w1nn3raddress", |
| 96 | + basketList: [ |
| 97 | + { |
| 98 | + denom: "inj", |
| 99 | + amount: "500000000" |
| 100 | + }, |
| 101 | + { |
| 102 | + denom: "usdt", |
| 103 | + amount: "1000000" |
| 104 | + } |
| 105 | + ], |
| 106 | + winningBidAmount: "2500000000", |
| 107 | + round: 12, |
| 108 | + endTimestamp: 1700000000, |
| 109 | + updatedAt: 1700000000 |
| 110 | + }, |
| 111 | + bids: [ |
| 112 | + { |
| 113 | + bidder: "inj1bidder1address", |
| 114 | + bidAmount: "2000000000", |
| 115 | + bidTimestamp: 1699999000 |
| 116 | + }, |
| 117 | + { |
| 118 | + bidder: "inj1bidder2address", |
| 119 | + bidAmount: "2500000000", |
| 120 | + bidTimestamp: 1699999500 |
| 121 | + } |
| 122 | + ] |
| 123 | + }, |
| 124 | + }, |
| 125 | + }, |
| 126 | +]; |
| 127 | + |
| 128 | +export const getAuctionsExample = [ |
| 129 | + { |
| 130 | + user: "{{user1}}", |
| 131 | + content: { |
| 132 | + text: "Retrieve the list of all past auctions with their details." |
| 133 | + }, |
| 134 | + }, |
| 135 | + { |
| 136 | + user: "{{user2}}", |
| 137 | + content: { |
| 138 | + text: "List of auctions retrieved successfully.", |
| 139 | + action: "GET_AUCTIONS", |
| 140 | + content: [ |
| 141 | + { |
| 142 | + winner: "inj1w1nn3raddress", |
| 143 | + basketList: [ |
| 144 | + { |
| 145 | + denom: "inj", |
| 146 | + amount: "500000000" |
| 147 | + }, |
| 148 | + { |
| 149 | + denom: "usdt", |
| 150 | + amount: "1000000" |
| 151 | + } |
| 152 | + ], |
| 153 | + winningBidAmount: "2500000000", |
| 154 | + round: 12, |
| 155 | + endTimestamp: 1700000000, |
| 156 | + updatedAt: 1700000000 |
| 157 | + }, |
| 158 | + { |
| 159 | + winner: "inj1w1nn3raddress2", |
| 160 | + basketList: [ |
| 161 | + { |
| 162 | + denom: "inj", |
| 163 | + amount: "750000000" |
| 164 | + }, |
| 165 | + { |
| 166 | + denom: "usdt", |
| 167 | + amount: "1500000" |
| 168 | + } |
| 169 | + ], |
| 170 | + winningBidAmount: "3500000000", |
| 171 | + round: 11, |
| 172 | + endTimestamp: 1699996400, |
| 173 | + updatedAt: 1699996400 |
| 174 | + } |
| 175 | + ] |
| 176 | + }, |
| 177 | + }, |
| 178 | +]; |
| 179 | + |
| 180 | +export const msgBidExample = [ |
| 181 | + { |
| 182 | + user: "{{user1}}", |
| 183 | + content: { |
| 184 | + text: "Place a bid of 2600000000 INJ_DENOM in auction round 12." |
| 185 | + }, |
| 186 | + }, |
| 187 | + { |
| 188 | + user: "{{user2}}", |
| 189 | + content: { |
| 190 | + text: "Bid placed successfully.", |
| 191 | + action: "PLACE_BID", |
| 192 | + content: { |
| 193 | + round: 12, |
| 194 | + amount: "2600000000" |
| 195 | + } |
| 196 | + }, |
| 197 | + }, |
| 198 | +]; |
| 199 | + |
| 200 | +export const msgBidResponseExample = [ |
| 201 | + { |
| 202 | + user: "{{user1}}", |
| 203 | + content: { |
| 204 | + text: "Confirm the bid transaction." |
| 205 | + }, |
| 206 | + }, |
| 207 | + { |
| 208 | + user: "{{user2}}", |
| 209 | + content: { |
| 210 | + text: "Bid transaction processed.", |
| 211 | + action: "BID_TRANSACTION_RESPONSE", |
| 212 | + content: { |
| 213 | + txHash: "0xabc123def456ghi789jkl012mno345pqr678stu901vwx234yz", |
| 214 | + success: true |
| 215 | + } |
| 216 | + }, |
| 217 | + }, |
| 218 | +]; |
0 commit comments