135 txs
259 calls
constructor
No constructor.
functions
dcbAgreement
viewfunction dcbAgreement() view returns (address token, uint32 startDate, uint32 endDate, uint256 totalTokenOnSale, uint256 hardcap, uint256 secondRoundCap, uint256 totalInvestFund)
durations
viewfunction durations(uint256) view returns (uint32)
factory
viewfunction factory() view returns (address)
feeData
viewfunction feeData() view returns (uint32 platformFee, uint32 decubateFee, uint256 platformFeeAmount, uint256 platformFeeThreshold, address platformFeeReceiver, address decubateFeeReceiver)
getInfo
viewfunction getInfo() view returns (uint256, uint256, uint256, uint256, uint256)
getParticipants
viewfunction getParticipants() view returns (address[])
merkleRoot
viewfunction merkleRoot() view returns (bytes32)
roundsMultipliers
viewfunction roundsMultipliers(uint256) view returns (uint256)
saleToken
viewfunction saleToken() view returns (address)
tgeDeadlinePeriod
viewfunction tgeDeadlinePeriod() view returns (uint256)
userInvestment
viewfunction userInvestment(address) view returns (uint256)
VERSION
viewfunction VERSION() view returns (uint8)
vesting
viewfunction vesting() view returns (address)
fundAgreement
nonpayablefunction fundAgreement(uint256 _investFund, uint256 _allocation, uint256 _refundFee, bool _hasWhitelisted, bytes32[] _merkleProof) returns (bool)
initialize
nonpayablefunction initialize(tuple p)
setFeeData
nonpayablefunction setFeeData(tuple _feeData)
setMerkleRoot
nonpayablefunction setMerkleRoot(bytes32 _merkleRoot)
setParams
nonpayablefunction setParams(tuple p)
setRoundsMultipliers
nonpayablefunction setRoundsMultipliers(uint256[2] _multipliers)
setToken
nonpayablefunction setToken(address _token)
events
CreateAgreement
event CreateAgreement((uint32 startDate, address factoryAddr, address vestingAddr, address paymentToken, address saleTokenAddr, uint256 totalTokenOnSale, uint256 hardcap, uint256 secondRoundCap, uint32[3] durations, uint256 tgeDeadlinePeriod, (uint32 platformFee, uint32 decubateFee, uint256 platformFeeAmount, uint256 platformFeeThreshold, address platformFeeReceiver, address decubateFeeReceiver) fee))
EditAgreement
event EditAgreement((uint32 startDate, address factoryAddr, address vestingAddr, address paymentToken, address saleTokenAddr, uint256 totalTokenOnSale, uint256 hardcap, uint256 secondRoundCap, uint32[3] durations, uint256 tgeDeadlinePeriod, (uint32 platformFee, uint32 decubateFee, uint256 platformFeeAmount, uint256 platformFeeThreshold, address platformFeeReceiver, address decubateFeeReceiver) fee) p)
Initialized
event Initialized(uint8 version)
NewInvestment
event NewInvestment(address wallet, uint256 amount)
errors
AmountExceedsAllocation
error AmountExceedsAllocation()
HardcapAchieved
error HardcapAchieved()
IDONotOpen
error IDONotOpen()
InvalidDuration
error InvalidDuration()
InvalidInput
error InvalidInput()
InvalidProof
error InvalidProof()
InvalidTokensReceived
error InvalidTokensReceived()
MerkleRootAlreadySet
error MerkleRootAlreadySet()
MerkleRootNotSet
error MerkleRootNotSet()
NotManager
error NotManager()
TokenNotReceived
error TokenNotReceived()
UserNotWhitelisted
error UserNotWhitelisted(address user)
VestingAlreadyStarted
error VestingAlreadyStarted()
creation bytecode
0x3d602d80600a3d3981f3363d3d373d3d3d363d7386553b94d8461f7749070324e4a81d2f631b9ea35af43d82803e903d91602b57fd5bf3