@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.
21 lines • 707 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
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
}
});
};
exports.default = action;
//# sourceMappingURL=ore_upsertRight.js.map