Skip to content

Commit

Permalink
feat: powerups & locking mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Sep 4, 2024
1 parent 1789153 commit b8d8e0e
Show file tree
Hide file tree
Showing 31 changed files with 3,493 additions and 37 deletions.
9 changes: 9 additions & 0 deletions Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ source = "git+https://github.com/dojoengine/dojo?rev=f15def33#f15def330c0d099e79
[[package]]
name = "flippyflop"
version = "0.1.0"
dependencies = [
"dojo",
"origami_token",
]

[[package]]
name = "origami_token"
version = "1.0.0-alpha.8"
source = "git+https://github.com/Larkooo/origami#413f24299e80c0808f67efaae968ab09068cdebe"
dependencies = [
"dojo",
]
11 changes: 10 additions & 1 deletion Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,20 @@ move = "./scripts/move.sh"

[dependencies]
dojo = { path = "/Users/nasr/Documents/development.nosync/dojo/crates/dojo-core" }
origami_token = { git = "https://github.com/Larkooo/origami" }

[[target.dojo]]

[tool.dojo]
initializer_class_hash = "0xbeef"

build-external-contracts = [
"origami_token::components::security::initializable::initializable_model",
"origami_token::components::token::erc20::erc20_metadata::erc_20_metadata_model",
"origami_token::components::token::erc20::erc20_balance::erc_20_balance_model",
"origami_token::components::token::erc20::erc20_allowance::erc_20_allowance_model",
"origami_token::components::token::erc20::erc20_mintable::erc_20_mintable_model",
"origami_token::components::token::erc20::erc20_burnable::erc_20_burnable_model",
]

[profile.dev]
[profile.sepolia]
1 change: 1 addition & 0 deletions dojo_dev.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ seed = "flippyflop-katana"

[namespace]
default = "flippyflop"
mappings = { "origami_token" = "flippyflop" }

[socials]
x = "https://x.com/ohayo_dojo"
Expand Down
1 change: 1 addition & 0 deletions dojo_sepolia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ seed = "flippyflop-sepolia-1000"

[namespace]
default = "flippyflop"
mappings = { "origami_token" = "flippyflop" }

[socials]
x = "https://x.com/ohayo_dojo"
Expand Down
Binary file modified indexer.db
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,13 @@
"inputs": [],
"outputs": [],
"state_mutability": "external"
},
{
"type": "function",
"name": "claim",
"inputs": [],
"outputs": [],
"state_mutability": "external"
}
]
},
Expand Down
Loading

0 comments on commit b8d8e0e

Please sign in to comment.