VendingMachine

Verified contract

Active on Ethereum with 66 txns
Deployed by via 0x1d37cd6e at 11948923
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "VendingMachine"

0xf1bda2dba219f3f1d4afa4c3007c3a0dc0e5bc130fc0cf16371b25f25c12e34f
0x51feb5b1f01aae9912fa91502b239a3fe68f62383c7ae00c88a0fef39b099013
0xdc63430e497d2a3338d7880452694969b8a31317c54fbd8c2681adb824e5b62c
0xf1442593d392a1aa63d4966ab0bf6b9a12a9c3e8fa244eb8d65557be8e4760fc
From
0xd1c38b20010c6491710395c2e2e89daeb738ab8d27805b64826d1625eb5272e6
0x04fc8212d26ec4456916254bf5b7e7c0a9c86b11202763f23eda1446ab0c98bf
0xff068a08dbfe7204981223df9e754bb56c9a9b1296edd12852d0f5b7470f1950
0xa4dc8fc919d58ba67a6cbd64b80df62858800d39519a80a43f768f701a0e34a5
0x6a6458ca9ffbc81bb434badb2b832d07bf41b6a4f4565a158a975c9e32944d7e
0xad222a61ab80e94211f4dfe8fbe82a59b79f10840071b9fc889b99e95494ebf9

Functions
Getter at block 21393929

This contract contains no getter function objects.

Read-only
sales(uint256view returns (address creatoraddress nftuint256 tokenIduint256 amountLeftaddress tokenWantuint256 pricePerUnit)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
buyNFT(uint256 saleIduint256 amountpayable 
cancelSale(uint256 saleId
changePricePerUnit(uint256 saleIduint256 pricePerUnit
changeTokenWantAndPrice(uint256 saleIdaddress tokenWantuint256 pricePerUnit
createNFTSaleForERC20(address erc1155uint256 tokenIduint256 amountaddress tokenWantuint256 pricePerUnit
createNFTSaleForETH(address erc1155uint256 tokenIduint256 amountuint256 pricePerUnit
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
Events
BuyNFT(address indexed buyeruint256 saleIduint256 amount
CancelSale(address indexed creatoruint256 saleIduint256 amountReturned
ChangePricePerUnit(uint256 indexed saleIduint256 pricePerUnit
ChangeTokenWantAndPrice(uint256 indexed saleIdaddress tokenWantuint256 pricePerUnit
NewSale(address indexed creatoraddress indexed nftuint256 tokenIduint256 amountaddress tokenWantuint256 pricePerUnituint256 saleId
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.