DCBFactory

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x1e6bc913 at 20290599
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 49 additional slots
-
variable spans 48 additional slots
-
variable spans 1 additional slot
-
variable spans 48 additional slots

No balances found for "DCBFactory"

No transactions found for "DCBFactory"


Functions
Getter at block 21382017
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MAX_FEE(view returns (uint32)
5000
feeData(view returns (uint32 platformFeeuint32 decubateFeeaddress platformFeeReceiveraddress decubateFeeReceiver)
(platformFee=0, decubateFee=0, platformFeeReceiver=0x0000000000000000000000000000000000000000, decubateFeeReceiver=0x0000000000000000000000000000000000000000)
referenceContract(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
events(addressview returns (string nameaddress paymentTokenaddress tokenAddressaddress vestingAddressuint8 eventType)
eventsList(uint256view returns (address)
getInvestmentInfo(address _accountaddress _eventview returns (struct DCBFactoryEventuint256 amountstruct IDCBVestingVestingInfo vstruct IDCBVestingWhitelistInfo wuint256 claimable)
getRoleAdmin(bytes32 roleview returns (bytes32)
getUserInvestments(address _addressview returns (address[])
getVestingInfo(address _accountaddress _eventview returns (struct IDCBVestingVestingInfo infostruct IDCBVestingWhitelistInfo whitelistuint256 claimable)
hasRole(bytes32 roleaddress accountview returns (bool)
numUserInvestments(addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
userAmount(addressaddressview returns (uint256)
State-modifying
changeIDOParams(address _eventstruct DCBFactoryIDOParams _c
changeL2EParams(address _eventstruct IDCBL2EParams _t
changeToken(address _eventaddress _newToken
changeVestingParams(address _eventuint256 _cliffuint256 _startuint256 _durationuint256 _initialUnlockPercent
claimDistribution(address _eventreturns (bool)
deployIDO(string _namestruct DCBFactoryIDOParams _cstruct IDCBVestingVestingSetup _v
deployL2E(string _namestruct IDCBL2EParams _tstruct IDCBVestingVestingSetup _v
grantRole(bytes32 roleaddress account
initialize(address _referenceContract
renounceRole(bytes32 roleaddress account
rescueTokensFromContract(address _eventaddress _receiveruint256 _amount
revokeRole(bytes32 roleaddress account
setFeeValues(struct DCBFactoryFee _feeData
setManagerRole(address _userbool _status
setUserInvestment(address _addressaddress _eventuint256 _amountreturns (bool)
Events
DistributionClaimed(address _useraddress _event
IDODeployed(string _namestruct DCBFactoryIDOParams _cstruct IDCBVestingVestingSetup _v
ImplementationsChanged(address _newVestingaddress _newL2Eaddress _newIDO
Initialized(uint8 version
L2EDeployed(string _namestruct IDCBL2EParams _tstruct IDCBVestingVestingSetup _v
ManagerRoleSet(address _userbool _status
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
UserInvestmentSet(address _addressaddress _eventuint256 _amount
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
InvalidFee(
InvalidStartTime(
NotActive(
NotAuthorized(
OnlyManager(
ZeroAddress(