-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Made the squid changes * some cleanup * Making sure all txns are executed as part of await * Trying to finalize Txns before the next one happens * add coverage * try moving different things into bin * testing stuff * more tests * fixed tests * Update .github/workflows/codecov.yaml Co-authored-by: Milap Sheth <[email protected]> * Update move/squid/sources/squid/swap_info.move Co-authored-by: Milap Sheth <[email protected]> * fix a small bug * remove code coverage * added squid deployment * feat: audit address comments (#28) * Addressed all relevant audit comments * added some comments * fixed tests * Update move/axelar/sources/gateway.move * Update move/axelar/sources/gateway.move * rename --------- Co-authored-by: Milap Sheth <[email protected]> --------- Co-authored-by: Milap Sheth <[email protected]>
- Loading branch information
1 parent
c705d1d
commit 9466557
Showing
29 changed files
with
526 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[package] | ||
name = "Abi" | ||
version = "0.0.1" | ||
published-at = "0xe716e153ada17d39bf0e2325658d5969d885c2c548cd55f2068f29831be1d42a" | ||
published-at = "0xab66686154d5c503d7f796d130c6b3dd966cc1f0a5d8b3436c97b48fda6c1841" | ||
edition = "2024.beta" | ||
|
||
[dependencies] | ||
Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/mainnet" } | ||
|
||
[addresses] | ||
abi = "0xe716e153ada17d39bf0e2325658d5969d885c2c548cd55f2068f29831be1d42a" | ||
abi = "0xab66686154d5c503d7f796d130c6b3dd966cc1f0a5d8b3436c97b48fda6c1841" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[package] | ||
name = "Axelar" | ||
version = "0.0.1" | ||
published-at = "0x4c1b0c036766f48f5d067200fe2c2418f4455970470ec8931a3ab338a7249adc" | ||
published-at = "0xc6097c5ea89ff12983f963ff0d6e9b6e6f97026d3f284555c1f3e810809a09bb" | ||
edition = "2024.beta" | ||
|
||
[dependencies] | ||
Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/mainnet" } | ||
|
||
[addresses] | ||
axelar = "0x4c1b0c036766f48f5d067200fe2c2418f4455970470ec8931a3ab338a7249adc" | ||
axelar = "0xc6097c5ea89ff12983f963ff0d6e9b6e6f97026d3f284555c1f3e810809a09bb" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[package] | ||
name = "Governance" | ||
version = "0.0.1" | ||
published-at = "0x578987b18d4d60ba54533ebf578cb724e4e892bebb9eb35b354e159953995b57" | ||
published-at = "0x83187fc09392a9d547acd16caeca3bf8662452d75d1853d5a454074103161161" | ||
edition = "2024.beta" | ||
|
||
[dependencies] | ||
Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/mainnet" } | ||
Axelar = { local = "../axelar" } | ||
|
||
[addresses] | ||
gas_service = "0x578987b18d4d60ba54533ebf578cb724e4e892bebb9eb35b354e159953995b57" | ||
gas_service = "0x83187fc09392a9d547acd16caeca3bf8662452d75d1853d5a454074103161161" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
module interchain_token::tt { | ||
module interchain_token::q { | ||
use sui::coin::{Self}; | ||
use sui::url::{Url}; | ||
|
||
public struct TT has drop {} | ||
public struct Q has drop {} | ||
|
||
fun init(witness: TT, ctx: &mut TxContext) { | ||
let (treasury, metadata) = coin::create_currency<TT>( | ||
fun init(witness: Q, ctx: &mut TxContext) { | ||
let (treasury, metadata) = coin::create_currency<Q>( | ||
witness, | ||
6, | ||
b"TT", | ||
b"Test Token", | ||
9, | ||
b"Q", | ||
b"Quote", | ||
b"", | ||
option::none<Url>(), | ||
ctx | ||
); | ||
transfer::public_transfer(treasury, tx_context::sender(ctx)); | ||
transfer::public_transfer(metadata, tx_context::sender(ctx)); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.