ManaVendingMachine

Verified contract

Active on Ethereum with 1,209 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "ManaVendingMachine"

0xb3df5d9ec9b6234a295ea314424a96c015d39a0c40b299fd7cb581035a7a1d70
0xec6c378faf0980d81f9cb4e82922923bb3da1129b8608f64211514117fc49765
0xa0ebed18a736c9073d307790013fbd2b6cf32cad0baf6fbbd3faa11c484a5b51
From
0xe6974c4693028a1b4db23b47d030c9eee8032396f56b2705d70a25d039dcbec7
0x8795166dd78537ddfa831e4caae1166adee6aba00c625fbe7c0f7e222908cb38
0xa4a1c3b74bb8ce5bbe607dd5075ac8d07a5d0b0a4453a0ef71998251633acce4
0xb20319440d514d1cee18f3a31de075e33e303de62e9dac7cf07649ae408027a4
0xafad68e8eb9bcd452c674aa69111ceeae62c184d767a1d866417ba513963c5a2
From
0x3106b8df5f1fbe3c924ceb883f640f465014116eb97cc8468fe2e98d8e41b2d1
0x2c7ea65d818edeb7d011ab3d83ff1c036bd2781b2140cffac5304c3c541b44a4

Functions
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 _addressview returns (uint256)
getPackageFromId(uint8 pkgIdview returns (struct ManaVendingMachinePackage)
manaBalances(addressview returns (uint256)
packages(uint256view returns (uint256 manaQtyuint256 price)
State-modifying
purchasePackages(uint256[] _qtypayable 
renounceOwnership(
setPackages(uint256[] _manaQtyuint256[] _prices
setVaultAddress(address _vaultAdress
transferOwnership(address newOwner
withdraw(uint256 _amount
withdrawAll(
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PurchasePackages(address buyeruint256[] quantitiesuint256 totalEthuint256 totalMana
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.