FxUSD

Verified contract

Implementation

Active on Ethereum with 1 txns
Deployed by via 0x5982ce80 at 19287507
Slot
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

No balances found for "FxUSD"

0x79f791a569bf9995d4abd631c93f617c0adc216f9a28618e4d2836cb9781a3b9
From

Functions
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 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] 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 owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
markets(addressview returns (address fTokenaddress treasuryaddress marketuint256 mintCapuint256 managed)
nonces(address ownerview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addMarket(address _marketuint256 _mintCap
addRebalancePools(address[] _pools
approve(address spenderuint256 amountreturns (bool)
autoRedeem(uint256 _amountInaddress _receiveruint256[] _minOutsreturns (address[] _baseTokensuint256[] _amountOutsuint256[] _bonusOuts)
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
earn(address _pooluint256 _amountaddress _receiver
grantRole(bytes32 roleaddress account
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(string _namestring _symbol
mint(address _baseTokenuint256 _amountInaddress _receiveruint256 _minOutreturns (uint256 _amountOut)
mintAndEarn(address _pooluint256 _amountInaddress _receiveruint256 _minOutreturns (uint256 _amountOut)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
redeem(address _baseTokenuint256 _amountInaddress _receiveruint256 _minOutreturns (uint256 _amountOutuint256 _bonusOut)
removeRebalancePools(address[] _pools
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
updateMintCap(address _baseTokenuint256 _newCap
wrap(address _baseTokenuint256 _amountaddress _receiver
wrapFrom(address _pooluint256 _amountaddress _receiver
Events
AddMarket(address indexed baseTokenuint256 mintCap
AddRebalancePool(address indexed baseTokenaddress indexed pool
Approval(address indexed owneraddress indexed spenderuint256 value
EIP712DomainChanged(
Initialized(uint8 version
RemoveRebalancePool(address indexed baseTokenaddress indexed pool
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Transfer(address indexed fromaddress indexed touint256 value
Unwrap(address indexed baseTokenaddress indexed owneraddress indexed receiveruint256 amount
UpdateMintCap(address indexed baseTokenuint256 oldCapuint256 newCap
Wrap(address indexed baseTokenaddress indexed owneraddress indexed receiveruint256 amount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
ErrorExceedMintCap(
ErrorInsufficientLiquidity(
ErrorLengthMismatch(
ErrorMarketAlreadySupported(
ErrorMarketInStabilityMode(
ErrorMarketWithInvalidPrice(
ErrorUnderCollateral(
ErrorUnsupportedMarket(
ErrorUnsupportedRebalancePool(