invest_usdc_to_gblin
Returns calldata to approve USDC and buy GBLIN, converting USDC into a cbBTC, WETH and USDC basket minted at NAV so agents can invest idle USDC on Base.
Instructions
Returns calldata that converts a USDC amount into GBLIN, a basket of cbBTC, WETH and USDC minted at NAV and redeemable at any time. Two steps: (1) approve USDC to the GBLIN Zap, (2) GBLINZap.buyGBLINWithToken, which swaps the USDC to WETH on Uniswap V3 and mints at NAV with a non-zero minimum output. Free. The mint fee and the yearly management fee are governance parameters read live from the vault, not fixed in this text.
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": {
"usdc_amount": "<usdc_amount>",
"wallet_address": "<wallet_address>"
},
"name": "invest_usdc_to_gblin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usdc_amount | Yes | USDC amount to invest (decimal string). | |
| wallet_address | Yes | User's wallet address that holds the USDC and signs the transactions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | Transactions to send in order. | |
| action | Yes | Always sequential_txs: send the steps one after the other. | |
| expected | Yes | Shares expected and the minimum applied. | |
| gas_hint | Yes | Gas limit to set on the Zap step. | |
| security | No | ||
| gas_hint_note | No |