Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

bounty 7 - proposal #25

Open
catShaark opened this issue Apr 9, 2022 · 12 comments
Open

bounty 7 - proposal #25

catShaark opened this issue Apr 9, 2022 · 12 comments

Comments

@catShaark
Copy link

catShaark commented Apr 9, 2022

what I'll do:

  • score accounts based on gov votes, delegations and other factors ( like @jaekwon said in his tweet )
  • try to identify whales and nuke them ?
  • track atoms from tainted accounts ( like @jaekwon said in his tweet ), tainted account is like account which score below some point threshold

this should be a simple loop through gaia4's data with some custom logic

@catShaark
Copy link
Author

account scorer should probably configured by something like this

{
    "PointCap": 2,
    "Actions": {
        "Votes": [
            {
                "Vote": {
                    "proposal_id": 1
                },
                "Point": 0.2
            }
        ],
        "Delegations": [
            {
                "Delegation": {

                },
                "Point": 0.1
            }
        
        ]
    },
    "PointPer": {
        "Vote": {
            "Point" : 0.001
        }
    }
    
}

@catShaark
Copy link
Author

@catShaark
Copy link
Author

Output artifacts should include a separate table of coins (being updated per block).

Do you mean export all atom balances for each new block and put them in a csv file or so?

@jaekwon
Copy link
Contributor

jaekwon commented Apr 10, 2022

wow catshaark, you are just diving in. awesome start, i'll make sure your work is included in the bounty payment.

I think the approach you started will take too long to implement. it's basically re-implementing the accounting logic that already exists for cosmoshub-4. if it uses HTTP RPC it's also probably super slow.

Let's change course with these bounties and figure out what we should do. I will add my thoughts here:

https://github.com/gnolang/bounties/issues/24#issuecomment-1094298684

@vuong177
Copy link

hello @jaekwon, i'am Vuong, i working with @catShaark.
we are using asynchronous query. It faster than normal RPC. I tested and it 8~10x faster .

@catShaark
Copy link
Author

I forgot to mention @nguyenvuong1122000 is working with me on this

@catShaark
Copy link
Author

update: our code can track blended coins and track gov votes like you mentioned in part 2 and part 3, but for now It can only track coins sent by bank send message

@vuong177
Copy link

vuong177 commented Apr 15, 2022

We use db direct, so it faster than normal rpc query. Our code can query one milion blocks in 10 min.

@vuong177
Copy link

vuong177 commented Apr 15, 2022

@vuong177
Copy link

@jaekwon do we need check swap coin in gravity-dex ?

@jaekwon
Copy link
Contributor

jaekwon commented Jun 13, 2022

Hi, sorry there were several approaches, and we decided to close this out as is.
Can you provide your cosmos addresses please?

@vuong177
Copy link

Yes. This is our address : cosmos1maee2cq9azg9eeyxhg5un48mncewfel4scunfm.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants