Select Table
Enter Parameters
Scope
Lower Bound
Upper Bound
Limit
Table Result
Select Action
Input Data
Input Data
event
uint64
close
bool
Input Data
event
uint64
eventCategory
string
eventDescription
string
contestKey
uint64
contestDescription
string
forecasts
string
results
string
betStart
uint64
betEnd
uint64
bonus
float32
winningFee
float32
Input Data
fromEvent
uint64
toEvent
uint64
usersToMigrate
uint64
extraBonus
float32
Input Data
event
uint64
usersToBePaid
uint64
Input Data
event
uint64
usersToBeRefunded
uint64
Input Data
account
name
msg
string
Input Data
account
name
event
uint64
Input Data
event
uint64
winner
uint64
usersPerTX
uint64
Input Data
account
name
Input Data
account
name
{"version":"eosio::abi/1.1","types":[],"structs":[{"name":"betstable","base":"","fields":[{"name":"account","type":"name"},{"name":"superkey","type":"uint128"},{"name":"amount","type":"asset"},{"name":"amountW","type":"asset"},{"name":"forecast","type":"uint64"},{"name":"secondaryKey","type":"uint64"}]},{"name":"betsumtable","base":"","fields":[{"name":"betkey","type":"uint64"},{"name":"result","type":"string"},{"name":"balanceW","type":"asset"},{"name":"balanceL","type":"asset"}]},{"name":"contesttable","base":"","fields":[{"name":"contestKey","type":"uint64"},{"name":"contestDescription","type":"string"},{"name":"balance","type":"asset"},{"name":"contestWeights","type":"string"},{"name":"close","type":"bool"}]},{"name":"dapptable","base":"","fields":[{"name":"key","type":"uint64"},{"name":"users","type":"uint64"},{"name":"events","type":"uint64"},{"name":"volume","type":"asset"}]},{"name":"deletetables","base":"","fields":[]},{"name":"eventclose","base":"","fields":[{"name":"event","type":"uint64"},{"name":"close","type":"bool"}]},{"name":"eventcreate","base":"","fields":[{"name":"event","type":"uint64"},{"name":"eventCategory","type":"string"},{"name":"eventDescription","type":"string"},{"name":"contestKey","type":"uint64"},{"name":"contestDescription","type":"string"},{"name":"forecasts","type":"string"},{"name":"results","type":"string"},{"name":"betStart","type":"uint64"},{"name":"betEnd","type":"uint64"},{"name":"bonus","type":"float32"},{"name":"winningFee","type":"float32"}]},{"name":"eventmigrate","base":"","fields":[{"name":"fromEvent","type":"uint64"},{"name":"toEvent","type":"uint64"},{"name":"usersToMigrate","type":"uint64"},{"name":"extraBonus","type":"float32"}]},{"name":"eventpay","base":"","fields":[{"name":"event","type":"uint64"},{"name":"usersToBePaid","type":"uint64"}]},{"name":"eventrefund","base":"","fields":[{"name":"event","type":"uint64"},{"name":"usersToBeRefunded","type":"uint64"}]},{"name":"eventstable","base":"","fields":[{"name":"event","type":"uint64"},{"name":"betStartTime","type":"time_point"},{"name":"betEndTime","type":"time_point"},{"name":"forecasts","type":"string"},{"name":"eventDescription","type":"string"},{"name":"eventCategory","type":"string"},{"name":"contestKey","type":"uint64"},{"name":"close","type":"bool"},{"name":"winnerF","type":"uint64"},{"name":"reward","type":"float32"},{"name":"bonus","type":"float32"},{"name":"winningFee","type":"float32"},{"name":"betCounterEvent","type":"uint64"}]},{"name":"notify","base":"","fields":[{"name":"account","type":"name"},{"name":"msg","type":"string"}]},{"name":"rewardclaim","base":"","fields":[{"name":"account","type":"name"},{"name":"event","type":"uint64"}]},{"name":"rewardpull","base":"","fields":[{"name":"event","type":"uint64"},{"name":"winner","type":"uint64"},{"name":"usersPerTX","type":"uint64"}]},{"name":"signup","base":"","fields":[{"name":"account","type":"name"}]},{"name":"userdelete","base":"","fields":[{"name":"account","type":"name"}]},{"name":"userstable","base":"","fields":[{"name":"user","type":"name"},{"name":"userid","type":"uint64"},{"name":"totalWin","type":"asset"},{"name":"betNowPoints","type":"uint64"},{"name":"userBets","type":"string"}]}],"actions":[{"name":"deletetables","type":"deletetables","ricardian_contract":"spec-version: 0.0.2\ntitle: Bet Info\nsummary: This action will delete all tables. Only for dev.\nicon:","fields":[]},{"name":"eventclose","type":"eventclose","ricardian_contract":"spec-version: 0.0.2\ntitle: Close Event\nsummary: This action will modify the event's close status on the eventsTable allowing or preventing users to place bets. This action can be called from Betnow.io only.\nicon:","fields":[{"name":"event","type":"uint64"},{"name":"close","type":"bool"}]},{"name":"eventcreate","type":"eventcreate","ricardian_contract":"spec-version: 0.0.2\ntitle: Create Event\nsummary: This action will create a new event record on the eventsTable. This action can be called from Betnow.io only.\nicon:","fields":[{"name":"event","type":"uint64"},{"name":"eventCategory","type":"string"},{"name":"eventDescription","type":"string"},{"name":"contestKey","type":"uint64"},{"name":"contestDescription","type":"string"},{"name":"forecasts","type":"string"},{"name":"results","type":"string"},{"name":"betStart","type":"uint64"},{"name":"betEnd","type":"uint64"},{"name":"bonus","type":"float32"},{"name":"winningFee","type":"float32"}]},{"name":"eventmigrate","type":"eventmigrate","ricardian_contract":"spec-version: 0.0.2\ntitle: Migrate Event\nsummary: This action will migrate all users for a specif event to a new event. This action can be either called from Betnow.io or from one of our contracts in case of need (e.g. an event gets postponed).\nicon:","fields":[{"name":"fromEvent","type":"uint64"},{"name":"toEvent","type":"uint64"},{"name":"usersToMigrate","type":"uint64"},{"name":"extraBonus","type":"float32"}]},{"name":"eventpay","type":"eventpay","ricardian_contract":"spec-version: 0.0.2\ntitle: Pay Event\nsummary: This action will send to the winning users their rewads and delete the user's records from the event's betsTable. This action can be either called from Betnow.io or from one of our contracts.\nicon:","fields":[{"name":"event","type":"uint64"},{"name":"usersToBePaid","type":"uint64"}]},{"name":"eventrefund","type":"eventrefund","ricardian_contract":"spec-version: 0.0.2\ntitle: Refund Event\nsummary: This action will refund all users for a specif event. This action can be either called from Betnow.io or from one of our contracts in case of need (e.g. an event gets cancelled).\nicon:","fields":[{"name":"event","type":"uint64"},{"name":"usersToBeRefunded","type":"uint64"}]},{"name":"notify","type":"notify","ricardian_contract":"spec-version: 0.0.2\ntitle: Notify\nsummary: This action will send a notification to the user account when another action succeeds or fails. This action is intended to be called automatically from our contracts only.\nicon:","fields":[{"name":"account","type":"name"},{"name":"msg","type":"string"}]},{"name":"rewardclaim","type":"rewardclaim","ricardian_contract":"spec-version: 0.0.2\ntitle: Claim Reward\nsummary: This action will iterate the user's bets on a specific event and send the related prize (if any). This action will also delete the user's records from the event's betsTable. If your calling this action from CLI or manually, keep in mind that this action will return an ERROR notification if the user is not elegible to claim the reward. If you are calling this action from our platform then you should be elegible. This action can be called only by the user. To learn more, visit our\n<a\nhref=\"https://www.betnow.io/FAQ\" >\nFAQ.\n</a>\nicon:","fields":[{"name":"account","type":"name"},{"name":"event","type":"uint64"}]},{"name":"rewardpull","type":"rewardpull","ricardian_contract":"spec-version: 0.0.2\ntitle: Pull Reward\nsummary: This action will calculate the event's reward and replace the default value on the eventsTable allowing the users to claim their rewards. This action can be called from Betnow.io only.\nicon:","fields":[{"name":"event","type":"uint64"},{"name":"winner","type":"uint64"},{"name":"usersPerTX","type":"uint64"}]},{"name":"signup","type":"signup","ricardian_contract":"spec-version: 0.0.2\ntitle: Sign Up\nsummary: This action will insert a new entry in the userstable allowing the user to interact with our platform. If your calling this action from CLI or manually, keep in mind that this action will return an ERROR notification if you are already on our usersTable. If you are calling this action from our platform then you should be elegible to signup and you will receive a welcome message. The data is stored in the multi index table. By signing this transaction the user consents to our\n<a\nhref=\"https://www.betnow.io/terms-of-service\" >\nTerms of Service\n</a> .The ram costs are paid by the smart contract.\nicon:","fields":[{"name":"account","type":"name"}]},{"name":"userdelete","type":"userdelete","ricardian_contract":"spec-version: 0.0.2\ntitle: Delete User\nsummary: This action will delete any user entry in the userstable. This action will prevent the user to further interact with our platform (untill a new signup action is called). If the user has open bets this action will return an ERROR notification otherwise a goodbye message. In order to this action to succeed make sure to not have any user record in the betsTable. By signing this transaction you will lose all your Betpoints.\nicon:","fields":[{"name":"account","type":"name"}]}],"tables":[{"name":"bets","index_type":"i64","key_names":[],"key_types":[],"type":"betstable"},{"name":"contests","index_type":"i64","key_names":[],"key_types":[],"type":"contesttable"},{"name":"dappstats","index_type":"i64","key_names":[],"key_types":[],"type":"dapptable"},{"name":"events","index_type":"i64","key_names":[],"key_types":[],"type":"eventstable"},{"name":"totalbalance","index_type":"i64","key_names":[],"key_types":[],"type":"betsumtable"},{"name":"users","index_type":"i64","key_names":[],"key_types":[],"type":"userstable"}],"ricardian_clauses":[{"id":"Data Storage","body":"---\nspec-version: 0.0.1\ntitle: General Data Storage\nsummary: This smart contract will store data added by the user. The user consents to the storage of this data by signing the transaction.\nicon:"},{"id":"Data Usage","body":"---\nspec-version: 0.0.1\ntitle: General Data Use\nsummary: This smart contract will store user data. The smart contract will not use the stored data for any purpose outside store and delete.\nicon:"},{"id":"Data Ownership","body":"---\nspec-version: 0.0.1\ntitle: Data Ownership\nsummary: The user of this smart contract verifies that the data is owned by the smart contract, and that the smart contract can use the data in accordance to the terms defined in the Ricardian Contract.\nicon:"},{"id":"Data Distirbution","body":"---\nspec-version: 0.0.1\ntitle: Data Ownership\nsummary: The smart contract promises to not actively share or distribute the address data. The user of the smart contract understands that data stored in a multi index table is not private data and can be accessed by any user of the blockchain. \nicon:"},{"id":"Data Future","body":"---\nspec-version: 0.0.1\ntitle: Data Ownership\nsummary: The smart contract promises to only use the data in accordance of the terms defined in the Ricardian Contract, now and at all future dates. \nicon:"}],"error_messages":[],"abi_extensions":[],"variants":[],"action_results":[]}
ad3eb1c9eac315fac28388693e3aabaf07993efbdf3955a035d4fe9a673eb4a3