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.

17 lines (16 loc) 346 B
const action = ({ contractName, ownerAccountName, toAccountName, tokenAmount, memo, permission }) => ( { account: contractName, name: 'issue', authorization: [{ actor: ownerAccountName, permission }], data: { to: toAccountName, quantity: tokenAmount, memo } } ); module.exports = action;