Coder Social home page Coder Social logo

daccustodian's People

Contributors

dali1986 avatar dallas-lbg avatar dallasjohnson avatar deniscarriere avatar jchung00 avatar lukestokes avatar michaeljyeates avatar velua avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

daccustodian's Issues

Set permissions on dacauthority when an election is completed

The account (configurable) dacauthority on jungle needs to have its permissions updated when an election is complete.

dacauthority has a permission called election which has action permissions for setauth, this should allow the code at dacelections to update the authority

Claim all doesn't work

Possible issue is failing a duplication check. If we add the payid into the memo, would that work?

Hash of bio in candidates struct

It says in the Readme that the hash of the bio is on the candidates table but it is not there. It doesn't seem like it's actually part of the struct and the updatebio action doesn't actually emplace anything onto the table.

Start the DAC with only Active permissions being modified each election period.

Leave the owner permissions as is for now (i.e. Michael, Rob, Luke) until the elected Custodians are completely confident with the functioning of the DAC, then they can create a worker proposal to modify the code to include owner permission changing also. This bit of centralization in the beginning makes sense to protect the DAC and was discussed in the all-hands meeting and dev meeting on Sep 24th.

This may be a local issue on my computer, but I can't seem to generate the abi file

Both this:

eosio-abigen daccustodian.hpp -contract lukedaccusto -output output/jungle/daccustodian/daccustodian.abi 

and this:

eosio-cpp -DTOKENCONTRACT='"lukedactoken"' -DTRANSFER_DELAY=20 -o output/jungle/daccustodian/daccustodian.wasm daccustodian.cpp -abigen

create an abi file which is basically empty. Any idea what I'm doing wrong?

Thanks!

dacauthority hard coded on initial set up

I'm working to get an example DAC up and running on Jungle and I noticed I can't call the updateconfig method because it uses the defaults which are set as dacauthority. I talked it through with michael and this seems like the best place to make an improvement: https://github.com/eosdac/daccustodian/blob/master/config.cpp#L4

Something like:

if (...config has been updated, config table isn't empty, etc...) {
require_auth(configs().authaccount);
} else {
require_auth(_self);
}

As it is now, I have to manually adjust the hpp file to change the default to my own dac authority account in order to update the config.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.