approve_moolah_vault
Approve TRC20 token spending for a Moolah vault before deposit. Use exact amount or 'max' for unlimited approval (user must opt in).
Instructions
Approve TRC20 token spending for a Moolah vault before depositing. Not needed for TRX vaults. Pass the EXACT amount you intend to deposit (recommended). Pass amount='max' for unlimited approval ONLY when the user explicitly opts in — it lets the vault contract spend the user's entire balance, present and future, until revoked (amount='0').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Exact amount to approve (e.g. '100'), or 'max' for unlimited (NOT recommended; user must opt in). | |
| network | No | Network. Default: mainnet | |
| vaultSymbol | Yes | Vault symbol: 'USDT' or 'USDD' |