Skip to content

Commit

Permalink
solana: example token pools (#562)
Browse files Browse the repository at this point in the history
* rename: test-token-pool

* burn/mint pool

* wip: minimal pool implementations

* initial pool implementations

* share code between test and example pools

* happy path test cases for both pools

* fix merge issues

* split common + rate_limiter into base-token-pool
  • Loading branch information
aalu1418 authored Feb 7, 2025
1 parent c9c015f commit f50e5e6
Show file tree
Hide file tree
Showing 133 changed files with 12,654 additions and 2,134 deletions.
4 changes: 3 additions & 1 deletion chains/solana/contracts/Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ ccip_offramp = "offRPDpDxT5MGFNmMh99QKTZfPWTkqYUrStEriAS1H5"
mcm = "6UmMZr5MEqiKWD5jqTJd1WCR5kT8oZuFYBLJFi1o6GQX"
timelock = "LoCoNsJFuhTkSQjfdDfn3yuwqhSYoPujmviRHVCzsqn"
fee_quoter = "FeeVB9Q77QvyaENRL1i77BjW6cTkaWwNLjNbZg9JHqpw"
token_pool = "GRvFSLwR7szpjgNEZbGe4HtxfJYXqySXuuRUAJDpu4WH"
example_burnmint_token_pool = "TokenPooL11111111111111111111111111BurnMint"
example_lockrelease_token_pool = "TokenPooL11111111111111111111111LockReLease"
test_token_pool = "GRvFSLwR7szpjgNEZbGe4HtxfJYXqySXuuRUAJDpu4WH"
example_ccip_sender = "CcipSender111111111111111111111111111111111"
example_ccip_receiver = "CcipReceiver1111111111111111111111111111111"
test_ccip_receiver = "CtEVnHsQzhTNWav8skikiV2oF6Xx7r7uGGa8eCDQtTjH"
Expand Down
55 changes: 45 additions & 10 deletions chains/solana/contracts/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "token-pool"
name = "base-token-pool"
version = "0.1.0-dev"
description = "Created with Anchor"
edition = "2021"

[lib]
crate-type = ["cdylib", "lib"]
name = "token_pool"
name = "base_token_pool"

[features]
no-entrypoint = []
Expand Down
Loading

0 comments on commit f50e5e6

Please sign in to comment.