0 txs
0 calls
constructor
No constructor.
functions
DEFAULT_ADMIN_ROLE
viewfunction DEFAULT_ADMIN_ROLE() view returns (bytes32)
feeCollectorAddress
viewfunction feeCollectorAddress() view returns (address)
getLockupDuration
purefunction getLockupDuration() pure returns (uint256)
getMaxCrowdfundingParticipationFeePercentage
purefunction getMaxCrowdfundingParticipationFeePercentage() pure returns (uint16)
getMaxGalaxyParticipationFeePercentage
purefunction getMaxGalaxyParticipationFeePercentage() pure returns (uint16)
getMaximumTGEDateAdjustment
purefunction getMaximumTGEDateAdjustment() pure returns (uint256)
getMaximumTGEDateAdjustmentAttempts
purefunction getMaximumTGEDateAdjustmentAttempts() pure returns (uint256)
getMaxWhitelistParticipationFeePercentage
purefunction getMaxWhitelistParticipationFeePercentage() pure returns (uint16)
getMinCrowdfundingParticipationFeePercentage
purefunction getMinCrowdfundingParticipationFeePercentage() pure returns (uint16)
getMinGalaxyParticipationFeePercentage
purefunction getMinGalaxyParticipationFeePercentage() pure returns (uint16)
getMinWhitelistParticipationFeePercentage
purefunction getMinWhitelistParticipationFeePercentage() pure returns (uint16)
getRoleAdmin
viewfunction getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole
viewfunction hasRole(bytes32 role, address account) view returns (bool)
isOwner
viewfunction isOwner(address sender) view returns (bool)
LOCKUP_DURATION
viewfunction LOCKUP_DURATION() view returns (uint256)
MAXIMUM_CROWN_FUNDING_PARTICIPATION_FEE_PERCENTAGE
viewfunction MAXIMUM_CROWN_FUNDING_PARTICIPATION_FEE_PERCENTAGE() view returns (uint16)
MAXIMUM_GALAXY_PARTICIPATION_FEE_PERCENTAGE
viewfunction MAXIMUM_GALAXY_PARTICIPATION_FEE_PERCENTAGE() view returns (uint16)
MAXIMUM_TGE_DATE_ADJUSTMENT_ATTEMPS
viewfunction MAXIMUM_TGE_DATE_ADJUSTMENT_ATTEMPS() view returns (uint256)
MAXIMUM_TGE_DATE_ADJUSTMENT
viewfunction MAXIMUM_TGE_DATE_ADJUSTMENT() view returns (uint256)
MAXIMUM_WHITELIST_PARTICIPATION_FEE_PERCENTAGE
viewfunction MAXIMUM_WHITELIST_PARTICIPATION_FEE_PERCENTAGE() view returns (uint16)
MINIMUM_CROWN_FUNDING_PARTICIPATION_FEE_PERCENTAGE
viewfunction MINIMUM_CROWN_FUNDING_PARTICIPATION_FEE_PERCENTAGE() view returns (uint16)
MINIMUM_GALAXY_PARTICIPATION_FEE_PERCENTAGE
viewfunction MINIMUM_GALAXY_PARTICIPATION_FEE_PERCENTAGE() view returns (uint16)
MINIMUM_WHITELIST_PARTICIPATION_FEE_PERCENTAGE
viewfunction MINIMUM_WHITELIST_PARTICIPATION_FEE_PERCENTAGE() view returns (uint16)
OWNER_ROLE
viewfunction OWNER_ROLE() view returns (bytes32)
poolImplementationAddress
viewfunction poolImplementationAddress() view returns (address)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
vestingImplementationAddress
viewfunction vestingImplementationAddress() view returns (address)
__Base__init
nonpayablefunction __Base__init(address owner_)
changeFeeCollectorAddress
nonpayablefunction changeFeeCollectorAddress(address newOwner)
createPool
nonpayablefunction createPool(address[2] addrs, uint256[20] uints, uint256 dbProjectId) returns (address pool)
createVesting
nonpayablefunction createVesting() returns (address)
grantRole
nonpayablefunction grantRole(bytes32 role, address account)
initialize
nonpayablefunction initialize(address _poolImplementationAddress, address _vestingImplementationAddress)
renounceRole
nonpayablefunction renounceRole(bytes32 role, address callerConfirmation)
revokeRole
nonpayablefunction revokeRole(bytes32 role, address account)
setPoolImplementation
nonpayablefunction setPoolImplementation(address _poolImplementationAddress)
setVestingImplementation
nonpayablefunction setVestingImplementation(address _vestingImplementationAddress)
events
Initialized
event Initialized(uint64 version)
PoolCreated
event PoolCreated(bytes32 poolInfoHash, address pool)
RoleAdminChanged
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
UpdatePoolImplementation
event UpdatePoolImplementation(address indexed oldPoolImplementation, address indexed newPoolImplementation)
UpdateVestingImplementation
event UpdateVestingImplementation(address indexed oldVestingImplementation, address indexed newVestingImplementation)
VestingCreated
event VestingCreated(address sender, address vesting)
errors
AccessControlBadConfirmation
error AccessControlBadConfirmation()
AccessControlUnauthorizedAccount
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
CallerNotOwner
error CallerNotOwner()
FailedDeployment
error FailedDeployment()
InsufficientBalance
error InsufficientBalance(uint256 balance, uint256 needed)
InvalidInitialization
error InvalidInitialization()
NotInitializing
error NotInitializing()
ReentrancyGuardReentrantCall
error ReentrancyGuardReentrantCall()
ZeroAddressNotValid
error ZeroAddressNotValid()
creation bytecode
0x608060405234801561001057600080fd5b50611173806100206000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c8063a217fddf11610130578063ce1ee86a116100b8578063e58378bb1161007c578063e58378bb14610400578063e70ca6d11461030a578063ee0ca442146103a4578063f108e22514610415578063f58f8391146103a457600080fd5b8063ce1ee86a146103c7578063d547741f146103da578063d6de71fd14610340578063d6f74898146103ed578063d8c128221461030a57600080fd5b8063bc87783f116100ff578063bc87783f1461039b578063c1994af114610254578063c72967e2146103a4578063cc6f0333146103ac578063cd7a5b8f146103b457600080fd5b8063a217fddf14610381578063a5b62ff314610389578063b379c89a14610391578063b946898c1461034057600080fd5b8063485cc955116101b3578063884c450911610182578063884c4509146103405780638b8efc63146103485780638efede3d1461035b57806391d148541461036e57806393fde1ed1461025457600080fd5b8063485cc95514610311578063605ff1bf1461032457806362c1adc21461032f57806370e4a6331461033957600080fd5b8063248a9ca3116101fa578063248a9ca3146102ae5780632f2ff15d146102cf5780632f54bf6e146102e457806336568abe146102f7578063397a1cb31461030a57600080fd5b806301ffc9a71461022c5780631380d5d314610254578063159ce1351461027057806315ef4ddc1461029b575b600080fd5b61023f61023a366004610e1e565b610426565b60405190151581526020015b60405180910390f35b61025d61138881565b60405161ffff909116815260200161024b565b600254610283906001600160a01b031681565b6040516001600160a01b03909116815260200161024b565b600154610283906001600160a01b031681565b6102c16102bc366004610e48565b61045d565b60405190815260200161024b565b6102e26102dd366004610e7d565b61047f565b005b61023f6102f2366004610ea9565b6104a1565b6102e2610305366004610e7d565b6104bb565b600061025d565b6102e261031f366004610ec4565b6104f3565b6102c16303c2670081565b6303c267006102c1565b600a6102c1565b61138861025d565b6102e2610356366004610ea9565b610635565b6102e2610369366004610ea9565b6106c3565b61023f61037c366004610e7d565b61076d565b6102c1600081565b6102c1600a81565b6102c16202a30081565b6202a3006102c1565b61025d600081565b6102836107a5565b6102836103c2366004610f57565b61080a565b6102e26103d5366004610ea9565b610934565b6102e26103e8366004610e7d565b6109b5565b6102e26103fb366004610ea9565b6109d1565b6102c16000805160206110fe83398151915281565b6000546001600160a01b0316610283565b60006001600160e01b03198216637965db0b60e01b148061045757506301ffc9a760e01b6001600160e01b03198316145b92915050565b600090815260008051602061111e833981519152602052604090206001015490565b6104888261045d565b61049181610a52565b61049b8383610a5c565b50505050565b60006104576000805160206110fe8339815191528361076d565b6001600160a01b03811633146104e45760405163334bd91960e11b815260040160405180910390fd5b6104ee8282610b01565b505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156105395750825b905060008267ffffffffffffffff1660011480156105565750303b155b905081158015610564575080155b156105825760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156105ac57845460ff60401b1916600160401b1785555b600180546001600160a01b03808a166001600160a01b03199283161790925560028054928916929091169190911790556105e66103563390565b831561062c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b61063d610b7d565b6001600160a01b03811661066457604051633bf95ba760e01b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b038316179055610687610bc8565b61068f610bd0565b6106a76000805160206110fe83398151915282610a5c565b506106c06000805160206110fe83398151915280610be0565b50565b6106cc336104a1565b6106e957604051632e6c18c960e11b815260040160405180910390fd5b6001600160a01b03811661071057604051633bf95ba760e01b815260040160405180910390fd5b600054610735906000805160206110fe833981519152906001600160a01b0316610b01565b50600080546001600160a01b0319166001600160a01b0383161790556107696000805160206110fe83398151915282610a5c565b5050565b600091825260008051602061111e833981519152602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60025460009081906107bf906001600160a01b0316610c43565b90507f2ee44d821b06c9aa990927d787f4adf9d8d3eb9bf798ef5c80415cd7a396560233604080516001600160a01b03928316815291841660208301520160405180910390a1919050565b600080848433856040516020016108249493929190611063565b60408051601f198184030181529190528051602090910120600154909150610855906001600160a01b031682610c50565b60405163814dfbdb60e01b81529092506001600160a01b0383169063814dfbdb906108889088908890339060040161109c565b600060405180830381600087803b1580156108a257600080fd5b505af11580156108b6573d6000803e3d6000fd5b5050505060008585856040516020016108d1939291906110d2565b60408051601f1981840301815282825280516020918201208084526001600160a01b0387169184019190915292507fa843b0068d872c047023d406f9e5cea249189566b6fe594909f554578e81656d910160405180910390a150505b9392505050565b61093d336104a1565b61095a57604051632e6c18c960e11b815260040160405180910390fd5b61096381610c5e565b600280546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f722ecaaadd945da6d0f5682999119f95d2be4f4bb04ce8883f85e86468f93c3090600090a35050565b6109be8261045d565b6109c781610a52565b61049b8383610b01565b6109da336104a1565b6109f757604051632e6c18c960e11b815260040160405180910390fd5b610a0081610c5e565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f0617fd31aa5ab95ec80eefc1eb61a2c477aa419d1d761b4e46f5f077e47852aa90600090a35050565b6106c08133610c85565b600060008051602061111e833981519152610a77848461076d565b610af7576000848152602082815260408083206001600160a01b03871684529091529020805460ff19166001179055610aad3390565b6001600160a01b0316836001600160a01b0316857f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001915050610457565b6000915050610457565b600060008051602061111e833981519152610b1c848461076d565b15610af7576000848152602082815260408083206001600160a01b0387168085529252808320805460ff1916905551339287917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a46001915050610457565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610bc657604051631afcd79f60e31b815260040160405180910390fd5b565b610bc6610b7d565b610bd8610b7d565b610bc6610cc3565b60008051602061111e8339815191526000610bfa8461045d565b600085815260208490526040808220600101869055519192508491839187917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a450505050565b6000610457826000610cf1565b600061092d83836000610d87565b6001600160a01b0381166106c057604051633bf95ba760e01b815260040160405180910390fd5b610c8f828261076d565b6107695760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044015b60405180910390fd5b610ccb610b7d565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b600081471015610d1d5760405163cf47918160e01b815247600482015260248101839052604401610cba565b763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c176000526e5af43d82803e903d91602b57fd5bf38360781b176020526037600983f090506001600160a01b0381166104575760405163b06ebf3d60e01b815260040160405180910390fd5b600081471015610db35760405163cf47918160e01b815247600482015260248101839052604401610cba565b763d602d80600a3d3981f3363d3d373d3d3d363d730000008460601b60e81c176000526e5af43d82803e903d91602b57fd5bf38460781b17602052826037600984f590506001600160a01b03811661092d5760405163b06ebf3d60e01b815260040160405180910390fd5b600060208284031215610e3057600080fd5b81356001600160e01b03198116811461092d57600080fd5b600060208284031215610e5a57600080fd5b5035919050565b80356001600160a01b0381168114610e7857600080fd5b919050565b60008060408385031215610e9057600080fd5b82359150610ea060208401610e61565b90509250929050565b600060208284031215610ebb57600080fd5b61092d82610e61565b60008060408385031215610ed757600080fd5b610ee083610e61565b9150610ea060208401610e61565b6040805190810167ffffffffffffffff81118282101715610f1f57634e487b7160e01b600052604160045260246000fd5b60405290565b604051610280810167ffffffffffffffff81118282101715610f1f57634e487b7160e01b600052604160045260246000fd5b60008060006102e08486031215610f6d57600080fd5b84601f850112610f7c57600080fd5b610f84610eee565b806040860187811115610f9657600080fd5b865b81811015610fb757610fa981610e61565b845260209384019301610f98565b5081955087605f880112610fca57600080fd5b610fd2610f25565b92508291506102c0870188811115610fe957600080fd5b5b80821015611005578135845260209384019390910190610fea565b95989197505093359450505050565b8060005b600281101561049b5781516001600160a01b0316845260209384019390910190600101611018565b8060005b601481101561049b578151845260209384019390910190600101611044565b61030081016110728287611014565b61107f6040830186611040565b6001600160a01b03939093166102c08201526102e0015292915050565b6102e081016110ab8286611014565b6110b86040830185611040565b6001600160a01b03929092166102c0919091015292915050565b6102e081016110e18286611014565b6110ee6040830185611040565b826102c083015294935050505056feb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800a2646970667358221220cc7b9cc7b0dc2da901db576b58d82dd5a0dde063e6facc262920b8bc51a8bd9264736f6c63430008170033