0x0d04146b2fe5d267629a7eb341fb4388dcdbd22f

Verified contract

Proxy

Active on Ethereum with 9,398 txns
Deployed by via 0x311a8d87 at 10763166
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
3 additional variables
ERC-20
Value $416.79
ERC-20
Value $76.45
ERC-20
--
ERC-20
--
0x00b95e659ed73475a6757aab92f33906d2252ade5e74b6959390a0b09426b091
0xaf9760c444a2b4f6174e749c3f8eab9569df37c0c465ad4ba58c8b8f70530118
0x2ebf022230491412fc5cc419bafa48d3748ade8ab88316f381a3318491830726
0x6c54bc794ff5650ce396910b1298158e61a613b62afe72eed94f44da5a7c032b
0xb1ef58fc2f0003d9cbc546b6a51185c14fa804407a85c297cce8b6ffc28254e3
0x344ded00e127460237c0d247b519225b47dbb1ee9d4d3a4bdca1288f95b4f88c
0xf982855e0941fe96f6f0a3cfc5e0f5a0aee2be0c20a961797a3268f85234338f
0x52dfb09764f42be8c554e8a77f29aa57f4d4320b191225050c0f39b45625b660
From
0x3f1bdf4eddbd9fa03a2dc8ec659e557e55b214a01352ef269356fec63f8f1e50
0x8c6d5f67b3ae9d0e7d4052d800dc85f0a126568d7641a360b4061c88b6c349a2

Functions
Getter at block 21159979
_BASE_BALANCE_(view returns (uint256)
1585068472543107622
_BASE_CAPITAL_RECEIVE_QUOTE_(view returns (uint256)
0
_BASE_CAPITAL_TOKEN_(view returns (address)
0x53cf4694b427fcef9bb1f4438b68df51a10228d0
_BASE_TOKEN_(view returns (address)
0xc00e94cb662c3520282e6f5717214004a7f26888
_CLOSED_(view returns (bool)
false
_DEPOSIT_BASE_ALLOWED_(view returns (bool)
true
_DEPOSIT_QUOTE_ALLOWED_(view returns (bool)
true
_GAS_PRICE_LIMIT_(view returns (uint256)
1000000000000000000000000000
_K_(view returns (uint256)
350000000000000000
_LP_FEE_RATE_(view returns (uint256)
40000000000000000
_MAINTAINER_(view returns (address)
0xab21016bd4127638b8c555e36636449b33df1c38
_MT_FEE_RATE_(view returns (uint256)
10000000000000000
_NEW_OWNER_(view returns (address)
0x0000000000000000000000000000000000000000
_ORACLE_(view returns (address)
0x06a9ab707d11db07540ad64fd64ff4e4015c14bc
_OWNER_(view returns (address)
0x95c4f5b83aa70810d4f142d58e5f7242bd891cb0
_QUOTE_BALANCE_(view returns (uint256)
415962375
_QUOTE_CAPITAL_RECEIVE_BASE_(view returns (uint256)
0
_QUOTE_CAPITAL_TOKEN_(view returns (address)
0x51baf2656778ad6d67b19a419f91d38c3d0b87b6
_QUOTE_TOKEN_(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
_R_STATUS_(view returns (uint8)
1
_SUPERVISOR_(view returns (address)
0x9c59990ec0177d87ed7d60a56f584e6b06c639a2
_TARGET_BASE_TOKEN_AMOUNT_(view returns (uint256)
1706082480707424426
_TARGET_QUOTE_TOKEN_AMOUNT_(view returns (uint256)
410524925
_TRADE_ALLOWED_(view returns (bool)
true
 
getExpectedTarget(view returns (uint256 baseTargetuint256 quoteTarget)
 
getMidPrice(view returns (uint256 midPrice)
getOraclePrice(view returns (uint256)
47968988
getTotalBaseCapital(view returns (uint256)
1866389132362630112
getTotalQuoteCapital(view returns (uint256)
470370749
version(pure returns (uint256)
100
Read-only
_CLAIMED_(addressview returns (bool)
getBaseCapitalBalanceOf(address lpview returns (uint256)
getLpBaseBalance(address lpview returns (uint256 lpBalance)
getLpQuoteBalance(address lpview returns (uint256 lpBalance)
getQuoteCapitalBalanceOf(address lpview returns (uint256)
getWithdrawBasePenalty(uint256 amountview returns (uint256 penalty)
getWithdrawQuotePenalty(uint256 amountview returns (uint256 penalty)
queryBuyBaseToken(uint256 amountview returns (uint256 payQuote)
querySellBaseToken(uint256 amountview returns (uint256 receiveQuote)
State-modifying
buyBaseToken(uint256 amountuint256 maxPayQuotebytes datareturns (uint256)
claimAssets(
claimOwnership(
depositBase(uint256 amountreturns (uint256)
depositBaseTo(address touint256 amountreturns (uint256)
depositQuote(uint256 amountreturns (uint256)
depositQuoteTo(address touint256 amountreturns (uint256)
disableBaseDeposit(
disableQuoteDeposit(
disableTrading(
donateBaseToken(uint256 amount
donateQuoteToken(uint256 amount
enableBaseDeposit(
enableQuoteDeposit(
enableTrading(
finalSettlement(
init(address owneraddress supervisoraddress maintaineraddress baseTokenaddress quoteTokenaddress oracleuint256 lpFeeRateuint256 mtFeeRateuint256 kuint256 gasPriceLimit
retrieve(address tokenuint256 amount
sellBaseToken(uint256 amountuint256 minReceiveQuotebytes datareturns (uint256)
setGasPriceLimit(uint256 newGasPriceLimit
setK(uint256 newK
setLiquidityProviderFeeRate(uint256 newLiquidityPorviderFeeRate
setMaintainer(address newMaintainer
setMaintainerFeeRate(uint256 newMaintainerFeeRate
setOracle(address newOracle
setSupervisor(address newSupervisor
transferOwnership(address newOwner
withdrawAllBase(returns (uint256)
withdrawAllBaseTo(address toreturns (uint256)
withdrawAllQuote(returns (uint256)
withdrawAllQuoteTo(address toreturns (uint256)
withdrawBase(uint256 amountreturns (uint256)
withdrawBaseTo(address touint256 amountreturns (uint256)
withdrawQuote(uint256 amountreturns (uint256)
withdrawQuoteTo(address touint256 amountreturns (uint256)
Events
BuyBaseToken(address indexed buyeruint256 receiveBaseuint256 payQuote
ChargeMaintainerFee(address indexed maintainerbool isBaseTokenuint256 amount
ChargePenalty(address indexed payerbool isBaseTokenuint256 amount
ClaimAssets(address indexed useruint256 baseTokenAmountuint256 quoteTokenAmount
Deposit(address indexed payeraddress indexed receiverbool isBaseTokenuint256 amountuint256 lpTokenAmount
Donate(uint256 amountbool isBaseToken
OwnershipTransferPrepared(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SellBaseToken(address indexed selleruint256 payBaseuint256 receiveQuote
UpdateGasPriceLimit(uint256 oldGasPriceLimituint256 newGasPriceLimit
UpdateK(uint256 oldKuint256 newK
UpdateLiquidityProviderFeeRate(uint256 oldLiquidityProviderFeeRateuint256 newLiquidityProviderFeeRate
UpdateMaintainerFeeRate(uint256 oldMaintainerFeeRateuint256 newMaintainerFeeRate
Withdraw(address indexed payeraddress indexed receiverbool isBaseTokenuint256 amountuint256 lpTokenAmount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.