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 601 B
"use strict"; var action = function (_a) { var accountName = _a.accountName, appName = _a.appName, contractName = _a.contractName, permission = _a.permission, whitelistAccount = _a.whitelistAccount; return ({ account: contractName, name: 'whitelist', authorization: [{ actor: accountName, permission: permission }], data: { owner: accountName, account: whitelistAccount, dapp: appName } }); }; module.exports = action; //# sourceMappingURL=createBridge_whitelist.js.map