TokenSaleRegistry

Verified contract

Active on Base with 8 txns
Deployed by via 0x33bdd00c at 21769155
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "TokenSaleRegistry"

0x41dae1d0f5fe3b7e599e2272a36767c203feb40cd30bb287853b1cef23f54bda
0x4922d330a089d34a62bc172d07fa06b87c5c5656ffdcb0637215ebefabfdc9b8
0x3c0af633fcb6ad3ccdce7e3be7664f194522bee0255dac5fcc4e1bdf001e4579
0x1594f7ae93b00c8460a39e141c1bca4e90db676765783bcf380918d1de057179
0xabc11d1c0adcea1d49fc9e85320e4d0b05a435d02666dfe4d0e08085a083a1b4
0x2abf025c43a4f8ff1c76ec68cb0414c97413e67bb529454ab32483cca69967b5
0x5eca1f2af9d51e6e5b544ee45bc24b1bfc89b28578cf12d978d7b0e80175ec46
0xe07274e37159cdcf79be94ca4ffe303d3c69d8d3890dbc4e03ddc59c799a3349

Functions
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 (uint256uint256)
(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 (uint256uint256)
getReferralStruct(address user_view returns (struct TokenSaleRegistryReferral)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRound(uint256 index_view returns (struct TokenSaleRegistryRound)
hasRole(bytes32 roleaddress accountview 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 interfaceIdview returns (bool)
State-modifying
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 roleaddress 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 roleaddress callerConfirmation
retrieveNativeCurrency(
retrieveTokens(address token_uint256 amount_
revokeRole(bytes32 roleaddress account
startSaleRound(uint256 index_
updateAuthorizationThreshold(uint256 amount_
updateFundsWallet(address fundsManagementWallet_
updateMaximumAllocation(uint256 amount_
updateMinimumContribution(uint256 amount_
Events
AuthUserUpdated(address indexed userbool value
AuthorizationThresholdUpdated(uint256 limit
FundsManagementWalletUpdated(address indexed fundsManagementWallet
MaxUpdated(uint256 amount
MinUpdated(uint256 amount
NativeCurrencyRetrieved(uint256 amount
ReferralAccountInitialized(address indexed refuint256 primaryRefRateuint256 secondaryRefRate
ReferralDisabled(address indexed ref
ReferralEnabled(address indexed ref
ReferralRatesConfigured(uint256 primaryRefRateuint256 secondaryRefRate
ReferralRewardsClaimed(address indexed refaddress indexed tokenuint256 amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SaleRoundConfigured(uint256 priceuint256 supply
SaleRoundEnded(uint256 indexed round
SaleRoundPricingAdjusted(uint256 indexed rounduint256 price
SaleRoundStarted(uint256 indexed round
SaleRoundSupplyAdjusted(uint256 indexed rounduint256 supply
StateUpdated(uint8 state
TokensRetrieved(address tokenuint256 amount
Constructor
constructor(address fundsManagementWallet_
Fallback and receive
receive(
Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 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