OMPxContract

Verified contract

Active on Ethereum with 1,527 txns
Deployed by via 0x5a72c788 at 5417094
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $5,078.19
ERC-20
--
ERC-20
--
ERC-20
--
 (#39)
ERC-721
--
ERC-20
--
0x4b392dbb158db09935f8e87100e16b3a83a6edc75604f52f4fa35ac9736c67df
0x22a0240c66fb95ee114819dc42f8c3a3f34f1b6e0908537490cd7fdb3deb3aac
0x407117bf8b3e974d3a751ee525f606a4c60a3a62cbe41e2c8e5510106e8a44d7
0xccc5c75b838e40f0003e5a99853926ab2e624abd2a0de84b3aa5ee079834f3e9
0x7c93689b9a1f49620e78137080dcd7df535e7cc643361e863ecd643ee75de0ec
0x3cc7270413c31d53ee6d7ba687b16421735a3ef5866eaf527a758915faba1d63
0x8fde037f74c0945a67d0b67a96d2d97b3af6108c909e277b902b88bb0a75288d
0xce545c611a8448e464a2556f97acc7adb866041c47128dee61f10c001ffab4df
0x529ca617a2edbb47d4a74f0359673fca7692253e5c0d78c80c8222babcd94550
0xed015c6f81ce0a65fb64bead75b79df10e19d422293c7633957e7ebbec786664

Functions
Getter at block 21404264
feeReceiverContract(view returns (address)
0x8b26a81522747bc66be1261eaac3091c6fff0d6d
getDiscountsAmount(view returns (uint256 amount_)
4
 
getStat(view returns (uint256 tokensBoughtBack_uint256 timesBoughtBack_uint256 tokensPurchased_uint256 timesPurchased_uint256 ethSent_uint256 ethReceived_uint256 tokensSpend_uint256 timesSpend_uint256 oddSent_uint256 feeSent_)
halted(view returns (bool)
false
owner(view returns (address)
0xeb79db7b4ce44bfb549104cafc8f51cc93a686fb
token(view returns (address)
0x633b041c41f61d04089880d7b5c7ed0f10ff6f85
totalSupply(view returns (uint256)
0
totalTokenSupply(view returns (uint256 totalSupply_)
2269323000000000000000000
Read-only
balanceOf(address _ownerview returns (uint256 balance_)
discounts(uint256view returns (uint256 amountuint256 disc)
getBuyBackPrice(uint256 buyBackValueview returns (uint256 price_)
getPurchasePrice(uint256 purchaseValueuint256 amountview returns (uint256 price_)
State-modifying
addDiscount(uint256 _amountuint256 _disc
buyBack(uint256 tokensToBuyBackuint256 minPrice
editDiscount(uint256 numuint256 _amountuint256 _disc
getFee(
halt(
purchase(uint256 tokensToPurchaseuint256 maxPricepayable returns (uint256 tokensBought_)
purchaseUpAndSpend(uint256 tokensToSpenduint256 maxPricebytes32 orderIdpayable returns (uint256 tokensSpent_)
setFeeReceiver(address newReceiver
spend(uint256 tokensToSpendbytes32 orderId
transfer(address _touint256 _valuereturns (bool)
transferOwnership(address newOwner
unhalt(
Events
BuyBack(address indexed receiveduint256 tokensAmountuint256 value
Donation(address indexed donatoruint256 value
NewReceiverSet(address newReceiver
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Purchase(address indexed receiveduint256 tokensAmountuint256 value
Spend(address indexed spenderuint256 tokensAmountbytes32 indexed orderId
Transfer(address indexed fromaddress indexed touint256 value
TransferMoneyBack(address indexed touint256 value
Constructor
constructor(
Fallback and receive
fallback(
Errors

This contract contains no error objects.