Baliv

Verified contract

Active on Ethereum with 189 txns
Deployed by via 0xcb86f36d at 5327636
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
Native
Value $299.02
ERC-20
Value $2.54
ERC-20
Value $1.25
ERC-20
Value $0.01
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x410c84487f377243625d55613919f584c03271b58655e9f2f24a1a593189e348
0x7e1f048ec42699ccec35dfabef44840b2c64dbc248e39dbd7dad7d0884c54747
0xfb37e4561a43e6d0cb19a59504b3228f00d1213134d7b456893570d732673744
0x42ed89cfb98020200a1c116a6d6fc0c36cd87de3e8813974d2d0a357e527b743
0xd9ab0bf28ac59c467ed69a269eabb5e0144625b09281c4030e8abd9affd43e91
0xcc8ee7a422908529f31108b8b6d55971b5d898138da6552888946dd922d1809c
0x595e0ee505d063814e9dd778dad9b69e1e2f4b4a470f39fbb3e53b9d44b18de8
0x50ab8293b1265e06adde6c5e11666187fe1eab186341ed4a2646392b24c58043
0x712d1d5de11b08e0d8d3352a7547646159ed2006e54288ea0a8d67de1b84a2d5
0xbea9bae0d56147617c1261442751d07d00d35fb6ad24a4ac016a267116c868e8

Functions
Getter at block 21203992
XPAToken(view returns (address)
0x90528aeb3a2b736b780fd1b6c478bb7e1d643170
autoMatch(view returns (uint256)
10
bank(view returns (address)
0xbcb0a235d250348ec5ce85b671252c09e365fcb8
maxAmount(view returns (uint256)
1000000000000000000000000000
maxPrice(view returns (uint256)
1000000000000000000000000000000000000
operator(view returns (address)
0xbcb0a235d250348ec5ce85b671252c09e365fcb8
owner(view returns (address)
0xbcb0a235d250348ec5ce85b671252c09e365fcb8
powerStatus(view returns (bool)
true
Read-only
agentBooks(addressview returns (address)
balances(addressaddressview returns (uint256)
caculateFee(address user_uint256 amount_uint8 role_view returns (uint256uint256)
feerate(uint256view returns (uint256)
getMinAmount(address token_view returns (uint256)
getPrice(address fromToken_address toToken_view returns (uint256)
isRepresentor(address representor_view returns (bool)
minAmount(addressview returns (uint256)
nextOrderPrice(addressaddressuint256view returns (uint256)
orderBooks(addressaddressuint256addressview returns (uint256 amountaddress nextUser)
priceBooks(addressaddressview returns (uint256)
State-modifying
assignAgent(address agent_
assignBank(address bank_
assignOperator(address user_
deposit(address token_address representor_payable 
powerSwitch(bool onOff_
setFeerate(uint256[3] feerate_
setManualWithdraw(bool manual_
setMinAmount(address token_uint256 amount_
setup(uint256 autoMatch_uint256 maxAmount_uint256 maxPrice_
trade(address fromToken_address toToken_
transferOwnership(address newOwner_
userCancelOrder(address fromToken_address toToken_uint256 price_uint256 amount_address representor_returns (bool)
userTakeOrder(address fromToken_address toToken_uint256 price_uint256 amount_address representor_payable returns (bool)
withdraw(address token_uint256 amount_address representor_returns (bool)
Events
Error(uint256 code
eCancelOrder(address fromTokenaddress toTokenuint256 priceaddress useruint256 amount
eDeposit(address useraddress tokenuint256 amount
eFillOrder(address fromTokenaddress toTokenuint256 priceaddress useruint256 amount
eMakeOrder(address fromTokenaddress toTokenuint256 priceaddress useruint256 amount
eWithdraw(address useraddress tokenuint256 amount
Constructor
constructor(
Fallback and receive
fallback(
Errors

This contract contains no error objects.