IDepot¶
Description¶
Source: contracts/interfaces/IDepot.sol
Views¶
fundsWallet
¶
Details
Signature
fundsWallet() view returns (address payable)
Visibility
external
State Mutability
view
maxEthPurchase
¶
Details
Signature
maxEthPurchase() view returns (uint256)
Visibility
external
State Mutability
view
minimumDepositAmount
¶
Details
Signature
minimumDepositAmount() view returns (uint256)
Visibility
external
State Mutability
view
synthetixReceivedForEther
¶
Details
Signature
synthetixReceivedForEther(uint256 amount) view returns (uint256)
Visibility
external
State Mutability
view
synthetixReceivedForSynths
¶
Details
Signature
synthetixReceivedForSynths(uint256 amount) view returns (uint256)
Visibility
external
State Mutability
view
synthsReceivedForEther
¶
Details
Signature
synthsReceivedForEther(uint256 amount) view returns (uint256)
Visibility
external
State Mutability
view
totalSellableDeposits
¶
Details
Signature
totalSellableDeposits() view returns (uint256)
Visibility
external
State Mutability
view
External Functions¶
depositSynths
¶
Details
Signature
depositSynths(uint256 amount)
Visibility
external
State Mutability
``
exchangeEtherForSNX
¶
Details
Signature
exchangeEtherForSNX() payable returns (uint256)
Visibility
external
State Mutability
payable
exchangeEtherForSNXAtRate
¶
Details
Signature
exchangeEtherForSNXAtRate(uint256 guaranteedRate, uint256 guaranteedSynthetixRate) payable returns (uint256)
Visibility
external
State Mutability
payable
exchangeEtherForSynths
¶
Details
Signature
exchangeEtherForSynths() payable returns (uint256)
Visibility
external
State Mutability
payable
exchangeEtherForSynthsAtRate
¶
Details
Signature
exchangeEtherForSynthsAtRate(uint256 guaranteedRate) payable returns (uint256)
Visibility
external
State Mutability
payable
exchangeSynthsForSNX
¶
Details
Signature
exchangeSynthsForSNX(uint256 synthAmount) returns (uint256)
Visibility
external
State Mutability
``
withdrawMyDepositedSynths
¶
Details
Signature
withdrawMyDepositedSynths()
Visibility
external
State Mutability
``
withdrawSynthetix
¶
Details
Signature
withdrawSynthetix(uint256 amount)
Visibility
external
State Mutability
``