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.

18 lines 548 B
"use strict"; var action = function (_a) { var contractName = _a.contractName, ownerAccountName = _a.ownerAccountName, tokenAmount = _a.tokenAmount, memo = _a.memo, permission = _a.permission; return ({ account: contractName, name: 'retire', authorization: [{ actor: ownerAccountName, permission: permission }], data: { quantity: tokenAmount, memo: memo } }); }; module.exports = action; //# sourceMappingURL=token_retire.js.map