MorpherBridge

Verified contract

Implementation

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

No balances found for "MorpherBridge"

No transactions found for "MorpherBridge"


Functions
Getter at block 21218980
ADMINISTRATOR_ROLE(view returns (bytes32)
0xe5a0b4d50f56047f84728557fedbda92f956391bc9d5c762e8461996dd8e7ad7
SIDECHAINOPERATOR_ROLE(view returns (bytes32)
0xc08f7188394b31596c538860a69934f466a85ebc66fc5d1d967ccfaef4a6bdab
bridgeNonce(view returns (uint256)
0
 
getWethWmaticAddress(view returns (address)
inactivityPeriod(view returns (uint256)
0
poolFee(view returns (uint24)
3000
recoveryEnabled(view returns (bool)
false
swapRouter(view returns (address)
0x0000000000000000000000000000000000000000
withdrawalData(view returns (bytes32 merkleRootuint256 lastUpdatedAt)
(merkleRoot=0x0000000000000000000000000000000000000000000000000000000000000000, lastUpdatedAt=0)
withdrawalLimitGlobalDaily(view returns (uint256)
0
withdrawalLimitGlobalMonthly(view returns (uint256)
0
withdrawalLimitGlobalYearly(view returns (uint256)
0
withdrawalLimitPerUserDaily(view returns (uint256)
0
withdrawalLimitPerUserMonthly(view returns (uint256)
0
withdrawalLimitPerUserYearly(view returns (uint256)
0
Read-only
claimFromInactivity(bytes32view returns (bool)
getBalanceHash(address _addressuint256 _balancepure returns (bytes32 _hash)
isNotDailyLimitExceeding(address _usruint256 _amountview returns (bool)
isNotMonthlyLimitExceeding(address _usruint256 _amountview returns (bool)
isNotYearlyLimitExceeding(address _usruint256 _amountview returns (bool)
mProof(bytes32[] _proofbytes32 _leafview returns (bool _isTrue)
tokenClaimedOnThisChain(addressview returns (uint256 amountuint256 lastTransferAt)
tokenSentToLinkedChain(addressuint256view returns (uint256 amountuint256 lastTransferAt)
withdrawalPerUserPerDay(addressuint256view returns (uint256)
withdrawalPerUserPerMonth(addressuint256view returns (uint256)
withdrawalPerUserPerYear(addressuint256view returns (uint256)
withdrawalsGlobalDaily(uint256view returns (uint256)
withdrawalsGlobalMonthly(uint256view returns (uint256)
withdrawalsGlobalYearly(uint256view returns (uint256)
State-modifying
claimFailedTransferToSidechain(uint256 _wrongSideChainBalancebytes32[] _proofuint256 _targetChainId
claimStagedTokens(uint256 _numOfTokenuint256 _claimLimitbytes32[] _proof
claimStagedTokensAndSendForUser(address _usrAddruint256 _numOfTokenuint256 feeaddress feeRecipientuint256 _claimLimitbytes32[] _proofaddress _finalOutputbytes32 _rootHashbytes _userConfirmationSignaturereturns (uint256)
claimStagedTokensConvertAndSend(uint256 _numOfTokenuint256 _claimLimitbytes32[] _proofaddress _finalOutput
claimStagedTokensConvertAndSendForUser(address _usrAddruint256 _numOfTokenuint256 feeaddress feeRecipientuint256 _claimLimitbytes32[] _proofaddress _finalOutputbytes32 _rootHashbytes _userConfirmationSignaturereturns (uint256)
initialize(address _stateAddressbool _recoveryEnabledaddress _swapRouter
recoverPositionFromInactivity(bytes32[] _proofbytes32 _leafbytes32 _marketIduint256 _timeStampuint256 _longSharesuint256 _shortSharesuint256 _meanEntryPriceuint256 _meanEntrySpreaduint256 _meanEntryLeverageuint256 _liquidationPrice
recoverTokenFromInactivity(bytes32[] _proofbytes32 _leafuint256 _balance
setInactivityPeriod(uint256 _periodInSeconds
setMorpherState(address _stateAddress
stageTokensForTransfer(uint256 _tokensuint256 _targetChainId
stageTokensForTransfer(uint256 _tokensuint256 _targetChainIdaddress _autoWithdrawalAddressTobytes _signature
updateSideChainMerkleRoot(bytes32 _rootHash
updateSwapRouter(address _swapRouter
updateWithdrawLimitGlobalDaily(uint256 _withdrawLimit
updateWithdrawLimitGlobalMonthly(uint256 _withdrawLimit
updateWithdrawLimitGlobalYearly(uint256 _withdrawLimit
updateWithdrawLimitPerUserDaily(uint256 _withdrawLimit
updateWithdrawLimitPerUserMonthly(uint256 _withdrawLimit
updateWithdrawLimitPerUserYearly(uint256 _withdrawLimit
verifyUpdateDailyLimit(address _usruint256 _amount
verifyUpdateMonthlyLimit(address _usruint256 _amount
verifyUpdateYearlyLimit(address _usruint256 _amount
Events
ClaimFailedTransferToSidechain(address indexed fromuint256 tokens
Initialized(uint8 version
LinkState(address _address
OperatorChainTransfer(address indexed fromuint256 tokensbytes32 sidechainTransactionHash
PositionRecoveryFromSideChain(address indexed frombytes32 positionHash
SideChainMerkleRootUpdated(bytes32 _rootHash
TokenRecoveryFromSideChain(address indexed frombytes32 positionHash
TransferToLinkedChain(address indexed fromuint256 tokensuint256 totalTokenSentuint256 timeStampuint256 transferNonceuint256 targetChainIdbytes32 indexed transferHash
TransferToLinkedChainAndWithdrawTo(address indexed fromuint256 tokensuint256 totalTokenSentuint256 timeStampuint256 transferNonceuint256 targetChainIdaddress destinationAddressbytes userSigaturebytes32 indexed transferHash
TrustlessWithdrawFromSideChain(address indexed fromuint256 tokens
WithdrawLimitChanged(uint256 _withdrawLimit
WithdrawLimitDailyGlobalChanged(uint256 _oldLimituint256 _newLimit
WithdrawLimitDailyPerUserChanged(uint256 _oldLimituint256 _newLimit
WithdrawLimitMonthlyGlobalChanged(uint256 _oldLimituint256 _newLimit
WithdrawLimitMonthlyPerUserChanged(uint256 _oldLimituint256 _newLimit
WithdrawLimitReset(
WithdrawLimitYearlyGlobalChanged(uint256 _oldLimituint256 _newLimit
WithdrawLimitYearlyPerUserChanged(uint256 _oldLimituint256 _newLimit
WithdrawalSuccess(address _destinationuint256 _amountbool _convertedToGasToken
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors

This contract contains no error objects.