"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const transaction = require("./transaction");
function registerIssuer(name, desc, secret, secondSecret) {
    return transaction.createTransactionEx({
        type: 100,
        fee: String(100 * 1e8),
        args: [name, desc],
        secret: secret,
        secondSecret: secondSecret,
    });
}
exports.registerIssuer = registerIssuer;
function registerAsset(name, desc, maximum, precision, secret, secondSecret) {
    return transaction.createTransactionEx({
        type: 101,
        fee: String(500 * 1e8),
        args: [name, desc, maximum, precision],
        secret: secret,
        secondSecret: secondSecret,
    });
}
exports.registerAsset = registerAsset;
function issue(currency, amount, secret, secondSecret) {
    return transaction.createTransactionEx({
        type: 102,
        fee: String(0.1 * 1e8),
        args: [currency, amount],
        secret: secret,
        secondSecret: secondSecret,
    });
}
exports.issue = issue;
function transfer(currency, amount, recipientId, message, secret, secondSecret) {
    return transaction.createTransactionEx({
        type: 103,
        fee: String(0.1 * 1e8),
        args: [currency, amount, recipientId],
        secret,
        secondSecret,
        message,
    });
}
exports.transfer = transfer;
//# sourceMappingURL=uia.js.map