Diamond

Verified contract

Proxy

Active on Ethereum with 1,683 txns
Deployed by via 0x3c1ec98f at 19288437
Slot
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

No balances found for "Diamond"

0x9e731abe649962f9c7c9eeea4beea2b951407e596bdaacc8db58a9916791f82f
0x7ec44ce8592785eea66529c7793ded809e5a48eea10dcd9803199b576adccf38
0x56f0c2c85b3bd1a5a024ccbf1e7756a11311620a6d4b893de552a348f888348d
0x83aa814484fa04359d63af9c3842f0b0ff9e1762e5cbec7e7539449246d277af
0x2ff5406475eceabba576e49ba5d1e2d6dd1193192413149a80fbb0a0f7b097c1
0xf30e8ea93cba51e6ea9cce4be9a14a1fbe938fad9b2e0901a7d48345e316a1f4
0x157b18d2a5f0a7b1a5e5aa223b4d284650bebe4f6f8b017da61fc21ae65303c5
0x7b00ead84d05194320ab43a8bbedb251fcedf480b2c759b1370d3e90757d9cde
0x426c6b7fb94035d0f0b9fb24340f1aeb10ccd0d9939da986b801588e8d33556e
0x1f9837a1b2817bb54278bcf7f1a548b2db140ab6d63a9a9f64b6610f85bbf074

Functions
Getter at block 21157983

This contract contains no getter function objects.

Read-only

This contract contains no read-only function objects.

State-modifying
fxAutoRedeemFxUSD(struct LibGatewayRouterConvertOutParams[] _paramsaddress _fxUSDuint256 _fxUSDInuint256[] _minBaseTokensuint256 _minDstOutpayable returns (uint256[] _baseOutsuint256[] _bonusOutsuint256 _dstOut)
fxBaseTokenSwap(address _fxUSDaddress _baseTokenInuint256 _amountInaddress _baseTokenOutuint256 _minOutreturns (uint256 _amountOutuint256 _bonusOut)
fxInitialFundDeposit(struct LibGatewayRouterConvertInParams _paramsaddress _vaultpayable returns (uint256 _baseOut)
fxMintFTokenV2(struct LibGatewayRouterConvertInParams _paramsaddress _marketuint256 _minFTokenMintedpayable returns (uint256 _fTokenMinted)
fxMintFxUSD(struct LibGatewayRouterConvertInParams _paramsaddress _fxUSDaddress _baseTokenuint256 _minFxUSDMintedpayable returns (uint256 _fxUSDMinted)
fxMintFxUSDAndEarn(struct LibGatewayRouterConvertInParams _paramsaddress _fxUSDaddress _pooluint256 _minFxUSDMintedpayable returns (uint256 _fxUSDMinted)
fxMintXTokenV2(struct LibGatewayRouterConvertInParams _paramsaddress _marketuint256 _minXTokenMintedpayable returns (uint256 _xTokenMinteduint256 _bonusOut)
fxRebalancePoolWithdraw(address _fxUSDaddress _pooluint256 _amountInpayable returns (uint256 _amountOut)
fxRebalancePoolWithdrawAs(struct LibGatewayRouterConvertOutParams _paramsaddress _pooluint256 _amountInpayable returns (uint256 _amountOut)
fxRedeemFTokenV2(struct LibGatewayRouterConvertOutParams _paramsaddress _marketuint256 _fTokenInuint256 _minBaseTokenreturns (uint256 _baseOutuint256 _dstOutuint256 _bonusOut)
fxRedeemFxUSD(struct LibGatewayRouterConvertOutParams _paramsaddress _fxUSDaddress _baseTokenuint256 _fxUSDInuint256 _minBaseTokenpayable returns (uint256 _baseOutuint256 _dstOutuint256 _bonusOut)
fxRedeemXTokenV2(struct LibGatewayRouterConvertOutParams _paramsaddress _marketuint256 _xTokenInuint256 _minBaseTokenreturns (uint256 _baseOutuint256 _dstOut)
fxSwapFxUSD(address _marketuint256 _amountInbool _fxUSDForXTokenuint256 _minOutreturns (uint256 _amountOutuint256 _bonusOut)
fxSwapV2(address _marketuint256 _amountInbool _fTokenForXTokenuint256 _minOutreturns (uint256 _amountOutuint256 _bonusOut)
Events
DiamondCut(struct IDiamondFacetCut[] _diamondCutaddress _initbytes _calldata
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(struct IDiamondFacetCut[] _diamondCutstruct DiamondArgs _args
Fallback and receive
fallback(
receive(
Errors
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 _initializationContractAddressbytes _calldata
NoBytecodeAtAddress(address _contractAddressstring _message
NoSelectorsProvidedForFacetForCut(address _facetAddress
RemoveFacetAddressMustBeZeroAddress(address _facetAddress
ErrorInsufficientOutput(
ErrorLengthMismatch(
ErrorMsgValueMismatch(
ErrorNotWhitelisted(uint8 expecteduint8 found
ErrorTargetNotApproved(