WeiCards

Verified contract

Active on Ethereum with 989 txns
Deployed by via 0xf4f7ab25 at 4785178
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $18,850.94
0xc8c5fb65fbf2eb7f12e39d32064df750651df8f53362cb34bc30a29819c4173e
0x885721da681b226aeedf05faca6b60df3d046485cdc3fb61fc3bd3b995f35b31
0xd2b83a3a83a0c437f478469906ff6c75c6d458482c7134d8efb37cc7890f7f57
0xfdf8232e922c164305c9ea846645558ddace44f1ce0c4f5de95f14b34772a330
0xd419105d8232e98d1ba33d2822ae6216aff5a7c89ca1648382eb64ca0bf63645
0xcdb5bea2bf0cffc08560edaf1e690719f0253fc2f3676f663f2f12df769beb86
0x12bd2a88abc83831e00b15e7b01b601d7c9f53575390b8b2e16b6648de0321e5
0x1f93f4458fab58c081082c6579163a2ff737730d976c8d3d4809e85eb1932b99
0x26476a650ad092c6c42a83a5707f265fbbc352af57fbff4eb804fe4dc1e7ab18
0x337f7c7adba761fc92019534d862bb5794b1aac3175e01363eb0ab3980775623

Functions
Getter at block 21319272
getBalance(view returns (uint256 amount)
0
 
getCards(view returns (uint8[])
 
getCardsDetails(view returns (uint8[])
Read-only
computeInitialPrice(uint8 cardIdview returns (uint256 price)
getCard(uint8 cardIdview returns (uint8 idaddress ownerstring titlestring urlstring imagebool nsfw)
getCardDetails(uint8 cardIdview returns (uint8 iduint256 priceuint256 priceLeaseuint256 leaseDurationbool availableBuybool availableLease)
getCardLeaseLength(uint8 cardIdview returns (uint256 cardLeasesCount)
getLastLease(uint8 cardIdview returns (uint256 leaseIndexaddress tenantuint256 untilBlockstring titlestring urlstring image)
getLease(uint8 cardIduint256 leaseIdview returns (uint256 leaseIndexaddress tenantuint256 untilBlockstring titlestring urlstring image)
State-modifying
buyCard(uint8 cardIdstring titlestring urlstring imagepayable returns (bool success)
cancelLeaseOffer(uint8 cardIdreturns (bool success)
cancelSellCard(uint8 cardIdreturns (bool success)
editCard(uint8 cardIdstring titlestring urlstring imagereturns (bool success)
initialBuyCard(uint8 cardIdstring titlestring urlstring imagepayable returns (bool success)
leaseCard(uint8 cardIdstring titlestring urlstring imagepayable returns (bool success)
sellCard(uint8 cardIduint256 pricereturns (bool success)
setLeaseCard(uint8 cardIduint256 priceLeaseuint256 leaseDurationreturns (bool success)
setNSFW(uint8 cardIdbool flagreturns (bool success)
transferCardOwnership(address touint8 cardIdreturns (bool success)
withdraw(returns (bool)
Events

This contract contains no event objects.

Constructor
constructor(address _contractOwner
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.