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.

20 lines 643 B
"use strict"; var action = function (_a) { var contractName = _a.contractName, issuer_whitelist = _a.issuer_whitelist, oreAccountName = _a.oreAccountName, right_name = _a.right_name, urls = _a.urls; return ({ account: contractName, name: 'upsertright', authorization: [{ actor: oreAccountName, permission: 'active' }], data: { issuer: oreAccountName, right_name: right_name, urls: urls, issuer_whitelist: issuer_whitelist } }); }; module.exports = action; //# sourceMappingURL=ore_upsertRight.js.map