8 txs
12 calls
constructor
No constructor.
functions
investorPositionDetails
viewfunction investorPositionDetails(address investorAddress) view returns (tuple)
paused
viewfunction paused() view returns (bool)
preLiquidSaleConfiguration
viewfunction preLiquidSaleConfiguration() view returns (tuple)
saleConfiguration
viewfunction saleConfiguration() view returns (tuple)
saleStatusDetails
viewfunction saleStatusDetails() view returns (tuple)
vestingConfiguration
viewfunction vestingConfiguration() view returns (tuple)
cancelSale
nonpayablefunction cancelSale()
claimTokenAllocation
nonpayablefunction claimTokenAllocation(uint256 amount, bytes32[] proof)
emergencyWithdraw
nonpayablefunction emergencyWithdraw(address receiver, address token, uint256 amount)
endSale
nonpayablefunction endSale()
initialize
nonpayablefunction initialize(tuple saleInitParams, tuple vestingInitParams)
invest
nonpayablefunction invest(uint256 amount, bytes signature)
pauseSale
nonpayablefunction pauseSale()
publishCapitalRaised
nonpayablefunction publishCapitalRaised(uint256 capitalRaised)
publishSaleResults
nonpayablefunction publishSaleResults(bytes32 claimMerkleRoot, uint256 tokensAllocated, address askToken, uint256 vestingStartTime)
refund
nonpayablefunction refund()
releaseVestedTokens
nonpayablefunction releaseVestedTokens()
setAcceptedCapital
nonpayablefunction setAcceptedCapital(bytes32 merkleRoot)
supplyTokens
nonpayablefunction supplyTokens(uint256 amount, uint256 legionFee, uint256 referrerFee)
syncLegionAddresses
nonpayablefunction syncLegionAddresses()
unpauseSale
nonpayablefunction unpauseSale()
withdrawExcessInvestedCapital
nonpayablefunction withdrawExcessInvestedCapital(uint256 amount, bytes32[] proof)
withdrawInvestedCapitalIfCanceled
nonpayablefunction withdrawInvestedCapitalIfCanceled()
withdrawRaisedCapital
nonpayablefunction withdrawRaisedCapital()
events
AcceptedCapitalSet
event AcceptedCapitalSet(bytes32 merkleRoot)
CapitalInvested
event CapitalInvested(uint256 amount, address investor, uint256 investTimestamp)
CapitalRaisedPublished
event CapitalRaisedPublished(uint256 capitalRaised)
CapitalRefunded
event CapitalRefunded(uint256 amount, address investor)
CapitalRefundedAfterCancel
event CapitalRefundedAfterCancel(uint256 amount, address investor)
CapitalWithdrawn
event CapitalWithdrawn(uint256 amountToWithdraw, address projectOwner)
EmergencyWithdraw
event EmergencyWithdraw(address receiver, address token, uint256 amount)
ExcessCapitalWithdrawn
event ExcessCapitalWithdrawn(uint256 amount, address investor)
Initialized
event Initialized(uint64 version)
LegionAddressesSynced
event LegionAddressesSynced(address legionBouncer, address legionSigner, address legionFeeReceiver, address vestingFactory)
Paused
event Paused(address account)
SaleCanceled
event SaleCanceled()
SaleEnded
event SaleEnded(uint256 endTime)
SaleResultsPublished
event SaleResultsPublished(bytes32 claimMerkleRoot, uint256 tokensAllocated, address tokenAddress, uint256 vestingStartTime)
TokenAllocationClaimed
event TokenAllocationClaimed(uint256 amount, address investor)
TokensSuppliedForDistribution
event TokensSuppliedForDistribution(uint256 amount, uint256 legionFee, uint256 referrerFee)
Unpaused
event Unpaused(address account)
errors
AlreadyClaimedExcess
error AlreadyClaimedExcess(address investor)
AlreadySettled
error AlreadySettled(address investor)
AskTokenUnavailable
error AskTokenUnavailable()
CannotWithdrawExcessInvestedCapital
error CannotWithdrawExcessInvestedCapital(address investor)
CapitalAlreadyWithdrawn
error CapitalAlreadyWithdrawn()
CapitalRaisedAlreadyPublished
error CapitalRaisedAlreadyPublished()
CapitalRaisedNotPublished
error CapitalRaisedNotPublished()
ECDSAInvalidSignature
error ECDSAInvalidSignature()
ECDSAInvalidSignatureLength
error ECDSAInvalidSignatureLength(uint256 length)
ECDSAInvalidSignatureS
error ECDSAInvalidSignatureS(bytes32 s)
EnforcedPause
error EnforcedPause()
ExpectedPause
error ExpectedPause()
InvalidFeeAmount
error InvalidFeeAmount()
InvalidInitialization
error InvalidInitialization()
InvalidInvestAmount
error InvalidInvestAmount(uint256 amount)
InvalidPeriodConfig
error InvalidPeriodConfig()
InvalidRefundAmount
error InvalidRefundAmount()
InvalidSignature
error InvalidSignature()
InvalidTokenAmountSupplied
error InvalidTokenAmountSupplied(uint256 amount)
InvalidVestingConfig
error InvalidVestingConfig()
InvalidWithdrawAmount
error InvalidWithdrawAmount()
InvestorHasClaimedExcess
error InvestorHasClaimedExcess(address investor)
InvestorHasRefunded
error InvestorHasRefunded(address investor)
LockupPeriodIsNotOver
error LockupPeriodIsNotOver()
NoCapitalInvested
error NoCapitalInvested(address investor)
NotCalledByLegion
error NotCalledByLegion()
NotCalledByLegionOrProject
error NotCalledByLegionOrProject()
NotCalledByProject
error NotCalledByProject()
NotInClaimWhitelist
error NotInClaimWhitelist(address investor)
NotInitializing
error NotInitializing()
RefundPeriodIsNotOver
error RefundPeriodIsNotOver()
RefundPeriodIsOver
error RefundPeriodIsOver()
SaleHasEnded
error SaleHasEnded()
SaleHasNotEnded
error SaleHasNotEnded()
SaleIsCanceled
error SaleIsCanceled()
SaleIsNotCanceled
error SaleIsNotCanceled()
SaleResultsNotPublished
error SaleResultsNotPublished()
TokensAlreadyAllocated
error TokensAlreadyAllocated()
TokensAlreadySupplied
error TokensAlreadySupplied()
TokensNotAllocated
error TokensNotAllocated()
ZeroAddressProvided
error ZeroAddressProvided()
ZeroValueProvided
error ZeroValueProvided()
creation bytecode
0x602c3d8160093d39f33d3d3d3d363d3d37363d7311077eddfc6db5abfdb9e019a64172b5d8e81a3a5af43d3d93803e602a57fd5bf3