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 (17 loc) 366 B
const action = ({ contractName, issuer_whitelist, oreAccountName, right_name, urls }) => ( { account: contractName, name: 'upsertright', authorization: [{ actor: oreAccountName, permission: 'active' }], data: { issuer: oreAccountName, right_name, urls, issuer_whitelist } } ); module.exports = action;