v1 source pure
1
2
func ProtocolFee
ProtocolFee is (price * bps) / Denom without overflowing int64 on price*bps.
func SellerProceeds
SellerProceeds is the ugnot the seller receives after the protocol fee.
ProtocolFee is (price * bps) / Denom without overflowing int64 on price*bps.
SellerProceeds is the ugnot the seller receives after the protocol fee.