FxUSD
Verified contract
Implementation
Active on
Ethereum with 1 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
-
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
Balances ($0.00)
No balances found for "FxUSD"
ABI
ABI objects
Getter at block 21230353
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DOMAIN_SEPARATOR() view returns (bytes32)
0x998f127b2a9ee80eae5000908ed76cf67281c1b9842bfe1fb660fccc93067ec1
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=, version=, chainId=1, verifyingContract=0xb788998187a8536f38b69ae657323ac8b70551bb, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
getMarkets() view returns (address[] _tokens)
[]
getRebalancePools() view returns (address[] _pools)
[]
isUnderCollateral() view returns (bool)
false
name() view returns (string)
nav() view returns (uint256 _nav)
1000000000000000000
symbol() view returns (string)
totalSupply() view returns (uint256)
0
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 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)
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)
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)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
ErrorExceedMintCap()
ErrorInsufficientLiquidity()
ErrorLengthMismatch()
ErrorMarketAlreadySupported()
ErrorMarketInStabilityMode()
ErrorMarketWithInvalidPrice()
ErrorUnderCollateral()
ErrorUnsupportedMarket()
ErrorUnsupportedRebalancePool()