0x562c0b218cc9ba06d9eb42f3aef54c54cc5a4650

Verified contract

Proxy

Active on Ethereum with 16,443 txns
Deployed by via 0xff29f62f at 10723759
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,973.83
ERC-20
Value $805.95
ERC-20
--
ERC-20
--
ERC-20
--
0x5fcd86f7c1d6105eb0bd695c5245b5e05e40e7526d90619a40ca617b57745c0a
0x879feb1bc584fff2a050b43820b18ebe59f111cc7dc20d59002d09eaaadc359a
0x15517f1580a01b8b7f102435dd42c00231d2a042be3f526d7c35fbdb2d938dc2
0x194dd63568c9087f2ba43bca408493509a2e9ec693d309a73149b06a025587aa
0xe0760e548ddc09a3e4d22f281617e8c424527fc66868e3efd7d1b8efa88995e8
From
0xcdc3ccdef36f1f92f00c942437df66d5de3cf86ce1e819757b160a0155283639
0x7c377ca73eb7ad84020fb662cb6a002ae0d34d35b5ea8427a0c06ba75d3fd16b
0x964aebcdf280e12dde186650fa2faae0d180422252fef3dd7633a1f75cc7b80d
0xb5f4ee01c060a826c5842c8d31377d4ac56f17c3b62dbc6f6586f8ead98ddb09
0xcb4374ea5af68621028e5aa66f6294ba8c793d5e1e1e2b05932698bb3cfa5a2d

Functions
Getter at block 21272405
_BASE_BALANCE_(view returns (uint256)
177754151452276934836
_BASE_CAPITAL_RECEIVE_QUOTE_(view returns (uint256)
0
_BASE_CAPITAL_TOKEN_(view returns (address)
0xf03f3d2fbee37f92ec91ae927a8019cacef4b738
_BASE_TOKEN_(view returns (address)
0x514910771af9ca656af840dff83e8264ecf986ca
_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)
100000000000000000000000000
_K_(view returns (uint256)
250000000000000000
_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)
0x809ccf986464bbd278d94fa87b6e832e6d6acbb4
_OWNER_(view returns (address)
0x95c4f5b83aa70810d4f142d58e5f7242bd891cb0
_QUOTE_BALANCE_(view returns (uint256)
797793330
_QUOTE_CAPITAL_RECEIVE_BASE_(view returns (uint256)
0
_QUOTE_CAPITAL_TOKEN_(view returns (address)
0x0f769bc3ecbda8e0d78280c88e31609e899a1f78
_QUOTE_TOKEN_(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
_R_STATUS_(view returns (uint8)
2
_SUPERVISOR_(view returns (address)
0x9c59990ec0177d87ed7d60a56f584e6b06c639a2
_TARGET_BASE_TOKEN_AMOUNT_(view returns (uint256)
176002611361019647390
_TARGET_QUOTE_TOKEN_AMOUNT_(view returns (uint256)
817544150
_TRADE_ALLOWED_(view returns (bool)
true
 
getExpectedTarget(view returns (uint256 baseTargetuint256 quoteTarget)
 
getMidPrice(view returns (uint256 midPrice)
getOraclePrice(view returns (uint256)
16720583
getTotalBaseCapital(view returns (uint256)
206001005379565818805
getTotalQuoteCapital(view returns (uint256)
657322644
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.