MorpherBridge
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
Slot
XX
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
Balances ($0.00)
No balances found for "MorpherBridge"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "MorpherBridge"
ABI
ABI objects
Getter at block 21218980 getWethWmaticAddress() view returns (address)
ADMINISTRATOR_ROLE() view returns (bytes32)
0xe5a0b4d50f56047f84728557fedbda92f956391bc9d5c762e8461996dd8e7ad7
SIDECHAINOPERATOR_ROLE() view returns (bytes32)
0xc08f7188394b31596c538860a69934f466a85ebc66fc5d1d967ccfaef4a6bdab
bridgeNonce() view returns (uint256)
0
inactivityPeriod() view returns (uint256)
0
poolFee() view returns (uint24)
3000
recoveryEnabled() view returns (bool)
false
swapRouter() view returns (address)
0x0000000000000000000000000000000000000000
withdrawalData() view returns (bytes32 merkleRoot, uint256 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(bytes32) view returns (bool)
getBalanceHash(address _address, uint256 _balance) pure returns (bytes32 _hash)
isNotDailyLimitExceeding(address _usr, uint256 _amount) view returns (bool)
isNotMonthlyLimitExceeding(address _usr, uint256 _amount) view returns (bool)
isNotYearlyLimitExceeding(address _usr, uint256 _amount) view returns (bool)
mProof(bytes32[] _proof, bytes32 _leaf) view returns (bool _isTrue)
tokenClaimedOnThisChain(address) view returns (uint256 amount, uint256 lastTransferAt)
tokenSentToLinkedChain(address, uint256) view returns (uint256 amount, uint256 lastTransferAt)
withdrawalPerUserPerDay(address, uint256) view returns (uint256)
withdrawalPerUserPerMonth(address, uint256) view returns (uint256)
withdrawalPerUserPerYear(address, uint256) view returns (uint256)
withdrawalsGlobalDaily(uint256) view returns (uint256)
withdrawalsGlobalMonthly(uint256) view returns (uint256)
withdrawalsGlobalYearly(uint256) view returns (uint256)
State-modifying
Events claimFailedTransferToSidechain(uint256 _wrongSideChainBalance, bytes32[] _proof, uint256 _targetChainId)
claimStagedTokens(uint256 _numOfToken, uint256 _claimLimit, bytes32[] _proof)
claimStagedTokensAndSendForUser(address _usrAddr, uint256 _numOfToken, uint256 fee, address feeRecipient, uint256 _claimLimit, bytes32[] _proof, address _finalOutput, bytes32 _rootHash, bytes _userConfirmationSignature) returns (uint256)
claimStagedTokensConvertAndSend(uint256 _numOfToken, uint256 _claimLimit, bytes32[] _proof, address _finalOutput)
claimStagedTokensConvertAndSendForUser(address _usrAddr, uint256 _numOfToken, uint256 fee, address feeRecipient, uint256 _claimLimit, bytes32[] _proof, address _finalOutput, bytes32 _rootHash, bytes _userConfirmationSignature) returns (uint256)
initialize(address _stateAddress, bool _recoveryEnabled, address _swapRouter)
recoverPositionFromInactivity(bytes32[] _proof, bytes32 _leaf, bytes32 _marketId, uint256 _timeStamp, uint256 _longShares, uint256 _shortShares, uint256 _meanEntryPrice, uint256 _meanEntrySpread, uint256 _meanEntryLeverage, uint256 _liquidationPrice)
recoverTokenFromInactivity(bytes32[] _proof, bytes32 _leaf, uint256 _balance)
setInactivityPeriod(uint256 _periodInSeconds)
setMorpherState(address _stateAddress)
stageTokensForTransfer(uint256 _tokens, uint256 _targetChainId)
stageTokensForTransfer(uint256 _tokens, uint256 _targetChainId, address _autoWithdrawalAddressTo, bytes _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 _usr, uint256 _amount)
verifyUpdateMonthlyLimit(address _usr, uint256 _amount)
verifyUpdateYearlyLimit(address _usr, uint256 _amount)
ClaimFailedTransferToSidechain(address indexed from, uint256 tokens)
Initialized(uint8 version)
LinkState(address _address)
OperatorChainTransfer(address indexed from, uint256 tokens, bytes32 sidechainTransactionHash)
PositionRecoveryFromSideChain(address indexed from, bytes32 positionHash)
SideChainMerkleRootUpdated(bytes32 _rootHash)
TokenRecoveryFromSideChain(address indexed from, bytes32 positionHash)
TransferToLinkedChain(address indexed from, uint256 tokens, uint256 totalTokenSent, uint256 timeStamp, uint256 transferNonce, uint256 targetChainId, bytes32 indexed transferHash)
TransferToLinkedChainAndWithdrawTo(address indexed from, uint256 tokens, uint256 totalTokenSent, uint256 timeStamp, uint256 transferNonce, uint256 targetChainId, address destinationAddress, bytes userSigature, bytes32 indexed transferHash)
TrustlessWithdrawFromSideChain(address indexed from, uint256 tokens)
WithdrawLimitChanged(uint256 _withdrawLimit)
WithdrawLimitDailyGlobalChanged(uint256 _oldLimit, uint256 _newLimit)
WithdrawLimitDailyPerUserChanged(uint256 _oldLimit, uint256 _newLimit)
WithdrawLimitMonthlyGlobalChanged(uint256 _oldLimit, uint256 _newLimit)
WithdrawLimitMonthlyPerUserChanged(uint256 _oldLimit, uint256 _newLimit)
WithdrawLimitReset()
WithdrawLimitYearlyGlobalChanged(uint256 _oldLimit, uint256 _newLimit)
WithdrawLimitYearlyPerUserChanged(uint256 _oldLimit, uint256 _newLimit)
WithdrawalSuccess(address _destination, uint256 _amount, bool _convertedToGasToken)
This contract contains no constructor objects.
receive()
This contract contains no error objects.