CegaState

Verified contract

Active on Ethereum with 1,122 txns
Deployed by via 0x8d18ded2 at 16864347
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $2.28
 (#0)
ERC-1555
--
0x470f289390d3dbbd913d162dd85642d3bcfa17ad201d63c9b435ebee8090be4f
0xa1b36c7f084b414586806ee1b1cfdd481dc0a6009427351c1caa4e82abe926f2
0x3067dbffd92ece00f91e682c8f7955145d975fc2cfaf8f7ed1b1a2829cbd665e
0x0eaa86802e6da23b0243cc8c7c6b89db4c81049645200f64dc82ee7431bd5c6a
0xbb452b590105ed2241bda850d6446b3bdb800fa2e36bcc1c5b1f08eeef7acc79
0x78dad13b943a39bae0fef0980b1b22b7cf263effb0ca50cfa52f92618b8fd1e5
0x7c6c5b79aec62098fa1177531cc39b86aa0a8b2e5be6b3c6a5116e1464cc010b
0xb3d3307528cfa21bcee4db21c7019358201687aee46f162a6c2eb64f305cea66
0x93594727c28233af799b627368ea1246e7b77a3f8793b2df4fdb19a5cc0a6d29
0x1adb3f2dec863ba561a49e520c961122dfddd561c899b8d9be428d72ed457d05

Functions
Getter at block 21403240
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
OPERATOR_ADMIN_ROLE(view returns (bytes32)
0xa76ae24524824acbc21b351dd3e380dcc53874f0487c5ec4424767562c1192ee
SERVICE_ADMIN_ROLE(view returns (bytes32)
0x9a95e87c5af084bf5db8491c3a6515da9dd6da39b24b0eb0af08d7b9cd808d91
TRADER_ADMIN_ROLE(view returns (bytes32)
0x264001e901c3e181f17cd2c6cec22c2e23d9dd662da12dcafc2619e16b7cd024
fcnProductViewerAddress(view returns (address)
0x31c73c07dbd8d026684950b17dd6131ea9baf2c4
feeRecipient(view returns (address)
0x09352d88df9e19e53558b820c1f7a4c6d938e866
 
getOracleNames(view returns (string[])
 
getProductNames(view returns (string[])
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isDefaultAdmin(address senderview returns (bool)
isOperatorAdmin(address senderview returns (bool)
isServiceAdmin(address senderview returns (bool)
isTraderAdmin(address senderview returns (bool)
marketMakerAllowList(addressview returns (bool)
oracleAddresses(stringview returns (address)
oracleNames(uint256view returns (string)
productNames(uint256view returns (string)
products(stringview returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addOracle(string oracleNameaddress oracleAddress
addProduct(string productNameaddress product
grantRole(bytes32 roleaddress account
moveAssetsToProduct(string productNameaddress vaultAddressuint256 amount
removeOracle(string oracleName
removeProduct(string productName
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setFCNProductViewerAddress(address _fcnProductViewerAddress
setFeeRecipient(address _feeRecipient
updateMarketMakerPermission(address marketMakerbool allow
Events
AssetsMovedToProduct(string indexed productNameaddress indexed vaultAddressuint256 amount
FCNProductViewerUpdated(address indexed fcnProductViewerAddress
FeeRecipientUpdated(address indexed feeRecipient
MarketMakerPermissionUpdated(address indexed marketMakerbool indexed allow
OracleAdded(string indexed oracleNameaddress indexed oracleAddress
OracleRemoved(string indexed oracleName
ProductAdded(string indexed productNameaddress indexed productAddress
ProductRemoved(string indexed productName
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor
constructor(address _operatorAdminaddress _traderAdminaddress _serviceAdmin
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.