Closed DenisCarriere closed 9 months ago
./src/drops.spec.ts
./src/drops.contracts.md
eosio
./include/eosio.system/eosio.cpp
block_timestamp genesis
int64_t bytes_per_drop = 512
record_size
#ifdef DEBUG
src/debug.cpp
cleartable
init
state
block_timestamp created
[[eosio::on_notify("*::transfer")]]
get_first_receiver()
eosio.token
What's new
./src/drops.spec.ts
./src/drops.contracts.md
eosio
system contract./include/eosio.system/eosio.cpp
block_timestamp genesis
to stateint64_t bytes_per_drop = 512
to state (exposes bytes consumed as public table instead of private value)record_size
field#ifdef DEBUG
for allsrc/debug.cpp
filesWhat's changed
cleartable
actioninit
actionstate
table to be singleton instead of multi-index with 1 rowblock_timestamp created
on drop table[[eosio::on_notify("*::transfer")]]
(to prevent "altcoins" from transferring into repo)get_first_receiver()
contract check foreosio.token