Skip to content

Commit

Permalink
feat: json-encoder-web for oracle configuration transaction to DataEdge
Browse files Browse the repository at this point in the history
  • Loading branch information
Maikol committed Apr 24, 2024
1 parent 25c9ae7 commit 23bfcfe
Show file tree
Hide file tree
Showing 24 changed files with 9,504 additions and 16 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated by Cargo
# will have compiled files and executables
/target/
target/

# These are backup files generated by rustfmt
**/*.rs.bk
Expand All @@ -17,3 +17,7 @@
# IDEs
/.vscode
/.idea

# Ignore node stuff
node_modules/
yarn-error.log
113 changes: 101 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = [
"common",
"availability-oracle",
"crates/*",
"availability-oracle"
]
2 changes: 1 addition & 1 deletion availability-oracle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
common = { path = "../common" }
common = { path = "../crates/common" }
async-trait = "0.1.50"
tokio = { version = "1.10", features = ["macros", "sync", "time"] }
serde_yaml = "0.9.31"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions crates/json-oracle-encoder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[package]
name = "json-oracle-encoder"
version = "0.1.0"
edition = "2018"

[dependencies]
anyhow = "1.0.57"
ethabi = "17.2.0"
hex = "0.4.3"
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1"
Loading

0 comments on commit 23bfcfe

Please sign in to comment.