@coinbase/agentkit
Version:
Coinbase AgentKit core primitives
21 lines (20 loc) • 685 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.UnwrapEthSchema = exports.WrapEthSchema = void 0;
const zod_1 = require("zod");
exports.WrapEthSchema = zod_1.z
.object({
amountToWrap: zod_1.z
.string()
.describe("Amount of ETH to wrap in human-readable format (e.g., 0.1 for 0.1 ETH)"),
})
.strip()
.describe("Instructions for wrapping ETH to WETH");
exports.UnwrapEthSchema = zod_1.z
.object({
amountToUnwrap: zod_1.z
.string()
.describe("Amount of WETH to unwrap in human-readable format (e.g., 0.1 for 0.1 WETH)"),
})
.strip()
.describe("Instructions for unwrapping WETH to ETH");