"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildTokenId = void 0;
var utils_1 = require("ethers/lib/utils");
var terra_1 = require("../terra");
function buildTokenId(address) {
    return ((terra_1.isNativeDenom(address) ? "01" : "00") +
        utils_1.keccak256(Buffer.from(address, "utf-8")).substring(4));
}
exports.buildTokenId = buildTokenId;
