Skip to content

Commit

Permalink
Merge pull request #30 from anoma/brent/update-phase3
Browse files Browse the repository at this point in the history
Phase 3: Add initial tokens to allow into Namada
  • Loading branch information
brentstone authored Feb 19, 2025
2 parents c6a2eb5 + a4d6906 commit 3af24bc
Showing 1 changed file with 44 additions and 7 deletions.
51 changes: 44 additions & 7 deletions phase3/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,50 @@ const IBC_TOKENS: [(
MintTokenLimit,
ThroughtputTokenLimit,
MinimumGasPrice,
); 1] = [(
"channel-0",
"uosmo",
MintTokenLimit::from_u64(10000000000),
ThroughtputTokenLimit::from_u64(10000000000),
Some(Gas::from_u64(1)),
)];
); 6] = [
(
"channel-1",
"uosmo",
MintTokenLimit::from_u64(10752692000000), // 10,752,692 OSMO
ThroughtputTokenLimit::from_u64(2150539000000), // 2,150,539 OSMO
Some(Gas::from_u64(10)), // 10 uosmo / gas unit
),
(
"channel-2",
"uatom",
MintTokenLimit::from_u64(759878000000), // 759,878 ATOM
ThroughtputTokenLimit::from_u64(151976000000), // 151,976 ATOM
Some(Gas::from_u64(1)), // 1 uatom / gas unit;
),
(
"channel-3",
"utia",
MintTokenLimit::from_u64(1018330000000), // 1,018,330 TIA
ThroughtputTokenLimit::from_u64(203666000000), // 203,666 TIA
Some(Gas::from_u64(1)), // 1 utia / gas unit;
),
(
"channel-0",
"stuosmo",
MintTokenLimit::from_u64(8196721000000), // 8,196,721 stOSMO
ThroughtputTokenLimit::from_u64(1639344000000), // 1,639,344 stOSMO
Some(Gas::from_u64(10)), // 10 stuosmo / gas unit
),
(
"channel-0",
"stuatom",
MintTokenLimit::from_u64(512821000000), // 512,821 stATOM
ThroughtputTokenLimit::from_u64(102564000000), // 102,564 stATOM
Some(Gas::from_u64(1)), // 1 stuatom / gas unit;
),
(
"channel-0",
"stutia",
MintTokenLimit::from_u64(946970000000), // 946,970 stTIA
ThroughtputTokenLimit::from_u64(189394000000), // 189,394 stTIA
Some(Gas::from_u64(1)), // 1 stutia / gas unit;
),
];

#[transaction]
fn apply_tx(ctx: &mut Ctx, _tx_data: BatchedTx) -> TxResult {
Expand Down

0 comments on commit 3af24bc

Please sign in to comment.