@layerzerolabs/oft-solana-contracts 1.2.63 → 1.2.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Anchor.toml +1 -1
- package/Cargo.toml +2 -2
- package/package.json +8 -9
- package/src/events.rs +3 -12
package/Anchor.toml
CHANGED
package/Cargo.toml
CHANGED
|
@@ -26,8 +26,8 @@ unexpected_cfgs = { level = "allow", check-cfg = [
|
|
|
26
26
|
] }
|
|
27
27
|
|
|
28
28
|
[dependencies]
|
|
29
|
-
anchor-lang = { version = "1.
|
|
30
|
-
anchor-spl = { version = "1.
|
|
29
|
+
anchor-lang = { version = "1.1.2", features = ["event-cpi"] }
|
|
30
|
+
anchor-spl = { version = "1.1.2" }
|
|
31
31
|
oft-macros = { path = "macros" }
|
|
32
32
|
spl-type-length-value = { version = "0.9.1", features = ["derive"] }
|
|
33
33
|
spl-discriminator = "0.5.2"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/oft-solana-contracts",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.64",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
"rustfmt.toml"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@layerzerolabs/
|
|
17
|
-
"@layerzerolabs/
|
|
16
|
+
"@layerzerolabs/oapp-solana-contracts": "1.2.64",
|
|
17
|
+
"@layerzerolabs/framework-solana-anchor-trait": "1.2.64"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@layerzerolabs/build-utils-rust": "1.2.
|
|
21
|
-
"@layerzerolabs/
|
|
22
|
-
"@layerzerolabs/vm-tooling-solana": "1.2.
|
|
23
|
-
"@layerzerolabs/
|
|
20
|
+
"@layerzerolabs/build-utils-rust": "1.2.64",
|
|
21
|
+
"@layerzerolabs/typescript-configuration": "1.2.64",
|
|
22
|
+
"@layerzerolabs/vm-tooling-solana": "1.2.64",
|
|
23
|
+
"@layerzerolabs/tsup-configuration": "1.2.64"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "restricted",
|
|
@@ -28,8 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"externalRepoConfig": {
|
|
30
30
|
"targets": [
|
|
31
|
-
"audit-external"
|
|
32
|
-
"console-solana-v1-internal"
|
|
31
|
+
"audit-external"
|
|
33
32
|
]
|
|
34
33
|
},
|
|
35
34
|
"implicitDependencies": {
|
package/src/events.rs
CHANGED
|
@@ -8,10 +8,9 @@ use anchor_lang::prelude::*;
|
|
|
8
8
|
// SPL Token program manages many `Mint` accounts), so events carry the store
|
|
9
9
|
// pubkey to let off-chain consumers attribute each event to the right instance.
|
|
10
10
|
//
|
|
11
|
-
//
|
|
12
|
-
//
|
|
13
|
-
//
|
|
14
|
-
// decoder relies on field order. Do not reorder.
|
|
11
|
+
// `oft_store` is the LAST field because it was added after these events
|
|
12
|
+
// shipped; appending preserves the existing prefix layout in case any decoder
|
|
13
|
+
// relies on field order. Do not reorder.
|
|
15
14
|
|
|
16
15
|
#[event]
|
|
17
16
|
pub struct OFTSent {
|
|
@@ -35,11 +34,3 @@ pub struct OFTReceived {
|
|
|
35
34
|
pub amount_received_ld: u64,
|
|
36
35
|
pub oft_store: Pubkey,
|
|
37
36
|
}
|
|
38
|
-
|
|
39
|
-
// ================================ ALT Events ================================
|
|
40
|
-
|
|
41
|
-
#[event]
|
|
42
|
-
pub struct AddressLookupTablesSet {
|
|
43
|
-
pub oft_store: Pubkey,
|
|
44
|
-
pub alts: Vec<Pubkey>,
|
|
45
|
-
}
|