Market
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
1 additional
variable
Balances ($0.00)
No balances found for "Market"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Market"
ABI
ABI objects
Getter at block 21880773 currentFundingRatio() view returns (uint256 numerator, uint256 denominator) estimateRaisePrice() view returns (bool success, uint256 _t, uint256 _c, uint256 _w, uint256 raisedFloorPrice)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
Debt() view returns (address)
0x0000000000000000000000000000000000000000
MANAGER_ROLE() view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
NO() view returns (address)
0x0000000000000000000000000000000000000000
Quote() view returns (address)
0x0000000000000000000000000000000000000000
STARTUP_ROLE() view returns (bytes32)
0x6afe9cfb47664136b26b50db67b3566cb1d289a2bee71ac01b59c95757fb24fe
borrowFee() view returns (uint32)
0
buyFee() view returns (uint32)
0
c() view returns (uint256)
0
dev() view returns (address)
0x0000000000000000000000000000000000000000
f() view returns (uint256)
0
helper() view returns (address)
0x0000000000000000000000000000000000000000
initialized() view returns (bool)
false
k() view returns (uint256)
0
latestUpdateTimestamp() view returns (uint256)
0
lowerInterval() view returns (uint32)
0
lowerStep() view returns (uint32)
0
maxTargetAdjusted() view returns (uint32)
0
minTarget() view returns (uint32)
0
p() view returns (uint256)
0
paused() view returns (bool)
false
raiseStep() view returns (uint32)
0
sellFee() view returns (uint32)
0
target() view returns (uint32)
0
targetAdjusted() view returns (uint32)
0
w() view returns (uint256)
0
Read-only
estimateAdjust(uint256 _k, uint256 _tar, uint256 _w, uint256 _t) pure returns (bool success, uint256 _c, uint256 _f, uint256 _p)
estimateBuy(uint256 worth) view returns (uint256 amount, uint256 fee, uint256 newPrice)
estimateRaisePrice(uint256 _f, uint256 _k, uint256 _p, uint256 _tar, uint256 _tarAdjusted) pure returns (bool success, uint256 _t, uint256 _c, uint256 _w, uint256 raisedFloorPrice)
estimateSell(uint256 amount) view returns (uint256 worth, uint256 fee, uint256 newPrice)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events borrow(address user, uint256 worth)
buy(uint256 worth, uint256 desired) returns (uint256, uint256)
constructor1(address _NO, address _Debt, address _Quote, uint256 _k, uint32 _target, uint32 _targetAdjusted, address _helper, address _manager)
grantRole(bytes32 role, address account)
lowerAndAdjust()
pause()
renounceRole(bytes32 role, address account)
repay(address user, uint256 worth)
revokeRole(bytes32 role, address account)
sell(uint256 amount, uint256 desired) returns (uint256, uint256)
setAdjustOptions(uint32 _minTarget, uint32 _maxTargetAdjusted, uint32 _raiseStep, uint32 _lowerStep, uint32 _lowerInterval)
setFeeOptions(address _dev, uint32 _buyFee, uint32 _sellFee, uint32 _borrowFee)
setMarketOptions(uint256 _k, uint32 _target, uint32 _targetAdjusted)
startup(uint256 _w, uint256 _t)
unpause()
Adjust(uint256 c, uint256 f, uint256 p)
AdjustOptionsChanged(uint32 minTarget, uint32 maxTargetAdjusted, uint32 raiseStep, uint32 lowerStep, uint32 lowerInterval)
Buy(address indexed user, uint256 input, uint256 output, uint256 fee)
FeeOptionsChanged(address dev, uint32 buyFee, uint32 sellFee, uint32 borrowFee)
Lower(uint256 target, uint256 targetAdjusted)
Paused(address account)
Raise(address trigger, uint256 target, uint256 targetAdjusted)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Sell(address indexed user, uint256 input, uint256 output, uint256 fee)
Unpaused(address account)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.