diff --git a/Anchor.toml b/Anchor.toml index 45a57db..913afd1 100644 --- a/Anchor.toml +++ b/Anchor.toml @@ -11,8 +11,9 @@ nft_voter = "nftvLQ5t6xe2nQF1NBmBBmn15ed59tU6vSCkwQNEqdc" organization = "orgdXvHVLkWgBYerptASkAwkZAE563CJUu717dMNx5f" organization_wallet = "orgwPMqJs9xft8UefUdKfyBwg6GDnN6oLhpMaKa6nJg" -[registry] -url = "https://api.apr.dev" +[toolchain] +anchor_version = "1.0.0-rc.5" +solana_version = "3.1.10" [provider] cluster = "localnet" diff --git a/Cargo.lock b/Cargo.lock index 858c726..f2f5356 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -61,11 +61,10 @@ dependencies = [ [[package]] name = "anchor-attribute-access-control" -version = "0.31.0" +version = "1.0.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37013051defd745a5437d6842bd404e5480e14ad4e4f0441dd9a81a4b9aea1d6" +checksum = "f3db7f5f8a6b16fa2b6e1b0222e656249c3abedf052e3943babf248929571204" dependencies = [ - "anchor-syn", "proc-macro2", "quote", "syn 1.0.109", @@ -73,12 +72,11 @@ dependencies = [ [[package]] name = "anchor-attribute-account" -version = "0.31.0" +version = "1.0.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92db0f793e924e18462b3fac53c5759a8248649a8072788b5e88a4af714998c8" +checksum = "0a12661acaba9866a5f2d8d8d46a1eed8b484f41dc9f94f808c3b07d35726816" dependencies = [ "anchor-syn", - "bs58", "proc-macro2", "quote", "syn 1.0.109", @@ -86,9 +84,9 @@ dependencies = [ [[package]] name = "anchor-attribute-constant" -version = "0.31.0" +version = "1.0.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a98126ebfc96d6248899caadc9ea7c2403420c4f5c994e541802bce9f423674" +checksum = "6dff08bc0187aafc559da8f63b5adeab0bcdf97128765c72dd9a4861f70627fc" dependencies = [ "anchor-syn", "quote", @@ -97,9 +95,9 @@ dependencies = [ [[package]] name = "anchor-attribute-error" -version = "0.31.0" +version = "1.0.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8a4dcb403f872fbcd0910fc39a3e05bb6c43a8399f915a1878e62eb680fbb23" +checksum = "c2af8ce12fb8cf782a3e127d376698a4548a518e38b4686f9c439adce4730b48" dependencies = [ "anchor-syn", "quote", @@ -108,9 +106,9 @@ dependencies = [ [[package]] name = "anchor-attribute-event" -version = "0.31.0" +version = "1.0.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "420d651b2703ccff86f6c4b7c394140cb85049787c078a5f8280506121d48065" +checksum = "338be5df076369b99585264aaa46c66229ead67568d61bd38c3ab0fa7a15e554" dependencies = [ "anchor-syn", "proc-macro2", @@ -120,26 +118,24 @@ dependencies = [ [[package]] name = "anchor-attribute-program" -version = "0.31.0" +version = "1.0.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d258f3a9f47db7f4199888df0ee67e42b960a7acb8f5c336b585d4eb243b9665" +checksum = "e5c4ec70cef4ef7e2d87b4e9c550f727a43d691d3d7f3e4d6b2e3bd530ae098d" dependencies = [ "anchor-lang-idl", "anchor-syn", "anyhow", - "bs58", "heck", "proc-macro2", "quote", - "serde_json", "syn 1.0.109", ] [[package]] name = "anchor-derive-accounts" -version = "0.31.0" +version = "1.0.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "097147501de51105d8dbdad9bd5a96a1b17ecbb2cee9f200d6167031372eab3b" +checksum = "f610cb50e10e4c404cc774f20a4eb602b904f68ea04590f8b1eb22a1e28b33e5" dependencies = [ "anchor-syn", "quote", @@ -148,12 +144,12 @@ dependencies = [ [[package]] name = "anchor-derive-serde" -version = "0.31.0" +version = "1.0.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5a24721da4ed67f0a1391cac27ea7e51c255cbd94cdcc6728a0aa56227628d0" +checksum = "be9ead49a9689493f8857a61dd1abf1d70eeeeb0683f8c1e09b015ab5bdd382d" dependencies = [ "anchor-syn", - "borsh-derive-internal", + "proc-macro-crate 3.5.0", "proc-macro2", "quote", "syn 1.0.109", @@ -161,9 +157,9 @@ dependencies = [ [[package]] name = "anchor-derive-space" -version = "0.31.0" +version = "1.0.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f41986f84d238a2f7a807f3a98da5df0e97ebe23f29f7d67b8cdd4fd80bc1ba1" +checksum = "ea4d1372743444967347b60f9311d2ee54a630152fd1d6d805adebd7fcd72056" dependencies = [ "proc-macro2", "quote", @@ -172,9 +168,9 @@ dependencies = [ [[package]] name = "anchor-lang" -version = "0.31.0" +version = "1.0.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eba81a0543fee1b7b610fe9ebedbae6a14e8d3e85a6a6dd48871d48a08880195" +checksum = "254d0cb160ea5c4c6a8c2f847bbd0f384fef733ebc36ef8426ae95f1bfda5757" dependencies = [ "anchor-attribute-access-control", "anchor-attribute-account", @@ -188,9 +184,30 @@ dependencies = [ "anchor-lang-idl", "base64 0.21.7", "bincode", - "borsh 0.10.4", + "borsh 1.6.1", "bytemuck", - "solana-program", + "const-crypto", + "solana-account-info", + "solana-clock", + "solana-cpi", + "solana-define-syscall 3.0.0", + "solana-feature-gate-interface", + "solana-instruction", + "solana-instructions-sysvar", + "solana-invoke", + "solana-loader-v3-interface", + "solana-msg", + "solana-program-entrypoint", + "solana-program-error", + "solana-program-memory", + "solana-program-option", + "solana-program-pack", + "solana-pubkey 3.0.0", + "solana-sdk-ids", + "solana-stake-interface", + "solana-system-interface", + "solana-sysvar", + "solana-sysvar-id", "thiserror 1.0.69", ] @@ -206,7 +223,7 @@ dependencies = [ "regex", "serde", "serde_json", - "sha2 0.10.8", + "sha2", ] [[package]] @@ -221,25 +238,26 @@ dependencies = [ [[package]] name = "anchor-spl" -version = "0.31.0" +version = "1.0.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9d989ebc64e6c1a9828d3a6f7b8e7a4d63cc8a4f667dcb191bd9067a3375c20" +checksum = "b3f1da81d6a7486339833833db9285f3771c1c368db418d481b5584a901cd675" dependencies = [ "anchor-lang", "mpl-token-metadata", - "spl-associated-token-account", + "solana-sysvar", + "spl-associated-token-account-interface", "spl-pod", - "spl-token", - "spl-token-2022", + "spl-token-2022-interface", "spl-token-group-interface", + "spl-token-interface", "spl-token-metadata-interface", ] [[package]] name = "anchor-syn" -version = "0.31.0" +version = "1.0.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "564685b759db12a2424d1b2688cfdf0fec26a023813bc461274754fb0e5d97b0" +checksum = "c9a855d34b1b0488f37ccc759c8bd4a696cd3a7bba8cb0734c2a965109f707da" dependencies = [ "anyhow", "bs58", @@ -248,8 +266,7 @@ dependencies = [ "proc-macro2", "quote", "serde", - "serde_json", - "sha2 0.10.8", + "sha2", "syn 1.0.109", "thiserror 1.0.69", ] @@ -279,10 +296,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" [[package]] -name = "base64" -version = "0.12.3" +name = "base16ct" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" [[package]] name = "base64" @@ -296,6 +313,12 @@ version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" +[[package]] +name = "base64ct" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" + [[package]] name = "bincode" version = "1.3.3" @@ -322,16 +345,6 @@ dependencies = [ "cc", "cfg-if", "constant_time_eq", - "digest 0.10.7", -] - -[[package]] -name = "block-buffer" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" -dependencies = [ - "generic-array", ] [[package]] @@ -355,11 +368,12 @@ dependencies = [ [[package]] name = "borsh" -version = "1.5.5" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5430e3be710b68d984d1391c854eb431a9d548640711faa54eecb1df93db91cc" +checksum = "cfd1e3f8955a5d7de9fab72fc8373fade9fb8a703968cb200ae3dc6cf08e185a" dependencies = [ - "borsh-derive 1.5.5", + "borsh-derive 1.6.1", + "bytes", "cfg_aliases", ] @@ -378,15 +392,15 @@ dependencies = [ [[package]] name = "borsh-derive" -version = "1.5.5" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8b668d39970baad5356d7c83a86fee3a539e6f93bf6764c97368243e17a0487" +checksum = "bfcfdc083699101d5a7965e49925975f2f55060f94f9a05e7187be95d530ca59" dependencies = [ "once_cell", - "proc-macro-crate 3.2.0", + "proc-macro-crate 3.5.0", "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.117", ] [[package]] @@ -438,22 +452,22 @@ dependencies = [ [[package]] name = "bytemuck" -version = "1.22.0" +version = "1.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6b1fc10dbac614ebc03540c9dbd60e83887fda27794998c6528f1782047d540" +checksum = "c8efb64bd706a16a1bdde310ae86b351e4d21550d98d056f22f8a7f7a2183fec" dependencies = [ "bytemuck_derive", ] [[package]] name = "bytemuck_derive" -version = "1.8.1" +version = "1.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fa76293b4f7bb636ab88fd78228235b5248b4d05cc589aed610f954af5d7c7a" +checksum = "f9abbd1bc6865053c427f7198e6af43bfdedc55ab791faed4fbd361d789575ff" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.117", ] [[package]] @@ -462,6 +476,12 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" +[[package]] +name = "bytes" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33" + [[package]] name = "cargo_toml" version = "0.19.2" @@ -504,24 +524,20 @@ dependencies = [ ] [[package]] -name = "console_error_panic_hook" -version = "0.1.7" +name = "const-crypto" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc" +checksum = "1c06f1eb05f06cf2e380fdded278fbf056a38974299d77960555a311dcf91a52" dependencies = [ - "cfg-if", - "wasm-bindgen", + "keccak-const", + "sha2-const-stable", ] [[package]] -name = "console_log" -version = "0.2.2" +name = "const-oid" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89f72f65e8501878b8a004d5a1afb780987e2ce2b4532c562e367a72c57499f" -dependencies = [ - "log", - "web-sys", -] +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" [[package]] name = "constant_time_eq" @@ -539,10 +555,16 @@ dependencies = [ ] [[package]] -name = "crunchy" -version = "0.2.3" +name = "crypto-bigint" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929" +checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +dependencies = [ + "generic-array", + "rand_core", + "subtle", + "zeroize", +] [[package]] name = "crypto-common" @@ -551,7 +573,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ "generic-array", - "rand_core 0.6.4", + "rand_core", "typenum", ] @@ -573,9 +595,9 @@ dependencies = [ "cfg-if", "cpufeatures", "curve25519-dalek-derive", - "digest 0.10.7", + "digest", "fiat-crypto", - "rand_core 0.6.4", + "rand_core", "rustc_version", "serde", "subtle", @@ -590,41 +612,111 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.117", ] [[package]] -name = "derivation-path" -version = "0.2.0" +name = "darling" +version = "0.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e5c37193a1db1d8ed868c03ec7b152175f26160a5b740e5e484143877e0adf0" +checksum = "9cdf337090841a411e2a7f3deb9187445851f91b309c0c0a29e05f74a00a48c0" +dependencies = [ + "darling_core", + "darling_macro", +] [[package]] -name = "digest" -version = "0.9.0" +name = "darling_core" +version = "0.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" +checksum = "1247195ecd7e3c85f83c8d2a366e4210d588e802133e1e355180a9870b517ea4" dependencies = [ - "generic-array", + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 2.0.117", +] + +[[package]] +name = "darling_macro" +version = "0.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81" +dependencies = [ + "darling_core", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid", + "zeroize", ] +[[package]] +name = "derivation-path" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e5c37193a1db1d8ed868c03ec7b152175f26160a5b740e5e484143877e0adf0" + [[package]] name = "digest" version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ - "block-buffer 0.10.4", + "block-buffer", + "const-oid", "crypto-common", "subtle", ] +[[package]] +name = "ecdsa" +version = "0.16.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" +dependencies = [ + "der", + "digest", + "elliptic-curve", + "rfc6979", + "signature", + "spki", +] + [[package]] name = "either" version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" +[[package]] +name = "elliptic-curve" +version = "0.13.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" +dependencies = [ + "base16ct", + "crypto-bigint", + "digest", + "ff", + "generic-array", + "group", + "pkcs8", + "rand_core", + "sec1", + "subtle", + "zeroize", +] + [[package]] name = "equivalent" version = "1.0.1" @@ -637,17 +729,36 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835a3dc7d1ec9e75e2b5fb4ba75396837112d2060b03f7d43bc1897c7f7211da" +[[package]] +name = "ff" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393" +dependencies = [ + "rand_core", + "subtle", +] + [[package]] name = "fiat-crypto" version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" +[[package]] +name = "five8" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23f76610e969fa1784327ded240f1e28a3fd9520c9cec93b636fcf62dd37f772" +dependencies = [ + "five8_core", +] + [[package]] name = "five8_const" -version = "0.1.3" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b4f62f0f8ca357f93ae90c8c2dd1041a1f665fde2f889ea9b1787903829015" +checksum = "1a0f1728185f277989ca573a402716ae0beaaea3f76a8ff87ef9dd8fb19436c5" dependencies = [ "five8_core", ] @@ -672,30 +783,31 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum", "version_check", + "zeroize", ] [[package]] name = "getrandom" -version = "0.1.16" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", + "js-sys", "libc", - "wasi 0.9.0+wasi-snapshot-preview1", + "wasi", + "wasm-bindgen", ] [[package]] -name = "getrandom" -version = "0.2.15" +name = "group" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ - "cfg-if", - "js-sys", - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "wasm-bindgen", + "ff", + "rand_core", + "subtle", ] [[package]] @@ -709,9 +821,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.15.2" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" [[package]] name = "heck" @@ -728,17 +840,23 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest 0.10.7", + "digest", ] +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + [[package]] name = "indexmap" -version = "2.7.1" +version = "2.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652" +checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017" dependencies = [ "equivalent", - "hashbrown 0.15.2", + "hashbrown 0.16.1", ] [[package]] @@ -776,71 +894,54 @@ dependencies = [ ] [[package]] -name = "keccak" -version = "0.1.5" +name = "k256" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" +checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b" dependencies = [ - "cpufeatures", + "cfg-if", + "ecdsa", + "elliptic-curve", + "once_cell", + "sha2", + "signature", ] [[package]] -name = "lazy_static" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" - -[[package]] -name = "libc" -version = "0.2.169" +name = "kaigan" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" +checksum = "4f25ded719a2354f6b1a51d0c0741c25bc7afe038617664eb37f6418439eb084" +dependencies = [ + "borsh 0.10.4", +] [[package]] -name = "libsecp256k1" -version = "0.6.0" +name = "keccak" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9d220bc1feda2ac231cb78c3d26f27676b8cf82c96971f7aeef3d0cf2797c73" +checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" dependencies = [ - "arrayref", - "base64 0.12.3", - "digest 0.9.0", - "libsecp256k1-core", - "libsecp256k1-gen-ecmult", - "libsecp256k1-gen-genmult", - "rand 0.7.3", - "serde", - "sha2 0.9.9", + "cpufeatures", ] [[package]] -name = "libsecp256k1-core" -version = "0.2.2" +name = "keccak-const" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0f6ab710cec28cef759c5f18671a27dae2a5f952cdaaee1d8e2908cb2478a80" -dependencies = [ - "crunchy", - "digest 0.9.0", - "subtle", -] +checksum = "57d8d8ce877200136358e0bbff3a77965875db3af755a11e1fa6b1b3e2df13ea" [[package]] -name = "libsecp256k1-gen-ecmult" -version = "0.2.1" +name = "lazy_static" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccab96b584d38fac86a83f07e659f0deafd0253dc096dab5a36d53efe653c5c3" -dependencies = [ - "libsecp256k1-core", -] +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] -name = "libsecp256k1-gen-genmult" -version = "0.2.1" +name = "libc" +version = "0.2.169" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67abfe149395e3aa1c48a2beb32b068e2334402df8181f818d3aee2b304c4f5d" -dependencies = [ - "libsecp256k1-core", -] +checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" [[package]] name = "lock_api" @@ -881,20 +982,22 @@ checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" dependencies = [ "byteorder", "keccak", - "rand_core 0.6.4", + "rand_core", "zeroize", ] [[package]] name = "mpl-token-metadata" -version = "5.1.0" +version = "5.1.2-alpha.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "989e6a3000e761d3b2d685662a3a9ee99826f9369fb033bd1bc7011b1cf02ed9" +checksum = "9824d84a8e23b634256591ce2f05b3180f7be5fcd193d939c43764c804aac5ef" dependencies = [ - "borsh 0.10.4", + "borsh 1.6.1", + "kaigan", "num-derive 0.3.3", "num-traits", "solana-program", + "solana-program-error", "thiserror 1.0.69", ] @@ -905,6 +1008,7 @@ dependencies = [ "anchor-lang", "anchor-spl", "bytemuck", + "solana-program", ] [[package]] @@ -947,7 +1051,7 @@ checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.117", ] [[package]] @@ -970,23 +1074,24 @@ dependencies = [ [[package]] name = "num_enum" -version = "0.7.3" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e613fc340b2220f734a8595782c551f1250e969d87d3be1ae0579e8d4065179" +checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26" dependencies = [ "num_enum_derive", + "rustversion", ] [[package]] name = "num_enum_derive" -version = "0.7.3" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56" +checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8" dependencies = [ - "proc-macro-crate 3.2.0", + "proc-macro-crate 3.5.0", "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.117", ] [[package]] @@ -1018,6 +1123,7 @@ dependencies = [ "anchor-spl", "organization", "proposal", + "solana-program", ] [[package]] @@ -1043,13 +1149,19 @@ dependencies = [ "windows-targets", ] +[[package]] +name = "pastey" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b867cad97c0791bbd3aaa6472142568c6c9e8f71937e98379f584cfb0cf35bec" + [[package]] name = "pbkdf2" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" dependencies = [ - "digest 0.10.7", + "digest", ] [[package]] @@ -1058,6 +1170,16 @@ version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der", + "spki", +] + [[package]] name = "polyval" version = "0.6.2" @@ -1090,18 +1212,18 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "3.2.0" +version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" dependencies = [ - "toml_edit", + "toml_edit 0.25.8+spec-1.1.0", ] [[package]] name = "proc-macro2" -version = "1.0.93" +version = "1.0.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" +checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" dependencies = [ "unicode-ident", ] @@ -1126,26 +1248,13 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.38" +version = "1.0.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc" +checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924" dependencies = [ "proc-macro2", ] -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", -] - [[package]] name = "rand" version = "0.8.5" @@ -1153,18 +1262,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_chacha" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" -dependencies = [ - "ppv-lite86", - "rand_core 0.5.1", + "rand_chacha", + "rand_core", ] [[package]] @@ -1174,16 +1273,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -dependencies = [ - "getrandom 0.1.16", + "rand_core", ] [[package]] @@ -1192,16 +1282,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.15", -] - -[[package]] -name = "rand_hc" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" -dependencies = [ - "rand_core 0.5.1", + "getrandom", ] [[package]] @@ -1242,6 +1323,16 @@ version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" +[[package]] +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" +dependencies = [ + "hmac", + "subtle", +] + [[package]] name = "rustc_version" version = "0.4.1" @@ -1257,18 +1348,26 @@ version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4" -[[package]] -name = "ryu" -version = "1.0.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea1a2d0a644769cc99faa24c3ad26b379b786fe7c36fd3c546254801650e6dd" - [[package]] name = "scopeguard" version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" +[[package]] +name = "sec1" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +dependencies = [ + "base16ct", + "der", + "generic-array", + "pkcs8", + "subtle", + "zeroize", +] + [[package]] name = "semver" version = "1.0.25" @@ -1277,10 +1376,11 @@ checksum = "f79dfe2d285b0488816f30e700a7438c5a73d816b5b7d3ac72fbc48b0d185e03" [[package]] name = "serde" -version = "1.0.217" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" dependencies = [ + "serde_core", "serde_derive", ] @@ -1293,27 +1393,37 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_core" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +dependencies = [ + "serde_derive", +] + [[package]] name = "serde_derive" -version = "1.0.217" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.117", ] [[package]] name = "serde_json" -version = "1.0.138" +version = "1.0.149" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d434192e7da787e94a6ea7e9670b26a036d0ca41e0b7efb2676dd32bae872949" +checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" dependencies = [ "itoa", "memchr", - "ryu", "serde", + "serde_core", + "zmij", ] [[package]] @@ -1327,27 +1437,20 @@ dependencies = [ [[package]] name = "sha2" -version = "0.9.9" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" dependencies = [ - "block-buffer 0.9.0", "cfg-if", "cpufeatures", - "digest 0.9.0", - "opaque-debug", + "digest", ] [[package]] -name = "sha2" -version = "0.10.8" +name = "sha2-const-stable" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest 0.10.7", -] +checksum = "5f179d4e11094a893b82fff208f74d448a7512f99f5a0acbd5c679b705f83ed9" [[package]] name = "sha3" @@ -1355,7 +1458,7 @@ version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" dependencies = [ - "digest 0.10.7", + "digest", "keccak", ] @@ -1366,112 +1469,124 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] -name = "smallvec" -version = "1.13.2" +name = "signature" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "digest", + "rand_core", +] [[package]] -name = "solana-account" -version = "2.2.1" +name = "smallvec" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f949fe4edaeaea78c844023bfc1c898e0b1f5a100f8a8d2d0f85d0a7b090258" -dependencies = [ - "solana-account-info", - "solana-clock", - "solana-instruction", - "solana-pubkey", - "solana-sdk-ids", -] +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "solana-account-info" -version = "2.2.1" +version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0c17d606a298a205fae325489fbed88ee6dc4463c111672172327e741c8905d" +checksum = "a9cf16495d9eb53e3d04e72366a33bb1c20c24e78c171d8b8f5978357b63ae95" dependencies = [ "bincode", - "serde", + "serde_core", + "solana-address 2.4.0", "solana-program-error", "solana-program-memory", - "solana-pubkey", ] [[package]] -name = "solana-address-lookup-table-interface" -version = "2.2.2" +name = "solana-address" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1673f67efe870b64a65cb39e6194be5b26527691ce5922909939961a6e6b395" +checksum = "a2ecac8e1b7f74c2baa9e774c42817e3e75b20787134b76cc4d45e8a604488f5" dependencies = [ - "bincode", + "solana-address 2.4.0", +] + +[[package]] +name = "solana-address" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f67735365edc7fb19ed74ec950597107c8ee9cbfebac57b8868b3e78fb6df16" +dependencies = [ + "borsh 1.6.1", "bytemuck", + "bytemuck_derive", + "curve25519-dalek", + "five8", + "five8_const", "serde", "serde_derive", + "sha2-const-stable", + "solana-atomic-u64", + "solana-define-syscall 5.0.0", + "solana-nullable", + "solana-program-error", + "solana-sanitize", + "solana-sha256-hasher", + "wincode", +] + +[[package]] +name = "solana-address-lookup-table-interface" +version = "3.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e8df0b083c10ce32490410f3795016b1b5d9b4d094658c0a5e496753645b7cd" +dependencies = [ "solana-clock", - "solana-instruction", - "solana-pubkey", + "solana-pubkey 4.1.0", "solana-sdk-ids", "solana-slot-hashes", ] [[package]] name = "solana-atomic-u64" -version = "2.2.1" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52e52720efe60465b052b9e7445a01c17550666beec855cce66f44766697bc2" +checksum = "085db4906d89324cef2a30840d59eaecf3d4231c560ec7c9f6614a93c652f501" dependencies = [ "parking_lot", ] [[package]] name = "solana-big-mod-exp" -version = "2.2.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75db7f2bbac3e62cfd139065d15bcda9e2428883ba61fc8d27ccb251081e7567" +checksum = "30c80fb6d791b3925d5ec4bf23a7c169ef5090c013059ec3ed7d0b2c04efa085" dependencies = [ "num-bigint", "num-traits", - "solana-define-syscall", -] - -[[package]] -name = "solana-bincode" -version = "2.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19a3787b8cf9c9fe3dd360800e8b70982b9e5a8af9e11c354b6665dd4a003adc" -dependencies = [ - "bincode", - "serde", - "solana-instruction", + "solana-define-syscall 3.0.0", ] [[package]] name = "solana-blake3-hasher" -version = "2.2.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1a0801e25a1b31a14494fc80882a036be0ffd290efc4c2d640bfcca120a4672" +checksum = "7116e1d942a2432ca3f514625104757ab8a56233787e95144c93950029e31176" dependencies = [ "blake3", - "solana-define-syscall", - "solana-hash", - "solana-sanitize", + "solana-define-syscall 4.0.1", + "solana-hash 4.2.0", ] [[package]] name = "solana-borsh" -version = "2.2.1" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718333bcd0a1a7aed6655aa66bef8d7fb047944922b2d3a18f49cbc13e73d004" +checksum = "c04abbae16f57178a163125805637b8a076175bb5c0002fb04f4792bea901cf7" dependencies = [ - "borsh 0.10.4", - "borsh 1.5.5", + "borsh 1.6.1", ] [[package]] name = "solana-clock" -version = "2.2.1" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67c2177a1b9fe8326004f1151a5acd124420b737811080b1035df31349e4d892" +checksum = "95cf11109c3b6115cc510f1e31f06fdd52f504271bc24ef5f1249fbbcae5f9f3" dependencies = [ "serde", "serde_derive", @@ -1482,52 +1597,55 @@ dependencies = [ [[package]] name = "solana-cpi" -version = "2.2.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8dc71126edddc2ba014622fc32d0f5e2e78ec6c5a1e0eb511b85618c09e9ea11" +checksum = "4dea26709d867aada85d0d3617db0944215c8bb28d3745b912de7db13a23280c" dependencies = [ "solana-account-info", - "solana-define-syscall", + "solana-define-syscall 4.0.1", "solana-instruction", "solana-program-error", - "solana-pubkey", + "solana-pubkey 4.1.0", "solana-stable-layout", ] [[package]] name = "solana-curve25519" -version = "2.2.3" +version = "3.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa1f28fdc4acdf6d1e47eec6fea58e88a650ca08f6a779d34730a616a2a82801" +checksum = "9a9eaec815ed773919bc7269c027933fc2472d7b9876f68ea6f1281c7daa5278" dependencies = [ "bytemuck", "bytemuck_derive", "curve25519-dalek", - "solana-define-syscall", + "solana-define-syscall 3.0.0", "subtle", - "thiserror 2.0.12", + "thiserror 2.0.18", ] [[package]] -name = "solana-decode-error" -version = "2.2.1" +name = "solana-define-syscall" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10a6a6383af236708048f8bd8d03db8ca4ff7baf4a48e5d580f4cce545925470" -dependencies = [ - "num-traits", -] +checksum = "f9697086a4e102d28a156b8d6b521730335d6951bd39a5e766512bbe09007cee" + +[[package]] +name = "solana-define-syscall" +version = "4.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57e5b1c0bc1d4a4d10c88a4100499d954c09d3fecfae4912c1a074dff68b1738" [[package]] name = "solana-define-syscall" -version = "2.2.1" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf784bb2cb3e02cac9801813c30187344228d2ae952534902108f6150573a33d" +checksum = "03aacdd7a61e2109887a7a7f046caebafce97ddf1150f33722eeac04f9039c73" [[package]] name = "solana-derivation-path" -version = "2.2.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "939756d798b25c5ec3cca10e06212bdca3b1443cb9bb740a38124f58b258737b" +checksum = "ff71743072690fdbdfcdc37700ae1cb77485aaad49019473a81aee099b1e0b8c" dependencies = [ "derivation-path", "qstring", @@ -1536,13 +1654,13 @@ dependencies = [ [[package]] name = "solana-epoch-rewards" -version = "2.2.1" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b575d3dd323b9ea10bb6fe89bf6bf93e249b215ba8ed7f68f1a3633f384db7" +checksum = "f5e7b0ba210593ba8ddd39d6d234d81795d1671cebf3026baa10d5dc23ac42f0" dependencies = [ "serde", "serde_derive", - "solana-hash", + "solana-hash 4.2.0", "solana-sdk-ids", "solana-sdk-macro", "solana-sysvar-id", @@ -1550,9 +1668,9 @@ dependencies = [ [[package]] name = "solana-epoch-schedule" -version = "2.2.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fce071fbddecc55d727b1d7ed16a629afe4f6e4c217bc8d00af3b785f6f67ed" +checksum = "6e5481e72cc4d52c169db73e4c0cd16de8bc943078aac587ec4817a75cc6388f" dependencies = [ "serde", "serde_derive", @@ -1561,51 +1679,53 @@ dependencies = [ "solana-sysvar-id", ] +[[package]] +name = "solana-epoch-stake" +version = "3.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "027e6d0b9e7daac5b2ac7c3f9ca1b727861121d9ef05084cf435ff736051e7c2" +dependencies = [ + "solana-define-syscall 5.0.0", + "solana-pubkey 4.1.0", +] + [[package]] name = "solana-example-mocks" -version = "2.2.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84461d56cbb8bb8d539347151e0525b53910102e4bced875d49d5139708e39d3" +checksum = "978855d164845c1b0235d4b4d101cadc55373fffaf0b5b6cfa2194d25b2ed658" dependencies = [ "serde", "serde_derive", "solana-address-lookup-table-interface", "solana-clock", - "solana-hash", + "solana-hash 3.1.0", "solana-instruction", "solana-keccak-hasher", "solana-message", "solana-nonce", - "solana-pubkey", + "solana-pubkey 3.0.0", "solana-sdk-ids", "solana-system-interface", - "thiserror 2.0.12", + "thiserror 2.0.18", ] [[package]] name = "solana-feature-gate-interface" -version = "2.2.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f9c7fbf3e58b64a667c5f35e90af580538a95daea7001ff7806c0662d301bdf" +checksum = "75ca9b5cbb6f500f7fd73db5bd95640f71a83f04d6121a0e59a43b202dca2731" dependencies = [ - "bincode", - "serde", - "serde_derive", - "solana-account", - "solana-account-info", - "solana-instruction", "solana-program-error", - "solana-pubkey", - "solana-rent", + "solana-pubkey 4.1.0", "solana-sdk-ids", - "solana-system-interface", ] [[package]] name = "solana-fee-calculator" -version = "2.2.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d89bc408da0fb3812bc3008189d148b4d3e08252c79ad810b245482a3f70cd8d" +checksum = "4b2a5675b2cf8d407c672dc1776492b1f382337720ddf566645ae43237a3d8c3" dependencies = [ "log", "serde", @@ -1614,51 +1734,67 @@ dependencies = [ [[package]] name = "solana-hash" -version = "2.2.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf7bcb14392900fe02e4e34e90234fbf0c673d4e327888410ba99fa2ba0f4e99" +checksum = "337c246447142f660f778cf6cb582beba8e28deb05b3b24bfb9ffd7c562e5f41" dependencies = [ - "borsh 1.5.5", - "bs58", + "solana-hash 4.2.0", +] + +[[package]] +name = "solana-hash" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8064ea1d591ec791be95245058ca40f4f5345d390c200069d0f79bbf55bfae55" +dependencies = [ + "borsh 1.6.1", "bytemuck", "bytemuck_derive", - "js-sys", + "five8", "serde", "serde_derive", "solana-atomic-u64", "solana-sanitize", - "wasm-bindgen", + "wincode", ] [[package]] name = "solana-instruction" -version = "2.2.1" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce496a475e5062ba5de97215ab39d9c358f9c9df4bb7f3a45a1f1a8bd9065ed" +checksum = "a97881335fc698deb46c6571945969aae6d93a14e2fff792a368b4fac872f116" dependencies = [ "bincode", - "borsh 1.5.5", - "getrandom 0.2.15", - "js-sys", - "num-traits", + "borsh 1.6.1", "serde", "serde_derive", - "solana-define-syscall", - "solana-pubkey", - "wasm-bindgen", + "solana-define-syscall 5.0.0", + "solana-instruction-error", + "solana-pubkey 4.1.0", +] + +[[package]] +name = "solana-instruction-error" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d3d048edaaeef5a3dc8c01853e585539a74417e4c2d43a9e2c161270045b838" +dependencies = [ + "num-traits", + "solana-program-error", ] [[package]] name = "solana-instructions-sysvar" -version = "2.2.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "427f2d0d6dc0bb49f16cef5e7f975180d2e80aab9bdd3b2af68e2d029ec63f43" +checksum = "7ddf67876c541aa1e21ee1acae35c95c6fbc61119814bfef70579317a5e26955" dependencies = [ "bitflags", "solana-account-info", "solana-instruction", + "solana-instruction-error", "solana-program-error", - "solana-pubkey", + "solana-pubkey 3.0.0", "solana-sanitize", "solana-sdk-ids", "solana-serialize-utils", @@ -1666,189 +1802,146 @@ dependencies = [ ] [[package]] -name = "solana-keccak-hasher" -version = "2.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7aeb957fbd42a451b99235df4942d96db7ef678e8d5061ef34c9b34cae12f79" -dependencies = [ - "sha3", - "solana-define-syscall", - "solana-hash", - "solana-sanitize", -] - -[[package]] -name = "solana-last-restart-slot" -version = "2.2.1" +name = "solana-invoke" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a6360ac2fdc72e7463565cd256eedcf10d7ef0c28a1249d261ec168c1b55cdd" +checksum = "4065031f5c7dd29ef5f5003c1a353011eeabbafa6c5a5033da0cedbfca824b94" dependencies = [ - "serde", - "serde_derive", - "solana-sdk-ids", - "solana-sdk-macro", - "solana-sysvar-id", + "solana-account-info", + "solana-define-syscall 3.0.0", + "solana-instruction", + "solana-program-entrypoint", + "solana-stable-layout", ] [[package]] -name = "solana-loader-v2-interface" -version = "2.2.1" +name = "solana-keccak-hasher" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8ab08006dad78ae7cd30df8eea0539e207d08d91eaefb3e1d49a446e1c49654" +checksum = "ed1c0d16d6fdeba12291a1f068cdf0d479d9bff1141bf44afd7aa9d485f65ef8" dependencies = [ - "serde", - "serde_bytes", - "serde_derive", - "solana-instruction", - "solana-pubkey", - "solana-sdk-ids", + "sha3", + "solana-define-syscall 4.0.1", + "solana-hash 4.2.0", ] [[package]] -name = "solana-loader-v3-interface" +name = "solana-last-restart-slot" version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4be76cfa9afd84ca2f35ebc09f0da0f0092935ccdac0595d98447f259538c2" +checksum = "dcda154ec827f5fc1e4da0af3417951b7e9b8157540f81f936c4a8b1156134d0" dependencies = [ "serde", - "serde_bytes", "serde_derive", - "solana-instruction", - "solana-pubkey", "solana-sdk-ids", - "solana-system-interface", + "solana-sdk-macro", + "solana-sysvar-id", ] [[package]] -name = "solana-loader-v4-interface" -version = "2.2.1" +name = "solana-loader-v3-interface" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "706a777242f1f39a83e2a96a2a6cb034cb41169c6ecbee2cf09cb873d9659e7e" +checksum = "dee44c9b1328c5c712c68966fb8de07b47f3e7bac006e74ddd1bb053d3e46e5d" dependencies = [ "serde", "serde_bytes", "serde_derive", "solana-instruction", - "solana-pubkey", + "solana-pubkey 3.0.0", "solana-sdk-ids", "solana-system-interface", ] [[package]] name = "solana-message" -version = "2.2.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "268486ba8a294ed22a4d7c1ec05f540c3dbe71cfa7c6c54b6d4d13668d895678" +checksum = "0448b1fd891c5f46491e5dc7d9986385ba3c852c340db2911dd29faa01d2b08d" dependencies = [ - "bincode", - "blake3", "lazy_static", "serde", "serde_derive", - "solana-bincode", - "solana-hash", + "solana-address 2.4.0", + "solana-hash 4.2.0", "solana-instruction", - "solana-pubkey", "solana-sanitize", "solana-sdk-ids", "solana-short-vec", - "solana-system-interface", "solana-transaction-error", - "wasm-bindgen", ] [[package]] name = "solana-msg" -version = "2.2.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f36a1a14399afaabc2781a1db09cb14ee4cc4ee5c7a5a3cfcc601811379a8092" +checksum = "726b7cbbc6be6f1c6f29146ac824343b9415133eee8cce156452ad1db93f8008" dependencies = [ - "solana-define-syscall", + "solana-define-syscall 5.0.0", ] [[package]] name = "solana-native-token" -version = "2.2.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33e9de00960197412e4be3902a6cd35e60817c511137aca6c34c66cd5d4017ec" +checksum = "ae8dd4c280dca9d046139eb5b7a5ac9ad10403fbd64964c7d7571214950d758f" [[package]] name = "solana-nonce" -version = "2.2.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "703e22eb185537e06204a5bd9d509b948f0066f2d1d814a6f475dafb3ddf1325" +checksum = "cbc469152a63284ef959b80c59cda015262a021da55d3b8fe42171d89c4b64f8" dependencies = [ - "serde", - "serde_derive", "solana-fee-calculator", - "solana-hash", - "solana-pubkey", + "solana-hash 4.2.0", + "solana-pubkey 4.1.0", "solana-sha256-hasher", ] [[package]] -name = "solana-program" -version = "2.2.1" +name = "solana-nullable" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "586469467e93ceb79048f8d8e3a619bf61d05396ee7de95cb40280301a589d05" +checksum = "da028344c595c7416769ff648d206de7962571291a4cea24c38a60b6f40d53bb" dependencies = [ - "bincode", - "blake3", - "borsh 0.10.4", - "borsh 1.5.5", - "bs58", "bytemuck", - "console_error_panic_hook", - "console_log", - "getrandom 0.2.15", - "lazy_static", - "log", +] + +[[package]] +name = "solana-program" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91b12305dd81045d705f427acd0435a2e46444b65367d7179d7bdcfc3bc5f5eb" +dependencies = [ "memoffset", - "num-bigint", - "num-derive 0.4.2", - "num-traits", - "rand 0.8.5", - "serde", - "serde_bytes", - "serde_derive", "solana-account-info", - "solana-address-lookup-table-interface", - "solana-atomic-u64", "solana-big-mod-exp", - "solana-bincode", "solana-blake3-hasher", "solana-borsh", "solana-clock", "solana-cpi", - "solana-decode-error", - "solana-define-syscall", + "solana-define-syscall 3.0.0", "solana-epoch-rewards", "solana-epoch-schedule", + "solana-epoch-stake", "solana-example-mocks", - "solana-feature-gate-interface", "solana-fee-calculator", - "solana-hash", + "solana-hash 3.1.0", "solana-instruction", + "solana-instruction-error", "solana-instructions-sysvar", "solana-keccak-hasher", "solana-last-restart-slot", - "solana-loader-v2-interface", - "solana-loader-v3-interface", - "solana-loader-v4-interface", - "solana-message", "solana-msg", "solana-native-token", - "solana-nonce", "solana-program-entrypoint", "solana-program-error", "solana-program-memory", "solana-program-option", "solana-program-pack", - "solana-pubkey", + "solana-pubkey 3.0.0", "solana-rent", - "solana-sanitize", "solana-sdk-ids", - "solana-sdk-macro", "solana-secp256k1-recover", "solana-serde-varint", "solana-serialize-utils", @@ -1857,99 +1950,80 @@ dependencies = [ "solana-slot-hashes", "solana-slot-history", "solana-stable-layout", - "solana-stake-interface", - "solana-system-interface", "solana-sysvar", "solana-sysvar-id", - "solana-vote-interface", - "thiserror 2.0.12", - "wasm-bindgen", ] [[package]] name = "solana-program-entrypoint" -version = "2.2.1" +version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "473ffe73c68d93e9f2aa726ad2985fe52760052709aaab188100a42c618060ec" +checksum = "84c9b0a1ff494e05f503a08b3d51150b73aa639544631e510279d6375f290997" dependencies = [ "solana-account-info", - "solana-msg", + "solana-define-syscall 4.0.1", "solana-program-error", - "solana-pubkey", + "solana-pubkey 4.1.0", ] [[package]] name = "solana-program-error" -version = "2.2.1" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8ae2c1a8d0d4ae865882d5770a7ebca92bab9c685e43f0461682c6c05a35bfa" +checksum = "4f04fa578707b3612b095f0c8e19b66a1233f7c42ca8082fcb3b745afcc0add6" dependencies = [ - "borsh 1.5.5", - "num-traits", + "borsh 1.6.1", "serde", "serde_derive", - "solana-decode-error", - "solana-instruction", - "solana-msg", - "solana-pubkey", ] [[package]] name = "solana-program-memory" -version = "2.2.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b0268f6c89825fb634a34bd0c3b8fdaeaecfc3728be1d622a8ee6dd577b60d4" +checksum = "4068648649653c2c50546e9a7fb761791b5ab0cda054c771bb5808d3a4b9eb52" dependencies = [ - "num-traits", - "solana-define-syscall", + "solana-define-syscall 4.0.1", ] [[package]] name = "solana-program-option" -version = "2.2.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc677a2e9bc616eda6dbdab834d463372b92848b2bfe4a1ed4e4b4adba3397d0" +checksum = "7a88006a9b8594088cec9027ab77caaaa258a2aaa2083d3f086c44b42e50aeab" [[package]] name = "solana-program-pack" -version = "2.2.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "319f0ef15e6e12dc37c597faccb7d62525a509fec5f6975ecb9419efddeb277b" +checksum = "3d7701cb15b90667ae1c89ef4ac35a59c61e66ce58ddee13d729472af7f41d59" dependencies = [ "solana-program-error", ] [[package]] name = "solana-pubkey" -version = "2.2.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40db1ff5a0f8aea2c158d78ab5f2cf897848964251d1df42fef78efd3c85b863" +checksum = "8909d399deb0851aa524420beeb5646b115fd253ef446e35fe4504c904da3941" dependencies = [ - "borsh 0.10.4", - "borsh 1.5.5", - "bs58", - "bytemuck", - "bytemuck_derive", - "curve25519-dalek", - "five8_const", - "getrandom 0.2.15", - "js-sys", - "num-traits", - "serde", - "serde_derive", - "solana-atomic-u64", - "solana-decode-error", - "solana-define-syscall", - "solana-sanitize", - "solana-sha256-hasher", - "wasm-bindgen", + "solana-address 1.1.0", +] + +[[package]] +name = "solana-pubkey" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b06bd918d60111ee1f97de817113e2040ca0cedb740099ee8d646233f6b906c" +dependencies = [ + "solana-address 2.4.0", ] [[package]] name = "solana-rent" -version = "2.2.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1aea8fdea9de98ca6e8c2da5827707fb3842833521b528a713810ca685d2480" +checksum = "e860d5499a705369778647e97d760f7670adfb6fc8419dd3d568deccd46d5487" dependencies = [ "serde", "serde_derive", @@ -1960,147 +2034,141 @@ dependencies = [ [[package]] name = "solana-sanitize" -version = "2.2.1" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61f1bc1357b8188d9c4a3af3fc55276e56987265eb7ad073ae6f8180ee54cecf" +checksum = "dcf09694a0fc14e5ffb18f9b7b7c0f15ecb6eac5b5610bf76a1853459d19daf9" [[package]] name = "solana-sdk-ids" -version = "2.2.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5d8b9cc68d5c88b062a33e23a6466722467dde0035152d8fb1afbcdf350a5f" +checksum = "def234c1956ff616d46c9dd953f251fa7096ddbaa6d52b165218de97882b7280" dependencies = [ - "solana-pubkey", + "solana-address 2.4.0", ] [[package]] name = "solana-sdk-macro" -version = "2.2.1" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86280da8b99d03560f6ab5aca9de2e38805681df34e0bb8f238e69b29433b9df" +checksum = "8765316242300c48242d84a41614cb3388229ec353ba464f6fe62a733e41806f" dependencies = [ "bs58", "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.117", ] [[package]] name = "solana-secp256k1-recover" -version = "2.2.1" +version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baa3120b6cdaa270f39444f5093a90a7b03d296d362878f7a6991d6de3bbe496" +checksum = "e7c5f18893d62e6c73117dcba48f8f5e3266d90e5ec3d0a0a90f9785adac36c1" dependencies = [ - "libsecp256k1", - "solana-define-syscall", - "thiserror 2.0.12", + "k256", + "solana-define-syscall 5.0.0", + "thiserror 2.0.18", ] -[[package]] -name = "solana-security-txt" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "468aa43b7edb1f9b7b7b686d5c3aeb6630dc1708e86e31343499dd5c4d775183" - [[package]] name = "solana-seed-derivable" -version = "2.2.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3beb82b5adb266c6ea90e5cf3967235644848eac476c5a1f2f9283a143b7c97f" +checksum = "ff7bdb72758e3bec33ed0e2658a920f1f35dfb9ed576b951d20d63cb61ecd95c" dependencies = [ "solana-derivation-path", ] [[package]] name = "solana-seed-phrase" -version = "2.2.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36187af2324f079f65a675ec22b31c24919cb4ac22c79472e85d819db9bbbc15" +checksum = "dc905b200a95f2ea9146e43f2a7181e3aeb55de6bc12afb36462d00a3c7310de" dependencies = [ "hmac", "pbkdf2", - "sha2 0.10.8", + "sha2", ] [[package]] name = "solana-serde-varint" -version = "2.2.1" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcc07d00200d82e6def2f7f7a45738e3406b17fe54a18adcf0defa16a97ccadb" +checksum = "950e5b83e839dc0f92c66afc124bb8f40e89bc90f0579e8ec5499296d27f54e3" dependencies = [ "serde", ] [[package]] name = "solana-serialize-utils" -version = "2.2.1" +version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "817a284b63197d2b27afdba829c5ab34231da4a9b4e763466a003c40ca4f535e" +checksum = "5d7cc401931d178472358e6b78dc72d031dc08f752d7410f0e8bd259dd6f02fa" dependencies = [ - "solana-instruction", - "solana-pubkey", + "solana-instruction-error", + "solana-pubkey 4.1.0", "solana-sanitize", ] [[package]] name = "solana-sha256-hasher" -version = "2.2.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0037386961c0d633421f53560ad7c80675c0447cba4d1bb66d60974dd486c7ea" +checksum = "db7dc3011ea4c0334aaaa7e7128cb390ecf546b28d412e9bf2064680f57f588f" dependencies = [ - "sha2 0.10.8", - "solana-define-syscall", - "solana-hash", + "sha2", + "solana-define-syscall 4.0.1", + "solana-hash 4.2.0", ] [[package]] name = "solana-short-vec" -version = "2.2.1" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c54c66f19b9766a56fa0057d060de8378676cb64987533fa088861858fc5a69" +checksum = "de3bd991c2cc415291c86bb0b6b4d53e93d13bb40344e4c5a2884e0e4f5fa93f" dependencies = [ - "serde", + "serde_core", ] [[package]] name = "solana-signature" -version = "2.2.1" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47d251c8f3dc015f320b4161daac7f108156c837428e5a8cc61136d25beb11d6" +checksum = "132a93134f1262aa832f1849b83bec6c9945669b866da18661a427943b9e801e" dependencies = [ - "bs58", + "five8", "solana-sanitize", ] [[package]] name = "solana-signer" -version = "2.2.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c41991508a4b02f021c1342ba00bcfa098630b213726ceadc7cb032e051975b" +checksum = "5bfea97951fee8bae0d6038f39a5efcb6230ecdfe33425ac75196d1a1e3e3235" dependencies = [ - "solana-pubkey", + "solana-pubkey 3.0.0", "solana-signature", "solana-transaction-error", ] [[package]] name = "solana-slot-hashes" -version = "2.2.1" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c8691982114513763e88d04094c9caa0376b867a29577939011331134c301ce" +checksum = "2585f70191623887329dfb5078da3a00e15e3980ea67f42c2e10b07028419f43" dependencies = [ "serde", "serde_derive", - "solana-hash", + "solana-hash 4.2.0", "solana-sdk-ids", "solana-sysvar-id", ] [[package]] name = "solana-slot-history" -version = "2.2.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97ccc1b2067ca22754d5283afb2b0126d61eae734fc616d23871b0943b0d935e" +checksum = "f914f6b108f5bba14a280b458d023e3621c9973f27f015a4d755b50e88d89e97" dependencies = [ "bv", "serde", @@ -2111,56 +2179,53 @@ dependencies = [ [[package]] name = "solana-stable-layout" -version = "2.2.1" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f14f7d02af8f2bc1b5efeeae71bc1c2b7f0f65cd75bcc7d8180f2c762a57f54" +checksum = "c9f6a291ba063a37780af29e7db14bdd3dc447584d8ba5b3fc4b88e2bbc982fa" dependencies = [ "solana-instruction", - "solana-pubkey", + "solana-pubkey 4.1.0", ] [[package]] name = "solana-stake-interface" -version = "1.2.1" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5269e89fde216b4d7e1d1739cf5303f8398a1ff372a81232abbee80e554a838c" +checksum = "b9bc26191b533f9a6e5a14cca05174119819ced680a80febff2f5051a713f0db" dependencies = [ - "borsh 0.10.4", - "borsh 1.5.5", "num-traits", "serde", "serde_derive", "solana-clock", "solana-cpi", - "solana-decode-error", "solana-instruction", "solana-program-error", - "solana-pubkey", + "solana-pubkey 3.0.0", "solana-system-interface", + "solana-sysvar", "solana-sysvar-id", ] [[package]] name = "solana-system-interface" -version = "1.0.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94d7c18cb1a91c6be5f5a8ac9276a1d7c737e39a21beba9ea710ab4b9c63bc90" +checksum = "4e1790547bfc3061f1ee68ea9d8dc6c973c02a163697b24263a8e9f2e6d4afa2" dependencies = [ - "js-sys", "num-traits", "serde", "serde_derive", - "solana-decode-error", "solana-instruction", - "solana-pubkey", - "wasm-bindgen", + "solana-msg", + "solana-program-error", + "solana-pubkey 3.0.0", ] [[package]] name = "solana-sysvar" -version = "2.2.1" +version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf6b44740d7f0c9f375d045c165bc0aab4a90658f92d6835aeb0649afaeaff9a" +checksum = "6690d3dd88f15c21edff68eb391ef8800df7a1f5cec84ee3e8d1abf05affdf74" dependencies = [ "base64 0.22.1", "bincode", @@ -2171,77 +2236,60 @@ dependencies = [ "serde_derive", "solana-account-info", "solana-clock", - "solana-define-syscall", + "solana-define-syscall 4.0.1", "solana-epoch-rewards", "solana-epoch-schedule", "solana-fee-calculator", - "solana-hash", + "solana-hash 4.2.0", "solana-instruction", - "solana-instructions-sysvar", "solana-last-restart-slot", "solana-program-entrypoint", "solana-program-error", "solana-program-memory", - "solana-pubkey", + "solana-pubkey 4.1.0", "solana-rent", - "solana-sanitize", "solana-sdk-ids", "solana-sdk-macro", "solana-slot-hashes", "solana-slot-history", - "solana-stake-interface", "solana-sysvar-id", ] [[package]] name = "solana-sysvar-id" -version = "2.2.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5762b273d3325b047cfda250787f8d796d781746860d5d0a746ee29f3e8812c1" +checksum = "17358d1e9a13e5b9c2264d301102126cf11a47fd394cdf3dec174fe7bc96e1de" dependencies = [ - "solana-pubkey", + "solana-address 2.4.0", "solana-sdk-ids", ] [[package]] name = "solana-transaction-error" -version = "2.2.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222a9dc8fdb61c6088baab34fc3a8b8473a03a7a5fd404ed8dd502fa79b67cb1" +checksum = "8396904805b0b385b9de115a652fe80fd01e5b98ce0513f4fcd8184ada9bb792" dependencies = [ - "solana-instruction", + "solana-instruction-error", "solana-sanitize", ] [[package]] -name = "solana-vote-interface" -version = "2.2.2" +name = "solana-zero-copy" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1e9f6a1651310a94cd5a1a6b7f33ade01d9e5ea38a2220becb5fd737b756514" +checksum = "94f52dd8f733a13f6a18e55de83cf97c4c3f5fdf27ea3830bcff0b35313efcc2" dependencies = [ - "bincode", - "num-derive 0.4.2", - "num-traits", - "serde", - "serde_derive", - "solana-clock", - "solana-decode-error", - "solana-hash", - "solana-instruction", - "solana-pubkey", - "solana-rent", - "solana-sdk-ids", - "solana-serde-varint", - "solana-serialize-utils", - "solana-short-vec", - "solana-system-interface", + "bytemuck", + "bytemuck_derive", ] [[package]] name = "solana-zk-sdk" -version = "2.2.3" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "faf45055dc78b74fdced852f9ed3a6f46eb13754f88b75675d9ce2bc7f242ea9" +checksum = "9602bcb1f7af15caef92b91132ec2347e1c51a72ecdbefdaefa3eac4b8711475" dependencies = [ "aes-gcm-siv", "base64 0.22.1", @@ -2249,62 +2297,56 @@ dependencies = [ "bytemuck", "bytemuck_derive", "curve25519-dalek", + "getrandom", "itertools", "js-sys", - "lazy_static", "merlin", "num-derive 0.4.2", "num-traits", - "rand 0.8.5", + "rand", "serde", "serde_derive", "serde_json", "sha3", "solana-derivation-path", "solana-instruction", - "solana-pubkey", + "solana-pubkey 3.0.0", "solana-sdk-ids", "solana-seed-derivable", "solana-seed-phrase", "solana-signature", "solana-signer", "subtle", - "thiserror 2.0.12", + "thiserror 2.0.18", "wasm-bindgen", "zeroize", ] [[package]] -name = "spl-associated-token-account" -version = "6.0.0" +name = "spki" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76fee7d65013667032d499adc3c895e286197a35a0d3a4643c80e7fd3e9969e3" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" dependencies = [ - "borsh 1.5.5", - "num-derive 0.4.2", - "num-traits", - "solana-program", - "spl-associated-token-account-client", - "spl-token", - "spl-token-2022", - "thiserror 1.0.69", + "base64ct", + "der", ] [[package]] -name = "spl-associated-token-account-client" +name = "spl-associated-token-account-interface" version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6f8349dbcbe575f354f9a533a21f272f3eb3808a49e2fdc1c34393b88ba76cb" +checksum = "e6433917b60441d68d99a17e121d9db0ea15a9a69c0e5afa34649cf5ba12612f" dependencies = [ "solana-instruction", - "solana-pubkey", + "solana-pubkey 3.0.0", ] [[package]] name = "spl-discriminator" -version = "0.4.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7398da23554a31660f17718164e31d31900956054f54f52d5ec1be51cb4f4b3" +checksum = "e597c5ff9ed7c74a54dbc47bae2f06e4db8c98f4356ad280200dc11878266db1" dependencies = [ "bytemuck", "solana-program-error", @@ -2320,7 +2362,7 @@ checksum = "d9e8418ea6269dcfb01c712f0444d2c75542c04448b480e87de59d2865edc750" dependencies = [ "quote", "spl-discriminator-syn", - "syn 2.0.98", + "syn 2.0.117", ] [[package]] @@ -2331,266 +2373,162 @@ checksum = "8c1f05593b7ca9eac7caca309720f2eafb96355e037e6d373b909a80fe7b69b9" dependencies = [ "proc-macro2", "quote", - "sha2 0.10.8", - "syn 2.0.98", + "sha2", + "syn 2.0.117", "thiserror 1.0.69", ] -[[package]] -name = "spl-elgamal-registry" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce0f668975d2b0536e8a8fd60e56a05c467f06021dae037f1d0cfed0de2e231d" -dependencies = [ - "bytemuck", - "solana-program", - "solana-zk-sdk", - "spl-pod", - "spl-token-confidential-transfer-proof-extraction", -] - -[[package]] -name = "spl-memo" -version = "6.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f09647c0974e33366efeb83b8e2daebb329f0420149e74d3a4bd2c08cf9f7cb" -dependencies = [ - "solana-account-info", - "solana-instruction", - "solana-msg", - "solana-program-entrypoint", - "solana-program-error", - "solana-pubkey", -] - [[package]] name = "spl-pod" -version = "0.5.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d994afaf86b779104b4a95ba9ca75b8ced3fdb17ee934e38cb69e72afbe17799" +checksum = "d6f3df240f67bea453d4bc5749761e45436d14b9457ed667e0300555d5c271f3" dependencies = [ - "borsh 1.5.5", + "borsh 1.6.1", "bytemuck", "bytemuck_derive", "num-derive 0.4.2", "num-traits", - "solana-decode-error", - "solana-msg", + "num_enum", "solana-program-error", "solana-program-option", - "solana-pubkey", + "solana-pubkey 3.0.0", "solana-zk-sdk", - "thiserror 2.0.12", -] - -[[package]] -name = "spl-program-error" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d39b5186f42b2b50168029d81e58e800b690877ef0b30580d107659250da1d1" -dependencies = [ - "num-derive 0.4.2", - "num-traits", - "solana-program", - "spl-program-error-derive", - "thiserror 1.0.69", -] - -[[package]] -name = "spl-program-error-derive" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d375dd76c517836353e093c2dbb490938ff72821ab568b545fd30ab3256b3e" -dependencies = [ - "proc-macro2", - "quote", - "sha2 0.10.8", - "syn 2.0.98", + "thiserror 2.0.18", ] [[package]] -name = "spl-tlv-account-resolution" -version = "0.9.0" +name = "spl-token-2022-interface" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd99ff1e9ed2ab86e3fd582850d47a739fec1be9f4661cba1782d3a0f26805f3" +checksum = "2fcd81188211f4b3c8a5eba7fd534c7142f9dd026123b3472492782cc72f4dc6" dependencies = [ + "arrayref", "bytemuck", "num-derive 0.4.2", "num-traits", + "num_enum", "solana-account-info", - "solana-decode-error", "solana-instruction", - "solana-msg", "solana-program-error", - "solana-pubkey", - "spl-discriminator", - "spl-pod", - "spl-program-error", - "spl-type-length-value", - "thiserror 1.0.69", -] - -[[package]] -name = "spl-token" -version = "7.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed320a6c934128d4f7e54fe00e16b8aeaecf215799d060ae14f93378da6dc834" -dependencies = [ - "arrayref", - "bytemuck", - "num-derive 0.4.2", - "num-traits", - "num_enum", - "solana-program", - "thiserror 1.0.69", -] - -[[package]] -name = "spl-token-2022" -version = "6.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b27f7405010ef816587c944536b0eafbcc35206ab6ba0f2ca79f1d28e488f4f" -dependencies = [ - "arrayref", - "bytemuck", - "num-derive 0.4.2", - "num-traits", - "num_enum", - "solana-program", - "solana-security-txt", + "solana-program-option", + "solana-program-pack", + "solana-pubkey 3.0.0", + "solana-sdk-ids", "solana-zk-sdk", - "spl-elgamal-registry", - "spl-memo", "spl-pod", - "spl-token", - "spl-token-confidential-transfer-ciphertext-arithmetic", "spl-token-confidential-transfer-proof-extraction", "spl-token-confidential-transfer-proof-generation", "spl-token-group-interface", "spl-token-metadata-interface", - "spl-transfer-hook-interface", "spl-type-length-value", - "thiserror 1.0.69", -] - -[[package]] -name = "spl-token-confidential-transfer-ciphertext-arithmetic" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "170378693c5516090f6d37ae9bad2b9b6125069be68d9acd4865bbe9fc8499fd" -dependencies = [ - "base64 0.22.1", - "bytemuck", - "solana-curve25519", - "solana-zk-sdk", + "thiserror 2.0.18", ] [[package]] name = "spl-token-confidential-transfer-proof-extraction" -version = "0.2.1" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eff2d6a445a147c9d6dd77b8301b1e116c8299601794b558eafa409b342faf96" +checksum = "879a9ebad0d77383d3ea71e7de50503554961ff0f4ef6cbca39ad126e6f6da3a" dependencies = [ "bytemuck", + "solana-account-info", "solana-curve25519", - "solana-program", + "solana-instruction", + "solana-instructions-sysvar", + "solana-msg", + "solana-program-error", + "solana-pubkey 3.0.0", + "solana-sdk-ids", "solana-zk-sdk", "spl-pod", - "thiserror 2.0.12", + "thiserror 2.0.18", ] [[package]] name = "spl-token-confidential-transfer-proof-generation" -version = "0.2.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8627184782eec1894de8ea26129c61303f1f0adeed65c20e0b10bc584f09356d" +checksum = "a0cd59fce3dc00f563c6fa364d67c3f200d278eae681f4dc250240afcfe044b1" dependencies = [ "curve25519-dalek", "solana-zk-sdk", - "thiserror 1.0.69", + "thiserror 2.0.18", ] [[package]] name = "spl-token-group-interface" -version = "0.5.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d595667ed72dbfed8c251708f406d7c2814a3fa6879893b323d56a10bedfc799" +checksum = "841cbd6f2322d02719be4da1affedbe6495b1048b7b985ec9796032564026e22" dependencies = [ "bytemuck", "num-derive 0.4.2", "num-traits", - "solana-decode-error", + "num_enum", + "solana-address 2.4.0", "solana-instruction", - "solana-msg", + "solana-nullable", "solana-program-error", - "solana-pubkey", + "solana-zero-copy", "spl-discriminator", - "spl-pod", - "thiserror 1.0.69", + "thiserror 2.0.18", ] [[package]] -name = "spl-token-metadata-interface" -version = "0.6.0" +name = "spl-token-interface" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfb9c89dbc877abd735f05547dcf9e6e12c00c11d6d74d8817506cab4c99fdbb" +checksum = "8c564ac05a7c8d8b12e988a37d82695b5ba4db376d07ea98bc4882c81f96c7f3" dependencies = [ - "borsh 1.5.5", + "arrayref", + "bytemuck", "num-derive 0.4.2", "num-traits", - "solana-borsh", - "solana-decode-error", + "num_enum", "solana-instruction", - "solana-msg", "solana-program-error", - "solana-pubkey", - "spl-discriminator", - "spl-pod", - "spl-type-length-value", - "thiserror 1.0.69", + "solana-program-option", + "solana-program-pack", + "solana-pubkey 3.0.0", + "solana-sdk-ids", + "thiserror 2.0.18", ] [[package]] -name = "spl-transfer-hook-interface" -version = "0.9.0" +name = "spl-token-metadata-interface" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4aa7503d52107c33c88e845e1351565050362c2314036ddf19a36cd25137c043" +checksum = "9c467c7c3bd056f8fe60119e7ec34ddd6f23052c2fa8f1f51999098063b72676" dependencies = [ - "arrayref", - "bytemuck", + "borsh 1.6.1", "num-derive 0.4.2", "num-traits", - "solana-account-info", - "solana-cpi", - "solana-decode-error", + "solana-borsh", "solana-instruction", - "solana-msg", "solana-program-error", - "solana-pubkey", + "solana-pubkey 3.0.0", "spl-discriminator", "spl-pod", - "spl-program-error", - "spl-tlv-account-resolution", "spl-type-length-value", - "thiserror 1.0.69", + "thiserror 2.0.18", ] [[package]] name = "spl-type-length-value" -version = "0.7.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba70ef09b13af616a4c987797870122863cba03acc4284f226a4473b043923f9" +checksum = "2504631748c48d2a937414d64a12dcac4588d34bd07d355d648619c189d29435" dependencies = [ "bytemuck", "num-derive 0.4.2", "num-traits", + "num_enum", "solana-account-info", - "solana-decode-error", - "solana-msg", "solana-program-error", + "solana-zero-copy", "spl-discriminator", - "spl-pod", - "thiserror 1.0.69", + "thiserror 2.0.18", ] [[package]] @@ -2602,6 +2540,12 @@ dependencies = [ "proposal", ] +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + [[package]] name = "subtle" version = "2.6.1" @@ -2621,9 +2565,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.98" +version = "2.0.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1" +checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99" dependencies = [ "proc-macro2", "quote", @@ -2641,11 +2585,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.12" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" +checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" dependencies = [ - "thiserror-impl 2.0.12", + "thiserror-impl 2.0.18", ] [[package]] @@ -2656,18 +2600,18 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.117", ] [[package]] name = "thiserror-impl" -version = "2.0.12" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" +checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.117", ] [[package]] @@ -2712,8 +2656,8 @@ checksum = "cd87a5cdd6ffab733b2f74bc4fd7ee5fff6634124999ac278c35fc78c6120148" dependencies = [ "serde", "serde_spanned", - "toml_datetime", - "toml_edit", + "toml_datetime 0.6.8", + "toml_edit 0.22.24", ] [[package]] @@ -2725,6 +2669,15 @@ dependencies = [ "serde", ] +[[package]] +name = "toml_datetime" +version = "1.1.0+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97251a7c317e03ad83774a8752a7e81fb6067740609f75ea2b585b569a59198f" +dependencies = [ + "serde_core", +] + [[package]] name = "toml_edit" version = "0.22.24" @@ -2734,8 +2687,29 @@ dependencies = [ "indexmap", "serde", "serde_spanned", - "toml_datetime", - "winnow", + "toml_datetime 0.6.8", + "winnow 0.7.2", +] + +[[package]] +name = "toml_edit" +version = "0.25.8+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16bff38f1d86c47f9ff0647e6838d7bb362522bdf44006c7068c2b1e606f1f3c" +dependencies = [ + "indexmap", + "toml_datetime 1.1.0+spec-1.1.0", + "toml_parser", + "winnow 1.0.0", +] + +[[package]] +name = "toml_parser" +version = "1.1.0+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2334f11ee363607eb04df9b8fc8a13ca1715a72ba8662a26ac285c98aabb4011" +dependencies = [ + "winnow 1.0.0", ] [[package]] @@ -2790,12 +2764,6 @@ dependencies = [ "anchor-spl", ] -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -2824,7 +2792,7 @@ dependencies = [ "log", "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.117", "wasm-bindgen-shared", ] @@ -2846,7 +2814,7 @@ checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.117", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -2861,13 +2829,28 @@ dependencies = [ ] [[package]] -name = "web-sys" -version = "0.3.77" +name = "wincode" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" +checksum = "657690780ce23e6f66576a782ffd88eb353512381817029cc1d7a99154bb6d1f" dependencies = [ - "js-sys", - "wasm-bindgen", + "pastey", + "proc-macro2", + "quote", + "thiserror 2.0.18", + "wincode-derive", +] + +[[package]] +name = "wincode-derive" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fca057fc9a13dd19cdb64ef558635d43c42667c0afa1ae7915ea1fa66993fd1a" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn 2.0.117", ] [[package]] @@ -2943,6 +2926,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "winnow" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a90e88e4667264a994d34e6d1ab2d26d398dcdca8b7f52bec8668957517fc7d8" +dependencies = [ + "memchr", +] + [[package]] name = "zerocopy" version = "0.7.35" @@ -2961,7 +2953,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.117", ] [[package]] @@ -2981,5 +2973,11 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.117", ] + +[[package]] +name = "zmij" +version = "1.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" diff --git a/Cargo.toml b/Cargo.toml index 812c935..62375c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ members = [ "programs/*" ] +resolver = "2" [profile.release] overflow-checks = true @@ -13,7 +14,11 @@ opt-level = 3 incremental = false codegen-units = 1 +[workspace.lints.rust] +unexpected_cfgs = { level = "allow" } + [workspace.dependencies] -anchor-lang = { version = "0.31.0", features = ["init-if-needed"] } -anchor-spl = { version = "0.31.0", features = ["token", "metadata"] } +anchor-lang = { version = "=1.0.0-rc.5", features = ["init-if-needed"] } +anchor-spl = { version = "=1.0.0-rc.5", features = ["token", "metadata"] } +solana-program = "^3" diff --git a/package.json b/package.json index ec331a6..4611c96 100644 --- a/package.json +++ b/package.json @@ -30,11 +30,10 @@ ], "private": true, "dependencies": { - "@coral-xyz/anchor": "^0.31.0", + "@anchor-lang/core": "^1.0.0-rc.5", "@helium/anchor-resolvers": "^0.10.0-alpha.6", "@helium/spl-utils": "^0.10.0-alpha.6", "@metaplex-foundation/js": "^0.19.4", - "@project-serum/anchor": "^0.26.0", "@solana/web3.js": "^1.78.0" }, "devDependencies": { diff --git a/packages/docsite/src/pages/docs/api/nft-voter-sdk.md b/packages/docsite/src/pages/docs/api/nft-voter-sdk.md index 0a0e824..af74794 100644 --- a/packages/docsite/src/pages/docs/api/nft-voter-sdk.md +++ b/packages/docsite/src/pages/docs/api/nft-voter-sdk.md @@ -150,22 +150,6 @@ If you are looking for a quick start guide, check out the [Getting Started](/doc undefined -### ProposalConfigV0 - -undefined - -### ProposalV0 - -undefined - -### ProxyAssignmentV0 - -undefined - -### ProxyConfigV0 - -undefined - ### VoteMarkerV0 undefined diff --git a/packages/docsite/src/pages/docs/api/organization-wallet-sdk.md b/packages/docsite/src/pages/docs/api/organization-wallet-sdk.md index 11f8b8c..7315110 100644 --- a/packages/docsite/src/pages/docs/api/organization-wallet-sdk.md +++ b/packages/docsite/src/pages/docs/api/organization-wallet-sdk.md @@ -85,18 +85,10 @@ If you are looking for a quick start guide, check out the [Getting Started](/doc undefined -### OrganizationV0 - -undefined - ### OrganizationWalletV0 undefined -### ProposalV0 - -undefined - ### WalletProposalV0 undefined diff --git a/packages/docsite/src/pages/docs/api/state-controller-sdk.md b/packages/docsite/src/pages/docs/api/state-controller-sdk.md index 5fa7d63..779f0b4 100644 --- a/packages/docsite/src/pages/docs/api/state-controller-sdk.md +++ b/packages/docsite/src/pages/docs/api/state-controller-sdk.md @@ -76,14 +76,6 @@ If you are looking for a quick start guide, check out the [Getting Started](/doc ## Accounts -### ProposalConfigV0 - -undefined - -### ProposalV0 - -undefined - ### ResolutionSettingsV0 undefined diff --git a/packages/docsite/src/pages/docs/api/token-voter-sdk.md b/packages/docsite/src/pages/docs/api/token-voter-sdk.md index 302c207..6855484 100644 --- a/packages/docsite/src/pages/docs/api/token-voter-sdk.md +++ b/packages/docsite/src/pages/docs/api/token-voter-sdk.md @@ -147,14 +147,6 @@ If you are looking for a quick start guide, check out the [Getting Started](/doc ## Accounts -### ProposalConfigV0 - -undefined - -### ProposalV0 - -undefined - ### ReceiptV0 undefined diff --git a/packages/modular-governance-hooks/package.json b/packages/modular-governance-hooks/package.json index af6985e..2420101 100644 --- a/packages/modular-governance-hooks/package.json +++ b/packages/modular-governance-hooks/package.json @@ -32,7 +32,7 @@ "prebuild": "npm run clean && npm run package" }, "dependencies": { - "@coral-xyz/anchor": "^0.31.0", + "@anchor-lang/core": "^1.0.0-rc.5", "@helium/account-fetch-cache": "0.10.0-alpha.3", "@helium/account-fetch-cache-hooks": "^0.10.0-alpha.3", "@helium/helium-react-hooks": "^0.10.0-alpha.3", diff --git a/packages/modular-governance-idls/package.json b/packages/modular-governance-idls/package.json index 82bcc52..7fc13cc 100644 --- a/packages/modular-governance-idls/package.json +++ b/packages/modular-governance-idls/package.json @@ -26,7 +26,7 @@ "prebuild": "npm run clean && npm run package" }, "dependencies": { - "@coral-xyz/anchor": "^0.31.0", + "@anchor-lang/core": "^1.0.0-rc.5", "@solana/web3.js": "^1.78.4" }, "devDependencies": { diff --git a/packages/modular-governance-idls/packages/modular-governance-idls/tsconfig.esm.tsbuildinfo b/packages/modular-governance-idls/packages/modular-governance-idls/tsconfig.esm.tsbuildinfo index 5f69a58..e68e4ac 100644 --- a/packages/modular-governance-idls/packages/modular-governance-idls/tsconfig.esm.tsbuildinfo +++ b/packages/modular-governance-idls/packages/modular-governance-idls/tsconfig.esm.tsbuildinfo @@ -1 +1 @@ -{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../target/types/nft_proxy.ts","../../../../target/types/nft_voter.ts","../../../../target/types/organization.ts","../../../../target/types/organization_wallet.ts","../../../../target/types/proposal.ts","../../../../target/types/state_controller.ts","../../../../target/types/token_voter.ts","../../../../target/types/vote_hook_interface.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/bn.js/index.d.ts","../../../../node_modules/@types/chai/index.d.ts","../../../../node_modules/@types/chai-as-promised/index.d.ts","../../../../node_modules/@types/connect/index.d.ts","../../../../node_modules/@types/json5/index.d.ts","../../../../node_modules/@types/minimatch/index.d.ts","../../../../node_modules/@types/minimist/index.d.ts","../../../../node_modules/@types/mocha/index.d.ts","../../../../node_modules/@types/normalize-package-data/index.d.ts","../../../../node_modules/@types/parse-json/index.d.ts","../../../../node_modules/@types/pbkdf2/index.d.ts","../../../../node_modules/@types/secp256k1/index.d.ts","../../../../node_modules/@types/uuid/index.d.ts","../../../../node_modules/@types/ws/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},{"version":"4cee52700787e9e78bf2b79fc18c47b7dc38c6279d2ac150a1d8ab83f6a19e65","signature":"72d5c765f77bd3caca1b8bdf58b19afcf4d23b8cd1f5249b08ae50e28a955b41"},{"version":"ece25bd34be23f835b18a5f6fccb25ee47763eaf1189ce2583bd310cce48e270","signature":"1e711db87c0b6bc51095c24ab8a6630645045ea7d238b031849cfa6641425626"},{"version":"9015a1905b564d4c028940ff1d3620725c67690682ef9560f91952adf17af545","signature":"a9fbc0cbb4740a346b0ed8a308ab07a0689c7c285c19356cee46a28f8721411a"},{"version":"110d2d90a015c4d8ab077675d82cc9f6d7452ad4e2d917661f6c428a67c3c194","signature":"e7a90014443d956fba310122de31fc6d48f69ce97b2e46a2acb8b1c2342933e8"},{"version":"dfdbd2e7ee7aedc5cbe99380ca68abaaf470e4ce8fb5c3a659b81dbac577e147","signature":"e5c6669ac52a5241b5c36d2b5812793c05f8eda0a2d23f142e109d960393cfbe"},{"version":"f530936857b24067caa40a4924a9f9faf14831e70a66d7e744fe5fc13907efc1","signature":"edc2b359ca41363975393a6303e868b37bf22ad19ece93551a540e0a21f452b4"},{"version":"bdff562bed51c8bc7339334073db7ea849c653c74087846defa2903596182694","signature":"1455ce15b4034a9101d7df21a495dde1f5e33938d64a57c5bfa728f06a2272e3"},{"version":"2e592f0a5340ba9de579e75db60561b506d6e9abd3a424f32d8e533770c3423b","signature":"98a4937dc0f1a43bd27b7b1c56a3087f4280f8f0b9db7c3a3789f110f59f48e9"},"587f13f1e8157bd8cec0adda0de4ef558bb8573daa9d518d1e2af38e87ecc91f","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"bce910d9164785c9f0d4dcea4be359f5f92130c7c7833dea6138ab1db310a1f9","affectsGlobalScope":true},"7a435e0c814f58f23e9a0979045ec0ef5909aac95a70986e8bcce30c27dff228",{"version":"c81c51f43e343b6d89114b17341fb9d381c4ccbb25e0ee77532376052c801ba7","affectsGlobalScope":true},"db71be322f07f769200108aa19b79a75dd19a187c9dca2a30c4537b233aa2863","57135ce61976a8b1dadd01bb412406d1805b90db6e8ecb726d0d78e0b5f76050",{"version":"49479e21a040c0177d1b1bc05a124c0383df7a08a0726ad4d9457619642e875a","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","f302f3a47d7758f67f2afc753b9375d6504dde05d2e6ecdb1df50abbb131fc89","3690133deae19c8127c5505fcb67b04bdc9eb053796008538a9b9abbb70d85aa","5b1c0a23f464f894e7c2b2b6c56df7b9afa60ed48c5345f8618d389a636b2108","be2b092f2765222757c6441b86c53a5ea8dfed47bbc43eab4c5fe37942c866b3","8e6b05abc98adba15e1ac78e137c64576c74002e301d682e66feb77a23907ab8","1ca735bb3d407b2af4fbee7665f3a0a83be52168c728cc209755060ba7ed67bd",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"b85c02e14ecb2a873dad5a1de72319b265160ba48f1b83661aeb3bba1366c1bc","affectsGlobalScope":true},"7a2ba0c9af860ac3e77b35ed01fd96d15986f17aa22fe40f188ae556fb1070df","fc3764040518a1008dd04bdc80964591b566b896283e00df85c95851c1f46237","55709608060f77965c270ac10ac646286589f1bd1cb174fff1778a2dd9a7ef31","790623a47c5eda62910098884ecb154dc0e5f3a23fc36c1bfb3b5b9ed44e2c2d","42b40e40f2a358cda332456214fad311e1806a6abf3cebaaac72496e07556642","354612fe1d49ecc9551ea3a27d94eef2887b64ef4a71f72ca444efe0f2f0ba80",{"version":"ac0c77cd7db52b3c278bdd1452ce754014835493d05b84535f46854fdc2063b2","affectsGlobalScope":true},"b9f36877501f2ce0e276e993c93cd2cf325e78d0409ec4612b1eb9d6a537e60b","5e2b91328a540a0933ab5c2203f4358918e6f0fe7505d22840a891a6117735f1","3abc3512fa04aa0230f59ea1019311fd8667bd935d28306311dccc8b17e79d5d",{"version":"14a50dafe3f45713f7f27cb6320dff07c6ac31678f07959c2134260061bf91ff","affectsGlobalScope":true},{"version":"19da7150ca062323b1db6311a6ef058c9b0a39cc64d836b5e9b75d301869653b","affectsGlobalScope":true},"1349077576abb41f0e9c78ec30762ff75b710208aff77f5fdcc6a8c8ce6289dd","e2ce82603102b5c0563f59fb40314cc1ff95a4d521a66ad14146e130ea80d89c","a3e0395220255a350aa9c6d56f882bfcb5b85c19fddf5419ec822cf22246a26d","c27b01e8ddff5cd280711af5e13aecd9a3228d1c256ea797dd64f8fdec5f7df5","898840e876dfd21843db9f2aa6ae38ba2eab550eb780ff62b894b9fbfebfae6b","0cab4d7d4edc40cd3af9eea7c3ed6d1016910c0954c49c4297e479bf3822a625","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","785e5be57d4f20f290a20e7b0c6263f6c57fd6e51283050756cef07d6d651c68","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","164deb2409ac5f4da3cd139dbcee7f7d66753d90363a4d7e2db8d8874f272270",{"version":"ffc62d73b4fa10ca8c59f8802df88efefe447025730a24ee977b60adedc5bf37","affectsGlobalScope":true},{"version":"ab294c4b7279318ee2a8fdf681305457ecc05970c94108d304933f18823eeac1","affectsGlobalScope":true},"ad08154d9602429522cac965a715fde27d421d69b24756c5d291877dda75353e","5bc85813bfcb6907cc3a960fec8734a29d7884e0e372515147720c5991b8bc22","812b25f798033c202baedf386a1ccc41f9191b122f089bffd10fdccce99fba11","993325544790073f77e945bee046d53988c0bc3ac5695c9cf8098166feb82661",{"version":"75dd741ca6a6c8d2437a6ca8349b64b816421dbf9fe82dd026afaba965576962","affectsGlobalScope":true},{"version":"0e08c360c9b5961ecb0537b703e253842b3ded53151ee07024148219b61a8baf","affectsGlobalScope":true},"2ce2210032ccaff7710e2abf6a722e62c54960458e73e356b6a365c93ab6ca66","92db194ef7d208d5e4b6242a3434573fd142a621ff996d84cc9dbba3553277d0","16a3080e885ed52d4017c902227a8d0d8daf723d062bec9e45627c6fdcd6699b",{"version":"0bd9543cd8fc0959c76fb8f4f5a26626c2ed62ef4be98fd857bce268066db0a2","affectsGlobalScope":true},"1ca6858a0cbcd74d7db72d7b14c5360a928d1d16748a55ecfa6bfaff8b83071b",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"ebf3434b09c527078aa74139ff367fffa64fea32a01d6c06fb0a69b0ecadf43e","01f7828047b5c6703d3c601473618b448f5506a88fcac852638b0715c3abf4eb",{"version":"c3bc5d095c3c22fd20b5a6550b9c9a6d56c3ffbb87ef057ccce7764b6bed4428","affectsGlobalScope":true},{"version":"63e2182615c513e89bb8a3e749d08f7c379e86490fcdbf6d35f2c14b3507a6e8","affectsGlobalScope":true},"6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05",{"version":"3f6d6465811321abc30a1e5f667feed63e5b3917b3d6c8d6645daf96c75f97ba","affectsGlobalScope":true},"6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","916be7d770b0ae0406be9486ac12eb9825f21514961dd050594c4b250617d5a8","a73a445c1e0a6d0f8b48e8eb22dc9d647896783a7f8991cbbc31c0d94bf1f5a2","3dce33e7eb25594863b8e615f14a45ab98190d85953436750644212d8a18c066","fab58e600970e66547644a44bc9918e3223aa2cbd9e8763cec004b2cfb48827e","bc81aff061c53a7140270555f4b22da4ecfe8601e8027cf5aa175fbdc7927c31"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"../../lib/types","declarationMap":true,"esModuleInterop":true,"module":99,"noEmitOnError":true,"outDir":"../../lib/esm","rootDir":"../../../../target/types","skipLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":99},"fileIdsList":[[97,104],[97,106],[97],[70,97,104],[51,97],[54,97],[55,60,88,97],[56,67,68,75,85,96,97],[56,57,67,75,97],[58,97],[59,60,68,76,97],[60,85,93,97],[61,63,67,75,97],[62,97],[63,64,97],[67,97],[65,67,97],[67,68,69,85,96,97],[67,68,69,82,85,88,97],[97,101],[63,67,70,75,85,96,97],[67,68,70,71,75,85,93,96,97],[70,72,85,93,96,97],[51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],[67,73,97],[74,96,97],[63,67,75,85,97],[76,97],[77,97],[54,78,97],[79,95,97,101],[80,97],[81,97],[67,82,83,97],[82,84,97,99],[55,67,85,86,87,88,97],[55,85,87,97],[85,86,97],[88,97],[89,97],[85,97],[67,91,92,97],[91,92,97],[60,75,85,93,97],[94,97],[75,95,97],[55,70,81,96,97],[60,97],[85,97,98],[97,99],[97,100],[55,60,67,69,78,85,96,97,99,101],[85,97,102],[67,70,72,75,85,93,96,97,102,104]],"referencedMap":[[105,1],[107,2],[106,3],[108,4],[109,3],[110,3],[111,3],[112,3],[51,5],[52,5],[54,6],[55,7],[56,8],[57,9],[58,10],[59,11],[60,12],[61,13],[62,14],[63,15],[64,15],[66,16],[65,17],[67,16],[68,18],[69,19],[53,20],[103,3],[70,21],[71,22],[72,23],[104,24],[73,25],[74,26],[75,27],[76,28],[77,29],[78,30],[79,31],[80,32],[81,33],[82,34],[83,34],[84,35],[85,36],[87,37],[86,38],[88,39],[89,40],[90,41],[91,42],[92,43],[93,44],[94,45],[95,46],[96,47],[97,48],[98,49],[99,50],[100,51],[101,52],[102,53],[113,3],[114,3],[115,1],[116,1],[117,3],[118,54],[9,3],[8,3],[2,3],[10,3],[11,3],[12,3],[13,3],[14,3],[15,3],[16,3],[17,3],[3,3],[4,3],[21,3],[18,3],[19,3],[20,3],[22,3],[23,3],[24,3],[5,3],[25,3],[26,3],[27,3],[28,3],[6,3],[32,3],[29,3],[30,3],[31,3],[33,3],[7,3],[34,3],[39,3],[40,3],[35,3],[36,3],[37,3],[38,3],[41,3],[1,3],[42,3],[43,3],[44,3],[45,3],[46,3],[47,3],[48,3],[49,3],[50,3]],"exportedModulesMap":[[105,1],[107,2],[106,3],[108,4],[109,3],[110,3],[111,3],[112,3],[51,5],[52,5],[54,6],[55,7],[56,8],[57,9],[58,10],[59,11],[60,12],[61,13],[62,14],[63,15],[64,15],[66,16],[65,17],[67,16],[68,18],[69,19],[53,20],[103,3],[70,21],[71,22],[72,23],[104,24],[73,25],[74,26],[75,27],[76,28],[77,29],[78,30],[79,31],[80,32],[81,33],[82,34],[83,34],[84,35],[85,36],[87,37],[86,38],[88,39],[89,40],[90,41],[91,42],[92,43],[93,44],[94,45],[95,46],[96,47],[97,48],[98,49],[99,50],[100,51],[101,52],[102,53],[113,3],[114,3],[115,1],[116,1],[117,3],[118,54],[9,3],[8,3],[2,3],[10,3],[11,3],[12,3],[13,3],[14,3],[15,3],[16,3],[17,3],[3,3],[4,3],[21,3],[18,3],[19,3],[20,3],[22,3],[23,3],[24,3],[5,3],[25,3],[26,3],[27,3],[28,3],[6,3],[32,3],[29,3],[30,3],[31,3],[33,3],[7,3],[34,3],[39,3],[40,3],[35,3],[36,3],[37,3],[38,3],[41,3],[1,3],[42,3]],"semanticDiagnosticsPerFile":[105,107,106,108,109,110,111,112,51,52,54,55,56,57,58,59,60,61,62,63,64,66,65,67,68,69,53,103,70,71,72,104,73,74,75,76,77,78,79,80,81,82,83,84,85,87,86,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,113,114,115,116,117,118,9,8,2,10,11,12,13,14,15,16,17,3,4,21,18,19,20,22,23,24,5,25,26,27,28,6,32,29,30,31,33,7,34,39,40,35,36,37,38,41,1,42,43,44,45,46,47,48,49,50],"latestChangedDtsFile":"../../lib/types/vote_hook_interface.d.ts"},"version":"4.9.5"} \ No newline at end of file +{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../target/types/nft_proxy.ts","../../../../target/types/nft_voter.ts","../../../../target/types/organization.ts","../../../../target/types/organization_wallet.ts","../../../../target/types/proposal.ts","../../../../target/types/state_controller.ts","../../../../target/types/token_voter.ts","../../../../target/types/vote_hook_interface.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/bn.js/index.d.ts","../../../../node_modules/@types/chai/index.d.ts","../../../../node_modules/@types/chai-as-promised/index.d.ts","../../../../node_modules/@types/connect/index.d.ts","../../../../node_modules/@types/json5/index.d.ts","../../../../node_modules/@types/minimatch/index.d.ts","../../../../node_modules/@types/minimist/index.d.ts","../../../../node_modules/@types/mocha/index.d.ts","../../../../node_modules/@types/normalize-package-data/index.d.ts","../../../../node_modules/@types/parse-json/index.d.ts","../../../../node_modules/@types/pbkdf2/index.d.ts","../../../../node_modules/@types/secp256k1/index.d.ts","../../../../node_modules/@types/uuid/index.d.ts","../../../../node_modules/@types/ws/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},{"version":"4cee52700787e9e78bf2b79fc18c47b7dc38c6279d2ac150a1d8ab83f6a19e65","signature":"72d5c765f77bd3caca1b8bdf58b19afcf4d23b8cd1f5249b08ae50e28a955b41"},{"version":"5f41eb17d3efa3e8dbff20d83406d50db6f06b01969afc2e422d94cc8a4ed47a","signature":"a22ddbfb2ea47ae5617f67c36ae9929700a94e1294caad52be44ae98b2e54324"},{"version":"9015a1905b564d4c028940ff1d3620725c67690682ef9560f91952adf17af545","signature":"a9fbc0cbb4740a346b0ed8a308ab07a0689c7c285c19356cee46a28f8721411a"},{"version":"6943a5355929f130b3128327a9a9e074100660a59d2e08aa91568c6deb3442b0","signature":"df1238d4b4c3f56bd23aaa942854f5091632be6cb33cfbbdfd15526fac12788d"},{"version":"dfdbd2e7ee7aedc5cbe99380ca68abaaf470e4ce8fb5c3a659b81dbac577e147","signature":"e5c6669ac52a5241b5c36d2b5812793c05f8eda0a2d23f142e109d960393cfbe"},{"version":"5aa9f9b0a1b92820006defe8fdb69022727d8ad8f2f94f1004ed95c163b40b9e","signature":"730c8d1b636e689268c76f35562c16033584f0e4e315d70cdd08d3d2de261a97"},{"version":"64c00f9cc180016f089e328103447e4e36075da6c3726c2d1436acf65a80213f","signature":"aed26d150b5b99bb8005e7c11094eb3c43afe2565a8172659168501c8325d5fb"},{"version":"2e592f0a5340ba9de579e75db60561b506d6e9abd3a424f32d8e533770c3423b","signature":"98a4937dc0f1a43bd27b7b1c56a3087f4280f8f0b9db7c3a3789f110f59f48e9"},"587f13f1e8157bd8cec0adda0de4ef558bb8573daa9d518d1e2af38e87ecc91f","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"bce910d9164785c9f0d4dcea4be359f5f92130c7c7833dea6138ab1db310a1f9","affectsGlobalScope":true},"7a435e0c814f58f23e9a0979045ec0ef5909aac95a70986e8bcce30c27dff228",{"version":"c81c51f43e343b6d89114b17341fb9d381c4ccbb25e0ee77532376052c801ba7","affectsGlobalScope":true},"db71be322f07f769200108aa19b79a75dd19a187c9dca2a30c4537b233aa2863","57135ce61976a8b1dadd01bb412406d1805b90db6e8ecb726d0d78e0b5f76050",{"version":"49479e21a040c0177d1b1bc05a124c0383df7a08a0726ad4d9457619642e875a","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","f302f3a47d7758f67f2afc753b9375d6504dde05d2e6ecdb1df50abbb131fc89","3690133deae19c8127c5505fcb67b04bdc9eb053796008538a9b9abbb70d85aa","5b1c0a23f464f894e7c2b2b6c56df7b9afa60ed48c5345f8618d389a636b2108","be2b092f2765222757c6441b86c53a5ea8dfed47bbc43eab4c5fe37942c866b3","8e6b05abc98adba15e1ac78e137c64576c74002e301d682e66feb77a23907ab8","1ca735bb3d407b2af4fbee7665f3a0a83be52168c728cc209755060ba7ed67bd",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"b85c02e14ecb2a873dad5a1de72319b265160ba48f1b83661aeb3bba1366c1bc","affectsGlobalScope":true},"7a2ba0c9af860ac3e77b35ed01fd96d15986f17aa22fe40f188ae556fb1070df","fc3764040518a1008dd04bdc80964591b566b896283e00df85c95851c1f46237","55709608060f77965c270ac10ac646286589f1bd1cb174fff1778a2dd9a7ef31","790623a47c5eda62910098884ecb154dc0e5f3a23fc36c1bfb3b5b9ed44e2c2d","42b40e40f2a358cda332456214fad311e1806a6abf3cebaaac72496e07556642","354612fe1d49ecc9551ea3a27d94eef2887b64ef4a71f72ca444efe0f2f0ba80",{"version":"ac0c77cd7db52b3c278bdd1452ce754014835493d05b84535f46854fdc2063b2","affectsGlobalScope":true},"b9f36877501f2ce0e276e993c93cd2cf325e78d0409ec4612b1eb9d6a537e60b","5e2b91328a540a0933ab5c2203f4358918e6f0fe7505d22840a891a6117735f1","3abc3512fa04aa0230f59ea1019311fd8667bd935d28306311dccc8b17e79d5d",{"version":"14a50dafe3f45713f7f27cb6320dff07c6ac31678f07959c2134260061bf91ff","affectsGlobalScope":true},{"version":"19da7150ca062323b1db6311a6ef058c9b0a39cc64d836b5e9b75d301869653b","affectsGlobalScope":true},"1349077576abb41f0e9c78ec30762ff75b710208aff77f5fdcc6a8c8ce6289dd","e2ce82603102b5c0563f59fb40314cc1ff95a4d521a66ad14146e130ea80d89c","a3e0395220255a350aa9c6d56f882bfcb5b85c19fddf5419ec822cf22246a26d","c27b01e8ddff5cd280711af5e13aecd9a3228d1c256ea797dd64f8fdec5f7df5","898840e876dfd21843db9f2aa6ae38ba2eab550eb780ff62b894b9fbfebfae6b","0cab4d7d4edc40cd3af9eea7c3ed6d1016910c0954c49c4297e479bf3822a625","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","785e5be57d4f20f290a20e7b0c6263f6c57fd6e51283050756cef07d6d651c68","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","164deb2409ac5f4da3cd139dbcee7f7d66753d90363a4d7e2db8d8874f272270",{"version":"ffc62d73b4fa10ca8c59f8802df88efefe447025730a24ee977b60adedc5bf37","affectsGlobalScope":true},{"version":"ab294c4b7279318ee2a8fdf681305457ecc05970c94108d304933f18823eeac1","affectsGlobalScope":true},"ad08154d9602429522cac965a715fde27d421d69b24756c5d291877dda75353e","5bc85813bfcb6907cc3a960fec8734a29d7884e0e372515147720c5991b8bc22","812b25f798033c202baedf386a1ccc41f9191b122f089bffd10fdccce99fba11","993325544790073f77e945bee046d53988c0bc3ac5695c9cf8098166feb82661",{"version":"75dd741ca6a6c8d2437a6ca8349b64b816421dbf9fe82dd026afaba965576962","affectsGlobalScope":true},{"version":"0e08c360c9b5961ecb0537b703e253842b3ded53151ee07024148219b61a8baf","affectsGlobalScope":true},"2ce2210032ccaff7710e2abf6a722e62c54960458e73e356b6a365c93ab6ca66","92db194ef7d208d5e4b6242a3434573fd142a621ff996d84cc9dbba3553277d0","16a3080e885ed52d4017c902227a8d0d8daf723d062bec9e45627c6fdcd6699b",{"version":"0bd9543cd8fc0959c76fb8f4f5a26626c2ed62ef4be98fd857bce268066db0a2","affectsGlobalScope":true},"1ca6858a0cbcd74d7db72d7b14c5360a928d1d16748a55ecfa6bfaff8b83071b",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"ebf3434b09c527078aa74139ff367fffa64fea32a01d6c06fb0a69b0ecadf43e","01f7828047b5c6703d3c601473618b448f5506a88fcac852638b0715c3abf4eb",{"version":"c3bc5d095c3c22fd20b5a6550b9c9a6d56c3ffbb87ef057ccce7764b6bed4428","affectsGlobalScope":true},{"version":"63e2182615c513e89bb8a3e749d08f7c379e86490fcdbf6d35f2c14b3507a6e8","affectsGlobalScope":true},"6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05",{"version":"3f6d6465811321abc30a1e5f667feed63e5b3917b3d6c8d6645daf96c75f97ba","affectsGlobalScope":true},"6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","916be7d770b0ae0406be9486ac12eb9825f21514961dd050594c4b250617d5a8","a73a445c1e0a6d0f8b48e8eb22dc9d647896783a7f8991cbbc31c0d94bf1f5a2","3dce33e7eb25594863b8e615f14a45ab98190d85953436750644212d8a18c066","fab58e600970e66547644a44bc9918e3223aa2cbd9e8763cec004b2cfb48827e","bc81aff061c53a7140270555f4b22da4ecfe8601e8027cf5aa175fbdc7927c31"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"../../lib/types","declarationMap":true,"esModuleInterop":true,"module":99,"noEmitOnError":true,"outDir":"../../lib/esm","rootDir":"../../../../target/types","skipLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":99},"fileIdsList":[[97,104],[97,106],[97],[70,97,104],[51,97],[54,97],[55,60,88,97],[56,67,68,75,85,96,97],[56,57,67,75,97],[58,97],[59,60,68,76,97],[60,85,93,97],[61,63,67,75,97],[62,97],[63,64,97],[67,97],[65,67,97],[67,68,69,85,96,97],[67,68,69,82,85,88,97],[97,101],[63,67,70,75,85,96,97],[67,68,70,71,75,85,93,96,97],[70,72,85,93,96,97],[51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],[67,73,97],[74,96,97],[63,67,75,85,97],[76,97],[77,97],[54,78,97],[79,95,97,101],[80,97],[81,97],[67,82,83,97],[82,84,97,99],[55,67,85,86,87,88,97],[55,85,87,97],[85,86,97],[88,97],[89,97],[85,97],[67,91,92,97],[91,92,97],[60,75,85,93,97],[94,97],[75,95,97],[55,70,81,96,97],[60,97],[85,97,98],[97,99],[97,100],[55,60,67,69,78,85,96,97,99,101],[85,97,102],[67,70,72,75,85,93,96,97,102,104]],"referencedMap":[[105,1],[107,2],[106,3],[108,4],[109,3],[110,3],[111,3],[112,3],[51,5],[52,5],[54,6],[55,7],[56,8],[57,9],[58,10],[59,11],[60,12],[61,13],[62,14],[63,15],[64,15],[66,16],[65,17],[67,16],[68,18],[69,19],[53,20],[103,3],[70,21],[71,22],[72,23],[104,24],[73,25],[74,26],[75,27],[76,28],[77,29],[78,30],[79,31],[80,32],[81,33],[82,34],[83,34],[84,35],[85,36],[87,37],[86,38],[88,39],[89,40],[90,41],[91,42],[92,43],[93,44],[94,45],[95,46],[96,47],[97,48],[98,49],[99,50],[100,51],[101,52],[102,53],[113,3],[114,3],[115,1],[116,1],[117,3],[118,54],[9,3],[8,3],[2,3],[10,3],[11,3],[12,3],[13,3],[14,3],[15,3],[16,3],[17,3],[3,3],[4,3],[21,3],[18,3],[19,3],[20,3],[22,3],[23,3],[24,3],[5,3],[25,3],[26,3],[27,3],[28,3],[6,3],[32,3],[29,3],[30,3],[31,3],[33,3],[7,3],[34,3],[39,3],[40,3],[35,3],[36,3],[37,3],[38,3],[41,3],[1,3],[42,3],[43,3],[44,3],[45,3],[46,3],[47,3],[48,3],[49,3],[50,3]],"exportedModulesMap":[[105,1],[107,2],[106,3],[108,4],[109,3],[110,3],[111,3],[112,3],[51,5],[52,5],[54,6],[55,7],[56,8],[57,9],[58,10],[59,11],[60,12],[61,13],[62,14],[63,15],[64,15],[66,16],[65,17],[67,16],[68,18],[69,19],[53,20],[103,3],[70,21],[71,22],[72,23],[104,24],[73,25],[74,26],[75,27],[76,28],[77,29],[78,30],[79,31],[80,32],[81,33],[82,34],[83,34],[84,35],[85,36],[87,37],[86,38],[88,39],[89,40],[90,41],[91,42],[92,43],[93,44],[94,45],[95,46],[96,47],[97,48],[98,49],[99,50],[100,51],[101,52],[102,53],[113,3],[114,3],[115,1],[116,1],[117,3],[118,54],[9,3],[8,3],[2,3],[10,3],[11,3],[12,3],[13,3],[14,3],[15,3],[16,3],[17,3],[3,3],[4,3],[21,3],[18,3],[19,3],[20,3],[22,3],[23,3],[24,3],[5,3],[25,3],[26,3],[27,3],[28,3],[6,3],[32,3],[29,3],[30,3],[31,3],[33,3],[7,3],[34,3],[39,3],[40,3],[35,3],[36,3],[37,3],[38,3],[41,3],[1,3],[42,3]],"semanticDiagnosticsPerFile":[105,107,106,108,109,110,111,112,51,52,54,55,56,57,58,59,60,61,62,63,64,66,65,67,68,69,53,103,70,71,72,104,73,74,75,76,77,78,79,80,81,82,83,84,85,87,86,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,113,114,115,116,117,118,9,8,2,10,11,12,13,14,15,16,17,3,4,21,18,19,20,22,23,24,5,25,26,27,28,6,32,29,30,31,33,7,34,39,40,35,36,37,38,41,1,42,43,44,45,46,47,48,49,50],"latestChangedDtsFile":"../../lib/types/vote_hook_interface.d.ts"},"version":"4.9.5"} \ No newline at end of file diff --git a/packages/nft-proxy-sdk/package.json b/packages/nft-proxy-sdk/package.json index 61b2227..fb2a222 100644 --- a/packages/nft-proxy-sdk/package.json +++ b/packages/nft-proxy-sdk/package.json @@ -31,7 +31,7 @@ "prebuild": "npm run clean && npm run package" }, "dependencies": { - "@coral-xyz/anchor": "^0.31.0", + "@anchor-lang/core": "^1.0.0-rc.5", "@helium/anchor-resolvers": "^0.10.0-alpha.6", "@helium/modular-governance-idls": "^0.0.10", "@solana/spl-token": "^0.3.8" diff --git a/packages/nft-proxy-sdk/src/index.ts b/packages/nft-proxy-sdk/src/index.ts index 68c5df5..170a9f3 100644 --- a/packages/nft-proxy-sdk/src/index.ts +++ b/packages/nft-proxy-sdk/src/index.ts @@ -1,5 +1,5 @@ import { NftProxy } from "@helium/modular-governance-idls/lib/types/nft_proxy"; -import { AnchorProvider, Idl, Program } from "@coral-xyz/anchor"; +import { AnchorProvider, Idl, Program } from "@anchor-lang/core"; import { PublicKey } from "@solana/web3.js"; import { PROGRAM_ID } from "./constants"; import { nftProxyResolvers } from "./resolvers"; diff --git a/packages/nft-proxy-sdk/src/resolvers.ts b/packages/nft-proxy-sdk/src/resolvers.ts index 032f717..aa43d55 100644 --- a/packages/nft-proxy-sdk/src/resolvers.ts +++ b/packages/nft-proxy-sdk/src/resolvers.ts @@ -1,4 +1,4 @@ -import * as anchor from "@coral-xyz/anchor"; +import * as anchor from "@anchor-lang/core"; import { combineResolvers, resolveIndividual } from "@helium/anchor-resolvers"; import { PublicKey } from "@solana/web3.js"; import { getAccount } from "@solana/spl-token"; diff --git a/packages/nft-voter-sdk/package.json b/packages/nft-voter-sdk/package.json index 952021d..7569840 100644 --- a/packages/nft-voter-sdk/package.json +++ b/packages/nft-voter-sdk/package.json @@ -31,7 +31,7 @@ "prebuild": "npm run clean && npm run package" }, "dependencies": { - "@coral-xyz/anchor": "^0.31.0", + "@anchor-lang/core": "^1.0.0-rc.5", "@helium/anchor-resolvers": "^0.10.0-alpha.6", "@helium/modular-governance-idls": "^0.1.5", "@helium/nft-proxy-sdk": "^0.1.5", diff --git a/packages/nft-voter-sdk/src/functions/deposit.ts b/packages/nft-voter-sdk/src/functions/deposit.ts index fab0943..a90ffd8 100644 --- a/packages/nft-voter-sdk/src/functions/deposit.ts +++ b/packages/nft-voter-sdk/src/functions/deposit.ts @@ -1,5 +1,5 @@ import { TokenVoter } from "@helium/modular-governance-idls/lib/types/token_voter"; -import { BN, Program } from "@coral-xyz/anchor"; +import { BN, Program } from "@anchor-lang/core"; import { Keypair, PublicKey, SystemProgram } from "@solana/web3.js"; import { receiptKey } from "../pdas"; import { diff --git a/packages/nft-voter-sdk/src/index.ts b/packages/nft-voter-sdk/src/index.ts index 271b3ed..da7f3c7 100644 --- a/packages/nft-voter-sdk/src/index.ts +++ b/packages/nft-voter-sdk/src/index.ts @@ -1,5 +1,5 @@ import { NftVoter } from "@helium/modular-governance-idls/lib/types/nft_voter"; -import { AnchorProvider, Idl, Program } from "@coral-xyz/anchor"; +import { AnchorProvider, Idl, Program } from "@anchor-lang/core"; import { PublicKey } from "@solana/web3.js"; import { PROGRAM_ID } from "./constants"; import { nftVoterResolvers } from "./resolvers"; diff --git a/packages/nft-voter-sdk/src/resolvers.ts b/packages/nft-voter-sdk/src/resolvers.ts index 8f30d8a..e2bec3d 100644 --- a/packages/nft-voter-sdk/src/resolvers.ts +++ b/packages/nft-voter-sdk/src/resolvers.ts @@ -1,6 +1,6 @@ import { ataResolver, combineResolvers, resolveIndividual } from "@helium/anchor-resolvers"; import { PROGRAM_ID } from "./constants"; -import * as anchor from "@coral-xyz/anchor"; +import * as anchor from "@anchor-lang/core"; import { PublicKey } from "@solana/web3.js"; import { proxyAssignmentKey, nftProxyResolvers } from "@helium/nft-proxy-sdk"; import { init } from "."; diff --git a/packages/organization-sdk/package.json b/packages/organization-sdk/package.json index c1b5dea..e87220b 100644 --- a/packages/organization-sdk/package.json +++ b/packages/organization-sdk/package.json @@ -31,7 +31,7 @@ "prebuild": "npm run clean && npm run package" }, "dependencies": { - "@coral-xyz/anchor": "^0.31.0", + "@anchor-lang/core": "^1.0.0-rc.5", "@helium/anchor-resolvers": "^0.10.0-alpha.6", "@helium/modular-governance-idls": "^0.1.5", "@helium/proposal-sdk": "^0.1.5" diff --git a/packages/organization-sdk/src/init.ts b/packages/organization-sdk/src/init.ts index 01c1a41..88ab67c 100644 --- a/packages/organization-sdk/src/init.ts +++ b/packages/organization-sdk/src/init.ts @@ -1,4 +1,4 @@ -import { AnchorProvider, Idl, Program } from "@coral-xyz/anchor"; +import { AnchorProvider, Idl, Program } from "@anchor-lang/core"; import { Organization } from "@helium/modular-governance-idls/lib/types/organization"; import { PublicKey } from "@solana/web3.js"; import { PROGRAM_ID } from "./constants"; diff --git a/packages/organization-sdk/src/resolvers.ts b/packages/organization-sdk/src/resolvers.ts index 3467d23..753df02 100644 --- a/packages/organization-sdk/src/resolvers.ts +++ b/packages/organization-sdk/src/resolvers.ts @@ -1,6 +1,6 @@ import { combineResolvers, resolveIndividual } from "@helium/anchor-resolvers"; import { PROGRAM_ID } from "./constants"; -import * as anchor from "@coral-xyz/anchor"; +import * as anchor from "@anchor-lang/core"; import { init } from "./init"; import { PublicKey } from "@solana/web3.js"; import { proposalKey } from "./pdas"; diff --git a/packages/organization-wallet-sdk/package.json b/packages/organization-wallet-sdk/package.json index 2e0ddf2..fbb9fa4 100644 --- a/packages/organization-wallet-sdk/package.json +++ b/packages/organization-wallet-sdk/package.json @@ -31,7 +31,7 @@ "prebuild": "npm run clean && npm run package" }, "dependencies": { - "@coral-xyz/anchor": "^0.31.0", + "@anchor-lang/core": "^1.0.0-rc.5", "@helium/anchor-resolvers": "^0.10.0-alpha.6", "@helium/modular-governance-idls": "^0.1.5", "@helium/proposal-sdk": "^0.1.5" diff --git a/packages/organization-wallet-sdk/src/functions/executeTransaction.ts b/packages/organization-wallet-sdk/src/functions/executeTransaction.ts index 3825bfd..679a5c3 100644 --- a/packages/organization-wallet-sdk/src/functions/executeTransaction.ts +++ b/packages/organization-wallet-sdk/src/functions/executeTransaction.ts @@ -1,4 +1,4 @@ -import { Program } from "@coral-xyz/anchor"; +import { Program } from "@anchor-lang/core"; import { OrganizationWallet } from "@helium/modular-governance-idls/lib/types/organization_wallet"; import { PublicKey } from "@solana/web3.js"; diff --git a/packages/organization-wallet-sdk/src/index.ts b/packages/organization-wallet-sdk/src/index.ts index 189fed2..3bbb3d9 100644 --- a/packages/organization-wallet-sdk/src/index.ts +++ b/packages/organization-wallet-sdk/src/index.ts @@ -1,4 +1,4 @@ -import { CustomAccountResolver, Idl, IdlTypes } from "@coral-xyz/anchor"; +import { CustomAccountResolver, Idl, IdlTypes } from "@anchor-lang/core"; import { OrganizationWallet } from "@helium/modular-governance-idls/lib/types/organization_wallet"; import { AccountMeta, PublicKey, TransactionInstruction } from "@solana/web3.js"; diff --git a/packages/organization-wallet-sdk/src/init.ts b/packages/organization-wallet-sdk/src/init.ts index e85451d..14b6e2e 100644 --- a/packages/organization-wallet-sdk/src/init.ts +++ b/packages/organization-wallet-sdk/src/init.ts @@ -1,4 +1,4 @@ -import { AnchorProvider, Idl, Program } from "@coral-xyz/anchor"; +import { AnchorProvider, Idl, Program } from "@anchor-lang/core"; import { OrganizationWallet } from "@helium/modular-governance-idls/lib/types/organization_wallet"; import { PublicKey } from "@solana/web3.js"; import { PROGRAM_ID } from "./constants"; diff --git a/packages/proposal-sdk/package.json b/packages/proposal-sdk/package.json index b61d86f..051b109 100644 --- a/packages/proposal-sdk/package.json +++ b/packages/proposal-sdk/package.json @@ -31,7 +31,7 @@ "prebuild": "npm run clean && npm run package" }, "dependencies": { - "@coral-xyz/anchor": "^0.31.0", + "@anchor-lang/core": "^1.0.0-rc.5", "@helium/anchor-resolvers": "^0.10.0-alpha.6", "@helium/modular-governance-idls": "^0.1.5" }, diff --git a/packages/proposal-sdk/src/index.ts b/packages/proposal-sdk/src/index.ts index 06e084c..c260aed 100644 --- a/packages/proposal-sdk/src/index.ts +++ b/packages/proposal-sdk/src/index.ts @@ -1,5 +1,5 @@ import { Proposal } from "@helium/modular-governance-idls/lib/types/proposal"; -import { AnchorProvider, Idl, Program } from "@coral-xyz/anchor"; +import { AnchorProvider, Idl, Program } from "@anchor-lang/core"; import { PublicKey } from "@solana/web3.js"; import BN from "bn.js"; import { PROGRAM_ID } from "./constants"; diff --git a/packages/proposal-sdk/src/resolvers.ts b/packages/proposal-sdk/src/resolvers.ts index a28fedc..0bae443 100644 --- a/packages/proposal-sdk/src/resolvers.ts +++ b/packages/proposal-sdk/src/resolvers.ts @@ -1,6 +1,6 @@ import { combineResolvers, resolveIndividual } from "@helium/anchor-resolvers"; import { PROGRAM_ID } from "./constants"; -import * as anchor from "@coral-xyz/anchor"; +import * as anchor from "@anchor-lang/core"; import { PublicKey } from "@solana/web3.js"; import { proposalKey } from "./pdas"; diff --git a/packages/state-controller-sdk/package.json b/packages/state-controller-sdk/package.json index 6537692..afcd42c 100644 --- a/packages/state-controller-sdk/package.json +++ b/packages/state-controller-sdk/package.json @@ -31,7 +31,7 @@ "prebuild": "npm run clean && npm run package" }, "dependencies": { - "@coral-xyz/anchor": "^0.31.0", + "@anchor-lang/core": "^1.0.0-rc.5", "@helium/anchor-resolvers": "^0.10.0-alpha.6", "@helium/modular-governance-idls": "^0.1.5" }, diff --git a/packages/state-controller-sdk/src/index.ts b/packages/state-controller-sdk/src/index.ts index b74dc3a..bbd12e6 100644 --- a/packages/state-controller-sdk/src/index.ts +++ b/packages/state-controller-sdk/src/index.ts @@ -1,5 +1,5 @@ import { StateController } from "@helium/modular-governance-idls/lib/types/state_controller"; -import { AnchorProvider, Idl, Program } from "@coral-xyz/anchor"; +import { AnchorProvider, Idl, Program } from "@anchor-lang/core"; import { PublicKey } from "@solana/web3.js"; import { PROGRAM_ID } from "./constants"; import { stateControllerResolvers } from "./resolvers"; diff --git a/packages/state-controller-sdk/src/resolvers.ts b/packages/state-controller-sdk/src/resolvers.ts index ebe1f96..b94082b 100644 --- a/packages/state-controller-sdk/src/resolvers.ts +++ b/packages/state-controller-sdk/src/resolvers.ts @@ -1,6 +1,6 @@ import { combineResolvers, resolveIndividual } from "@helium/anchor-resolvers"; import { PROGRAM_ID } from "./constants"; -import * as anchor from "@coral-xyz/anchor"; +import * as anchor from "@anchor-lang/core"; import { PublicKey } from "@solana/web3.js"; export const stateControllerProgramResolver: anchor.CustomAccountResolver = diff --git a/packages/token-voter-sdk/package.json b/packages/token-voter-sdk/package.json index cb7c8ef..31d6b88 100644 --- a/packages/token-voter-sdk/package.json +++ b/packages/token-voter-sdk/package.json @@ -31,7 +31,7 @@ "prebuild": "npm run clean && npm run package" }, "dependencies": { - "@coral-xyz/anchor": "^0.31.0", + "@anchor-lang/core": "^1.0.0-rc.5", "@helium/anchor-resolvers": "^0.10.0-alpha.6", "@helium/modular-governance-idls": "^0.1.5", "@solana/spl-token": "^0.3.8" diff --git a/packages/token-voter-sdk/src/functions/deposit.ts b/packages/token-voter-sdk/src/functions/deposit.ts index fab0943..a90ffd8 100644 --- a/packages/token-voter-sdk/src/functions/deposit.ts +++ b/packages/token-voter-sdk/src/functions/deposit.ts @@ -1,5 +1,5 @@ import { TokenVoter } from "@helium/modular-governance-idls/lib/types/token_voter"; -import { BN, Program } from "@coral-xyz/anchor"; +import { BN, Program } from "@anchor-lang/core"; import { Keypair, PublicKey, SystemProgram } from "@solana/web3.js"; import { receiptKey } from "../pdas"; import { diff --git a/packages/token-voter-sdk/src/index.ts b/packages/token-voter-sdk/src/index.ts index 6bd57b1..088e2c5 100644 --- a/packages/token-voter-sdk/src/index.ts +++ b/packages/token-voter-sdk/src/index.ts @@ -1,5 +1,5 @@ import { TokenVoter } from "@helium/modular-governance-idls/lib/types/token_voter"; -import { AnchorProvider, Idl, Program } from "@coral-xyz/anchor"; +import { AnchorProvider, Idl, Program } from "@anchor-lang/core"; import { PublicKey } from "@solana/web3.js"; import { PROGRAM_ID } from "./constants"; import { tokenVoterResolvers } from "./resolvers"; diff --git a/packages/token-voter-sdk/src/resolvers.ts b/packages/token-voter-sdk/src/resolvers.ts index a01b93a..f5d4d0c 100644 --- a/packages/token-voter-sdk/src/resolvers.ts +++ b/packages/token-voter-sdk/src/resolvers.ts @@ -1,6 +1,6 @@ import { ataResolver, combineResolvers, resolveIndividual } from "@helium/anchor-resolvers"; import { PROGRAM_ID } from "./constants"; -import * as anchor from "@coral-xyz/anchor"; +import * as anchor from "@anchor-lang/core"; import { PublicKey } from "@solana/web3.js"; export const tokenVoterProgramResolver: anchor.CustomAccountResolver = diff --git a/programs/nft_proxy/Cargo.toml b/programs/nft_proxy/Cargo.toml index c9699c1..e709761 100644 --- a/programs/nft_proxy/Cargo.toml +++ b/programs/nft_proxy/Cargo.toml @@ -20,5 +20,9 @@ devnet = [] [dependencies] anchor-lang = { workspace = true } anchor-spl = { workspace = true } +solana-program = { workspace = true } bytemuck = "1.14.0" + +[lints] +workspace = true diff --git a/programs/nft_proxy/src/instructions/assign_proxy_v0.rs b/programs/nft_proxy/src/instructions/assign_proxy_v0.rs index 8a2ab01..aa39dfc 100644 --- a/programs/nft_proxy/src/instructions/assign_proxy_v0.rs +++ b/programs/nft_proxy/src/instructions/assign_proxy_v0.rs @@ -37,7 +37,7 @@ pub struct AssignProxyV0<'info> { constraint = (current_proxy_assignment.index != 0 && current_proxy_assignment.voter == voter.key()) || (current_proxy_assignment.index == 0 && voter.key() == Pubkey::default()) )] - pub voter: AccountInfo<'info>, + pub voter: UncheckedAccount<'info>, #[account( constraint = token_account.mint == asset.key(), constraint = token_account.amount == 1, @@ -70,7 +70,7 @@ pub struct AssignProxyV0<'info> { None => true } )] - pub recipient: AccountInfo<'info>, + pub recipient: UncheckedAccount<'info>, #[account( init_if_needed, payer = payer, diff --git a/programs/nft_proxy/src/instructions/close_expired_proxy_v0.rs b/programs/nft_proxy/src/instructions/close_expired_proxy_v0.rs index 375943f..bd720e7 100644 --- a/programs/nft_proxy/src/instructions/close_expired_proxy_v0.rs +++ b/programs/nft_proxy/src/instructions/close_expired_proxy_v0.rs @@ -8,7 +8,7 @@ use crate::state::*; pub struct CloseExpiredProxyV0<'info> { /// CHECK: Receiving rent for closing #[account(mut)] - pub rent_refund: AccountInfo<'info>, + pub rent_refund: UncheckedAccount<'info>, #[account( mut, close = rent_refund, diff --git a/programs/nft_proxy/src/instructions/initialize_proxy_config_v0.rs b/programs/nft_proxy/src/instructions/initialize_proxy_config_v0.rs index 06946ca..bc8faf4 100644 --- a/programs/nft_proxy/src/instructions/initialize_proxy_config_v0.rs +++ b/programs/nft_proxy/src/instructions/initialize_proxy_config_v0.rs @@ -15,7 +15,7 @@ pub struct InitializeProxyConfigV0<'info> { #[account(mut)] pub payer: Signer<'info>, /// CHECK: The authority of this config - pub authority: AccountInfo<'info>, + pub authority: UncheckedAccount<'info>, #[account( init, payer = payer, diff --git a/programs/nft_proxy/src/instructions/unassign_expired_proxy_v0.rs b/programs/nft_proxy/src/instructions/unassign_expired_proxy_v0.rs index a85924f..d84b6e4 100644 --- a/programs/nft_proxy/src/instructions/unassign_expired_proxy_v0.rs +++ b/programs/nft_proxy/src/instructions/unassign_expired_proxy_v0.rs @@ -8,7 +8,7 @@ use crate::state::*; pub struct UnassignExpiredProxyV0<'info> { /// CHECK: Receiving rent for closing #[account(mut)] - pub rent_refund: AccountInfo<'info>, + pub rent_refund: UncheckedAccount<'info>, #[account( mut, constraint = prev_proxy_assignment.next_voter == proxy_assignment.voter, diff --git a/programs/nft_proxy/src/instructions/unassign_proxy_v0.rs b/programs/nft_proxy/src/instructions/unassign_proxy_v0.rs index b8ba38e..f98dbad 100644 --- a/programs/nft_proxy/src/instructions/unassign_proxy_v0.rs +++ b/programs/nft_proxy/src/instructions/unassign_proxy_v0.rs @@ -10,7 +10,7 @@ use crate::state::{ProxyAssignmentV0, ProxyConfigV0}; pub struct UnassignProxyV0<'info> { /// CHECK: Receiving rent for closing #[account(mut)] - pub rent_refund: AccountInfo<'info>, + pub rent_refund: UncheckedAccount<'info>, #[account( constraint = asset.supply == 1, constraint = asset.decimals == 0 @@ -29,7 +29,7 @@ pub struct UnassignProxyV0<'info> { constraint = (current_proxy_assignment.index != 0 && current_proxy_assignment.voter == voter.key()) || (current_proxy_assignment.index == 0 && voter.key() == Pubkey::default()) )] - pub voter: AccountInfo<'info>, + pub voter: UncheckedAccount<'info>, #[account( constraint = token_account.mint == asset.key(), constraint = token_account.amount == 1, diff --git a/programs/nft_proxy/src/resize_to_fit.rs b/programs/nft_proxy/src/resize_to_fit.rs index a4746be..c6fe9ba 100644 --- a/programs/nft_proxy/src/resize_to_fit.rs +++ b/programs/nft_proxy/src/resize_to_fit.rs @@ -1,10 +1,9 @@ use crate::error::ErrorCode; use std::io::Write; -use anchor_lang::{ - prelude::*, - solana_program::{entrypoint::MAX_PERMITTED_DATA_INCREASE, program::invoke, system_instruction}, -}; +use anchor_lang::prelude::*; +use anchor_lang::solana_program::{program::invoke, system_instruction}; +use solana_program::account_info::MAX_PERMITTED_DATA_INCREASE; pub struct IgnoreWriter { pub total: usize, @@ -48,7 +47,7 @@ pub fn resize_to_fit<'info, T: AccountSerialize + AccountDeserialize + Owner + C ], )?; - account.to_account_info().realloc(new_size, false)?; + account.to_account_info().resize(new_size)?; Ok(()) } diff --git a/programs/nft_voter/Cargo.toml b/programs/nft_voter/Cargo.toml index b7a4478..2819ee6 100644 --- a/programs/nft_voter/Cargo.toml +++ b/programs/nft_voter/Cargo.toml @@ -23,4 +23,6 @@ anchor-lang = { workspace = true } anchor-spl = { workspace = true } proposal = { path = "../proposal", features = ["no-entrypoint", "cpi"] } nft-proxy = { path = "../nft_proxy", features = ["cpi"] } -serde = { version = "1.0", features = ["derive"], optional = true } \ No newline at end of file +serde = { version = "1.0", features = ["derive"], optional = true } +[lints] +workspace = true diff --git a/programs/nft_voter/src/instructions/proxied_relinquish_vote_v0.rs b/programs/nft_voter/src/instructions/proxied_relinquish_vote_v0.rs index 5281c63..4b55bdb 100644 --- a/programs/nft_voter/src/instructions/proxied_relinquish_vote_v0.rs +++ b/programs/nft_voter/src/instructions/proxied_relinquish_vote_v0.rs @@ -13,7 +13,7 @@ pub struct ProxiedRelinquishVoteV0<'info> { /// CHECK: You're getting sol why do you care? /// Account to receive sol rent_refund if marker is closed #[account(mut)] - pub rent_refund: AccountInfo<'info>, + pub rent_refund: UncheckedAccount<'info>, #[account( mut, seeds = [b"marker", nft_voter.key().as_ref(), mint.key().as_ref(), proposal.key().as_ref()], @@ -54,14 +54,14 @@ pub struct ProxiedRelinquishVoteV0<'info> { pub proposal_config: Account<'info, ProposalConfigV0>, /// CHECK: Checked via cpi #[account(mut)] - pub state_controller: AccountInfo<'info>, + pub state_controller: UncheckedAccount<'info>, /// CHECK: Checked via has_one - pub on_vote_hook: AccountInfo<'info>, + pub on_vote_hook: UncheckedAccount<'info>, /// CHECK: Checked via constraint #[account( constraint = *proposal.to_account_info().owner == proposal_program.key() )] - pub proposal_program: AccountInfo<'info>, + pub proposal_program: UncheckedAccount<'info>, pub system_program: Program<'info, System>, } @@ -84,7 +84,7 @@ pub fn handler(ctx: Context, args: RelinquishVoteArgsV0 proposal::cpi::vote_v0( CpiContext::new_with_signer( - ctx.accounts.proposal_program.to_account_info(), + ctx.accounts.proposal_program.key(), proposal::cpi::accounts::VoteV0 { voter: ctx.accounts.voter.to_account_info(), vote_controller: ctx.accounts.nft_voter.to_account_info(), diff --git a/programs/nft_voter/src/instructions/proxied_vote_v0.rs b/programs/nft_voter/src/instructions/proxied_vote_v0.rs index a2449c8..3b32bd8 100644 --- a/programs/nft_voter/src/instructions/proxied_vote_v0.rs +++ b/programs/nft_voter/src/instructions/proxied_vote_v0.rs @@ -53,14 +53,14 @@ pub struct ProxyVoteV0<'info> { pub proposal_config: Account<'info, ProposalConfigV0>, /// CHECK: Checked via cpi #[account(mut)] - pub state_controller: AccountInfo<'info>, + pub state_controller: UncheckedAccount<'info>, /// CHECK: Checked via has_one - pub on_vote_hook: AccountInfo<'info>, + pub on_vote_hook: UncheckedAccount<'info>, /// CHECK: Checked via constraint #[account( constraint = *proposal.to_account_info().owner == proposal_program.key() )] - pub proposal_program: AccountInfo<'info>, + pub proposal_program: UncheckedAccount<'info>, pub system_program: Program<'info, System>, } @@ -91,7 +91,7 @@ pub fn handler(ctx: Context, args: VoteArgsV0) -> Result<()> { proposal::cpi::vote_v0( CpiContext::new_with_signer( - ctx.accounts.proposal_program.to_account_info(), + ctx.accounts.proposal_program.key(), proposal::cpi::accounts::VoteV0 { voter: ctx.accounts.voter.to_account_info(), vote_controller: ctx.accounts.nft_voter.to_account_info(), diff --git a/programs/nft_voter/src/instructions/relinquish_vote_v0.rs b/programs/nft_voter/src/instructions/relinquish_vote_v0.rs index 2ad4371..1eabefe 100644 --- a/programs/nft_voter/src/instructions/relinquish_vote_v0.rs +++ b/programs/nft_voter/src/instructions/relinquish_vote_v0.rs @@ -17,7 +17,7 @@ pub struct RelinquishVoteV0<'info> { /// CHECK: You're getting sol why do you care? /// Account to receive sol refund if marker is closed #[account(mut)] - pub rent_refund: AccountInfo<'info>, + pub rent_refund: UncheckedAccount<'info>, #[account( mut, seeds = [b"marker", nft_voter.key().as_ref(), mint.key().as_ref(), proposal.key().as_ref()], @@ -56,14 +56,14 @@ pub struct RelinquishVoteV0<'info> { pub proposal_config: Account<'info, ProposalConfigV0>, /// CHECK: Checked via cpi #[account(mut)] - pub state_controller: AccountInfo<'info>, + pub state_controller: UncheckedAccount<'info>, /// CHECK: Checked via has_one - pub on_vote_hook: AccountInfo<'info>, + pub on_vote_hook: UncheckedAccount<'info>, /// CHECK: Checked via constraint #[account( constraint = *proposal.to_account_info().owner == proposal_program.key() )] - pub proposal_program: AccountInfo<'info>, + pub proposal_program: UncheckedAccount<'info>, pub system_program: Program<'info, System>, } @@ -86,7 +86,7 @@ pub fn handler(ctx: Context, args: RelinquishVoteArgsV0) -> Re proposal::cpi::vote_v0( CpiContext::new_with_signer( - ctx.accounts.proposal_program.to_account_info(), + ctx.accounts.proposal_program.key(), proposal::cpi::accounts::VoteV0 { voter: ctx.accounts.voter.to_account_info(), vote_controller: ctx.accounts.nft_voter.to_account_info(), diff --git a/programs/nft_voter/src/instructions/update_nft_voter_v0.rs b/programs/nft_voter/src/instructions/update_nft_voter_v0.rs index f561475..42362ff 100644 --- a/programs/nft_voter/src/instructions/update_nft_voter_v0.rs +++ b/programs/nft_voter/src/instructions/update_nft_voter_v0.rs @@ -7,7 +7,7 @@ pub struct UpdateNftVoterV0<'info> { pub authority: Signer<'info>, pub proxy_config: Option>, /// CHECK: Set if setting the new auth - pub new_authority: Option>, + pub new_authority: Option>, #[account( has_one = authority )] diff --git a/programs/nft_voter/src/instructions/vote_v0.rs b/programs/nft_voter/src/instructions/vote_v0.rs index d82a2e4..22a005c 100644 --- a/programs/nft_voter/src/instructions/vote_v0.rs +++ b/programs/nft_voter/src/instructions/vote_v0.rs @@ -54,14 +54,14 @@ pub struct VoteV0<'info> { pub proposal_config: Account<'info, ProposalConfigV0>, /// CHECK: Checked via cpi #[account(mut)] - pub state_controller: AccountInfo<'info>, + pub state_controller: UncheckedAccount<'info>, /// CHECK: Checked via has_one - pub on_vote_hook: AccountInfo<'info>, + pub on_vote_hook: UncheckedAccount<'info>, /// CHECK: Checked via constraint #[account( constraint = *proposal.to_account_info().owner == proposal_program.key() )] - pub proposal_program: AccountInfo<'info>, + pub proposal_program: UncheckedAccount<'info>, pub system_program: Program<'info, System>, } @@ -92,7 +92,7 @@ pub fn handler(ctx: Context, args: VoteArgsV0) -> Result<()> { proposal::cpi::vote_v0( CpiContext::new_with_signer( - ctx.accounts.proposal_program.to_account_info(), + ctx.accounts.proposal_program.key(), proposal::cpi::accounts::VoteV0 { voter: ctx.accounts.voter.to_account_info(), vote_controller: ctx.accounts.nft_voter.to_account_info(), diff --git a/programs/organization/Cargo.toml b/programs/organization/Cargo.toml index 533f145..48210b4 100644 --- a/programs/organization/Cargo.toml +++ b/programs/organization/Cargo.toml @@ -21,3 +21,6 @@ devnet = [] anchor-lang = { workspace = true } anchor-spl = { workspace = true } proposal = { path = "../proposal", features = ["no-entrypoint", "cpi"] } + +[lints] +workspace = true diff --git a/programs/organization/src/instructions/initialize_proposal_v0.rs b/programs/organization/src/instructions/initialize_proposal_v0.rs index d74e454..b6b40eb 100644 --- a/programs/organization/src/instructions/initialize_proposal_v0.rs +++ b/programs/organization/src/instructions/initialize_proposal_v0.rs @@ -46,9 +46,9 @@ pub struct InitializeProposalV0<'info> { bump, )] /// CHECK: Checked via cpi - pub proposal: AccountInfo<'info>, + pub proposal: UncheckedAccount<'info>, /// CHECK: Checked via cpi - pub proposal_config: AccountInfo<'info>, + pub proposal_config: UncheckedAccount<'info>, #[account( mut, has_one = proposal_program, @@ -66,7 +66,7 @@ pub struct InitializeProposalV0<'info> { pub fn handler(ctx: Context, args: InitializeProposalArgsV0) -> Result<()> { cpi_initialize_proposal( CpiContext::new_with_signer( - ctx.accounts.proposal_program.to_account_info(), + ctx.accounts.proposal_program.key(), CpiInitializeProposal { namespace: ctx.accounts.organization.to_account_info(), owner: ctx.accounts.owner.to_account_info(), diff --git a/programs/organization_wallet/Cargo.toml b/programs/organization_wallet/Cargo.toml index d20c4cd..be714b4 100644 --- a/programs/organization_wallet/Cargo.toml +++ b/programs/organization_wallet/Cargo.toml @@ -20,5 +20,9 @@ devnet = [] [dependencies] anchor-lang = { workspace = true } anchor-spl = { workspace = true } +solana-program = { workspace = true } proposal = { path = "../proposal", features = ["no-entrypoint", "cpi"] } organization = { path = "../organization", features = ["no-entrypoint", "cpi"] } + +[lints] +workspace = true diff --git a/programs/organization_wallet/src/instructions/execute_transaction_v0.rs b/programs/organization_wallet/src/instructions/execute_transaction_v0.rs index bf5d9a1..e5f0004 100644 --- a/programs/organization_wallet/src/instructions/execute_transaction_v0.rs +++ b/programs/organization_wallet/src/instructions/execute_transaction_v0.rs @@ -1,8 +1,8 @@ use crate::error::ErrorCode; use crate::{state::*, wallet_seeds}; -use anchor_lang::solana_program::instruction::Instruction; -use anchor_lang::{prelude::*, solana_program}; +use anchor_lang::prelude::*; use proposal::{ProposalState, ProposalV0}; +use solana_program::{instruction::Instruction, program::invoke_signed}; #[derive(Accounts)] pub struct ExecuteTransactionV0<'info> { @@ -118,7 +118,7 @@ pub fn handler(ctx: Context) -> Result<()> { is_writable: acct.is_writable, }) } - solana_program::program::invoke_signed( + invoke_signed( &Instruction { program_id: *ctx.remaining_accounts[ix.program_id_index as usize].key, accounts: account_infos, diff --git a/programs/organization_wallet/src/resize_to_fit.rs b/programs/organization_wallet/src/resize_to_fit.rs index a4746be..c6fe9ba 100644 --- a/programs/organization_wallet/src/resize_to_fit.rs +++ b/programs/organization_wallet/src/resize_to_fit.rs @@ -1,10 +1,9 @@ use crate::error::ErrorCode; use std::io::Write; -use anchor_lang::{ - prelude::*, - solana_program::{entrypoint::MAX_PERMITTED_DATA_INCREASE, program::invoke, system_instruction}, -}; +use anchor_lang::prelude::*; +use anchor_lang::solana_program::{program::invoke, system_instruction}; +use solana_program::account_info::MAX_PERMITTED_DATA_INCREASE; pub struct IgnoreWriter { pub total: usize, @@ -48,7 +47,7 @@ pub fn resize_to_fit<'info, T: AccountSerialize + AccountDeserialize + Owner + C ], )?; - account.to_account_info().realloc(new_size, false)?; + account.to_account_info().resize(new_size)?; Ok(()) } diff --git a/programs/proposal/Cargo.toml b/programs/proposal/Cargo.toml index d90d2f6..2ce1ffe 100644 --- a/programs/proposal/Cargo.toml +++ b/programs/proposal/Cargo.toml @@ -21,3 +21,6 @@ devnet = [] anchor-lang = { workspace = true } anchor-spl = { workspace = true } vote-hook-interface = { path = "../vote_hook_interface", features = ["no-entrypoint", "cpi"] } + +[lints] +workspace = true diff --git a/programs/proposal/src/instructions/vote_v0.rs b/programs/proposal/src/instructions/vote_v0.rs index 4653bbb..0c011b5 100644 --- a/programs/proposal/src/instructions/vote_v0.rs +++ b/programs/proposal/src/instructions/vote_v0.rs @@ -15,10 +15,10 @@ pub struct VoteArgsV0 { pub struct VoteV0<'info> { pub vote_controller: Signer<'info>, /// CHECK: Just for indexing - pub voter: AccountInfo<'info>, + pub voter: UncheckedAccount<'info>, /// CHECK: Checked via cpi to the on vote hook, and has_ones #[account(mut)] - pub state_controller: AccountInfo<'info>, + pub state_controller: UncheckedAccount<'info>, #[account( has_one = on_vote_hook, has_one = state_controller, @@ -32,7 +32,7 @@ pub struct VoteV0<'info> { )] pub proposal: Account<'info, ProposalV0>, /// CHECK: Checked via has_one - pub on_vote_hook: AccountInfo<'info>, + pub on_vote_hook: UncheckedAccount<'info>, } pub fn handler(ctx: Context, args: VoteArgsV0) -> Result<()> { @@ -54,13 +54,13 @@ pub fn handler(ctx: Context, args: VoteArgsV0) -> Result<()> { msg!("Calling on vote hook {}", ctx.accounts.on_vote_hook.key()); let resolution_status = on_vote_v0( CpiContext::new_with_signer( - ctx.accounts.on_vote_hook.clone(), + ctx.accounts.on_vote_hook.key(), OnVoteV0 { - voter: ctx.accounts.voter.to_account_info().clone(), - vote_controller: ctx.accounts.vote_controller.to_account_info().clone(), - state_controller: ctx.accounts.state_controller.clone(), - proposal: ctx.accounts.proposal.to_account_info().clone(), - proposal_config: ctx.accounts.proposal_config.to_account_info().clone(), + voter: ctx.accounts.voter.to_account_info(), + vote_controller: ctx.accounts.vote_controller.to_account_info(), + state_controller: ctx.accounts.state_controller.to_account_info(), + proposal: ctx.accounts.proposal.to_account_info(), + proposal_config: ctx.accounts.proposal_config.to_account_info(), }, &[proposal_seeds!(ctx.accounts.proposal)], ), diff --git a/programs/state_controller/Cargo.toml b/programs/state_controller/Cargo.toml index 26b2b5b..0133307 100644 --- a/programs/state_controller/Cargo.toml +++ b/programs/state_controller/Cargo.toml @@ -21,3 +21,6 @@ devnet = [] anchor-lang = { workspace = true } anchor-spl = { workspace = true } proposal = { path = "../proposal", features = ["no-entrypoint", "cpi"] } + +[lints] +workspace = true diff --git a/programs/state_controller/src/instructions/on_vote_v0.rs b/programs/state_controller/src/instructions/on_vote_v0.rs index 6665f5a..99831d2 100644 --- a/programs/state_controller/src/instructions/on_vote_v0.rs +++ b/programs/state_controller/src/instructions/on_vote_v0.rs @@ -28,7 +28,7 @@ impl From for ProposalVoteArgsV0 { #[instruction(args: VoteArgsV0)] pub struct OnVoteV0<'info> { /// CHECK: not used - pub voter: AccountInfo<'info>, + pub voter: UncheckedAccount<'info>, pub vote_controller: Signer<'info>, /// CHECK: Checked via cpi to the on vote hook #[account(mut)] diff --git a/programs/state_controller/src/instructions/resolve_v0.rs b/programs/state_controller/src/instructions/resolve_v0.rs index caa3da4..526c0f6 100644 --- a/programs/state_controller/src/instructions/resolve_v0.rs +++ b/programs/state_controller/src/instructions/resolve_v0.rs @@ -25,7 +25,7 @@ pub struct ResolveV0<'info> { )] pub proposal_config: Account<'info, ProposalConfigV0>, /// CHECK: Checked via `owner` on proposal - pub proposal_program: AccountInfo<'info>, + pub proposal_program: UncheckedAccount<'info>, } pub fn handler(ctx: Context) -> Result<()> { @@ -33,11 +33,11 @@ pub fn handler(ctx: Context) -> Result<()> { if let Some(resolution) = ctx.accounts.state_controller.settings.resolution(&proposal) { update_state_v0( CpiContext::new_with_signer( - ctx.accounts.proposal_program.to_account_info().clone(), + ctx.accounts.proposal_program.key(), UpdateStateV0 { - state_controller: ctx.accounts.state_controller.to_account_info().clone(), - proposal: ctx.accounts.proposal.to_account_info().clone(), - proposal_config: ctx.accounts.proposal_config.to_account_info().clone(), + state_controller: ctx.accounts.state_controller.to_account_info(), + proposal: ctx.accounts.proposal.to_account_info(), + proposal_config: ctx.accounts.proposal_config.to_account_info(), }, &[resolution_setting_seeds!(ctx.accounts.state_controller)], ), diff --git a/programs/state_controller/src/instructions/update_state_v0.rs b/programs/state_controller/src/instructions/update_state_v0.rs index 2ccb287..6019d77 100644 --- a/programs/state_controller/src/instructions/update_state_v0.rs +++ b/programs/state_controller/src/instructions/update_state_v0.rs @@ -35,17 +35,17 @@ pub struct UpdateStateV0<'info> { pub proposal_config: Account<'info, ProposalConfigV0>, pub state_controller: Account<'info, ResolutionSettingsV0>, /// CHECK: Checked via `owner` on proposal - pub proposal_program: AccountInfo<'info>, + pub proposal_program: UncheckedAccount<'info>, } pub fn handler(ctx: Context, args: UpdateStateArgsV0) -> Result<()> { update_state_v0( CpiContext::new_with_signer( - ctx.accounts.proposal_program.to_account_info().clone(), + ctx.accounts.proposal_program.key(), CpiUpdateStateV0 { - state_controller: ctx.accounts.state_controller.to_account_info().clone(), - proposal: ctx.accounts.proposal.to_account_info().clone(), - proposal_config: ctx.accounts.proposal_config.to_account_info().clone(), + state_controller: ctx.accounts.state_controller.to_account_info(), + proposal: ctx.accounts.proposal.to_account_info(), + proposal_config: ctx.accounts.proposal_config.to_account_info(), }, &[resolution_setting_seeds!(ctx.accounts.state_controller)], ), diff --git a/programs/token_voter/Cargo.toml b/programs/token_voter/Cargo.toml index b066b1a..d742ad4 100644 --- a/programs/token_voter/Cargo.toml +++ b/programs/token_voter/Cargo.toml @@ -22,4 +22,6 @@ serde-feature = ["serde"] anchor-lang = { workspace = true } anchor-spl = { workspace = true } proposal = { path = "../proposal", features = ["no-entrypoint", "cpi"] } -serde = { version = "1.0", features = ["derive"], optional = true } \ No newline at end of file +serde = { version = "1.0", features = ["derive"], optional = true } +[lints] +workspace = true diff --git a/programs/token_voter/src/instructions/deposit_v0.rs b/programs/token_voter/src/instructions/deposit_v0.rs index ce40711..dd8f1e1 100644 --- a/programs/token_voter/src/instructions/deposit_v0.rs +++ b/programs/token_voter/src/instructions/deposit_v0.rs @@ -124,7 +124,7 @@ impl<'info> DepositV0<'info> { to: self.receipt_token_account.to_account_info(), authority: self.receipt.to_account_info(), }; - CpiContext::new(self.token_program.to_account_info(), cpi_accounts) + CpiContext::new(Token::id(), cpi_accounts) } fn deposit_transfer_ctx(&self) -> CpiContext<'_, '_, '_, 'info, Transfer<'info>> { @@ -133,7 +133,7 @@ impl<'info> DepositV0<'info> { to: self.vault.to_account_info(), authority: self.payer.to_account_info(), }; - CpiContext::new(self.token_program.to_account_info(), cpi_accounts) + CpiContext::new(Token::id(), cpi_accounts) } } @@ -153,19 +153,15 @@ pub fn handler(ctx: Context, args: DepositArgsV0) -> Result<()> { create_metadata_accounts_v3( CpiContext::new_with_signer( - ctx - .accounts - .token_metadata_program - .to_account_info() - .clone(), + Metadata::id(), CreateMetadataAccountsV3 { - metadata: ctx.accounts.metadata.to_account_info().clone(), - mint: ctx.accounts.mint.to_account_info().clone(), - mint_authority: ctx.accounts.receipt.to_account_info().clone(), - payer: ctx.accounts.payer.to_account_info().clone(), - update_authority: ctx.accounts.receipt.to_account_info().clone(), - system_program: ctx.accounts.system_program.to_account_info().clone(), - rent: ctx.accounts.rent.to_account_info().clone(), + metadata: ctx.accounts.metadata.to_account_info(), + mint: ctx.accounts.mint.to_account_info(), + mint_authority: ctx.accounts.receipt.to_account_info(), + payer: ctx.accounts.payer.to_account_info(), + update_authority: ctx.accounts.receipt.to_account_info(), + system_program: ctx.accounts.system_program.to_account_info(), + rent: ctx.accounts.rent.to_account_info(), }, signer_seeds, ), @@ -188,21 +184,17 @@ pub fn handler(ctx: Context, args: DepositArgsV0) -> Result<()> { create_master_edition_v3( CpiContext::new_with_signer( - ctx - .accounts - .token_metadata_program - .to_account_info() - .clone(), + Metadata::id(), CreateMasterEditionV3 { - edition: ctx.accounts.master_edition.to_account_info().clone(), - mint: ctx.accounts.mint.to_account_info().clone(), - update_authority: ctx.accounts.receipt.to_account_info().clone(), - mint_authority: ctx.accounts.receipt.to_account_info().clone(), - metadata: ctx.accounts.metadata.to_account_info().clone(), - payer: ctx.accounts.payer.to_account_info().clone(), - token_program: ctx.accounts.token_program.to_account_info().clone(), - system_program: ctx.accounts.system_program.to_account_info().clone(), - rent: ctx.accounts.rent.to_account_info().clone(), + edition: ctx.accounts.master_edition.to_account_info(), + mint: ctx.accounts.mint.to_account_info(), + update_authority: ctx.accounts.receipt.to_account_info(), + mint_authority: ctx.accounts.receipt.to_account_info(), + metadata: ctx.accounts.metadata.to_account_info(), + payer: ctx.accounts.payer.to_account_info(), + token_program: ctx.accounts.token_program.to_account_info(), + system_program: ctx.accounts.system_program.to_account_info(), + rent: ctx.accounts.rent.to_account_info(), }, signer_seeds, ), @@ -213,22 +205,14 @@ pub fn handler(ctx: Context, args: DepositArgsV0) -> Result<()> { verify_sized_collection_item( CpiContext::new_with_signer( - ctx - .accounts - .token_metadata_program - .to_account_info() - .clone(), + Metadata::id(), VerifySizedCollectionItem { - payer: ctx.accounts.payer.to_account_info().clone(), - metadata: ctx.accounts.metadata.to_account_info().clone(), - collection_authority: ctx.accounts.token_voter.to_account_info().clone(), - collection_mint: ctx.accounts.collection.to_account_info().clone(), - collection_metadata: ctx.accounts.collection_metadata.to_account_info().clone(), - collection_master_edition: ctx - .accounts - .collection_master_edition - .to_account_info() - .clone(), + payer: ctx.accounts.payer.to_account_info(), + metadata: ctx.accounts.metadata.to_account_info(), + collection_authority: ctx.accounts.token_voter.to_account_info(), + collection_mint: ctx.accounts.collection.to_account_info(), + collection_metadata: ctx.accounts.collection_metadata.to_account_info(), + collection_master_edition: ctx.accounts.collection_master_edition.to_account_info(), }, verify_signer_seeds, ), diff --git a/programs/token_voter/src/instructions/initialize_token_voter_v0.rs b/programs/token_voter/src/instructions/initialize_token_voter_v0.rs index 7bb23fa..eed73b0 100644 --- a/programs/token_voter/src/instructions/initialize_token_voter_v0.rs +++ b/programs/token_voter/src/instructions/initialize_token_voter_v0.rs @@ -80,7 +80,7 @@ impl<'info> InitializeTokenVoterV0<'info> { to: self.token_account.to_account_info(), authority: self.token_voter.to_account_info(), }; - CpiContext::new(self.token_program.to_account_info(), cpi_accounts) + CpiContext::new(Token::id(), cpi_accounts) } } @@ -102,19 +102,15 @@ pub fn handler( create_metadata_accounts_v3( CpiContext::new_with_signer( - ctx - .accounts - .token_metadata_program - .to_account_info() - .clone(), + Metadata::id(), CreateMetadataAccountsV3 { - metadata: ctx.accounts.metadata.to_account_info().clone(), - mint: ctx.accounts.collection.to_account_info().clone(), - mint_authority: ctx.accounts.token_voter.to_account_info().clone(), - payer: ctx.accounts.payer.to_account_info().clone(), - update_authority: ctx.accounts.token_voter.to_account_info().clone(), - system_program: ctx.accounts.system_program.to_account_info().clone(), - rent: ctx.accounts.rent.to_account_info().clone(), + metadata: ctx.accounts.metadata.to_account_info(), + mint: ctx.accounts.collection.to_account_info(), + mint_authority: ctx.accounts.token_voter.to_account_info(), + payer: ctx.accounts.payer.to_account_info(), + update_authority: ctx.accounts.token_voter.to_account_info(), + system_program: ctx.accounts.system_program.to_account_info(), + rent: ctx.accounts.rent.to_account_info(), }, signer_seeds, ), @@ -134,21 +130,17 @@ pub fn handler( create_master_edition_v3( CpiContext::new_with_signer( - ctx - .accounts - .token_metadata_program - .to_account_info() - .clone(), + Metadata::id(), CreateMasterEditionV3 { - edition: ctx.accounts.master_edition.to_account_info().clone(), - mint: ctx.accounts.collection.to_account_info().clone(), - update_authority: ctx.accounts.token_voter.to_account_info().clone(), - mint_authority: ctx.accounts.token_voter.to_account_info().clone(), - metadata: ctx.accounts.metadata.to_account_info().clone(), - payer: ctx.accounts.payer.to_account_info().clone(), - token_program: ctx.accounts.token_program.to_account_info().clone(), - system_program: ctx.accounts.system_program.to_account_info().clone(), - rent: ctx.accounts.rent.to_account_info().clone(), + edition: ctx.accounts.master_edition.to_account_info(), + mint: ctx.accounts.collection.to_account_info(), + update_authority: ctx.accounts.token_voter.to_account_info(), + mint_authority: ctx.accounts.token_voter.to_account_info(), + metadata: ctx.accounts.metadata.to_account_info(), + payer: ctx.accounts.payer.to_account_info(), + token_program: ctx.accounts.token_program.to_account_info(), + system_program: ctx.accounts.system_program.to_account_info(), + rent: ctx.accounts.rent.to_account_info(), }, signer_seeds, ), diff --git a/programs/token_voter/src/instructions/relinquish_vote_v0.rs b/programs/token_voter/src/instructions/relinquish_vote_v0.rs index 10dbcb6..cdfab62 100644 --- a/programs/token_voter/src/instructions/relinquish_vote_v0.rs +++ b/programs/token_voter/src/instructions/relinquish_vote_v0.rs @@ -15,7 +15,7 @@ pub struct RelinquishVoteV0<'info> { /// CHECK: You're getting sol why do you care? /// Account to receive sol refund if marker is closed #[account(mut)] - pub refund: AccountInfo<'info>, + pub refund: UncheckedAccount<'info>, #[account( mut, seeds = [b"marker", token_voter.key().as_ref(), mint.key().as_ref(), proposal.key().as_ref()], @@ -53,14 +53,14 @@ pub struct RelinquishVoteV0<'info> { pub proposal_config: Account<'info, ProposalConfigV0>, /// CHECK: Checked via cpi #[account(mut)] - pub state_controller: AccountInfo<'info>, + pub state_controller: UncheckedAccount<'info>, /// CHECK: Checked via has_one - pub on_vote_hook: AccountInfo<'info>, + pub on_vote_hook: UncheckedAccount<'info>, /// CHECK: Checked via constraint #[account( constraint = *proposal.to_account_info().owner == proposal_program.key() )] - pub proposal_program: AccountInfo<'info>, + pub proposal_program: UncheckedAccount<'info>, pub system_program: Program<'info, System>, } @@ -84,7 +84,7 @@ pub fn handler(ctx: Context, args: RelinquishVoteArgsV0) -> Re proposal::cpi::vote_v0( CpiContext::new_with_signer( - ctx.accounts.proposal_program.to_account_info(), + ctx.accounts.proposal_program.key(), proposal::cpi::accounts::VoteV0 { voter: ctx.accounts.voter.to_account_info(), vote_controller: ctx.accounts.token_voter.to_account_info(), diff --git a/programs/token_voter/src/instructions/vote_v0.rs b/programs/token_voter/src/instructions/vote_v0.rs index 6e16e39..f557f6f 100644 --- a/programs/token_voter/src/instructions/vote_v0.rs +++ b/programs/token_voter/src/instructions/vote_v0.rs @@ -50,14 +50,14 @@ pub struct VoteV0<'info> { pub proposal_config: Account<'info, ProposalConfigV0>, /// CHECK: Checked via cpi #[account(mut)] - pub state_controller: AccountInfo<'info>, + pub state_controller: UncheckedAccount<'info>, /// CHECK: Checked via has_one - pub on_vote_hook: AccountInfo<'info>, + pub on_vote_hook: UncheckedAccount<'info>, /// CHECK: Checked via constraint #[account( constraint = *proposal.to_account_info().owner == proposal_program.key() )] - pub proposal_program: AccountInfo<'info>, + pub proposal_program: UncheckedAccount<'info>, pub system_program: Program<'info, System>, } @@ -86,7 +86,7 @@ pub fn handler(ctx: Context, args: VoteArgsV0) -> Result<()> { proposal::cpi::vote_v0( CpiContext::new_with_signer( - ctx.accounts.proposal_program.to_account_info(), + ctx.accounts.proposal_program.key(), proposal::cpi::accounts::VoteV0 { voter: ctx.accounts.voter.to_account_info(), vote_controller: ctx.accounts.token_voter.to_account_info(), diff --git a/programs/token_voter/src/instructions/withdraw_v0.rs b/programs/token_voter/src/instructions/withdraw_v0.rs index 398341a..adf60f2 100644 --- a/programs/token_voter/src/instructions/withdraw_v0.rs +++ b/programs/token_voter/src/instructions/withdraw_v0.rs @@ -100,7 +100,7 @@ impl<'info> WithdrawV0<'info> { edition: self.master_edition.to_account_info(), spl_token: self.token_program.to_account_info(), }; - CpiContext::new(self.token_metadata_program.to_account_info(), cpi_accounts) + CpiContext::new(Metadata::id(), cpi_accounts) } fn withdraw_transfer_ctx(&self) -> CpiContext<'_, '_, '_, 'info, Transfer<'info>> { @@ -109,7 +109,7 @@ impl<'info> WithdrawV0<'info> { to: self.token_account.to_account_info(), authority: self.receipt.to_account_info(), }; - CpiContext::new(self.token_program.to_account_info(), cpi_accounts) + CpiContext::new(Token::id(), cpi_accounts) } fn withdraw_close_ctx(&self) -> CpiContext<'_, '_, '_, 'info, CloseAccount<'info>> { @@ -118,7 +118,7 @@ impl<'info> WithdrawV0<'info> { account: self.vault.to_account_info(), destination: self.refund.to_account_info(), }; - CpiContext::new(self.token_program.to_account_info(), cpi_accounts) + CpiContext::new(Token::id(), cpi_accounts) } } diff --git a/programs/vote_hook_interface/Cargo.toml b/programs/vote_hook_interface/Cargo.toml index bcc1b57..31b9fd4 100644 --- a/programs/vote_hook_interface/Cargo.toml +++ b/programs/vote_hook_interface/Cargo.toml @@ -20,3 +20,6 @@ devnet = [] [dependencies] anchor-lang = { workspace = true } anchor-spl = { workspace = true } + +[lints] +workspace = true diff --git a/programs/vote_hook_interface/src/lib.rs b/programs/vote_hook_interface/src/lib.rs index a588edd..b7c6353 100644 --- a/programs/vote_hook_interface/src/lib.rs +++ b/programs/vote_hook_interface/src/lib.rs @@ -6,15 +6,15 @@ declare_id!("Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS"); #[instruction(args: VoteArgsV0)] pub struct OnVoteV0<'info> { /// CHECK: Check in your impl - pub voter: AccountInfo<'info>, + pub voter: UncheckedAccount<'info>, pub vote_controller: Signer<'info>, /// CHECK: Check in your impl #[account(mut)] - pub state_controller: AccountInfo<'info>, + pub state_controller: UncheckedAccount<'info>, /// CHECK: Check in your impl pub proposal: Signer<'info>, /// CHECK: Check in your impl - pub proposal_config: AccountInfo<'info>, + pub proposal_config: UncheckedAccount<'info>, } #[derive(AnchorSerialize, AnchorDeserialize, Clone, Default)] diff --git a/tests/nft-voter.ts b/tests/nft-voter.ts index 327f9f9..6a88e88 100644 --- a/tests/nft-voter.ts +++ b/tests/nft-voter.ts @@ -1,5 +1,5 @@ -import * as anchor from "@coral-xyz/anchor"; -import { Program } from "@coral-xyz/anchor"; +import * as anchor from "@anchor-lang/core"; +import { Program } from "@anchor-lang/core"; import { PROGRAM_ID, init } from "@helium/nft-voter-sdk"; import { PROGRAM_ID as PROPOSAL_PID, diff --git a/tests/organization-wallet.ts b/tests/organization-wallet.ts index 8394fa6..5cc16e1 100644 --- a/tests/organization-wallet.ts +++ b/tests/organization-wallet.ts @@ -1,5 +1,5 @@ -import * as anchor from "@coral-xyz/anchor"; -import { Program } from "@coral-xyz/anchor"; +import * as anchor from "@anchor-lang/core"; +import { Program } from "@anchor-lang/core"; import { Proposal } from "../target/types/proposal"; import { Organization } from "../target/types/organization"; import { OrganizationWallet } from "../target/types/organization_wallet"; diff --git a/tests/organization.ts b/tests/organization.ts index 7028a43..3d607ed 100644 --- a/tests/organization.ts +++ b/tests/organization.ts @@ -1,5 +1,5 @@ -import * as anchor from "@coral-xyz/anchor"; -import { Program } from "@coral-xyz/anchor"; +import * as anchor from "@anchor-lang/core"; +import { Program } from "@anchor-lang/core"; import { Proposal } from "../target/types/proposal"; import { Organization } from "../target/types/organization"; import { PublicKey } from "@solana/web3.js"; diff --git a/tests/proposal.ts b/tests/proposal.ts index a53dcb0..7eab2bd 100644 --- a/tests/proposal.ts +++ b/tests/proposal.ts @@ -1,5 +1,5 @@ -import * as anchor from "@coral-xyz/anchor"; -import { Program } from "@coral-xyz/anchor"; +import * as anchor from "@anchor-lang/core"; +import { Program } from "@anchor-lang/core"; import { Proposal } from "../target/types/proposal"; import { Keypair, PublicKey } from "@solana/web3.js"; import { PROGRAM_ID, init } from "@helium/proposal-sdk"; diff --git a/tests/state-controller.ts b/tests/state-controller.ts index 762c223..8b93ad8 100644 --- a/tests/state-controller.ts +++ b/tests/state-controller.ts @@ -1,5 +1,5 @@ -import * as anchor from "@coral-xyz/anchor"; -import { Program } from "@coral-xyz/anchor"; +import * as anchor from "@anchor-lang/core"; +import { Program } from "@anchor-lang/core"; import { Proposal } from "../target/types/proposal"; import { StateController } from "../target/types/state_controller"; import { PublicKey } from "@solana/web3.js"; diff --git a/tests/token-voter.ts b/tests/token-voter.ts index 0234ca0..9a61e69 100644 --- a/tests/token-voter.ts +++ b/tests/token-voter.ts @@ -1,5 +1,5 @@ -import * as anchor from "@coral-xyz/anchor"; -import { Program } from "@coral-xyz/anchor"; +import * as anchor from "@anchor-lang/core"; +import { Program } from "@anchor-lang/core"; import { Proposal } from "../target/types/proposal"; import { TokenVoter } from "../target/types/token_voter"; import { ComputeBudgetProgram, Keypair, PublicKey } from "@solana/web3.js"; diff --git a/yarn.lock b/yarn.lock index 7b9a79f..b105825 100644 --- a/yarn.lock +++ b/yarn.lock @@ -32,6 +32,38 @@ resolved "https://registry.yarnpkg.com/@alloc/quick-lru/-/quick-lru-5.2.0.tgz#7bf68b20c0a350f936915fcae06f58e32007ce30" integrity sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw== +"@anchor-lang/borsh@^1.0.0-rc.5": + version "1.0.0-rc.5" + resolved "https://registry.yarnpkg.com/@anchor-lang/borsh/-/borsh-1.0.0-rc.5.tgz#854afab443d5642d19cd02300c40cc02a915e351" + integrity sha512-17a+xOmvrn7zSIqlbsjqgz4f64vQEvAmZ7qyQuETCHSskC23LTtjRI0DqAl/r/vC6kosPJGWyOr9ddVIqUVtww== + dependencies: + bn.js "^5.1.2" + buffer-layout "^1.2.0" + +"@anchor-lang/core@^1.0.0-rc.5": + version "1.0.0-rc.5" + resolved "https://registry.yarnpkg.com/@anchor-lang/core/-/core-1.0.0-rc.5.tgz#c3b218a10d647545562de55191630a4378bac567" + integrity sha512-4iPy4RiEFn6obzYY7zx8IaGAXz2fvJ0uCTF6agAcUBjGNZeypfEb4ZZh6TfLnJy78Lh06JeB7XGqKsaBCMEmQA== + dependencies: + "@anchor-lang/borsh" "^1.0.0-rc.5" + "@anchor-lang/errors" "^1.0.0-rc.5" + "@noble/hashes" "^1.3.1" + "@solana/web3.js" "^1.69.0" + bn.js "^5.1.2" + bs58 "^4.0.1" + buffer-layout "^1.2.2" + camelcase "^6.3.0" + cross-fetch "^3.1.5" + eventemitter3 "^4.0.7" + pako "^2.0.3" + superstruct "^0.15.4" + toml "^3.0.0" + +"@anchor-lang/errors@^1.0.0-rc.5": + version "1.0.0-rc.5" + resolved "https://registry.yarnpkg.com/@anchor-lang/errors/-/errors-1.0.0-rc.5.tgz#08e91e83a4357c18ae5397601fab57ee3c63f2fb" + integrity sha512-kLx7oLGVCRhtWeS9PQWGkzZTDpNrGkiJQBrx1rAhEiFemL4YumhUuEbXaaEVuLBt7qZcT1eBPN4LQxYGj3QWyw== + "@babel/code-frame@^7.0.0": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.5.tgz#234d98e1551960604f1246e6475891a570ad5658" @@ -104,11 +136,6 @@ resolved "https://registry.yarnpkg.com/@coral-xyz/anchor-errors/-/anchor-errors-0.30.1.tgz#bdfd3a353131345244546876eb4afc0e125bec30" integrity sha512-9Mkradf5yS5xiLWrl9WrpjqOrAV+/W2RQHDlbnAZBivoGpOs1ECjoDCkVk4aRG8ZdiFiB8zQEVlxf+8fKkmSfQ== -"@coral-xyz/anchor-errors@^0.31.0": - version "0.31.0" - resolved "https://registry.yarnpkg.com/@coral-xyz/anchor-errors/-/anchor-errors-0.31.0.tgz#dfc7329fca152b598842f68175efe5000825b51b" - integrity sha512-SUERksFSQ+4F11hkROIwHq4mcoSMXJxwVWLoklefi4dU679zVWFVcTq6O7otvjY8wlUaRXeE+iYcQWZTw2ll6w== - "@coral-xyz/anchor@0.28.0", "@coral-xyz/anchor@^0.28.0": version "0.28.0" resolved "https://registry.yarnpkg.com/@coral-xyz/anchor/-/anchor-0.28.0.tgz#8345c3c9186a91f095f704d7b90cd256f7e8b2dc" @@ -151,33 +178,6 @@ superstruct "^0.15.4" toml "^3.0.0" -"@coral-xyz/anchor@^0.31.0": - version "0.31.0" - resolved "https://registry.yarnpkg.com/@coral-xyz/anchor/-/anchor-0.31.0.tgz#76b84541e6fdfbd6c661584cdc418453a6416f12" - integrity sha512-Yb1NwP1s4cWhAw7wL7vOLHSWWw3cD5D9pRCVSeJpdqPaI+w7sfRLScnVJL6ViYMZynB7nAG/5HcUPKUnY0L9rw== - dependencies: - "@coral-xyz/anchor-errors" "^0.31.0" - "@coral-xyz/borsh" "^0.31.0" - "@noble/hashes" "^1.3.1" - "@solana/web3.js" "^1.69.0" - bn.js "^5.1.2" - bs58 "^4.0.1" - buffer-layout "^1.2.2" - camelcase "^6.3.0" - cross-fetch "^3.1.5" - eventemitter3 "^4.0.7" - pako "^2.0.3" - superstruct "^0.15.4" - toml "^3.0.0" - -"@coral-xyz/borsh@^0.26.0": - version "0.26.0" - resolved "https://registry.yarnpkg.com/@coral-xyz/borsh/-/borsh-0.26.0.tgz#d054f64536d824634969e74138f9f7c52bbbc0d5" - integrity sha512-uCZ0xus0CszQPHYfWAqKS5swS1UxvePu83oOF+TWpUkedsNlg6p2p4azxZNSSqwXb9uXMFgxhuMBX9r3Xoi0vQ== - dependencies: - bn.js "^5.1.2" - buffer-layout "^1.2.0" - "@coral-xyz/borsh@^0.28.0": version "0.28.0" resolved "https://registry.yarnpkg.com/@coral-xyz/borsh/-/borsh-0.28.0.tgz#fa368a2f2475bbf6f828f4657f40a52102e02b6d" @@ -194,14 +194,6 @@ bn.js "^5.1.2" buffer-layout "^1.2.0" -"@coral-xyz/borsh@^0.31.0": - version "0.31.0" - resolved "https://registry.yarnpkg.com/@coral-xyz/borsh/-/borsh-0.31.0.tgz#eb77239b75f3ea9e771b1ee0821712caf664cb32" - integrity sha512-DwdQ5fuj+rGQCTKRnxnW1W2lvcpBaFc9m9M1TcGGlm+bwCcggmDgbLKLgF+LjIrKnc7Nd+bCACx5RA9YTK2I4Q== - dependencies: - bn.js "^5.1.2" - buffer-layout "^1.2.0" - "@eslint/eslintrc@^1.3.3": version "1.4.1" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.4.1.tgz#af58772019a2d271b7e2d4c23ff4ddcba3ccfb3e" @@ -2015,27 +2007,6 @@ node-addon-api "^3.2.1" node-gyp-build "^4.3.0" -"@project-serum/anchor@^0.26.0": - version "0.26.0" - resolved "https://registry.yarnpkg.com/@project-serum/anchor/-/anchor-0.26.0.tgz#99e15a3923a5d10514f8185b2d3909e5699d60d5" - integrity sha512-Nq+COIjE1135T7qfnOHEn7E0q39bQTgXLFk837/rgFe6Hkew9WML7eHsS+lSYD2p3OJaTiUOHTAq1lHy36oIqQ== - dependencies: - "@coral-xyz/borsh" "^0.26.0" - "@solana/web3.js" "^1.68.0" - base64-js "^1.5.1" - bn.js "^5.1.2" - bs58 "^4.0.1" - buffer-layout "^1.2.2" - camelcase "^6.3.0" - cross-fetch "^3.1.5" - crypto-hash "^1.3.0" - eventemitter3 "^4.0.7" - js-sha256 "^0.9.0" - pako "^2.0.3" - snake-case "^3.0.4" - superstruct "^0.15.4" - toml "^3.0.0" - "@randlabs/communication-bridge@1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@randlabs/communication-bridge/-/communication-bridge-1.0.1.tgz#d1ecfc29157afcbb0ca2d73122d67905eecb5bf3"