SaleProcessor

Verified contract

Active on Ethereum with 500 txns
Deployed by via 0xd3b77dce at 19569085
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $8,359.52
ERC-20
Value $469.83
ERC-20
Value $67.81
0xdecaac9f67d652edbd0232d9fe869c309036686fc256b824d0ff9be882ebaff7
0x46632219c9c6f9242ef5a1caec2879bc5a71c24f8c3aa3730811d99429293d5d
0xb0755bedc8f1b102461837033c2891a08844a68105f55f1e8a004796173b5752
0xda38085462762a1c2ce00965758c1231762816693d5c9ddcd6f9bdbda1d301e6
0xfc7e41907cfbac50b4d2854bc695f499ae75d312d62e610f43217018c8fa9f2a
0xe570d93313084bde34b532479a31662a86858a75d322385b28c4176f0e4f0b5d
0xb7313f60b173cd09c6f021f7ba2474b24687ba09a65f11f0a21cfe9dc5805e9c
0x66fe0230ec163a5d89472ac6e4cdc23b2eb3f9d48323af7b35b57d797f415e75
0x6647d335ef936623ed2702d9bfccc2aa3a8e09af6f8748e5d58234833e9464c0
0x21690bf413391d6705ba21907a7c67377032d0046bd9b3e340b5e8500af8094d

Functions
Getter at block 21297850
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MANAGER_ROLE(view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
getAmbasadorRates(view returns (uint256uint256)
(170, 110)
getBank(view returns (address)
0xf75e3e1c90f13a5643b99a49ab151125f0e8d3c9
getCurrentStageIndex(view returns (uint256)
62
getMaximalDeposit(view returns (uint256)
1000000000000000000000000
getMinimalDeposit(view returns (uint256)
65000000000000000000
getStagesAmount(view returns (uint256)
64
getTotalSold(view returns (uint256)
37552754189027569205355009
getVipLimit(view returns (uint256)
1000000000000000000000000
isSaleActive(view returns (bool)
false
isSaleInactive(view returns (bool)
true
Read-only
ambasadorBalanceOf(address asset_address user_view returns (uint256)
balanceOf(uint256 round_address user_view returns (uint256)
getAmbasador(address user_address amb_view returns (address)
getAmbasadorRate(address amb_view returns (uint256uint256)
getCurrentPrice(uint8 option_view returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getStageInfo(uint256 index_view returns (struct ISaleProcessorStage)
hasRole(bytes32 roleaddress accountview returns (bool)
isVip(address user_view returns (bool)
maxDepositLimit(address user_view returns (uint256)
regularDepositLimit(address user_view returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
claimAmbasadorRewards(address[] assets_
closeSale(
disableAmbasador(address amb_
enableAmbasador(address amb_
finishStage(uint256 index_
grantRole(bytes32 roleaddress account
openSale(
process(address user_address asset_uint256 amount_uint256 sold_address amb_uint256 fReward_uint256 sReward_
recoverErc20(address asset_uint256 amount_
recoverNative(
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
setAmbasadorRate(uint256 firstAmbRate_uint256 secondAmbRate_
setBank(address bank_
setMaxDeposit(uint256 amount_
setMinDeposit(uint256 amount_
setStage(uint256 sPrice_uint256 lPrice_uint256 supply_
setVipLimit(uint256 amount_
setupAmbasadors(address[] ambs_uint256[] firstAmbRates_uint256[] secondAmbRates_
setupVip(address user_bool value_
setupVipBatch(address[] users_bool[] values_
startStage(uint256 index_
updateStagePrice(uint256 index_uint256 sPrice_uint256 lPrice_
updateStageSupply(uint256 index_uint256 supply_
Events
Claimed(address indexed ambasadoraddress indexed assetuint256 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
Constructor
constructor(address bank_
Fallback and receive
receive(
Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
FailedInnerCall(
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token