예제 #1
0
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 );
}
예제 #2
0
파일: vm.cpp 프로젝트: caktux/cpp-ethereum
void FakeExtVM::push(mArray& a, u256 _v)
{
	a.push_back(toString(_v));
}