void write_address( mArray& a, const Address& addr ) { mObject addr_obj; addr_obj[ "house_number" ] = addr.house_number_; addr_obj[ "road" ] = addr.road_; addr_obj[ "town" ] = addr.town_; addr_obj[ "county" ] = addr.county_; addr_obj[ "country" ] = addr.country_; a.push_back( addr_obj ); }
void FakeExtVM::push(mArray& a, u256 _v) { a.push_back(toString(_v)); }