From c2d61adb14a90178bcc8610379b4be66e8273335 Mon Sep 17 00:00:00 2001 From: chrisco512 Date: Fri, 16 May 2025 14:36:48 +0000 Subject: [PATCH] [create-pull-request] automated change --- .../applications/erc20/Cargo.toml.bak | 31 ++++++++++++++++ .../applications/erc721/Cargo.toml.bak | 31 ++++++++++++++++ .../applications/multi_call/Cargo.toml.bak | 36 +++++++++++++++++++ .../applications/multi_sig/Cargo.toml.bak | 24 +++++++++++++ .../applications/time_lock/Cargo.toml.bak | 26 ++++++++++++++ .../vending_machine/Cargo.toml.bak | 31 ++++++++++++++++ .../basic_examples/abi_decode/Cargo.toml.bak | 31 ++++++++++++++++ .../basic_examples/abi_encode/Cargo.toml.bak | 32 +++++++++++++++++ .../basic_examples/arrays/Cargo.toml.bak | 36 +++++++++++++++++++ .../basic_examples/call/Cargo.toml.bak | 21 +++++++++++ .../basic_examples/constants/Cargo.toml.bak | 31 ++++++++++++++++ .../delegate_call/Cargo.toml.bak | 32 +++++++++++++++++ .../encode_and_hashing/Cargo.toml.bak | 26 ++++++++++++++ .../basic_examples/errors/Cargo.toml.bak | 25 +++++++++++++ .../basic_examples/events/Cargo.toml.bak | 31 ++++++++++++++++ .../basic_examples/first_app/Cargo.toml.bak | 25 +++++++++++++ .../basic_examples/function/Cargo.toml.bak | 26 ++++++++++++++ .../basic_examples/hello_world/Cargo.toml.bak | 32 +++++++++++++++++ .../basic_examples/mapping/Cargo.toml.bak | 22 ++++++++++++ .../primitive_data_types/Cargo.toml.bak | 31 ++++++++++++++++ .../sending_ether/Cargo.toml.bak | 31 ++++++++++++++++ .../storage_data_types/Cargo.toml.bak | 31 ++++++++++++++++ .../basic_examples/variables/Cargo.toml.bak | 31 ++++++++++++++++ .../verify_signature/Cargo.toml.bak | 32 +++++++++++++++++ 24 files changed, 705 insertions(+) create mode 100644 example_code/applications/erc20/Cargo.toml.bak create mode 100644 example_code/applications/erc721/Cargo.toml.bak create mode 100644 example_code/applications/multi_call/Cargo.toml.bak create mode 100644 example_code/applications/multi_sig/Cargo.toml.bak create mode 100644 example_code/applications/time_lock/Cargo.toml.bak create mode 100644 example_code/applications/vending_machine/Cargo.toml.bak create mode 100644 example_code/basic_examples/abi_decode/Cargo.toml.bak create mode 100644 example_code/basic_examples/abi_encode/Cargo.toml.bak create mode 100644 example_code/basic_examples/arrays/Cargo.toml.bak create mode 100644 example_code/basic_examples/call/Cargo.toml.bak create mode 100644 example_code/basic_examples/constants/Cargo.toml.bak create mode 100644 example_code/basic_examples/delegate_call/Cargo.toml.bak create mode 100644 example_code/basic_examples/encode_and_hashing/Cargo.toml.bak create mode 100644 example_code/basic_examples/errors/Cargo.toml.bak create mode 100644 example_code/basic_examples/events/Cargo.toml.bak create mode 100644 example_code/basic_examples/first_app/Cargo.toml.bak create mode 100644 example_code/basic_examples/function/Cargo.toml.bak create mode 100644 example_code/basic_examples/hello_world/Cargo.toml.bak create mode 100644 example_code/basic_examples/mapping/Cargo.toml.bak create mode 100644 example_code/basic_examples/primitive_data_types/Cargo.toml.bak create mode 100644 example_code/basic_examples/sending_ether/Cargo.toml.bak create mode 100644 example_code/basic_examples/storage_data_types/Cargo.toml.bak create mode 100644 example_code/basic_examples/variables/Cargo.toml.bak create mode 100644 example_code/basic_examples/verify_signature/Cargo.toml.bak diff --git a/example_code/applications/erc20/Cargo.toml.bak b/example_code/applications/erc20/Cargo.toml.bak new file mode 100644 index 00000000..961d4eda --- /dev/null +++ b/example_code/applications/erc20/Cargo.toml.bak @@ -0,0 +1,31 @@ +[package] +name = "stylus_erc20_example" +version = "0.1.7" +edition = "2021" +license = "MIT OR Apache-2.0" +keywords = ["arbitrum", "ethereum", "stylus", "alloy"] + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" diff --git a/example_code/applications/erc721/Cargo.toml.bak b/example_code/applications/erc721/Cargo.toml.bak new file mode 100644 index 00000000..0f23ae81 --- /dev/null +++ b/example_code/applications/erc721/Cargo.toml.bak @@ -0,0 +1,31 @@ +[package] +name = "stylus_erc721_example" +version = "0.1.7" +edition = "2021" +license = "MIT OR Apache-2.0" +keywords = ["arbitrum", "ethereum", "stylus", "alloy"] + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" diff --git a/example_code/applications/multi_call/Cargo.toml.bak b/example_code/applications/multi_call/Cargo.toml.bak new file mode 100644 index 00000000..7bf66324 --- /dev/null +++ b/example_code/applications/multi_call/Cargo.toml.bak @@ -0,0 +1,36 @@ +[package] +name = "stylus-multi-call-contract" +version = "0.1.5" +edition = "2021" +license = "MIT OR Apache-2.0" +keywords = ["arbitrum", "ethereum", "stylus", "alloy"] +description = "Stylus multi call example" + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[[bin]] +name = "stylus-multi-call" +path = "src/main.rs" + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" \ No newline at end of file diff --git a/example_code/applications/multi_sig/Cargo.toml.bak b/example_code/applications/multi_sig/Cargo.toml.bak new file mode 100644 index 00000000..11217a45 --- /dev/null +++ b/example_code/applications/multi_sig/Cargo.toml.bak @@ -0,0 +1,24 @@ +[package] +name = "stylus-multisig-example" +version = "0.1.0" +edition = "2021" + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" \ No newline at end of file diff --git a/example_code/applications/time_lock/Cargo.toml.bak b/example_code/applications/time_lock/Cargo.toml.bak new file mode 100644 index 00000000..a2daaad7 --- /dev/null +++ b/example_code/applications/time_lock/Cargo.toml.bak @@ -0,0 +1,26 @@ +[package] +name = "stylus-timelock-example" +version = "0.1.0" +edition = "2021" + +[dependencies] +alloy-primitives = "0.7.5" +alloy-sol-types = "0.7.5" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" +sha3 = "0.10.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] +debug = ["stylus-sdk/debug"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" \ No newline at end of file diff --git a/example_code/applications/vending_machine/Cargo.toml.bak b/example_code/applications/vending_machine/Cargo.toml.bak new file mode 100644 index 00000000..06083ea1 --- /dev/null +++ b/example_code/applications/vending_machine/Cargo.toml.bak @@ -0,0 +1,31 @@ +[package] +name = "stylus_cupcake_example" +version = "0.1.7" +edition = "2021" +license = "MIT OR Apache-2.0" +keywords = ["arbitrum", "ethereum", "stylus", "alloy"] + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" diff --git a/example_code/basic_examples/abi_decode/Cargo.toml.bak b/example_code/basic_examples/abi_decode/Cargo.toml.bak new file mode 100644 index 00000000..0585243e --- /dev/null +++ b/example_code/basic_examples/abi_decode/Cargo.toml.bak @@ -0,0 +1,31 @@ +[package] +name = "stylus-decode-hashing" +version = "0.1.7" +edition = "2021" +license = "MIT OR Apache-2.0" +keywords = ["arbitrum", "ethereum", "stylus", "alloy"] + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" \ No newline at end of file diff --git a/example_code/basic_examples/abi_encode/Cargo.toml.bak b/example_code/basic_examples/abi_encode/Cargo.toml.bak new file mode 100644 index 00000000..760c9aab --- /dev/null +++ b/example_code/basic_examples/abi_encode/Cargo.toml.bak @@ -0,0 +1,32 @@ +[package] +name = "stylus-encode-hashing" +version = "0.1.7" +edition = "2021" +license = "MIT OR Apache-2.0" +keywords = ["arbitrum", "ethereum", "stylus", "alloy"] + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" +sha3 = "0.10" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" \ No newline at end of file diff --git a/example_code/basic_examples/arrays/Cargo.toml.bak b/example_code/basic_examples/arrays/Cargo.toml.bak new file mode 100644 index 00000000..cdd4a9a2 --- /dev/null +++ b/example_code/basic_examples/arrays/Cargo.toml.bak @@ -0,0 +1,36 @@ +[package] +name = "stylus-arrays-example" +version = "0.1.0" +edition = "2021" +description = "Stylus arrays example" + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" +dotenv = "0.15.0" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] +debug = ["stylus-sdk/debug"] + +[[bin]] +name = "stylus-arrays-example" +path = "src/main.rs" + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" diff --git a/example_code/basic_examples/call/Cargo.toml.bak b/example_code/basic_examples/call/Cargo.toml.bak new file mode 100644 index 00000000..792b0352 --- /dev/null +++ b/example_code/basic_examples/call/Cargo.toml.bak @@ -0,0 +1,21 @@ +[package] +name = "stylus-call-example" +version = "0.1.7" +edition = "2021" + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +stylus-sdk = { version = "0.6.0", features = ["reentrant"] } +hex = "0.4.3" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[lib] +crate-type = ["lib", "cdylib"] diff --git a/example_code/basic_examples/constants/Cargo.toml.bak b/example_code/basic_examples/constants/Cargo.toml.bak new file mode 100644 index 00000000..b12f5ebb --- /dev/null +++ b/example_code/basic_examples/constants/Cargo.toml.bak @@ -0,0 +1,31 @@ +[package] +name = "stylus_constants_example" +version = "0.1.7" +edition = "2021" +license = "MIT OR Apache-2.0" +keywords = ["arbitrum", "ethereum", "stylus", "alloy"] + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" diff --git a/example_code/basic_examples/delegate_call/Cargo.toml.bak b/example_code/basic_examples/delegate_call/Cargo.toml.bak new file mode 100644 index 00000000..8256b64f --- /dev/null +++ b/example_code/basic_examples/delegate_call/Cargo.toml.bak @@ -0,0 +1,32 @@ +[package] +name = "stylus_delegate_call" +version = "0.1.0" +edition = "2021" +license = "MIT OR Apache-2.0" +keywords = ["arbitrum", "ethereum", "stylus", "alloy"] + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" +sha3 = "0.10" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" \ No newline at end of file diff --git a/example_code/basic_examples/encode_and_hashing/Cargo.toml.bak b/example_code/basic_examples/encode_and_hashing/Cargo.toml.bak new file mode 100644 index 00000000..e3666552 --- /dev/null +++ b/example_code/basic_examples/encode_and_hashing/Cargo.toml.bak @@ -0,0 +1,26 @@ +[package] +name = "stylus-encode-hashing" +version = "0.1.0" +edition = "2021" + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" +sha3 = "0.10.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] +debug = ["stylus-sdk/debug"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" \ No newline at end of file diff --git a/example_code/basic_examples/errors/Cargo.toml.bak b/example_code/basic_examples/errors/Cargo.toml.bak new file mode 100644 index 00000000..21a6e091 --- /dev/null +++ b/example_code/basic_examples/errors/Cargo.toml.bak @@ -0,0 +1,25 @@ +[package] +name = "stylus-multicall-contract" +version = "0.1.7" +edition = "2021" + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +stylus-sdk = "0.6.0" +hex = "0.4.3" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[[bin]] +name = "stylus-multicall-contract" +path = "src/main.rs" + +[lib] +crate-type = ["lib", "cdylib"] diff --git a/example_code/basic_examples/events/Cargo.toml.bak b/example_code/basic_examples/events/Cargo.toml.bak new file mode 100644 index 00000000..e26c0398 --- /dev/null +++ b/example_code/basic_examples/events/Cargo.toml.bak @@ -0,0 +1,31 @@ +[package] +name = "stylus_events_example" +version = "0.1.7" +edition = "2021" +license = "MIT OR Apache-2.0" +keywords = ["arbitrum", "ethereum", "stylus", "alloy"] + +[dependencies] +alloy-primitives = "=0.8.20" +alloy-sol-types = "=0.8.20" +mini-alloc = "0.8.4" +stylus-sdk = "0.8.4" +hex = "0.4.3" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" diff --git a/example_code/basic_examples/first_app/Cargo.toml.bak b/example_code/basic_examples/first_app/Cargo.toml.bak new file mode 100644 index 00000000..48ae3681 --- /dev/null +++ b/example_code/basic_examples/first_app/Cargo.toml.bak @@ -0,0 +1,25 @@ +[package] +name = "stylus-counter" +version = "0.1.7" +edition = "2021" + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +stylus-sdk = "0.6.0" +hex = "0.4.3" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[[bin]] +name = "stylus-counter" +path = "src/main.rs" + +[lib] +crate-type = ["lib", "cdylib"] diff --git a/example_code/basic_examples/function/Cargo.toml.bak b/example_code/basic_examples/function/Cargo.toml.bak new file mode 100644 index 00000000..14be1a12 --- /dev/null +++ b/example_code/basic_examples/function/Cargo.toml.bak @@ -0,0 +1,26 @@ +[package] +name = "stylus-functions" +version = "0.1.0" +edition = "2021" + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" +sha3 = "0.10.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] +debug = ["stylus-sdk/debug"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" \ No newline at end of file diff --git a/example_code/basic_examples/hello_world/Cargo.toml.bak b/example_code/basic_examples/hello_world/Cargo.toml.bak new file mode 100644 index 00000000..f98d2cb3 --- /dev/null +++ b/example_code/basic_examples/hello_world/Cargo.toml.bak @@ -0,0 +1,32 @@ +[package] +name = "stylus_hello_world" +version = "0.1.7" +edition = "2021" +license = "MIT OR Apache-2.0" +keywords = ["arbitrum", "ethereum", "stylus", "alloy"] + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" +sha3 = "0.10" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" \ No newline at end of file diff --git a/example_code/basic_examples/mapping/Cargo.toml.bak b/example_code/basic_examples/mapping/Cargo.toml.bak new file mode 100644 index 00000000..475c8f06 --- /dev/null +++ b/example_code/basic_examples/mapping/Cargo.toml.bak @@ -0,0 +1,22 @@ +[package] +name = "stylus-mapping-example" +version = "0.1.7" +edition = "2021" + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +stylus-sdk = "0.6.0" +hex = "0.4.3" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[lib] +crate-type = ["lib", "cdylib"] + diff --git a/example_code/basic_examples/primitive_data_types/Cargo.toml.bak b/example_code/basic_examples/primitive_data_types/Cargo.toml.bak new file mode 100644 index 00000000..f7e72532 --- /dev/null +++ b/example_code/basic_examples/primitive_data_types/Cargo.toml.bak @@ -0,0 +1,31 @@ +[package] +name = "stylus_data_example" +version = "0.1.7" +edition = "2021" +license = "MIT OR Apache-2.0" +keywords = ["arbitrum", "ethereum", "stylus", "alloy"] + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" diff --git a/example_code/basic_examples/sending_ether/Cargo.toml.bak b/example_code/basic_examples/sending_ether/Cargo.toml.bak new file mode 100644 index 00000000..c81fa652 --- /dev/null +++ b/example_code/basic_examples/sending_ether/Cargo.toml.bak @@ -0,0 +1,31 @@ +[package] +name = "stylus_sending_ether_example" +version = "0.1.7" +edition = "2021" +license = "MIT OR Apache-2.0" +keywords = ["arbitrum", "ethereum", "stylus", "alloy"] + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" diff --git a/example_code/basic_examples/storage_data_types/Cargo.toml.bak b/example_code/basic_examples/storage_data_types/Cargo.toml.bak new file mode 100644 index 00000000..0e622aa5 --- /dev/null +++ b/example_code/basic_examples/storage_data_types/Cargo.toml.bak @@ -0,0 +1,31 @@ +[package] +name = "stylus_storage_example" +version = "0.1.7" +edition = "2021" +license = "MIT OR Apache-2.0" +keywords = ["arbitrum", "ethereum", "stylus", "alloy"] + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" diff --git a/example_code/basic_examples/variables/Cargo.toml.bak b/example_code/basic_examples/variables/Cargo.toml.bak new file mode 100644 index 00000000..0e30e1b0 --- /dev/null +++ b/example_code/basic_examples/variables/Cargo.toml.bak @@ -0,0 +1,31 @@ +[package] +name = "stylus_variable_example" +version = "0.1.7" +edition = "2021" +license = "MIT OR Apache-2.0" +keywords = ["arbitrum", "ethereum", "stylus", "alloy"] + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s" diff --git a/example_code/basic_examples/verify_signature/Cargo.toml.bak b/example_code/basic_examples/verify_signature/Cargo.toml.bak new file mode 100644 index 00000000..d168a910 --- /dev/null +++ b/example_code/basic_examples/verify_signature/Cargo.toml.bak @@ -0,0 +1,32 @@ +[package] +name = "stylus-verify-signature" +version = "0.1.7" +edition = "2021" +license = "MIT OR Apache-2.0" +keywords = ["arbitrum", "ethereum", "stylus", "alloy"] + +[dependencies] +alloy-primitives = "=0.7.6" +alloy-sol-types = "=0.7.6" +mini-alloc = "0.4.2" +stylus-sdk = "0.6.0" +hex = "0.4.3" +sha3 = "0.10.8" + +[dev-dependencies] +tokio = { version = "1.12.0", features = ["full"] } +ethers = "2.0" +eyre = "0.6.8" + +[features] +export-abi = ["stylus-sdk/export-abi"] + +[lib] +crate-type = ["lib", "cdylib"] + +[profile.release] +codegen-units = 1 +strip = true +lto = true +panic = "abort" +opt-level = "s"