Diamond

Verified contract

Proxy

Active on Ethereum with 1,824 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"

0x2e3fe535d6ffc4064173b08820b9315163809e3236c902084c7c7efda61401aa
0xfbdc1c1fc9540f3fdd02a772b3894ae475c8555a5b53e7f074cb93122df2857d
0xe988ec21a8a4b3b26e3f6e15113a85160c9dd46b7e754c5a2c4ae4610f1d08c9
0x69733580f9d80ac586225c5aa1f37894189a7a1de153566cf730ab018523c76c
0x622ffe3a6c66cfc07286cd896b7f88e7fb2d3855fe3250b3b84c4112a45c0d15
0x58bc5fbd7cea419af317bfaa5609f4b9f10d2dd4d5cfb0bb6bc45359ab12dfea
0x95cb7759b0006070dd2afac1c8b9fc098e6103fffef79821abb9e500cf4f0edd
0xf1ee3c6f158c540edcc1680da9d76adeefa4b0d457d03ea5b94203ece2a4460d
0xe1c3f7399e6d2611ef0e8360fe2548abde654d6264ccd0fc82b7fe0eaa24332f
0x93914b8951709ce00278580a058ace0c96e288e7689645ef6f8b0d6f2b95958c

Functions
Getter at block 21275488

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(