feat(abi): impl AbiEncode, AbiDecode for I256 (#1311)

This commit is contained in:
Meet Mangukiya 2022-05-27 19:42:24 +05:30 committed by GitHub
parent 526f40e88f
commit e3e810cef9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@ use crate::{
abi::{ abi::{
AbiArrayType, AbiError, AbiType, Detokenize, Token, Tokenizable, TokenizableItem, Tokenize, AbiArrayType, AbiError, AbiType, Detokenize, Token, Tokenizable, TokenizableItem, Tokenize,
}, },
types::{Address, Bytes, H256, U128, U256}, types::{Address, Bytes, H256, I256, U128, U256},
}; };
/// Trait for ABI encoding /// Trait for ABI encoding
@ -63,6 +63,7 @@ impl_abi_codec!(
H256, H256,
U128, U128,
U256, U256,
I256,
u8, u8,
u16, u16,
u32, u32,