f(x) btcUSD
Verified contract
Proxy
Active on
Ethereum with 445 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 44 additional slots
-
variable spans 47 additional slots
-
variable spans 48 additional slots
-
variable spans 1 additional slot
-
variable spans 1 additional slot
1 additional
variable
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
fWBTC | ERC-20 | 15.486114K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21227856 | 2 days ago | | | 0 | 0.0056009952 | |
| 21208635 | 5 days ago | | | 0 | 0.0093615260 | |
| 21203352 | 6 days ago | | | 0 | 0.0054212659 | |
| 21203347 | 6 days ago | | | 0 | 0.0055471093 | |
| 21203334 | 6 days ago | | | 0 | 0.0059839252 | |
| 21201163 | 6 days ago | | | 0 | 0.00092796057 | |
| 21170756 | 10 days ago | | | 0 | 0.024218186 | |
| 21141124 | 15 days ago | | | 0 | 0.0043765621 | |
| 21141118 | 15 days ago | | | 0 | 0.0044429228 | |
| 21134412 | 15 days ago | | | 0 | 0.00041536476 |
ABI
ABI objects
Getter at block 21245079 isUnderCollateral() view returns (bool) nav() view returns (uint256 _nav)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DOMAIN_SEPARATOR() view returns (bytes32)
0x3c24d804cf09a6668535ac51ae504c3edd76f5263eccffaf2bf9b314218a337b
decimals() view returns (uint8)
18
eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
(fields=0x0f, name=f(x) btcUSD, version=1, chainId=1, verifyingContract=0x9d11ab23d33ad026c466ce3c124928fdb69ba20e, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
getMarkets() view returns (address[] _tokens)
[0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599]
getRebalancePools() view returns (address[] _pools)
[0xf291EC9C2F87A41386fd94eC4BCdC3270eD04482, 0xBB549046497364A1E26F94f7e93685Dc29FAd8c0]
name() view returns (string)
f(x) btcUSD
symbol() view returns (string)
btcUSD
totalSupply() view returns (uint256)
15486114227764828832334
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
markets(address) view returns (address fToken, address treasury, address market, uint256 mintCap, uint256 managed)
nonces(address owner) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addMarket(address _market, uint256 _mintCap)
addRebalancePools(address[] _pools)
approve(address spender, uint256 amount) returns (bool)
autoRedeem(uint256 _amountIn, address _receiver, uint256[] _minOuts) returns (address[] _baseTokens, uint256[] _amountOuts, uint256[] _bonusOuts)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
earn(address _pool, uint256 _amount, address _receiver)
grantRole(bytes32 role, address account)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
initialize(string _name, string _symbol)
mint(address _baseToken, uint256 _amountIn, address _receiver, uint256 _minOut) returns (uint256 _amountOut)
mintAndEarn(address _pool, uint256 _amountIn, address _receiver, uint256 _minOut) returns (uint256 _amountOut)
permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
redeem(address _baseToken, uint256 _amountIn, address _receiver, uint256 _minOut) returns (uint256 _amountOut, uint256 _bonusOut)
redeemFrom(address _pool, uint256 _amountIn, address _receiver, uint256 _minOut) returns (uint256 _amountOut, uint256 _bonusOut)
removeRebalancePools(address[] _pools)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
updateMintCap(address _baseToken, uint256 _newCap)
wrap(address _baseToken, uint256 _amount, address _receiver)
wrapFrom(address _pool, uint256 _amount, address _receiver)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
AddMarket(address indexed baseToken, uint256 mintCap)
AddRebalancePool(address indexed baseToken, address indexed pool)
Approval(address indexed owner, address indexed spender, uint256 value)
EIP712DomainChanged()
Initialized(uint8 version)
RemoveRebalancePool(address indexed baseToken, address indexed pool)
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)
Transfer(address indexed from, address indexed to, uint256 value)
Unwrap(address indexed baseToken, address indexed owner, address indexed receiver, uint256 amount)
UpdateMintCap(address indexed baseToken, uint256 oldCap, uint256 newCap)
Wrap(address indexed baseToken, address indexed owner, address indexed receiver, uint256 amount)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
ErrorExceedMintCap()
ErrorInsufficientLiquidity()
ErrorLengthMismatch()
ErrorMarketAlreadySupported()
ErrorMarketInStabilityMode()
ErrorMarketWithInvalidPrice()
ErrorUnderCollateral()
ErrorUnsupportedMarket()
ErrorUnsupportedRebalancePool()