0xca7b0632bd0e646b0f823927d3d2e61b00fe4d80

Verified contract

Proxy

Active on Ethereum with 8,961 txns
Deployed by via 0xa0e71bb7 at 10756434
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
3 additional variables
ERC-20
Value $2,176.99
ERC-20
Value $1,470.2
ERC-20
--
0xf708da281ca35c8faf8be7411d058b034c1b67c8c2ba379e0a597a6856ea08dc
0x68c1f4fe76203f10c0265d64aff9cb4a7188d0bf141fdc405719ff766717191c
0xaebdadde0181b11a61c30cc50b40fed11ac6a0a9725756af8b05c7a80cfe329d
0x4ebb6388b21d051c67b5689917fa8d0f4ba3857c5c2cc72d287e109556dd2129
0x03f78acc14cd00bbab41765409a2275c39c9de3b332c3d0f2ae31862b29c6eb0
0xc870d35c6263e17936c4f31355ff56acdca1fb5de8f086e45e6c2422d0a5ead0
0xd2a41c1ec723a19b399e22862f311457c01b39d5dad9d54795bc4e1130468174
0xea7fe80b7218dd4d753aec0f811277c64b96086b52735eba269935a13782621a
0x0341f3cae4a7ac9b3207bcec73cc046ef6862d466a57c7b008624e5a830cd8c4
0x9c274cbccfb2d9510d81e6b9cbdd641f97e3ba1b6c3018a2bd553a312bfb8b74

Functions
Getter at block 21157896
_BASE_BALANCE_(view returns (uint256)
880360384323376047686
_BASE_CAPITAL_RECEIVE_QUOTE_(view returns (uint256)
0
_BASE_CAPITAL_TOKEN_(view returns (address)
0x5bd1b7d3930d7a5e8fd5aeec6b931c822c8be14e
_BASE_TOKEN_(view returns (address)
0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f
_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)
10000000000000000000000000000
_K_(view returns (uint256)
500000000000000000
_LP_FEE_RATE_(view returns (uint256)
40000000000000000
_MAINTAINER_(view returns (address)
0x95c4f5b83aa70810d4f142d58e5f7242bd891cb0
_MT_FEE_RATE_(view returns (uint256)
10000000000000000
_NEW_OWNER_(view returns (address)
0x0000000000000000000000000000000000000000
_ORACLE_(view returns (address)
0x0a870717a19a4b4cd37a31d58ebf28bccc07d4da
_OWNER_(view returns (address)
0x95c4f5b83aa70810d4f142d58e5f7242bd891cb0
_QUOTE_BALANCE_(view returns (uint256)
2177841147
_QUOTE_CAPITAL_RECEIVE_BASE_(view returns (uint256)
0
_QUOTE_CAPITAL_TOKEN_(view returns (address)
0x1b06a22b20362b4115388ab8ca3ed0972230d78a
_QUOTE_TOKEN_(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
_R_STATUS_(view returns (uint8)
1
_SUPERVISOR_(view returns (address)
0x9c59990ec0177d87ed7d60a56f584e6b06c639a2
_TARGET_BASE_TOKEN_AMOUNT_(view returns (uint256)
911784849706114335432
_TARGET_QUOTE_TOKEN_AMOUNT_(view returns (uint256)
2117598567
_TRADE_ALLOWED_(view returns (bool)
true
 
getExpectedTarget(view returns (uint256 baseTargetuint256 quoteTarget)
 
getMidPrice(view returns (uint256 midPrice)
getOraclePrice(view returns (uint256)
1668780
getTotalBaseCapital(view returns (uint256)
1003707923800241937746
getTotalQuoteCapital(view returns (uint256)
2210126363
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.