2018-03-31 07:57:49 -07:00
|
|
|
use ethabi;
|
|
|
|
use web3;
|
|
|
|
|
|
|
|
error_chain! {
|
|
|
|
foreign_links {
|
|
|
|
Ethabi(ethabi::Error);
|
|
|
|
Web3(web3::Error);
|
|
|
|
Contract(web3::contract::Error);
|
|
|
|
}
|
|
|
|
|
|
|
|
errors {
|
|
|
|
UnexpectedLogParams {
|
|
|
|
description("Unexpected parameter types in log"),
|
|
|
|
}
|
2018-05-07 02:22:51 -07:00
|
|
|
NoEventsFound {
|
|
|
|
description("No events found. \
|
|
|
|
Make sure your node is running in 'full' mode, not 'light'."),
|
|
|
|
}
|
2018-03-31 07:57:49 -07:00
|
|
|
}
|
|
|
|
}
|