UNPKG

@open-rights-exchange/orejs

Version:

Orejs is a Javascript helper library to provide simple high-level access to the ore-protocol. Orejs uses eosJS as a wrapper to the EOS blockchain.

19 lines 647 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var action = function (_a) { var contractName = _a.contractName, ownerAccountName = _a.ownerAccountName, toAccountName = _a.toAccountName, tokenAmount = _a.tokenAmount, permission = _a.permission; return ({ account: contractName, name: 'create', authorization: [{ actor: ownerAccountName, permission: permission }], data: { issuer: toAccountName, maximum_supply: tokenAmount } }); }; exports.default = action; //# sourceMappingURL=token_create.js.map