invest_usdc_to_gblin
Invest surplus USDC into GBLIN when idle balance exceeds operating needs. Generates approve and buy calldata to mint managed crypto exposure at NAV, redeemable via USDC swap.
Instructions
When your agent's idle USDC exceeds operating needs (rule of thumb: more than 7x daily burn), call this to park the SURPLUS into GBLIN — managed crypto exposure minted at NAV, redeemable any time via swap_gblin_to_usdc_jit. Returns two steps of calldata: (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 to call. The mint fee and the yearly management fee are governance parameters: read them live from get_treasury_state rather than from this text.
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 |