Smash ERC20 into its own library

This commit is contained in:
Luke Parker
2024-09-16 21:59:12 -04:00
parent ae61f3d359
commit a7d5640642
9 changed files with 108 additions and 10 deletions

View File

@@ -0,0 +1,28 @@
[package]
name = "serai-processor-ethereum-erc20"
version = "0.1.0"
description = "A library for the Serai Processor to interact with ERC20s"
license = "AGPL-3.0-only"
repository = "https://github.com/serai-dex/serai/tree/develop/processor/ethereum/erc20"
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
edition = "2021"
publish = false
rust-version = "1.79"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lints]
workspace = true
[dependencies]
alloy-core = { version = "0.8", default-features = false }
alloy-sol-types = { version = "0.8", default-features = false }
alloy-sol-macro = { version = "0.8", default-features = false }
alloy-rpc-types-eth = { version = "0.3", default-features = false }
alloy-transport = { version = "0.3", default-features = false }
alloy-simple-request-transport = { path = "../../../networks/ethereum/alloy-simple-request-transport", default-features = false }
alloy-provider = { version = "0.3", default-features = false }