 **Each weekday leading up to devcon2, Nexus will highlight a dapp, library, or package (something with a `dappfile`) as a promotion of our toolchain and as case studies for other developers. [Yesterday's Post.](https://steemit.com/ethereum/@nikolai/dapp-a-day-3-eth-token-wrapper)** `ds-auth` is an opinionated access control pattern. It is an extension of the "owner" pattern which allow switching the contract into "ACL lookup" mode. https://github.com/nexusdev/ds-auth The dual control modes allow making sequences of administrative changes on-chain easier to write in the form of "update" contracts. There may be some more usability/safety upgrades (like using distinct addresses and doing additional sanity checks when switching modes during handoffs), but it will likely be a major version upgrade. You might notice that `DSBasicAuthority is DSAuth`. It's turtles all the way down! The control hierarchy should be "rooted" in something other than one of the given Authority types. Tomorrow we will introduce one example: A fixed multisig actor.
author | nikolai |
---|---|
permlink | dapp-a-day-4-access-control-via-auth |
category | ethereum |
json_metadata | {"tags":["ethereum","dapp","blockchain","cryptocurrency"],"image":["https://i.imgur.com/JoJ8cXZ.png"]} |
created | 2016-08-11 19:24:09 |
last_update | 2016-08-11 19:24:09 |
depth | 0 |
children | 2 |
last_payout | 2016-09-11 08:59:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 34.226 HBD |
curator_payout_value | 3.599 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,104 |
author_reputation | 9,571,877,600,096 |
root_title | "Dapp-a-day 4: Access Control via `auth`" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 750,988 |
net_rshares | 21,630,035,277,577 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
anonymous | 0 | 28,850,811,064 | 1% | ||
summon | 0 | 13,184,700,010,593 | 100% | ||
riverhead | 0 | 6,648,656,907,712 | 100% | ||
boy | 0 | 3,080,309,214 | 100% | ||
bue-witness | 0 | 3,738,251,133 | 100% | ||
bunny | 0 | 708,011,473 | 100% | ||
bue | 0 | 51,663,454,385 | 100% | ||
mini | 0 | 1,651,376,192 | 100% | ||
moon | 0 | 208,811,903 | 100% | ||
cass | 0 | 819,020,063,269 | 100% | ||
healthcare | 0 | 612,751,447 | 100% | ||
daniel.pan | 0 | 881,879,840 | 100% | ||
nexusdev | 0 | 1,459,180,114 | 100% | ||
helen.tan | 0 | 287,221,498 | 100% | ||
nikolai | 0 | 19,214,856,238 | 100% | ||
eeks | 0 | 559,578,794,072 | 100% | ||
murh | 0 | 1,809,854,791 | 33.01% | ||
kennyrowe | 0 | 73,603,990,004 | 100% | ||
zebbra2014 | 0 | 4,139,383,401 | 100% | ||
dbrock | 0 | 352,733,312 | 100% | ||
soupernerd | 0 | 223,947,001 | 10% | ||
aaseb | 0 | 3,852,848,108 | 100% | ||
nabilov | 0 | 200,939,481,740 | 100% | ||
walkerlv | 0 | 2,653,759,289 | 100% | ||
weenis | 0 | 164,986,433 | 10% | ||
littlekitty | 0 | 1,219,147,907 | 100% | ||
flandude | 0 | 16,584,829,840 | 100% | ||
stevenh512 | 0 | 60,259,754 | 100% | ||
genzai | 0 | 61,244,681 | 100% | ||
mightypenguin | 0 | 56,121,169 | 100% |
A dapp a day keeps centralization at bay.
author | flandude |
---|---|
permlink | re-nikolai-dapp-a-day-4-access-control-via-auth-20160812t051330468z |
category | ethereum |
json_metadata | {"tags":["ethereum"]} |
created | 2016-08-12 05:13:30 |
last_update | 2016-08-12 05:13:30 |
depth | 1 |
children | 0 |
last_payout | 2016-09-11 08:59:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 41 |
author_reputation | 4,559,808,635,553 |
root_title | "Dapp-a-day 4: Access Control via `auth`" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 759,680 |
net_rshares | 0 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
scivanpoon | 0 | 0 | 100% |
<div> <p> This post has been linked to from another place on Steem. </p> <ul> <li> <a href="https://steemit.com/ethereum/@nexusdev/dapp-a-day-18-erc20-token-vault"> Dapp-a-day 18: ERC20 token vault </a> by <a href="https://steemit.com/@nexusdev"> @nexusdev </a> </li> <li> <a href="https://steemit.com/ethereum/@nexusdev/dapp-a-day-16-ds-burner"> Dapp-a-day 16: DS-burner </a> by <a href="https://steemit.com/@nexusdev"> @nexusdev </a> </li> <li> <a href="https://steemit.com/ethereum/@dbrock/dapp-a-day-16"> Dapp-a-day 16 </a> by <a href="https://steemit.com/@dbrock"> @dbrock </a> </li> <li> <a href="https://steemit.com/ethereum/@nexusdev/dapp-a-day-13-solidity-quirks"> Dapp-a-day 13: Solidity Quirks </a> by <a href="https://steemit.com/@nexusdev"> @nexusdev </a> </li> <li> <a href="https://steemit.com/ethereum/@nexusdev/dapp-a-day-12-ds-base"> Dapp-a-day 12: DSBase – a reasonable base class </a> by <a href="https://steemit.com/@nexusdev"> @nexusdev </a> </li> <li> <a href="https://steemit.com/ethereum/@nexusdev/dapp-a-day-11-whitelist-boring"> Dapp-a-day 11: Whitelist (Boring!) </a> by <a href="https://steemit.com/@nexusdev"> @nexusdev </a> </li> </ul> <p> Learn more about <a href="https://steemit.com/steem/@ontofractal/steem-linkback-bot-v0-3-released"> linkback bot v0.3</a> </p> <p>Upvote if you want the bot to continue posting linkbacks for your posts. Flag if otherwise. Built by @ontofractal</p></div>
author | linkback-bot-v0 |
---|---|
permlink | re-nikolai-dapp-a-day-4-access-control-via-auth-linkbacks |
category | ethereum |
json_metadata | {} |
created | 2016-09-10 19:33:27 |
last_update | 2016-09-10 19:33:27 |
depth | 1 |
children | 0 |
last_payout | 2016-09-11 08:59:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,606 |
author_reputation | 1,915,954,976,722 |
root_title | "Dapp-a-day 4: Access Control via `auth`" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 1,199,805 |
net_rshares | 0 |