DCBFactory
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
3
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 49 additional slots
-
variable spans 48 additional slots
-
variable spans 1 additional slot
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "DCBFactory"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "DCBFactory"
ABI
ABI objects
Getter at block 20862289
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MAX_FEE() view returns (uint32)
5000
feeData() view returns (uint32 platformFee, uint32 decubateFee, address platformFeeReceiver, address decubateFeeReceiver)
(platformFee=0, decubateFee=0, platformFeeReceiver=0x0000000000000000000000000000000000000000, decubateFeeReceiver=0x0000000000000000000000000000000000000000)
referenceContract() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
events(address) view returns (string name, address paymentToken, address tokenAddress, address vestingAddress, uint8 eventType)
eventsList(uint256) view returns (address)
getInvestmentInfo(address _account, address _event) view returns (struct DCBFactoryEvent, uint256 amount, struct IDCBVestingVestingInfo v, struct IDCBVestingWhitelistInfo w, uint256 claimable)
getRoleAdmin(bytes32 role) view returns (bytes32)
getUserInvestments(address _address) view returns (address[])
getVestingInfo(address _account, address _event) view returns (struct IDCBVestingVestingInfo info, struct IDCBVestingWhitelistInfo whitelist, uint256 claimable)
hasRole(bytes32 role, address account) view returns (bool)
numUserInvestments(address) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
userAmount(address, address) view returns (uint256)
State-modifying
Events changeIDOParams(address _event, struct DCBFactoryIDOParams _c)
changeL2EParams(address _event, struct IDCBL2EParams _t)
changeToken(address _event, address _newToken)
changeVestingParams(address _event, uint256 _cliff, uint256 _start, uint256 _duration, uint256 _initialUnlockPercent)
claimDistribution(address _event) returns (bool)
deployIDO(string _name, struct DCBFactoryIDOParams _c, struct IDCBVestingVestingSetup _v)
deployL2E(string _name, struct IDCBL2EParams _t, struct IDCBVestingVestingSetup _v)
grantRole(bytes32 role, address account)
initialize(address _referenceContract)
renounceRole(bytes32 role, address account)
rescueTokensFromContract(address _event, address _receiver, uint256 _amount)
revokeRole(bytes32 role, address account)
setFeeValues(struct DCBFactoryFee _feeData)
setManagerRole(address _user, bool _status)
setUserInvestment(address _address, address _event, uint256 _amount) returns (bool)
DistributionClaimed(address _user, address _event)
IDODeployed(string _name, struct DCBFactoryIDOParams _c, struct IDCBVestingVestingSetup _v)
ImplementationsChanged(address _newVesting, address _newL2E, address _newIDO)
Initialized(uint8 version)
L2EDeployed(string _name, struct IDCBL2EParams _t, struct IDCBVestingVestingSetup _v)
ManagerRoleSet(address _user, bool _status)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
UserInvestmentSet(address _address, address _event, uint256 _amount)
constructor()
This contract contains no fallback and receive objects.
InvalidFee()
InvalidStartTime()
NotActive()
NotAuthorized()
OnlyManager()
ZeroAddress()