2023-05-22 09:10:51 +00:00
|
|
|
{
|
|
|
|
"____comment": "This file was generated with eosio-abigen. DO NOT EDIT ",
|
|
|
|
"version": "eosio::abi/1.2",
|
|
|
|
"types": [],
|
|
|
|
"structs": [
|
2023-05-28 00:38:04 +00:00
|
|
|
{
|
|
|
|
"name": "account",
|
|
|
|
"base": "",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "user",
|
|
|
|
"type": "name"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "balance",
|
|
|
|
"type": "asset"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "nonce",
|
|
|
|
"type": "uint64"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-06-04 17:06:41 +00:00
|
|
|
{
|
|
|
|
"name": "card",
|
|
|
|
"base": "",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"type": "uint64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "owner",
|
|
|
|
"type": "name"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "card_name",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "version",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "total_memory",
|
|
|
|
"type": "uint64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "mp_count",
|
|
|
|
"type": "uint32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "extra",
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-05-28 00:38:04 +00:00
|
|
|
{
|
|
|
|
"name": "clean",
|
|
|
|
"base": "",
|
|
|
|
"fields": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "config",
|
|
|
|
"base": "",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "token_contract",
|
|
|
|
"type": "name"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "token_symbol",
|
|
|
|
"type": "symbol"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-05-22 09:10:51 +00:00
|
|
|
{
|
|
|
|
"name": "dequeue",
|
|
|
|
"base": "",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "user",
|
|
|
|
"type": "name"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "request_id",
|
|
|
|
"type": "uint64"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "enqueue",
|
|
|
|
"base": "",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "user",
|
|
|
|
"type": "name"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "request_body",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "binary_data",
|
2023-06-04 17:06:41 +00:00
|
|
|
"type": "string"
|
2023-05-28 00:38:04 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "reward",
|
|
|
|
"type": "asset"
|
2023-06-04 17:06:41 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "min_verification",
|
|
|
|
"type": "uint32"
|
2023-05-28 00:38:04 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "global_configuration_struct",
|
|
|
|
"base": "",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "token_contract",
|
|
|
|
"type": "name"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "token_symbol",
|
|
|
|
"type": "symbol"
|
2023-05-22 09:10:51 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "submit",
|
|
|
|
"base": "",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "worker",
|
|
|
|
"type": "name"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "request_id",
|
|
|
|
"type": "uint64"
|
|
|
|
},
|
2023-05-28 00:38:04 +00:00
|
|
|
{
|
|
|
|
"name": "request_hash",
|
|
|
|
"type": "checksum256"
|
|
|
|
},
|
2023-05-22 09:10:51 +00:00
|
|
|
{
|
|
|
|
"name": "result_hash",
|
|
|
|
"type": "checksum256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ipfs_hash",
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-05-28 00:38:04 +00:00
|
|
|
{
|
|
|
|
"name": "withdraw",
|
|
|
|
"base": "",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "user",
|
|
|
|
"type": "name"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "quantity",
|
|
|
|
"type": "asset"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-05-22 09:10:51 +00:00
|
|
|
{
|
|
|
|
"name": "work_request_struct",
|
|
|
|
"base": "",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"type": "uint64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "user",
|
|
|
|
"type": "name"
|
|
|
|
},
|
2023-05-28 00:38:04 +00:00
|
|
|
{
|
|
|
|
"name": "reward",
|
|
|
|
"type": "asset"
|
|
|
|
},
|
2023-06-04 17:06:41 +00:00
|
|
|
{
|
|
|
|
"name": "min_verification",
|
|
|
|
"type": "uint32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "nonce",
|
|
|
|
"type": "uint64"
|
|
|
|
},
|
2023-05-22 09:10:51 +00:00
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "binary_data",
|
2023-06-04 17:06:41 +00:00
|
|
|
"type": "string"
|
2023-05-22 09:10:51 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "timestamp",
|
|
|
|
"type": "time_point_sec"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "work_result_struct",
|
|
|
|
"base": "",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"type": "uint64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "request_id",
|
|
|
|
"type": "uint64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "user",
|
|
|
|
"type": "name"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "worker",
|
|
|
|
"type": "name"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "result_hash",
|
|
|
|
"type": "checksum256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ipfs_hash",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "submited",
|
|
|
|
"type": "time_point_sec"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "workbegin",
|
|
|
|
"base": "",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "worker",
|
|
|
|
"type": "name"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "request_id",
|
|
|
|
"type": "uint64"
|
2023-06-04 17:06:41 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "max_workers",
|
|
|
|
"type": "uint32"
|
2023-05-22 09:10:51 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "workcancel",
|
|
|
|
"base": "",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "worker",
|
|
|
|
"type": "name"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "request_id",
|
|
|
|
"type": "uint64"
|
2023-05-28 00:38:04 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "reason",
|
|
|
|
"type": "string"
|
2023-05-22 09:10:51 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-06-04 17:06:41 +00:00
|
|
|
{
|
|
|
|
"name": "worker",
|
|
|
|
"base": "",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "account",
|
|
|
|
"type": "name"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "joined",
|
|
|
|
"type": "time_point_sec"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "left",
|
|
|
|
"type": "time_point_sec"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "url",
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-05-22 09:10:51 +00:00
|
|
|
{
|
|
|
|
"name": "worker_status_struct",
|
|
|
|
"base": "",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "worker",
|
|
|
|
"type": "name"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "status",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "started",
|
|
|
|
"type": "time_point_sec"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"actions": [
|
2023-05-28 00:38:04 +00:00
|
|
|
{
|
|
|
|
"name": "clean",
|
|
|
|
"type": "clean",
|
|
|
|
"ricardian_contract": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "config",
|
|
|
|
"type": "config",
|
|
|
|
"ricardian_contract": ""
|
|
|
|
},
|
2023-05-22 09:10:51 +00:00
|
|
|
{
|
|
|
|
"name": "dequeue",
|
|
|
|
"type": "dequeue",
|
|
|
|
"ricardian_contract": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "enqueue",
|
|
|
|
"type": "enqueue",
|
|
|
|
"ricardian_contract": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "submit",
|
|
|
|
"type": "submit",
|
|
|
|
"ricardian_contract": ""
|
|
|
|
},
|
2023-05-28 00:38:04 +00:00
|
|
|
{
|
|
|
|
"name": "withdraw",
|
|
|
|
"type": "withdraw",
|
|
|
|
"ricardian_contract": ""
|
|
|
|
},
|
2023-05-22 09:10:51 +00:00
|
|
|
{
|
|
|
|
"name": "workbegin",
|
|
|
|
"type": "workbegin",
|
|
|
|
"ricardian_contract": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "workcancel",
|
|
|
|
"type": "workcancel",
|
|
|
|
"ricardian_contract": ""
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tables": [
|
2023-06-04 17:06:41 +00:00
|
|
|
{
|
|
|
|
"name": "cards",
|
|
|
|
"type": "card",
|
|
|
|
"index_type": "i64",
|
|
|
|
"key_names": [],
|
|
|
|
"key_types": []
|
|
|
|
},
|
2023-05-28 00:38:04 +00:00
|
|
|
{
|
|
|
|
"name": "config",
|
|
|
|
"type": "global_configuration_struct",
|
|
|
|
"index_type": "i64",
|
|
|
|
"key_names": [],
|
|
|
|
"key_types": []
|
|
|
|
},
|
2023-05-22 09:10:51 +00:00
|
|
|
{
|
|
|
|
"name": "queue",
|
|
|
|
"type": "work_request_struct",
|
|
|
|
"index_type": "i64",
|
|
|
|
"key_names": [],
|
|
|
|
"key_types": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "results",
|
|
|
|
"type": "work_result_struct",
|
|
|
|
"index_type": "i64",
|
|
|
|
"key_names": [],
|
|
|
|
"key_types": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "status",
|
|
|
|
"type": "worker_status_struct",
|
|
|
|
"index_type": "i64",
|
|
|
|
"key_names": [],
|
|
|
|
"key_types": []
|
2023-05-28 00:38:04 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "users",
|
|
|
|
"type": "account",
|
|
|
|
"index_type": "i64",
|
|
|
|
"key_names": [],
|
|
|
|
"key_types": []
|
2023-06-04 17:06:41 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "workers",
|
|
|
|
"type": "worker",
|
|
|
|
"index_type": "i64",
|
|
|
|
"key_names": [],
|
|
|
|
"key_types": []
|
2023-05-22 09:10:51 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"ricardian_clauses": [],
|
|
|
|
"variants": [],
|
|
|
|
"action_results": []
|
|
|
|
}
|