ManaVendingMachine
Verified contract
Active on
Ethereum with 1,209 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 "ManaVendingMachine"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20823429 | 3 months ago | | | 0 | 0.00064340343 | |
| 20735844 | 3 months ago | | | 0.22 | 0.00031796669 | |
| 20734228 | 3 months ago | | | 0.02 | 0.00017149490 | |
| 20733928 | 3 months ago | | | 0.02 | 0.00026829431 | |
| 20731525 | 3 months ago | | | 0.02 | 0.00022188735 | |
| 20731521 | 3 months ago | | | 0.02 | 0.00026467864 | |
| 20731515 | 3 months ago | | | 0.02 | 0.00036058459 | |
| 20730569 | 3 months ago | | | 0.02 | 0.00035143986 | |
| 20730392 | 3 months ago | | | 0.02 | 0.00018104239 | |
| 20723050 | 3 months ago | | | 0.02 | 0.00067341434 |
ABI
ABI objects
Getter at block 21393867
contractBalance() view returns (uint256)
0
getPackages() view returns (struct ManaVendingMachinePackage[])
[(800, 20000000000000000), (4500, 90000000000000000), (12500, 220000000000000000)]
getPkgQty() view returns (uint8)
3
owner() view returns (address)
0x604034d192e67ee62bf32c29790b78a24ad43121
pkgQty() view returns (uint8)
3
vaultAddress() view returns (address)
0x604034d192e67ee62bf32c29790b78a24ad43121
Read-only
getManaBalance(address _address) view returns (uint256)
getPackageFromId(uint8 pkgId) view returns (struct ManaVendingMachinePackage)
manaBalances(address) view returns (uint256)
packages(uint256) view returns (uint256 manaQty, uint256 price)
State-modifying
Events purchasePackages(uint256[] _qty) payable
renounceOwnership()
setPackages(uint256[] _manaQty, uint256[] _prices)
setVaultAddress(address _vaultAdress)
transferOwnership(address newOwner)
withdraw(uint256 _amount)
withdrawAll()
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PurchasePackages(address buyer, uint256[] quantities, uint256 totalEth, uint256 totalMana)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.