{
"version": "eosio::abi/1.0",
"types": [
{
"new_type_name": "uuid",
"type": "uint64"
},
{
"new_type_name": "battle_mode",
"type": "uint8"
},
{
"new_type_name": "order_type",
"type": "uint8"
},
{
"new_type_name": "element_type",
"type": "uint8"
}
],
"structs": [
{
"name": "st_pets",
"base": "",
"fields": [
{
"name": "id",
"type": "uuid"
},
{
"name": "owner",
"type": "name"
},
{
"name": "name",
"type": "string"
},
{
"name": "type",
"type": "uint8"
},
{
"name": "created_at",
"type": "uint32"
},
{
"name": "death_at",
"type": "uint32"
},
{
"name": "last_fed_at",
"type": "uint32"
},
{
"name": "last_bed_at",
"type": "uint32"
},
{
"name": "last_awake_at",
"type": "uint32"
},
{
"name": "last_play_at",
"type": "uint32"
},
{
"name": "last_shower_at",
"type": "uint32"
}
]
},
{
"name": "st_pet_inbatt",
"base": "",
"fields": [
{
"name": "pet_id",
"type": "uuid"
}
]
},
{
"name": "st_pls_inbatt",
"base": "",
"fields": [
{
"name": "player",
"type": "name"
}
]
},
{
"name": "st_account",
"base": "",
"fields": [
{
"name": "balance",
"type": "asset"
}
]
},
{
"name": "st_elements",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "ratios",
"type": "uint8[]"
}
]
},
{
"name": "st_pet_types",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "elements",
"type": "uint8[]"
}
]
},
{
"name": "st_commit",
"base": "",
"fields": [
{
"name": "player",
"type": "name"
},
{
"name": "commitment",
"type": "checksum256"
},
{
"name": "randoms",
"type": "uint8[]"
}
]
},
{
"name": "st_pet_stat",
"base": "",
"fields": [
{
"name": "pet_id",
"type": "uuid"
},
{
"name": "pet_type",
"type": "uint8"
},
{
"name": "player",
"type": "name"
},
{
"name": "hp",
"type": "uint8"
}
]
},
{
"name": "st_battle",
"base": "",
"fields": [
{
"name": "host",
"type": "name"
},
{
"name": "mode",
"type": "battle_mode"
},
{
"name": "started_at",
"type": "uint32"
},
{
"name": "last_move_at",
"type": "uint32"
},
{
"name": "commits",
"type": "st_commit[]"
},
{
"name": "pets_stats",
"type": "st_pet_stat[]"
}
]
},
{
"name": "st_orders",
"base": "",
"fields": [
{
"name": "id",
"type": "uuid"
},
{
"name": "user",
"type": "name"
},
{
"name": "type",
"type": "order_type"
},
{
"name": "pet_id",
"type": "uuid"
},
{
"name": "new_owner",
"type": "name"
},
{
"name": "value",
"type": "asset"
},
{
"name": "placed_at",
"type": "uint32"
},
{
"name": "ends_at",
"type": "uint32"
},
{
"name": "transfer_ends_at",
"type": "uint32"
}
]
},
{
"name": "st_pet_config2",
"base": "",
"fields": [
{
"name": "last_id",
"type": "uuid"
},
{
"name": "creation_awake",
"type": "int64"
},
{
"name": "market_fee",
"type": "uint64"
},
{
"name": "max_health",
"type": "uint8"
},
{
"name": "hunger_to_zero",
"type": "uint32"
},
{
"name": "min_hunger_interval",
"type": "uint32"
},
{
"name": "max_hunger_points",
"type": "uint8"
},
{
"name": "hunger_hp_modifier",
"type": "uint8"
},
{
"name": "min_awake_interval",
"type": "uint32"
},
{
"name": "min_sleep_period",
"type": "uint32"
},
{
"name": "creation_tolerance",
"type": "uint32"
},
{
"name": "battle_idle_tolerance",
"type": "uint32"
},
{
"name": "attack_min_factor",
"type": "uint8"
},
{
"name": "attack_max_factor",
"type": "uint8"
},
{
"name": "battle_max_arenas",
"type": "uint16"
},
{
"name": "battle_busy_arenas",
"type": "uint16"
},
{
"name": "last_element_id",
"type": "uint16"
},
{
"name": "last_pet_type_id",
"type": "uint16"
}
]
},
{
"name": "st_pick",
"base": "",
"fields": [
{
"name": "pets",
"type": "uint64[]"
},
{
"name": "randoms",
"type": "uint8[]"
}
]
},
{
"name": "createpet",
"base": "",
"fields": [
{
"name": "owner",
"type": "name"
},
{
"name": "pet_name",
"type": "string"
}
]
},
{
"name": "updatepet",
"base": "",
"fields": [
{
"name": "pet_id",
"type": "uuid"
}
]
},
{
"name": "feedpet",
"base": "",
"fields": [
{
"name": "pet_id",
"type": "uuid"
}
]
},
{
"name": "bedpet",
"base": "",
"fields": [
{
"name": "pet_id",
"type": "uuid"
}
]
},
{
"name": "awakepet",
"base": "",
"fields": [
{
"name": "pet_id",
"type": "uuid"
}
]
},
{
"name": "destroypet",
"base": "",
"fields": [
{
"name": "pet_id",
"type": "uuid"
}
]
},
{
"name": "techrevive",
"base": "",
"fields": [
{
"name": "pet_id",
"type": "uuid"
},
{
"name": "reason",
"type": "string"
}
]
},
{
"name": "transferpet",
"base": "",
"fields": [
{
"name": "pet_id",
"type": "uuid"
},
{
"name": "new_owner",
"type": "name"
}
]
},
{
"name": "quickbattle",
"base": "",
"fields": [
{
"name": "mode",
"type": "battle_mode"
},
{
"name": "player",
"type": "name"
},
{
"name": "picks",
"type": "st_pick"
}
]
},
{
"name": "battleleave",
"base": "",
"fields": [
{
"name": "host",
"type": "name"
},
{
"name": "player",
"type": "name"
}
]
},
{
"name": "battleattack",
"base": "",
"fields": [
{
"name": "host",
"type": "name"
},
{
"name": "player",
"type": "name"
},
{
"name": "pet_id",
"type": "uuid"
},
{
"name": "pet_enemy_id",
"type": "uuid"
},
{
"name": "element",
"type": "element_type"
}
]
},
{
"name": "battlefinish",
"base": "",
"fields": [
{
"name": "host",
"type": "name"
},
{
"name": "winner",
"type": "name"
}
]
},
{
"name": "battlepfdel",
"base": "",
"fields": [
{
"name": "pet_id",
"type": "uuid"
},
{
"name": "reason",
"type": "string"
}
]
},
{
"name": "orderask",
"base": "",
"fields": [
{
"name": "pet_id",
"type": "uuid"
},
{
"name": "new_owner",
"type": "name"
},
{
"name": "amount",
"type": "asset"
},
{
"name": "until",
"type": "uint32"
}
]
},
{
"name": "removeask",
"base": "",
"fields": [
{
"name": "owner",
"type": "name"
},
{
"name": "pet_id",
"type": "uuid"
}
]
},
{
"name": "claimpet",
"base": "",
"fields": [
{
"name": "old_owner",
"type": "name"
},
{
"name": "pet_id",
"type": "uuid"
},
{
"name": "claimer",
"type": "name"
}
]
},
{
"name": "bidpet",
"base": "",
"fields": [
{
"name": "pet_id",
"type": "uuid"
},
{
"name": "bidder",
"type": "name"
},
{
"name": "amount",
"type": "asset"
},
{
"name": "until",
"type": "uint32"
}
]
},
{
"name": "removebid",
"base": "",
"fields": [
{
"name": "bidder",
"type": "name"
},
{
"name": "pet_id",
"type": "uuid"
}
]
},
{
"name": "addelemttype",
"base": "",
"fields": [
{
"name": "ratios",
"type": "uint8[]"
}
]
},
{
"name": "changeelemtt",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "ratios",
"type": "uint8[]"
}
]
},
{
"name": "addpettype",
"base": "",
"fields": [
{
"name": "elements",
"type": "uint8[]"
}
]
},
{
"name": "changepettyp",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "elements",
"type": "uint8[]"
}
]
},
{
"name": "changecrtol",
"base": "",
"fields": [
{
"name": "new_interval",
"type": "uint32"
}
]
},
{
"name": "changebatma",
"base": "",
"fields": [
{
"name": "new_max_arenas",
"type": "uint16"
}
]
},
{
"name": "changebatidt",
"base": "",
"fields": [
{
"name": "new_idle_tolerance",
"type": "uint32"
}
]
},
{
"name": "changebatami",
"base": "",
"fields": [
{
"name": "new_attack_min_factor",
"type": "uint8"
}
]
},
{
"name": "changebatama",
"base": "",
"fields": [
{
"name": "new_attack_max_factor",
"type": "uint8"
}
]
},
{
"name": "changemktfee",
"base": "",
"fields": [
{
"name": "new_fee",
"type": "uint64"
},
{
"name": "reason",
"type": "string"
}
]
},
{
"name": "changecreawk",
"base": "",
"fields": [
{
"name": "new_creation_awake",
"type": "int64"
},
{
"name": "reason",
"type": "string"
}
]
},
{
"name": "changehungtz",
"base": "",
"fields": [
{
"name": "new_hunger_to_zero",
"type": "uint32"
},
{
"name": "reason",
"type": "string"
}
]
},
{
"name": "signup",
"base": "",
"fields": [
{
"name": "user",
"type": "name"
}
]
},
{
"name": "transfer",
"base": "",
"fields": [
{
"name": "sender",
"type": "uint64"
},
{
"name": "receiver",
"type": "uint64"
}
]
}
],
"actions": [
{
"name": "createpet",
"type": "createpet",
"ricardian_contract": "---\ntitle: Create Monster\nsummary: Give birth to a Monster\nicon: https://monstereos.io/favicon.png#e6479a7f15b9f19775b09703a5973af41e6e6c0eefbe0c09b9f032a286248b74\n---\n\n## Monster Creation Terms & Conditions\n\nI, {{owner}}, authorize the creation of a random monster,\nnamed as {{pet_name}}. I will love it and take care the best as I can.\n\nI understand that I cannot create another monster in the next\n60 (sixty) minute.\n\nI understand that monsters actions are not reversible after the\n{{$transaction.delay_sec}} seconds or other delay as configured\nby my own permissions.\n\nIf this action fails to be irreversibly confirmed for technical issues\nor failure, I agree that I need to attempt to submit this action again,\nand also the subsequent interactions that I could possibly being submitted\nin this interval.\n"
},
{
"name": "updatepet",
"type": "updatepet",
"ricardian_contract": ""
},
{
"name": "feedpet",
"type": "feedpet",
"ricardian_contract": "---\ntitle: Feed Monster\nsummary: Feeds a Monster to keep him alive\nicon: https://monstereos.io/favicon.png#e6479a7f15b9f19775b09703a5973af41e6e6c0eefbe0c09b9f032a286248b74\n---\n\n## Monster Feed Terms & Conditions\n\nI, the owner of the pet {{pet_id}}, am feeding this monster of\nid {{pet_id}} in order to satisfy its needs and keep him alive for\nthe next 72 hours.\n\nI understand that I cannot feed it again in the next 3 hours.\n\nI understand that monsters actions are not reversible after the\n{{$transaction.delay_sec}} seconds or other delay as configured\nby my own permissions.\n\nIf this action fails to be irreversibly confirmed for technical issues\nor failure, I agree that I need to attempt to submit this action again,\nand also the subsequent interactions that I could possibly being submitted\nin this interval.\n"
},
{
"name": "bedpet",
"type": "bedpet",
"ricardian_contract": "---\ntitle: Sleep Monster\nsummary: Takes a Monster to Bed\nicon: https://monstereos.io/favicon.png#e6479a7f15b9f19775b09703a5973af41e6e6c0eefbe0c09b9f032a286248b74\n---\n\n## Monster Sleep Terms & Conditions\n\nI, the owner of the pet {{pet_id}}, am putting this monster of\nid {{pet_id}} to sleep in order to rest and recover its energy.\n\nI understand that I cannot wake it again in the next 4 hours.\n\nI understand that monsters actions are not reversible after the\n{{$transaction.delay_sec}} seconds or other delay as configured\nby my own permissions.\n\nIf this action fails to be irreversibly confirmed for technical issues\nor failure, I agree that I need to attempt to submit this action again,\nand also the subsequent interactions that I could possibly being submitted\nin this interval.\n"
},
{
"name": "awakepet",
"type": "awakepet",
"ricardian_contract": "---\ntitle: Wake Monster\nsummary: Wakes up a Monster in order to refill its energy\nicon: https://monstereos.io/favicon.png#e6479a7f15b9f19775b09703a5973af41e6e6c0eefbe0c09b9f032a286248b74\n---\n## Wake Terms & Conditions\nI, the owner of the pet {{pet_id}}, am waking this monster of\nid {{pet_id}} to be make him awake and active and respond to\nmy interactions.\nI understand that I cannot put it to sleep again in the\nnext 8 hours.\nI understand that monsters actions are not reversible after the\n{{$transaction.delay_sec}} seconds or other delay as configured\nby my own permissions.\nIf this action fails to be irreversibly confirmed for technical issues\nor failure, I agree that I need to attempt to submit this action again,\nand also the subsequent interactions that I could possibly being submitted\nin this interval."
},
{
"name": "destroypet",
"type": "destroypet",
"ricardian_contract": "---\ntitle: Destroy Monster\nsummary: Delete and destroy a Monster forever\nicon: https://monstereos.io/favicon.png#e6479a7f15b9f19775b09703a5973af41e6e6c0eefbe0c09b9f032a286248b74\n---\n\n## Destroy Terms & Conditions\n\nI, the owner of the pet {{pet_id}}, am destroying this monster\nbecause I no longer have interest in taking care of it.\n\nI understand that this action cannot be undone, the monster will\nbe cruelty destroyed and no longer be accessible or recreated by\nanyone.\n\nI understand that monsters actions are not reversible after the\n{{$transaction.delay_sec}} seconds or other delay as configured\nby my own permissions.\n\nIf this action fails to be irreversibly confirmed for technical issues\nor failure, I agree that I need to attempt to submit this action again,\nand also the subsequent interactions that I could possibly being submitted\nin this interval.\n\n"
},
{
"name": "techrevive",
"type": "techrevive",
"ricardian_contract": ""
},
{
"name": "transferpet",
"type": "transferpet",
"ricardian_contract": ""
},
{
"name": "quickbattle",
"type": "quickbattle",
"ricardian_contract": ""
},
{
"name": "battleleave",
"type": "battleleave",
"ricardian_contract": ""
},
{
"name": "battleattack",
"type": "battleattack",
"ricardian_contract": "---\ntitle: Battle Attack\nsummary: Submit Attack turn of the Battle\nicon: https://monstereos.io/favicon.png#e6479a7f15b9f19775b09703a5973af41e6e6c0eefbe0c09b9f032a286248b74\n---\n\n## Battle Arena Attack Terms & Conditions\n\nI, {{player}}, agree to submit an attack in {{host}} arena,\nusing my pet of id {{pet_id}}, attacking the enemy pet of id\n{{pet_enemy_id}} using the element {{element}}.\n\nI understand that monsters transfers are not reversible after the\n{{$transaction.delay_sec}} seconds or other delay as configured\nby my own permissions.\n\nIf this action fails to be irreversibly confirmed for technical issues\nor failure, I agree that I need to attempt to submit this action again,\nand also the subsequent interactions that I could possibly being submitted\nin this interval.\n"
},
{
"name": "battlefinish",
"type": "battlefinish",
"ricardian_contract": ""
},
{
"name": "battlepfdel",
"type": "battlepfdel",
"ricardian_contract": ""
},
{
"name": "orderask",
"type": "orderask",
"ricardian_contract": "---\ntitle: Ask Order\nsummary: Creates or Updates a Monster Sell Order\nicon: https://monstereos.io/favicon.png#e6479a7f15b9f19775b09703a5973af41e6e6c0eefbe0c09b9f032a286248b74\n---\n\n## Monster Sell Order Terms & Conditions\n\nI, the owner of the pet {{pet_id}}, am opening or updating\na sell order for the pet {{pet_id}}, willing to transfer the\nownership of it by the price of {{amount}}.\n\nThe new owner, {{new_owner}} will have total ownership of this monster,\nas soon as MonsterEOS receives the {{amount}} transfer, takes\ntheir market service fees and transfer the remaining amount to me.\n\nAfter that, this monster will go back to me in the next {{until}}\ndays - 0 days means that it's a permanent order and it will never go\nback to me, the old owner.\n\nI understand that monsters transfers are not reversible after the\n{{$transaction.delay_sec}} seconds or other delay as configured\nby my own permissions.\n\nIf this action fails to be irreversibly confirmed for technical issues\nor failure, I agree that I need to attempt to submit this action again,\nand also the subsequent interactions that I could possibly being submitted\nin this interval.\n"
},
{
"name": "removeask",
"type": "removeask",
"ricardian_contract": "---\ntitle: Remove Order\nsummary: Removes a Monster Sell Order\nicon: https://monstereos.io/favicon.png#e6479a7f15b9f19775b09703a5973af41e6e6c0eefbe0c09b9f032a286248b74\n---\n\n## Monster Order Removal Terms & Conditions\n\nI, {{owner}}, the owner of the pet {{pet_id}}, am removing entirely\na sell order, willing to cancel the transfer of the ownership\nof it.\n\nI understand that monsters transfers are not reversible after the\n{{$transaction.delay_sec}} seconds or other delay as configured\nby my own permissions.\n\nIf this action fails to be irreversibly confirmed for technical issues\nor failure, I agree that I need to attempt to submit this action again,\nand also the subsequent interactions that I could possibly being submitted\nin this interval.\n"
},
{
"name": "claimpet",
"type": "claimpet",
"ricardian_contract": ""
},
{
"name": "bidpet",
"type": "bidpet",
"ricardian_contract": ""
},
{
"name": "removebid",
"type": "removebid",
"ricardian_contract": ""
},
{
"name": "addelemttype",
"type": "addelemttype",
"ricardian_contract": ""
},
{
"name": "changeelemtt",
"type": "changeelemtt",
"ricardian_contract": ""
},
{
"name": "addpettype",
"type": "addpettype",
"ricardian_contract": ""
},
{
"name": "changepettyp",
"type": "changepettyp",
"ricardian_contract": ""
},
{
"name": "changecrtol",
"type": "changecrtol",
"ricardian_contract": ""
},
{
"name": "changebatma",
"type": "changebatma",
"ricardian_contract": ""
},
{
"name": "changebatidt",
"type": "changebatidt",
"ricardian_contract": ""
},
{
"name": "changebatami",
"type": "changebatami",
"ricardian_contract": ""
},
{
"name": "changebatama",
"type": "changebatama",
"ricardian_contract": ""
},
{
"name": "changemktfee",
"type": "changemktfee",
"ricardian_contract": ""
},
{
"name": "changecreawk",
"type": "changecreawk",
"ricardian_contract": ""
},
{
"name": "changehungtz",
"type": "changehungtz",
"ricardian_contract": ""
},
{
"name": "signup",
"type": "signup",
"ricardian_contract": ""
},
{
"name": "transfer",
"type": "transfer",
"ricardian_contract": ""
}
],
"tables": [
{
"name": "pets",
"index_type": "i64",
"key_names": [
"id"
],
"key_types": [
"uuid"
],
"type": "st_pets"
},
{
"name": "petinbattles",
"index_type": "i64",
"key_names": [
"pet_id"
],
"key_types": [
"uuid"
],
"type": "st_pet_inbatt"
},
{
"name": "plsinbattles",
"index_type": "i64",
"key_names": [
"player"
],
"key_types": [
"name"
],
"type": "st_pls_inbatt"
},
{
"name": "accounts",
"index_type": "i64",
"key_names": [
"balance"
],
"key_types": [
"asset"
],
"type": "st_account"
},
{
"name": "elements",
"index_type": "i64",
"key_names": [
"id"
],
"key_types": [
"uint64"
],
"type": "st_elements"
},
{
"name": "pettypes",
"index_type": "i64",
"key_names": [
"id"
],
"key_types": [
"uint64"
],
"type": "st_pet_types"
},
{
"name": "battles",
"index_type": "i64",
"key_names": [
"host"
],
"key_types": [
"name"
],
"type": "st_battle"
},
{
"name": "orders",
"index_type": "i64",
"key_names": [
"id"
],
"key_types": [
"uuid"
],
"type": "st_orders"
},
{
"name": "petconfig2",
"index_type": "i64",
"key_names": [
"last_id"
],
"key_types": [
"uuid"
],
"type": "st_pet_config2"
}
],
"ricardian_clauses": [],
"error_messages": [],
"abi_extensions": [],
"variants": [],
"action_results": []
}