TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 113 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 48 additional slots
Balances ($0.00)
No balances found for "TransparentUpgradeableProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21155912 | 17 hours ago | | | 0 | 0.0060408440 | |
| 21155380 | 18 hours ago | | | 0 | 0.0095174529 | |
| 21148644 | 2 days ago | | | 0 | 0.0051224165 | |
| 21142555 | 3 days ago | | | 0 | 0.0078485089 | |
| 21087719 | 10 days ago | | | 0 | 0.0044574005 | |
| 21075925 | 12 days ago | | | 0 | 0.0058001772 | |
| 21049818 | 16 days ago | | | 0 | 0.0031437963 | |
| 21041869 | 17 days ago | | | 0 | 0.0033822496 | |
| 21040851 | 17 days ago | | | 0 | 0.0027489185 | |
| 20975478 | a month ago | | | 0 | 0.0068378433 |
ABI
ABI objects
Getter at block 21160885
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EMERGENCY_DAO_ROLE() view returns (bytes32)
0x30d43bb366ef85d2e9345bef3138e4a552faefea6255fa2db4667fdcf34d69a5
baseToken() view returns (address)
0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0
fToken() view returns (address)
0xd6b8162e2fb9f3eff09bb8598ca0c8958e33a23d
fTokenMintFeeRatio() view returns (uint256 defaultFee, int256 deltaFee)
(defaultFee=0, deltaFee=0)
fTokenMintPausedInStabilityMode() view returns (bool)
true
fTokenRedeemFeeRatio() view returns (uint256 defaultFee, int256 deltaFee)
(defaultFee=2500000000000000, deltaFee=-2500000000000000)
fxUSD() view returns (address)
0x085780639cc2cacd35e474e71f4d000e2405d8f6
mintPaused() view returns (bool)
false
platform() view returns (address)
0x0084c2e1b1823564e597ff4848a88d61ac63d703
redeemPaused() view returns (bool)
false
registry() view returns (address)
0x86e987a89fd7345457d97b9e82906f346d61df39
reservePool() view returns (address)
0xb592e01dd77084b36430ffcb9c9d2f76fde32631
stabilityRatio() view returns (uint256)
1305500000000000000
treasury() view returns (address)
0xed803540037b0ae069c93420f89cd653b6e3df1f
xToken() view returns (address)
0x5a097b014c547718e79030a077a91ae37679eff5
xTokenMintFeeRatio() view returns (uint256 defaultFee, int256 deltaFee)
(defaultFee=15000000000000000, deltaFee=-15000000000000000)
xTokenRedeemFeeRatio() view returns (uint256 defaultFee, int256 deltaFee)
(defaultFee=15000000000000000, deltaFee=70000000000000000)
xTokenRedeemPausedInStabilityMode() view returns (bool)
false
Read-only
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
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
enableFxUSD(address _fxUSD)
grantRole(bytes32 role, address account)
initialize(address _platform, address _reservePool, address _registry)
mintFToken(uint256 _baseIn, address _recipient, uint256 _minFTokenMinted) returns (uint256 _fTokenMinted)
mintXToken(uint256 _baseIn, address _recipient, uint256 _minXTokenMinted) returns (uint256 _xTokenMinted, uint256 _bonus)
redeemFToken(uint256 _fTokenIn, address _recipient, uint256 _minBaseOut) returns (uint256 _baseOut, uint256 _bonus)
redeemXToken(uint256 _xTokenIn, address _recipient, uint256 _minBaseOut) returns (uint256 _baseOut)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
updateFTokenMintStatusInStabilityMode(bool _newStatus)
updateMintFeeRatio(uint128 _defaultFeeRatio, int128 _extraFeeRatio, bool _isFToken)
updateMintStatus(bool _newStatus)
updatePlatform(address _newPlatform)
updateRebalancePoolRegistry(address _newRegistry)
updateRedeemFeeRatio(uint256 _defaultFeeRatio, int256 _extraFeeRatio, bool _isFToken)
updateRedeemStatus(bool _newStatus)
updateReservePool(address _newReservePool)
updateStabilityRatio(uint256 _newRatio)
updateXTokenRedeemStatusInStabilityMode(bool _newStatus)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
Initialized(uint8 version)
MintFToken(address indexed owner, address indexed recipient, uint256 baseTokenIn, uint256 fTokenOut, uint256 mintFee)
MintXToken(address indexed owner, address indexed recipient, uint256 baseTokenIn, uint256 xTokenOut, uint256 bonus, uint256 mintFee)
RedeemFToken(address indexed owner, address indexed recipient, uint256 fTokenBurned, uint256 baseTokenOut, uint256 bonus, uint256 redeemFee)
RedeemXToken(address indexed owner, address indexed recipient, uint256 xTokenBurned, uint256 baseTokenOut, uint256 redeemFee)
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)
UpdateFTokenMintStatusInStabilityMode(bool oldStatus, bool newStatus)
UpdateMintFeeRatioFToken(uint256 defaultFeeRatio, int256 extraFeeRatio)
UpdateMintFeeRatioXToken(uint256 defaultFeeRatio, int256 extraFeeRatio)
UpdateMintStatus(bool oldStatus, bool newStatus)
UpdatePlatform(address indexed oldPlatform, address indexed newPlatform)
UpdateRebalancePoolRegistry(address indexed oldRegistry, address indexed newRegistry)
UpdateRedeemFeeRatioFToken(uint256 defaultFeeRatio, int256 extraFeeRatio)
UpdateRedeemFeeRatioXToken(uint256 defaultFeeRatio, int256 extraFeeRatio)
UpdateRedeemStatus(bool oldStatus, bool newStatus)
UpdateReservePool(address indexed oldReservePool, address indexed newReservePool)
UpdateStabilityRatio(uint256 oldRatio, uint256 newRatio)
UpdateXTokenRedeemStatusInStabilityMode(bool oldStatus, bool newStatus)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
ErrorCallerNotFUSD()
ErrorDefaultFeeTooLarge()
ErrorDeltaFeeTooSmall()
ErrorFTokenMintPausedInStabilityMode()
ErrorInsufficientBaseOutput()
ErrorInsufficientFTokenOutput()
ErrorInsufficientXTokenOutput()
ErrorMintPaused()
ErrorMintZeroAmount()
ErrorRedeemPaused()
ErrorRedeemZeroAmount()
ErrorStabilityRatioTooLarge()
ErrorTotalFeeTooLarge()
ErrorXTokenRedeemPausedInStabilityMode()
ErrorZeroAddress()