Skip to content
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

[ECO-2360] Add claim link module to rewards package #320

Merged
merged 25 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/move/rewards/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ emojicoin_dot_fun = "0xc0de"
integrator = "0xccc"
rewards = "0xddd"

[dev-dependencies.BlackHeartCoinFactory]
local = "../test_coin_factories/black_heart"

[package]
authors = ["Econia Labs ([email protected])"]
name = "EmojicoinDotFunRewards"
upgrade_policy = "compatible"
version = "1.0.1"
version = "1.1.0"
10 changes: 9 additions & 1 deletion src/move/rewards/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ aptos move publish \
--profile $PROFILE
```

## Fund the vault
## Fund the vaults

```sh
REWARDS=0xaaa...
PROFILE=my-profile
N_CLAIM_LINK_REDEMPTIONS_TO_FUND=10
N_REWARDS_TO_FUND_PER_TIER="u64:[1500,500,200,50,5,1]"
```

Expand All @@ -53,3 +54,10 @@ aptos move run \
--function-id $REWARDS::emojicoin_dot_fun_rewards::fund_tiers \
--profile $PROFILE
```

```sh
aptos move run \
--args $N_CLAIM_LINK_REDEMPTIONS_TO_FUND \
--function-id $REWARDS::emojicoin_dot_fun_claim_link::fund_vault \
--profile $PROFILE
```
Loading
Loading