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