contracts/arisen.system/src/com.cpp
/**
    * @brief Updates namebid proceeds to be transfered to COM pool
    *
    * @param highest_bid - highest bidding amount of closed namebid
    */
@brief Updates namebid proceeds to be transfered to COM pool
@param highest_bid - highest bidding amount of closed namebid
@brief Updates namebid proceeds to be transfered to COM pool @param highest_bid - highest bidding amount of closed namebid
void system_contract::channel_namebid_to_com( const int64_t highest_bid )
   {
#if CHANNEL_RAM_AND_NAMEBID_FEES_TO_COM
      if ( com_available() ) {
         _compool.modify( _compool.begin(), same_payer, [&]( auto& rp ) {
            rp.namebid_proceeds.amount += highest_bid;
         });
      }
#endif
   }
void system_contract :: channel_namebid_to_com ( const int64_t highest_bid ) { #if CHANNEL_RAM_AND_NAMEBID_FEES_TO_COM if ( com_available ( ) ) { _compool . modify ( _compool . begin ( ) , same_payer , [ & ] ( auto & rp ) { rp . namebid_proceeds . amount += highest_bid ; } ) ; } #endif }
@brief Updates namebid proceeds to be transfered to COM pool
 @param highest_bid - highest bidding amount of closed namebid
@brief Updates namebid proceeds to be transfered to COM pool @param highest_bid - highest bidding amount of closed namebid