Diamond
Verified contract
Proxy
Active on
Ethereum with 1,824 txns
Unified 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
-
variable spans 3 additional slots
Balances ($0.00)
No balances found for "Diamond"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21275084 | an hour ago | | | 26 | 0.0068068980 | |
| 21274186 | 4 hours ago | | | 0 | 0.011094659 | |
| 21273477 | 7 hours ago | | | 0 | 0.012291804 | |
| 21268346 | a day ago | | | 0 | 0.0081605223 | |
| 21268229 | a day ago | | | 0 | 0.0088086732 | |
| 21267816 | a day ago | | | 0 | 0.013684631 | |
| 21266858 | a day ago | | | 0 | 0.017036856 | |
| 21266833 | a day ago | | | 0 | 0.014532227 | |
| 21266822 | a day ago | | | 0 | 0.016374468 | |
| 21266785 | a day ago | | | 0 | 0.017056272 |
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)
DiamondCut(struct IDiamondFacetCut[] _diamondCut, address _init, bytes _calldata)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(struct IDiamondFacetCut[] _diamondCut, struct DiamondArgs _args)
fallback()
receive()
CannotAddFunctionToDiamondThatAlreadyExists(bytes4 _selector)
CannotAddSelectorsToZeroAddress(bytes4[] _selectors)
CannotRemoveFunctionThatDoesNotExist(bytes4 _selector)
CannotRemoveImmutableFunction(bytes4 _selector)
CannotReplaceFunctionThatDoesNotExists(bytes4 _selector)
CannotReplaceFunctionWithTheSameFunctionFromTheSameFacet(bytes4 _selector)
CannotReplaceFunctionsFromFacetWithZeroAddress(bytes4[] _selectors)
CannotReplaceImmutableFunction(bytes4 _selector)
FunctionNotFound(bytes4 _functionSelector)
IncorrectFacetCutAction(uint8 _action)
InitializationFunctionReverted(address _initializationContractAddress, bytes _calldata)
NoBytecodeAtAddress(address _contractAddress, string _message)
NoSelectorsProvidedForFacetForCut(address _facetAddress)
RemoveFacetAddressMustBeZeroAddress(address _facetAddress)
ErrorInsufficientOutput()
ErrorLengthMismatch()
ErrorMsgValueMismatch()
ErrorNotWhitelisted(uint8 expected, uint8 found)
ErrorTargetNotApproved()