Skip to content

Feat/auto execute #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 18, 2024
Merged

Feat/auto execute #27

merged 5 commits into from
Jun 18, 2024

Conversation

kahwaipd
Copy link
Collaborator

No description provided.

@kahwaipd kahwaipd merged commit 7c2d5f1 into feat/v2 Jun 18, 2024
kahwaipd added a commit that referenced this pull request Jun 24, 2024
* upgraded staking contract

* created minter contract

* fixed all build errors

* updated voting token

* added agent token

* factory is ready for first test

* completed virtual genesis

* added test cases for manual unlocking LP

* added tax function on AgentToken, able to mint AgentToken on contribution

* done testing auto swap tax

* allow founder to withdraw stake amount > initial lock

* prepare for migration

* added migration script

* fixed virtual genesis bug

* make initialLock public

* reward wip

* updated test cases

* wip

* done distribution logic

* done claim reward function

* completed rewards test cases

* fixed failed test cases

* Feat/reward v2 (#24)

V2 upgrades

* added rewards deployment script

* upgraded migrate script

* update with test cases

* updated minter

* Feat/auto execute (#27)

* feat: modified testing to guarantee output amounts (#26)

* auto execute proposal when forVotes == totalSupply

* updated delegate test cases to match v2 changes

* agentDAO proposals will be auto executed

---------

Co-authored-by: twx-pathdao <97669360+twx-pathdao@users.noreply.github.com>

* Feat/v2 changes (#28)

* removed default delegatee

* updated agentToken distribution logic

* added on-chain elo rating

* updated DAO

* adjusted test cases to be compatible with latest change requests

* removed deprecated test cases

* wip

* wip

* upgraded deploy script

* added migration function for agent nft

---------

Co-authored-by: twx-pathdao <97669360+twx-pathdao@users.noreply.github.com>
kahwaipd added a commit that referenced this pull request Mar 27, 2025
kahwaipd added a commit that referenced this pull request May 7, 2025
* fix: issue #22

* fix: issue #23

* fix: issue #24

* fix: issue #26

* fix: issue #8

* fix issue #19

* fix issue #10

* fix issue #27

* fix issue #37

* fix issue #28

* fix issue #11

* fix issue 9 & 13

* updated deployment info

* added salt to token creation

* simplified onGenesisSuccess

* add extra set function with salt

* fixed contract size too big issue

* revert

* Optimized Genesis.sol contract size

* updated FGenesis params validation

* fix bonding_role upgrade and remove balance check in participate()

* add Insufficient Agent Token balance check in onGenesisSuccess

* update base-sepolia.json

* fix unable to graduate multiple agents in the same block

---------

Co-authored-by: Koo Huang <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants