Created
June 4, 2021 05:55
-
-
Save fdeantoni/21b7d4287ae387156dea0b502c728909 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use web3::{ | |
| contract::{Contract, Options}, | |
| transports::Http, | |
| types::H160, | |
| }; | |
| #[derive(Clone)] | |
| pub struct Validator { | |
| contract: Contract<Http>, | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment