@Test public void testAddress() { Address address = new Address("0xbe5422d15f39373eb0a97ff8c10fbd0e40e29338"); assertThat(address.getTypeAsString(), is("address")); assertThat(TypeEncoder.encodeAddress(address), is("000000000000000000000000be5422d15f39373eb0a97ff8c10fbd0e40e29338")); }
static String encodeAddress(Address address) { return encodeNumeric(address.toUint160()); }
TypeEncoder { static String encodeAddress(Address address) { return encodeNumeric(address.toUint160()); } }
TypeEncoder { static String encodeAddress(Address address) { return encodeNumeric(address.toUint160()); } private  TypeEncoder(); }
TypeEncoder { static String encodeAddress(Address address) { return encodeNumeric(address.toUint160()); } private  TypeEncoder(); @SuppressWarnings("unchecked") static String encode(Type parameter); }
TypeEncoder { static String encodeAddress(Address address) { return encodeNumeric(address.toUint160()); } private  TypeEncoder(); @SuppressWarnings("unchecked") static String encode(Type parameter);  }