Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/b/o/BoottleXCP-HEAD/counterpartyws.py   BoottleXCP(Download)
                fee_fraction_provided = util.devise(db, fee_fraction_provided, 'fraction', 'input')
                fee_provided = round(D(fee_fraction_provided) * D(give_quantity) * D(config.UNIT))
                if fee_provided < config.MIN_FEE:
                    raise Exception('Fee provided less than minimum necessary for acceptance in a block.')
            elif get_asset == 'BTC':
                fee_provided = config.MIN_FEE
            else:
                fee_required = 0
                fee_provided = config.MIN_FEE
 
            give_quantity = util.devise(db, D(give_quantity), give_asset, 'input')