TokenSaleRegistry

Verified contract

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

No balances found for "TokenSaleRegistry"

0x74c487750ad7e6d7ab79732c0d220b32517ca2b7cec84794cafcdd6375627c13
0xfdc0dd3d36e1eeb6c87e50927f94c254721b7ffb3011b06e0fa4c24d383f7579
0x0f6a3de55ec4ae03ecc5f8cffdba77ea3090a83dc2054aecd9b4d129dba794c1
0x42df21593533ca12a99bd5cc71d740b968316b0d8f709be865bdc7941367e023
0x03fcb95efa69264a5acd26844f45df3c416bb03df23196bd803cfacaf872eb9d
0xdb813fa32b2f6b1586013e219504a6fdfc07cc46a2ecf55704d0045eef06b980
0xeb100360485eb8ebf04f92aebda9d14c526e055c14b17ce979ef0b6a4a8a5784
0x674800e12e1c15f0a622fcf53a2d12131f4ccb9b6402d91c263330671da28604
0xb9cc120f3adebf06f7c398d351c2aef06f88b5e7b0b604d1cec072ee67d7c85d
0x7e4d92483dbf514188b217555d180d256aaa32eab71a8c84db6d9945a2060422

Functions
Getter at block 23823651
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
OPERATOR_ROLE(view returns (bytes32)
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
getAuthLimit(view returns (uint256)
999999999999999999999900
getCurrentRound(view returns (uint256)
1
getFundsWallet(view returns (address)
0x53d4f6bc8c8e9271ce954e85f06033f8425cb65f
getGlobalRefRates(view returns (uint256uint256)
(150, 50)
getMax(view returns (uint256)
999999999999999999999999
getMin(view returns (uint256)
1000010
getPrice(view returns (uint256)
45000000000000000
getRoundsCount(view returns (uint256)
2
getTotalSold(view returns (uint256)
186798325717733333326
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_
recoverCoin(
recoverErc20(address token_uint256 amount_
renounceRole(bytes32 roleaddress callerConfirmation
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
CoinRecovered(uint256 amount
Erc20Recovered(address tokenuint256 amount
FundsManagementWalletUpdated(address indexed fundsManagementWallet
MaxUpdated(uint256 amount
MinUpdated(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
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(
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