contract EtheremonDataBase is EtheremonEnum {
    // read
    function getMonsterObj(uint64 _objId) constant public returns(uint64 objId, uint32 classId, address trainer, uint32 exp, uint32 createIndex, uint32 lastClaimIndex, uint createTime);
    function getElementInArrayType(ArrayType _type, uint64 _id, uint _index) constant public returns(uint8);

    // write
    function increaseMonsterExp(uint64 _objId, uint32 amount) public;
    function decreaseMonsterExp(uint64 _objId, uint32 amount) public;
    function updateIndexOfArrayType(ArrayType _type, uint64 _id, uint _index, uint8 _value) public returns(uint);
    function addMonsterIdMapping(address _trainer, uint64 _monsterId) public;
    
}
function increaseMonsterExp(uint64 _objId, uint32 amount) public;

// write