Spaceportv1

Verified contract

Active on Ethereum with 543 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 13 additional slots
-
variable spans 3 additional slots
-
variable spans 7 additional slots
-
variable spans 1 additional slot
ERC-20
--
0xc0368d527b328a6239a872bae1b338893d45c82a6f45ebbdfed8539c13351c12
0x460ce18db0cdd17166e4d42288fe86a8cf8adc91e3b276a6466f5c1eef09e14c
0xd163935ce331463d2eb9a0d1170c303fab04d3e24ee74dd3cc0638cceca125e2
0x02c10dece70f11fdd7c7df860aaa637bf50497e65474cc68ecbe9ca07afbd812
0xda2fe3a86f103df4758dd02953c55db9c39fb759b3f1b414e9eea15f4648ceaf
0x8a6c839f968b582d0dc937876ff9940b2c41ec852bd10723dc38a1d4a1d5ca0e
0xb02977ca2ac7bb268ac68259c322b8c67eeef6a1f0ccb835698de4da63072825
0xa27db6ca6cf997b1412170c3afdf97ff7f88733c09e443a3b01dcdc51ed73a81
0x439ae68dd4b3d59836c523e86d101796c82144ddce24dbcac3460d4d5071c0a6
0x10fd8d0cd45f4b0ac8dd2d70200f0d69f5338fa086bd08e887a8722159a3eece

Functions
Getter at block 21094284
CONTRACT_VERSION(view returns (uint256)
1
PLASMASWAP_FACTORY(view returns (address)
0xd87ad19db2c4ccbf897106de034d52e3dd90ea60
SPACEPORT_FEE_INFO(view returns (uint256 PLFI_BASE_FEEuint256 PLFI_TOKEN_FEEaddress BASE_FEE_ADDRESSaddress TOKEN_FEE_ADDRESS)
(PLFI_BASE_FEE=50, PLFI_TOKEN_FEE=50, BASE_FEE_ADDRESS=0x00153f71939d3e39d6a3300302ebdd454bce646d, TOKEN_FEE_ADDRESS=0x00153f71939d3e39d6a3300302ebdd454bce646d)
SPACEPORT_GENERATOR(view returns (address)
0x5492eefc9330a7cff4ef9519a893681cd109040a
 
SPACEPORT_INFO(view returns (address SPACEPORT_OWNERaddress S_TOKENaddress B_TOKENuint256 TOKEN_PRICEuint256 MAX_SPEND_PER_BUYERuint256 AMOUNTuint256 HARDCAPuint256 SOFTCAPuint256 LIQUIDITY_PERCENTuint256 LISTING_RATEuint256 START_BLOCKuint256 END_BLOCKuint256 LOCK_PERIODbool SPACEPORT_IN_ETH)
SPACEPORT_LOCK_FORWARDER(view returns (address)
0x5ad2a6181b1bc6acabd7bad268102d68de54a4ee
SPACEPORT_SETTINGS(view returns (address)
0x90de443bdc372f9aa944cf18fb6c82980807cb0a
SPACEPORT_VESTING(view returns (uint256 vestingCliffuint256 vestingEnd)
(vestingCliff=36000, vestingEnd=10576800)
STATUS(view returns (bool WHITELIST_ONLYbool LP_GENERATION_COMPLETEbool FORCE_FAILEDuint256 TOTAL_BASE_COLLECTEDuint256 TOTAL_TOKENS_SOLDuint256 TOTAL_TOKENS_WITHDRAWNuint256 TOTAL_BASE_WITHDRAWNuint256 ROUND1_LENGTHuint256 NUM_BUYERSuint256 LP_GENERATION_COMPLETE_TIME)
(WHITELIST_ONLY=true, LP_GENERATION_COMPLETE=true, FORCE_FAILED=false, TOTAL_BASE_COLLECTED=150000000000, TOTAL_TOKENS_SOLD=7500000000000000000000000, TOTAL_TOKENS_WITHDRAWN=6616750000000000000000000, TOTAL_BASE_WITHDRAWN=0, ROUND1_LENGTH=70, NUM_BUYERS=103, LP_GENERATION_COMPLETE_TIME=1630411798)
WETH(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
getWhitelistedUsersLength(view returns (uint256)
2581
spaceportStatus(view returns (uint256)
2
Read-only
BUYERS(addressview returns (uint256 baseDepositeduint256 tokensOweduint256 lastUpdateuint256 vestingTokensuint256 vestingTokensOwedbool vestingRunning)
getUserWhitelistStatus(address _userview returns (bool)
getWhitelistedUserAtIndex(uint256 _indexview returns (address)
State-modifying
addLiquidity(
editWhitelist(address[] _usersbool _add
forceFailByPlfi(
forceFailIfPairExists(
init1(address _spaceportOwneruint256 _amountuint256 _tokenPriceuint256 _maxEthPerBuyeruint256 _hardcapuint256 _softcapuint256 _liquidityPercentuint256 _listingRateuint256 _startblockuint256 _endblockuint256 _lockPeriod
init2(address _baseTokenaddress _spaceportTokenuint256 _plfiBaseFeeuint256 _plfiTokenFeeaddress _baseFeeAddressaddress _tokenFeeAddressuint256 _vestingCliffuint256 _vestingEnd
ownerWithdrawTokens(
setWhitelistFlag(bool _flag
updateBlocks(uint256 _startBlockuint256 _endBlock
updateMaxSpendLimit(uint256 _maxSpend
userDeposit(uint256 _amountpayable 
userWithdrawBaseTokens(
userWithdrawTokens(
Events
spaceportAddLiquidity(
spaceportOwnerWithdrawTokens(
spaceportUserDeposit(uint256 value
spaceportUserWithdrawBaseTokens(uint256 value
spaceportUserWithdrawTokens(uint256 value
Constructor
constructor(address _spaceportGenerator
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.