0g-storage-node/common/contract-interface/src/lib.rs
0g-peterzhb 2e1d076460
@peter/update submodule (#25)
* update modules
2024-03-12 18:49:51 +08:00

14 lines
331 B
Rust

use ethers::prelude::abigen;
// run `cargo doc -p contract-interface --open` to read struct definition
abigen!(
ZgsFlow,
"../../0g-storage-contracts/artifacts/contracts/dataFlow/Flow.sol/Flow.json"
);
abigen!(
PoraMine,
"../../0g-storage-contracts/artifacts/contracts/test/PoraMineTest.sol/PoraMineTest.json"
);