contracts/mgp.otcstore/src/otcstore.cpp
void mgp_otcstore::deposit(name from, name to, asset quantity, string memo) {
	if (to != _self) return;

	seller_t seller(from);
	_dbc.get( seller );

	if (quantity.symbol == SYS_SYMBOL){
		seller.available_quantity += quantity;
	}

	_dbc.set( seller );


}
/*************** Begin of eosio.token transfer trigger function ******************/
/**
 * This happens when a seller deicdes to open sell orders
 */
Begin of eosio.token transfer trigger function
This happens when a seller deicdes to open sell orders
Begin of eosio . token transfer trigger function This happens when a seller deicdes to open sell orders
void mgp_otcstore::deposit(name from, name to, asset quantity, string memo) {
	if (to != _self) return;
	seller_t seller(from);
	_dbc.get( seller );
	if (quantity.symbol == SYS_SYMBOL){
		seller.available_quantity += quantity;
	}
	_dbc.set( seller );
}
void mgp_otcstore :: deposit ( name from , name to , asset quantity , string memo ) { if ( to != _self ) return ; seller_t seller ( from ) ; _dbc . get ( seller ) ; if ( quantity . symbol == SYS_SYMBOL ) { seller . available_quantity += quantity ; } _dbc . set ( seller ) ; }
Begin of eosio.token transfer trigger function
 This happens when a seller deicdes to open sell orders
Begin of eosio . token transfer trigger function This happens when a seller deicdes to open sell orders