FxUSDFacet
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
1
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 3 additional slots
Balances ($0.00)
No balances found for "FxUSDFacet"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "FxUSDFacet"
ABI
ABI objects
Getter at block 21275488
This contract contains no getter function objects.
Read-only
This contract contains no read-only function objects.
State-modifying
Events fxAutoRedeemFxUSD(struct LibGatewayRouterConvertOutParams[] _params, address _fxUSD, uint256 _fxUSDIn, uint256[] _minBaseTokens, uint256 _minDstOut) payable returns (uint256[] _baseOuts, uint256[] _bonusOuts, uint256 _dstOut)
fxBaseTokenSwap(address _fxUSD, address _baseTokenIn, uint256 _amountIn, address _baseTokenOut, uint256 _minOut) returns (uint256 _amountOut, uint256 _bonusOut)
fxInitialFundDeposit(struct LibGatewayRouterConvertInParams _params, address _vault) payable returns (uint256 _baseOut)
fxMintFTokenV2(struct LibGatewayRouterConvertInParams _params, address _market, uint256 _minFTokenMinted) payable returns (uint256 _fTokenMinted)
fxMintFxUSD(struct LibGatewayRouterConvertInParams _params, address _fxUSD, address _baseToken, uint256 _minFxUSDMinted) payable returns (uint256 _fxUSDMinted)
fxMintFxUSDAndEarn(struct LibGatewayRouterConvertInParams _params, address _fxUSD, address _pool, uint256 _minFxUSDMinted) payable returns (uint256 _fxUSDMinted)
fxMintXTokenV2(struct LibGatewayRouterConvertInParams _params, address _market, uint256 _minXTokenMinted) payable returns (uint256 _xTokenMinted, uint256 _bonusOut)
fxRebalancePoolWithdraw(address _fxUSD, address _pool, uint256 _amountIn) payable returns (uint256 _amountOut)
fxRebalancePoolWithdrawAs(struct LibGatewayRouterConvertOutParams _params, address _pool, uint256 _amountIn) payable returns (uint256 _amountOut)
fxRedeemFTokenV2(struct LibGatewayRouterConvertOutParams _params, address _market, uint256 _fTokenIn, uint256 _minBaseToken) returns (uint256 _baseOut, uint256 _dstOut, uint256 _bonusOut)
fxRedeemFxUSD(struct LibGatewayRouterConvertOutParams _params, address _fxUSD, address _baseToken, uint256 _fxUSDIn, uint256 _minBaseToken) payable returns (uint256 _baseOut, uint256 _dstOut, uint256 _bonusOut)
fxRedeemXTokenV2(struct LibGatewayRouterConvertOutParams _params, address _market, uint256 _xTokenIn, uint256 _minBaseToken) returns (uint256 _baseOut, uint256 _dstOut)
fxSwapFxUSD(address _market, uint256 _amountIn, bool _fxUSDForXToken, uint256 _minOut) returns (uint256 _amountOut, uint256 _bonusOut)
fxSwapV2(address _market, uint256 _amountIn, bool _fTokenForXToken, uint256 _minOut) returns (uint256 _amountOut, uint256 _bonusOut)
This contract contains no event objects.
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
ErrorInsufficientOutput()
ErrorLengthMismatch()
ErrorMsgValueMismatch()
ErrorNotWhitelisted(uint8 expected, uint8 found)
ErrorTargetNotApproved()