TokenSaleRegistry
Verified contract
Active on
Base with 8 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "TokenSaleRegistry"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21769381 | 23 days ago | | | 0 | 0.0000010252400 | |
| 21769373 | 23 days ago | | | 0 | 0.0000010404000 | |
| 21769365 | 23 days ago | | | 0 | 9.9632000e-7 | |
| 21769356 | 23 days ago | | | 0 | 9.9544000e-7 | |
| 21769348 | 23 days ago | | | 0 | 0.0000011976800 | |
| 21769339 | 23 days ago | | | 0 | 0.0000020417000 | |
| 21769330 | 23 days ago | | | 0 | 6.1134000e-7 | |
| 21769322 | 23 days ago | | | 0 | 0.0000023837000 |
ABI
ABI objects
Getter at block 22753508
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
OPERATOR_ROLE() view returns (bytes32)
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
getAuthLimit() view returns (uint256)
1000000000000000000000000
getCurrentRound() view returns (uint256)
1
getFundsWallet() view returns (address)
0x53d4f6bc8c8e9271ce954e85f06033f8425cb65f
getGlobalRefRates() view returns (uint256, uint256)
(150, 50)
getMax() view returns (uint256)
1000000000000000000000000
getMin() view returns (uint256)
50000000000000000000
getPrice() view returns (uint256)
45000000000000000
getRoundsCount() view returns (uint256)
2
getTotalSold() view returns (uint256)
5688888888888888888887
isActive() view returns (bool)
true
isInactive() view returns (bool)
false
Read-only
balanceOf(address user_, uint256 round_) view returns (uint256)
getFundsOfUser(address user_) view returns (uint256)
getRef(address user_, address ref_) view returns (address)
getRefRates(address ref_) view returns (uint256, uint256)
getReferralStruct(address user_) view returns (struct TokenSaleRegistryReferral)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRound(uint256 index_) view returns (struct TokenSaleRegistryRound)
hasRole(bytes32 role, address account) view returns (bool)
isAuth(address user_) view returns (bool)
limitOf(address user_) view returns (uint256)
maxLimitOf(address user_) view returns (uint256)
refBalanceOf(address user_, address token_) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events activateSale()
adjustRoundPricing(uint256 index_, uint256 price_)
adjustRoundSupply(uint256 index_, uint256 supply_)
authorizeParticipant(address user_, bool value_)
batchAuthorizeParticipants(address[] users_, bool[] values_)
claimRef(address[] tokens_)
configureReferralRates(uint256 primaryRefRate_, uint256 secondaryRefRate_)
configureSaleRound(uint256 price_, uint256 supply_)
deactivateSale()
disableReferral(address ref_)
enableReferral(address ref_)
endSaleRound(uint256 index_)
grantRole(bytes32 role, address account)
initializeReferralAccounts(address[] refs_, uint256[] primaryRefRate_, uint256[] secondaryRefRate_)
processAndRecordSale(address user_, address token_, uint256 amount_, uint256 sold_, address ref_, uint256 primaryReward_, uint256 secondaryReward_)
renounceRole(bytes32 role, address callerConfirmation)
retrieveNativeCurrency()
retrieveTokens(address token_, uint256 amount_)
revokeRole(bytes32 role, address account)
startSaleRound(uint256 index_)
updateAuthorizationThreshold(uint256 amount_)
updateFundsWallet(address fundsManagementWallet_)
updateMaximumAllocation(uint256 amount_)
updateMinimumContribution(uint256 amount_)
AuthUserUpdated(address indexed user, bool value)
AuthorizationThresholdUpdated(uint256 limit)
FundsManagementWalletUpdated(address indexed fundsManagementWallet)
MaxUpdated(uint256 amount)
MinUpdated(uint256 amount)
NativeCurrencyRetrieved(uint256 amount)
ReferralAccountInitialized(address indexed ref, uint256 primaryRefRate, uint256 secondaryRefRate)
ReferralDisabled(address indexed ref)
ReferralEnabled(address indexed ref)
ReferralRatesConfigured(uint256 primaryRefRate, uint256 secondaryRefRate)
ReferralRewardsClaimed(address indexed ref, address indexed token, uint256 amount)
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)
SaleRoundConfigured(uint256 price, uint256 supply)
SaleRoundEnded(uint256 indexed round)
SaleRoundPricingAdjusted(uint256 indexed round, uint256 price)
SaleRoundStarted(uint256 indexed round)
SaleRoundSupplyAdjusted(uint256 indexed round, uint256 supply)
StateUpdated(uint8 state)
TokensRetrieved(address token, uint256 amount)
constructor(address fundsManagementWallet_)
receive()
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
ErrAuthLimitOutsideAllowedRange(uint256 limit_, uint256 min_, uint256 max_)
ErrEmptyTokenList()
ErrInsufficientRoundSupply(uint256 index_)
ErrInvalidParameters()
ErrInvalidPrice()
ErrInvalidSupply()
ErrMax(uint256 amount_, uint256 max_)
ErrMin(uint256 amount_, uint256 min_)
ErrNullAddress()
ErrReferralAlreadyEnabled(address ref_)
ErrReferralNotEnabled(address ref_)
ErrReferralRatesExceedLimit(uint256 rates_)
ErrRoundEnded(uint256 index_)
ErrRoundStarted(uint256 index_)
ErrSaleAlreadyStarted()
ErrSaleNotActive()
ErrTransferFailure()
ErrUndefinedReferralAccount(address ref_)
ErrUndefinedSaleRound(uint256 index_)
FailedInnerCall()
ReentrancyGuardReentrantCall()
SafeERC20FailedOperation(address token)