ZkCroMintAndBridge

Verified contract

Active on Ethereum with 1,075 txns
Deployed by via 0x55a59c4d at 20433065
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0.18
0xd7ae389938e4967476862ae380e8eb7581271287933ee59ec250d08344ff2350
0xdb799f65468149ca57634bd46b8f17f3869a6b6aeb1dee473f5e07431694a7b4
0x97d7245ea9b2dbf29dfa92a88150384839f6a9fffd32b77238ed3e03d72b51aa
0xd9096e2670dcad03f1153e7af61d688f1aff2a3ae80689e70f8e50f422d05633
0x4665f3e110551ba0c243ef6e4287e85ee8a90b3c6789b5f51f530eb2f9b02365
0x989749703010ff75d55519e4dfe1b3d9ae166d029f4a5106a09345c6bee0a8a9
0x9c52420d3aba8ecdd631757a6354516b5ec1590074703f9c6e837c6e90f1eb43
0x3be9f4d5786913d6d83ca323f1ea37a7f717087187a85ce4e05459f30baf74c0
0xe347362e0af0da3726aff7127c47be26707e8b147c18752549d0ce5f15261b57
0x180994b123dfc7a6f3027d5a8b80da4528a7f42d96b75fc1334b2243c6c0e59e

Functions
Getter at block 21215110
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
bridgehub(view returns (address)
0x303a465b659cbb0ab36ee643ea362c509eeb5213
chainId(view returns (uint256)
388
cro(view returns (address)
0xa0b73e1ff0b80914ab6fe0444e65848c4c34450b
l2GasPerPubdataByteLimit(view returns (uint256)
800
paused(view returns (bool)
false
zkCro(view returns (address)
0x28ff2e4dd1b58efeb0fc138602a28d5ae81e44e2
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
grantRole(bytes32 roleaddress account
mintAndBridge(address _l2Receiveruint256 _zkCroBridgeAmountuint256 _l2GasLimituint256 _totalCroreturns (bytes32 canonicalTxHash)
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
setChainParameters(uint256 _l2GasPerPubdataByteLimit
togglePause(
Events
MintAndBridge(address indexed senderaddress indexed l2Receiveruint256 zkCroBridgeAmountuint256 totalCrobytes32 canonicalTxHash
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetChainParameters(uint256 l2GasPerPubdataByteLimit
Unpaused(address account
Constructor
constructor(address _zkCroaddress _croaddress _bridgehubuint256 _chainId
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
EnforcedPause(
ExpectedPause(
FailedInnerCall(
INVALID_ID(
LOW_GAS_FEE(
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token
ZERO_ADDRESS(
ZERO_AMOUNT(