mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-11-15 12:35:18 +00:00
14 lines
337 B
Rust
14 lines
337 B
Rust
|
use ethers::prelude::abigen;
|
||
|
|
||
|
// run `cargo doc -p contract-interface --open` to read struct definition
|
||
|
|
||
|
abigen!(
|
||
|
ZgsFlow,
|
||
|
"../../zerog-storage-contracts/artifacts/contracts/dataFlow/Flow.sol/Flow.json"
|
||
|
);
|
||
|
|
||
|
abigen!(
|
||
|
PoraMine,
|
||
|
"../../zerog-storage-contracts/artifacts/contracts/test/PoraMineTest.sol/PoraMineTest.json"
|
||
|
);
|