BAEX - Options Smart-Contract

Verified contract

Active on Ethereum with 1,669 txns
Deployed by via 0xc00fa913 at 11458319
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x5fa5d0f18730ff3ae452484116471eaae0307a6890e26f486a97deee96d7be42
0x9bd95cea77f2fbbd413c7f8d71256abeaa247dcc31846320f2cc00de8dbc083c
0xc164841a08c83a851cdf3fa981ddb0b6b5af6bd4ddcd482cf8f000b4a0057301
0x651d57d135299f7938301eedccb8b1fef1e7765d7cd04dbaabbae49560c31069
0x192a645a2239b2e5ff07f07315358da1760606cd10ef073760bf76e03890c95f
0x6e53adffc5c348255bd9c9f63b5253435f5ecaea5a16d9b8c8a0de24c606cfb8
0xc97ac998467005684d5091e7891909603e3631640d6ed5630c9dfb1925f4a040
0x55c430cbbb5f8d1f2655168887306774e327ea4fe11fb8c3220c91c770002015
0xe96460c26b29d6ec3acf9708f719bc86311946d8b79b4e91db2589ed83483408
0xf507f24fa756db175e57519d5157c4fd26bffbf816962b3d7ee6316783c89792

Functions
Getter at block 21077576
fmk(view returns (uint256)
10000000000
gas_for_process(view returns (uint256)
148304
getMinMaxTradeVol(view returns (uint256uint256)
(100000000, 193275220527)
liquidity_balancing_mul(view returns (uint256)
8347847738
liquidity_in(view returns (uint256)
115763503715346
liquidity_perc(view returns (uint256)
7930455351
liquidity_perc_normal(view returns (uint256)
9500000000
liquidity_pool(view returns (uint256)
96684895229928
liquidity_pool_blocked(view returns (uint256)
47284966246
liquidity_ratio(view returns (uint256)
11973277050
max_period(view returns (uint32)
288
max_trade_vol(view returns (uint256)
1932752205273
min_period(view returns (uint32)
12
min_trade_vol(view returns (uint256)
1000000000
name(view returns (string)
BAEX - Options Smart-Contract
num_of_trades(view returns (uint32)
658
oracle_fees(view returns (uint256)
2971637613639
period_divider(view returns (uint32)
300
processing_fees_percent(view returns (uint256)
500000000
recalc_max_trade_vol(view returns (bool)
true
Read-only
balanceOf(address _senderview returns (uint256)
instrumentRates(uint48view returns (uint64)
liquidity(addressview returns (uint256)
liquidityBalanceOf(address _senderview returns (uint256)
trades(uint256view returns (uint256 voluint256 feesuint256 paramsuint256 result_volint256 result)
valid_instruments(uint16view returns (bytes16)
State-modifying
_processTrade(address _senderuint16 _instrumentuint64 _block_number
onTransferTokens(address _fromaddress _touint256 _valuereturns (bool)
oracleStoreRates2(uint256 _instrument_ts_rates
oracleStoreRates4(uint256 _instrument_and_tsuint256 _rates
oracleStoreRatesAndProcessTrade(uint256 trade_iduint256 _instrument_ts_rates
placeLiquidity(uint256 _vol
placeTrade(uint16 _instrumentuint256 _voluint8 _directionuint32 _trade_timestampuint16 _period
processTrade(uint16 _instrumentuint64 _block_number
setOracle(address _oracle_addressbool _enabled
setPeriodParams(uint32 _period_divideruint32 _min_perioduint32 _max_period
setTokenAddress(address _token_address
setTradeVol(uint256 _min_trade_voluint256 _max_trade_volbool _recalc_max_trade_vol
setValidInstrument(uint16 _instrument_idbytes16 _ticker
transferOwnership(address newOwner
transferWrongSendedERC20FromContract(address _contract
withdrawLiquidity(uint256 _volbool _burn_to_eth
withdrawOracleFees(uint256 _vol
Events

This contract contains no event objects.

Constructor
constructor(
Fallback and receive
receive(
Errors

This contract contains no error objects.