@agentek/tools
Version:
Blockchain tools for AI agents
35 lines • 1.39 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.slowTransferTools = slowTransferTools;
const client_js_1 = require("../client.js");
const tools_js_1 = require("./tools.js");
const intents_js_1 = require("./intents.js");
/**
* Export an array of tools for slow transfer protocol.
* LINK: https://github.com/z0r0z/slow
* SLOW is a protocol that adds safety mechanisms to token transfers through two powerful features:
*
* Timelock: Enforces a waiting period before recipients can access transferred tokens
* Guardian: Optional trusted party that can approve or block transfers
* Think of it as a security-enhanced way to transfer ETH and ERC20 tokens with built-in protection mechanisms.
*
*/
function slowTransferTools() {
return (0, client_js_1.createToolCollection)([
// tools
tools_js_1.getSlowStatus,
tools_js_1.predictTransferId,
tools_js_1.canUnlockSlow,
tools_js_1.reverseSlowTransfer,
tools_js_1.getSlowGuardianInfo,
tools_js_1.approveSlowTransfer,
// intents
intents_js_1.intentDepositToSlow,
intents_js_1.intentSetSlowGuardian,
intents_js_1.intentWithdrawFromSlow,
intents_js_1.intentApproveSlowTransfer,
intents_js_1.intentUnlockSlow,
intents_js_1.intentReverseSlowTransfer,
]);
}
//# sourceMappingURL=index.js.map