
The data structures defined by this contract.
Struct property of ad_slots
{ "name": "AD_SLOT_DATA", "base": "", "fields": [ { "name": "owner", "type": "name" }, { "name": "is_available", "type": "uint8" }, { "name": "ipfs_hash", "type": "string" }, { "name": "url", "type": "string" } ] }-
{ "name": "ad_slots", "base": "", "fields": [ { "name": "timestamp", "type": "uint64" }, { "name": "ad_slot_a", "type": "AD_SLOT_DATA" }, { "name": "ad_slot_b", "type": "AD_SLOT_DATA" }, { "name": "ad_slot_c", "type": "AD_SLOT_DATA" } ] } Action parameter in addnewslots
{ "name": "addnewslots", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "quantity", "type": "uint64" } ] }Action parameter in assertnewad
{ "name": "assertnewad", "base": "", "fields": [ { "name": "wallet", "type": "name" }, { "name": "timestamps", "type": "uint64[]" }, { "name": "ipfs_hash", "type": "string" }, { "name": "url", "type": "string" } ] }-
{ "name": "config", "base": "", "fields": [ { "name": "ID", "type": "uint64" }, { "name": "status", "type": "uint8" }, { "name": "initial_timestamp", "type": "uint64" }, { "name": "next_timestamp", "type": "uint64" }, { "name": "seconds_per_ad", "type": "uint64" }, { "name": "orders_counter", "type": "uint64" } ] } Action parameter in initadslots
{ "name": "initadslots", "base": "", "fields": [ { "name": "user", "type": "name" } ] }Action parameter in initconfig
{ "name": "initconfig", "base": "", "fields": [ { "name": "user", "type": "name" } ] }-
{ "name": "logorder", "base": "", "fields": [ { "name": "wallet", "type": "name" }, { "name": "timestamps", "type": "uint64[]" }, { "name": "amount_paid", "type": "asset" } ] } Table row type of orders
{ "name": "pending_orders", "base": "", "fields": [ { "name": "wallet", "type": "name" }, { "name": "timestamps", "type": "uint64[]" }, { "name": "ipfs_hash", "type": "string" }, { "name": "url", "type": "string" } ] }-
{ "name": "remslots", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "quantity", "type": "uint64" } ] }