Prepare: short gAIX
gaix_short_openUnsigned transactions to open (or add to) a gAIX short from the wallet: approve the USDG deposit (when needed), then open, which borrows the gAIX and sells it through Goldstein's pool, the sale money joining the deposit. Goes through when the hook takes at most 2% and the sale brings at least 95% of gAIX's price; stops at the desk's room and at three quarters of the limit; waits while the desk is paused. The open needs a gas limit of at least 12,000,000 (its transaction carries gas). Simulated from the wallet.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wallet": "<wallet>",
"amount": "<amount>"
},
"name": "gaix_short_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | gAIX to short, as a decimal string, like "5" | |
| wallet | Yes | The wallet's address (0x...); the transactions are built for it to sign | |
| deposit | No | USDG to deposit with it, as a decimal string, like "200" |