Skip to content

Commit 9cafdb5

Browse files
committed
chore: fmt
Signed-off-by: aeryz <[email protected]>
1 parent c308a6d commit 9cafdb5

File tree

6 files changed

+35
-43
lines changed

6 files changed

+35
-43
lines changed

sui/ibc/Move.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
2-
edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move
3-
name = "ibc"
2+
edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move
3+
name = "ibc"
44
published-at = "0xf36048b090671467af3d6a6109403d179aaa0a699307ff9df218b893b8f6bd98"
55
# original = 0xf7afcb48d53dcd8f1b75bd73779a23fb80e0750e3db7a9fd7e59fe22bb7cd7d4
66
# license = "" # e.g., "MIT", "GPL", "Apache 2.0"

sui/u/Move.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
2-
name = "u"
32
edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move
3+
name = "u"
44
# license = "" # e.g., "MIT", "GPL", "Apache 2.0"
55
# authors = ["..."] # e.g., ["Joe Smith ([email protected])", "John Snow ([email protected])"]
66

@@ -33,4 +33,3 @@ u = "0x0"
3333
# The dev-addresses section allows overwriting named addresses for the `--test`
3434
# and `--dev` modes.
3535
# alice = "0xB0B"
36-

sui/ucs03_zkgm/Move.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
[package]
2-
name = "zkgm"
32
edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move
3+
name = "zkgm"
44
# license = "" # e.g., "MIT", "GPL", "Apache 2.0"
55
# authors = ["..."] # e.g., ["Joe Smith ([email protected])", "John Snow ([email protected])"]
66

77
[dependencies]
8-
ibc = { local = "../ibc" }
8+
ibc = { local = "../ibc" }
99
vault = { local = "../vault" }
1010

1111
[addresses]
12-
zkgm = "0x0"
13-
ibc = "0xd5b50a4b934303c39baf1999ddf84cfcd65b4c6f73b2226bfea77987c21fbff8"
12+
ibc = "0xd5b50a4b934303c39baf1999ddf84cfcd65b4c6f73b2226bfea77987c21fbff8"
1413
vault = "0xc113302f2d081c65299ac245ce043c124368af79b5a9ce38d86855841b64d386"
14+
zkgm = "0x0"
1515

1616
# ibc = "_"
1717
# zkgm = "_"
1818
# vault = "_"
1919

2020
[dev-addresses]
21-
ibc = "0x22222"
22-
zkgm = "0x4444444444444"
21+
ibc = "0x22222"
2322
vault = "0x2334"
23+
zkgm = "0x4444444444444"

sui/vault/Move.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
2-
name = "vault"
3-
edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move
2+
edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move
3+
name = "vault"
44
published-at = "0x3dd0287ae5f29902b4a2d00988d4b3d69f29ea431811df7b9dd5b4f13d829d2e"
55
# license = "" # e.g., "MIT", "GPL", "Apache 2.0"
66
# authors = ["..."] # e.g., ["Joe Smith ([email protected])", "John Snow ([email protected])"]
@@ -9,12 +9,12 @@ published-at = "0x3dd0287ae5f29902b4a2d00988d4b3d69f29ea431811df7b9dd5b4f13d829d
99
ibc = { local = "../ibc" }
1010

1111
[addresses]
12+
ibc = "0xd5b50a4b934303c39baf1999ddf84cfcd65b4c6f73b2226bfea77987c21fbff8"
1213
vault = "0x0"
13-
ibc = "0xd5b50a4b934303c39baf1999ddf84cfcd65b4c6f73b2226bfea77987c21fbff8"
1414
# vault = "_"
1515
# ibc = "_"
1616

1717
[dev-dependencies]
1818
[dev-addresses]
19+
ibc = "0x222"
1920
vault = "0x111"
20-
ibc = "0x222"

sui/vault/sources/metadata.move

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
// Parameters
66

77
// Licensor: Union.fi, Labs Inc.
8-
// Licensed Work: All files under https://github.com/unionlabs/union's sui subdirectory
8+
// Licensed Work: All files under https://github.com/unionlabs/union's sui subdirectory
99
// The Licensed Work is (c) 2024 Union.fi, Labs Inc.
1010
// Change Date: Four years from the date the Licensed Work is published.
1111
// Change License: Apache-2.0
12-
//
12+
//
1313

1414
// For information about alternative licensing arrangements for the Licensed Work,
1515
// please contact [email protected].
@@ -76,36 +76,29 @@ module vault::metadata {
7676
decimals: u8,
7777
icon_url: Option<String>,
7878
description: String,
79-
owner: address
79+
owner: address
8080
): Metadata {
81-
Metadata {
82-
name,
83-
symbol,
84-
decimals,
85-
icon_url,
86-
description,
87-
owner,
88-
}
81+
Metadata { name, symbol, decimals, icon_url, description, owner }
8982
}
9083

9184
public fun name(metadata: &Metadata): &String {
92-
&metadata.name
85+
&metadata.name
9386
}
9487

9588
public fun symbol(metadata: &Metadata): &String {
96-
&metadata.symbol
89+
&metadata.symbol
9790
}
9891

9992
public fun decimals(metadata: &Metadata): u8 {
10093
metadata.decimals
10194
}
10295

10396
public fun icon_url(metadata: &Metadata): &Option<String> {
104-
&metadata.icon_url
97+
&metadata.icon_url
10598
}
10699

107100
public fun description(metadata: &Metadata): &String {
108-
&metadata.description
101+
&metadata.description
109102
}
110103

111104
public fun owner(metadata: &Metadata): address {

voyager/plugins/sui-ibc-app/Cargo.toml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ repository = { workspace = true }
1212
workspace = true
1313

1414
[dependencies]
15-
alloy = { workspace = true, features = ["sol-types"] }
16-
embed-commit = { workspace = true }
17-
ibc-union-spec = { workspace = true, features = ["serde"] }
18-
jsonrpsee = { workspace = true, features = ["tracing", "ws-client", "http-client"] }
19-
move-core-types-sui = { workspace = true }
20-
serde = { workspace = true, features = ["derive"] }
21-
sui_sdk = { git = "https://github.com/mystenlabs/sui", package = "sui-sdk" }
22-
ucs03-zkgm = { workspace = true, features = ["library"] }
23-
unionlabs = { workspace = true }
24-
voyager-sdk = { workspace = true }
25-
bcs = { workspace = true }
15+
alloy = { workspace = true, features = ["sol-types"] }
16+
bcs = { workspace = true }
17+
concurrent-keyring = { workspace = true }
18+
embed-commit = { workspace = true }
2619
hex-literal = { workspace = true }
20+
ibc-union-spec = { workspace = true, features = ["serde"] }
21+
jsonrpsee = { workspace = true, features = ["tracing", "ws-client", "http-client"] }
22+
move-core-types-sui = { workspace = true }
23+
serde = { workspace = true, features = ["derive"] }
24+
sha3 = { workspace = true }
25+
sui_sdk = { git = "https://github.com/mystenlabs/sui", package = "sui-sdk" }
26+
tokio = { workspace = true }
27+
ucs03-zkgm = { workspace = true, features = ["library"] }
28+
unionlabs = { workspace = true }
29+
voyager-sdk = { workspace = true }
2730
voyager-transaction-plugin-sui = { workspace = true }
28-
concurrent-keyring = { workspace = true }
29-
tokio = { workspace = true }
30-
sha3 = { workspace = true }

0 commit comments

Comments
 (0)