SmartFarmingManager

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x8c509ea6 at 20878505
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots

No balances found for "SmartFarmingManager"

No transactions found for "SmartFarmingManager"


Functions
Getter at block 20896287
VERSION(view returns (string)
1.3.1
 
crossChainDispatcher(view returns (address _crossChainDispatcher)
crossChainRequestsLength(view returns (uint256)
0
 
governor(view returns (address _governor)
pool(view returns (address)
0x0000000000000000000000000000000000000000
 
swapper(view returns (address _swapper)
Read-only
crossChainFlashRepays(uint256view returns (uint16 dstChainIdaddress syntheticTokenuint256 repayAmountMinaddress accountbool finished)
crossChainLeverages(uint256view returns (uint16 dstChainIdaddress bridgeTokenaddress depositTokenaddress syntheticTokenuint256 amountInuint256 debtAmountuint256 depositAmountMinaddress accountbool finishedaddress tokenIn)
State-modifying
crossChainFlashRepay(address syntheticToken_address depositToken_uint256 withdrawAmount_address bridgeToken_uint256 bridgeTokenAmountMin_uint256 swapAmountOutMin_uint256 repayAmountMin_bytes lzArgs_payable 
crossChainFlashRepayCallback(uint256 id_uint256 swapAmountOut_returns (uint256 _repaid)
crossChainLeverage(addressaddressaddressuint256uint256uint256uint256bytespayable 
crossChainLeverage(address tokenIn_address syntheticToken_address bridgeToken_address depositToken_uint256 amountIn_uint256 leverage_uint256 swapAmountOutMin_uint256 depositAmountMin_bytes lzArgs_payable 
crossChainLeverageCallback(uint256 id_uint256 swapAmountOut_returns (uint256 _deposited)
flashRepay(address syntheticToken_address depositToken_uint256 withdrawAmount_uint256 swapAmountOutMin_returns (uint256 _withdrawnuint256 _repaid)
initialize(address pool_
leverage(address tokenIn_address depositToken_address syntheticToken_uint256 amountIn_uint256 leverage_uint256 depositAmountMin_returns (uint256 _depositeduint256 _issued)
retryCrossChainFlashRepayCallback(uint16 srcChainId_bytes srcAddress_uint64 nonce_uint256 amount_bytes payload_uint256 newRepayAmountMin_
retryCrossChainLeverageCallback(uint16 srcChainId_bytes srcAddress_uint64 nonce_address token_uint256 amount_bytes payload_uint256 newDepositAmountMin_
Events
CrossChainFlashRepayFinished(uint256 indexed id
CrossChainFlashRepayStarted(uint256 indexed id
CrossChainLeverageFinished(uint256 indexed id
CrossChainLeverageStarted(uint256 indexed id
FlashRepaid(address indexed syntheticTokenaddress indexed depositTokenuint256 withdrawnuint256 repaid
Initialized(uint8 version
Leveraged(address indexed tokenInaddress indexed depositTokenaddress indexed syntheticTokenuint256 leverageuint256 amountInuint256 issueduint256 deposited
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AmountIsTooHigh(
AmountIsZero(
BridgeTokenIsNull(
CrossChainFlashRepayInactive(
CrossChainRequestCompletedAlready(
CrossChainRequestInvalidKey(
DepositTokenDoesNotExist(
FlashRepaySlippageTooHigh(
IsShutdown(
LeverageSlippageTooHigh(
LeverageTooHigh(
LeverageTooLow(
PoolAddressIsNull(
PoolIsNull(
PositionIsNotHealthy(
SenderIsNotCrossChainDispatcher(
SyntheticDoesNotExist(
TokenInIsNull(