UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 5.39 kB
'use strict';var t={id:25700,address:"0x0d6085f7673337b50e0db07f6f7afff6be766321",contract_name:"CollateralStakingMediator",display_name:"Collateral Staking Mediator",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1739882134,abi:[{type:"fallback",stateMutability:"payable"},{name:"accruedRewards",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{name:"accruedRewardsRon",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"activeCollateralizedValidators",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"address"}]},{name:"canClaimRewards",type:"function",stateMutability:"view",inputs:[{type:"address",name:"stakingManager"},{type:"address",name:"stakingPool"}],outputs:[{type:"bool"}]},{name:"claimPendingRewards",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"stakingPool"},{type:"address",name:"stakingManager"}],outputs:[]},{name:"claimRewardsRon",type:"function",stateMutability:"nonpayable",inputs:[{type:"address[]",name:"consensusAddrList"}],outputs:[]},{name:"collateralStakingManager",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"collateralizedDelegatingAmountPerValidator",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{name:"delegateCollateralizedRon",type:"function",stateMutability:"payable",inputs:[{type:"address",name:"consensusAddr"},{type:"address",name:"consensusAddrTarget"}],outputs:[]},{name:"delegateUncollateralizedRon",type:"function",stateMutability:"payable",inputs:[{type:"address",name:"consensusAddr"}],outputs:[]},{name:"getActiveCollateralizedValidators",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address[]"}]},{name:"getOwner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"getPendingRewards",type:"function",stateMutability:"view",inputs:[{type:"address",name:"stakingPool"}],outputs:[{type:"uint256"}]},{name:"initialize",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"collateralStakingManager_"},{type:"address",name:"owner_"}],outputs:[]},{name:"isCollateralStakingMediator",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bool"}]},{name:"moveUncollateralizedErc20ToProtocol",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"amount"}],outputs:[]},{name:"moveUncollateralizedRonToProtocol",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"consensusAddr"},{type:"address",name:"consensusAddrTarget"}],outputs:[]},{name:"onERC721Received",type:"function",stateMutability:"nonpayable",inputs:[{type:"address"},{type:"address"},{type:"uint256"},{type:"bytes"}],outputs:[{type:"bytes4"}]},{name:"poolToUndelegateCooldown",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{name:"redeemCollateralizedRon",type:"function",stateMutability:"nonpayable",inputs:[{type:"address[]",name:"consensusAddrList"},{type:"uint256[]",name:"redeemTokens"},{type:"address",name:"to"}],outputs:[]},{name:"redelegateRewards",type:"function",stateMutability:"nonpayable",inputs:[{type:"address[]",name:"consensusAddrList"}],outputs:[]},{name:"restakePendingRewards",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"stakingPool"},{type:"address",name:"stakingManager"}],outputs:[]},{name:"setValidatorTargetsForRestaking",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"consensusAddrSrc"},{type:"address",name:"consensusAddrDst"}],outputs:[]},{name:"stakeErc20",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"amount"}],outputs:[]},{name:"stakeErc721",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256[]",name:"tokenIds"}],outputs:[]},{name:"stakeUncollateralizedErc20",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"amount"}],outputs:[]},{name:"uncollateralizedDelegatingAmountPerValidator",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{name:"uncollateralizedDelegatingAmountRon",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"uncollateralizedStakingAmount",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"undelegateUncollateralizedRon",type:"function",stateMutability:"nonpayable",inputs:[{type:"address[]",name:"consensusAddrList"},{type:"uint256[]",name:"amounts"}],outputs:[]},{name:"unstakeErc20",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"amount"},{type:"address",name:"receiver"}],outputs:[]},{name:"unstakeErc721",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256[]",name:"tokenIds"},{type:"address",name:"receiver"}],outputs:[]},{name:"unstakeUncollateralizedErc20",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"amount"}],outputs:[]},{name:"validatorToRestakingTarget",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"address"}]},{name:"validatorUsedForCollateral",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"bool"}]},{name:"withdrawErc20Jaihoz",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]}]},e=t;module.exports=e;