feat(abi): impl AbiEncode, AbiDecode for I256 (#1311)
This commit is contained in:
parent
526f40e88f
commit
e3e810cef9
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue