0x2109f78b46a789125598f5ad2b7f243751c2934d

Verified contract

Proxy

Active on Ethereum with 21,235 txns
Deployed by via 0xc8b6e56f at 10781116
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
3 additional variables
ERC-20
Value $27,769.44
ERC-20
Value $7,318.28
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x5c0e15008c842744e6e822df3dfdb7d3a520d3ea409eb28b722405c9be70f6d2
0xd83131fd49d716ff48bc585efbbb58ad920f1303fc68363ecd95fdbcbbb62e7c
0xf81c791fd3d36dabb56a816564ddeb2eff88c4747ddac1fffc5ae1307d3c355b
0x9c964013ce7df3a3381deef7f21a0484e113bd863e648d7d985867501098ef3a
0xae06ac4fc67a92e51b268a2ac071a502d491dbd473667ad30622f4913147c062
0x824c3a7378d0a0c6f95f577f7553c140728557d7ca8b6be65dcabfaa11fe1246
0xc45705c43a651a28d5688f59c11c7930290ce05d14e13de6495e05b268f4be54
0xb479023d0fb1e8f44196a57610c9e8fd077573f10d620ef71a9923ea7828c006
0x64c6db828f8cb21011c019e8efc4ec69d5cffb002b9d33ac35132529a5446c21
0x51b9012b645c0fa2260475b47a8c44109184fcbf3940d1a167b6d6d692e91f32

Functions
Getter at block 21158347
_BASE_BALANCE_(view returns (uint256)
34881409
_BASE_CAPITAL_RECEIVE_QUOTE_(view returns (uint256)
0
_BASE_CAPITAL_TOKEN_(view returns (address)
0x2ec2a42901c761b295a9e6b95200cd0bdaa474eb
_BASE_TOKEN_(view returns (address)
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
_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)
300000000000000000
_LP_FEE_RATE_(view returns (uint256)
990000000000000000
_MAINTAINER_(view returns (address)
0x95c4f5b83aa70810d4f142d58e5f7242bd891cb0
_MT_FEE_RATE_(view returns (uint256)
0
_NEW_OWNER_(view returns (address)
0x0000000000000000000000000000000000000000
_ORACLE_(view returns (address)
0xb77ddd925e69ddca799d9cc6abea5ae2c7c7f780
_OWNER_(view returns (address)
0x95c4f5b83aa70810d4f142d58e5f7242bd891cb0
_QUOTE_BALANCE_(view returns (uint256)
7320268121
_QUOTE_CAPITAL_RECEIVE_BASE_(view returns (uint256)
0
_QUOTE_CAPITAL_TOKEN_(view returns (address)
0x0cdb21e20597d753c90458f5ef2083f6695eb794
_QUOTE_TOKEN_(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
_R_STATUS_(view returns (uint8)
1
_SUPERVISOR_(view returns (address)
0x9c59990ec0177d87ed7d60a56f584e6b06c639a2
_TARGET_BASE_TOKEN_AMOUNT_(view returns (uint256)
34931263
_TARGET_QUOTE_TOKEN_AMOUNT_(view returns (uint256)
7284925750
_TRADE_ALLOWED_(view returns (bool)
true
 
getExpectedTarget(view returns (uint256 baseTargetuint256 quoteTarget)
 
getMidPrice(view returns (uint256 midPrice)
getOraclePrice(view returns (uint256)
797628295304800000000
getTotalBaseCapital(view returns (uint256)
40001109
getTotalQuoteCapital(view returns (uint256)
8393327094
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.