UNPKG

@antefinance/ante-sdk

Version:

Library for interacting with Ante smart contracts

11 lines (10 loc) 406 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NFTGate = void 0; const viem_1 = require("viem"); const buildConfiguration = (manager, nftAddress) => { return (0, viem_1.encodeAbiParameters)([{ type: 'address' }, { type: 'bytes' }], [manager, (0, viem_1.encodeAbiParameters)([{ type: 'address' }], [nftAddress])]); }; exports.NFTGate = { buildConfiguration, };