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 612 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); 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 } }); }; exports.default = action; //# sourceMappingURL=token_retire.js.map