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"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "clean",
|
|
|
|
"base": "",
|
|
|
|
"fields": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "config",
|
|
|
|
"base": "",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "verification_amount",
|
|
|
|
"type": "uint8"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
|
|
|
"type": "bytes"
|
2023-05-28 00:38:04 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "reward",
|
|
|
|
"type": "asset"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "global_configuration_struct",
|
|
|
|
"base": "",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "verification_amount",
|
|
|
|
"type": "uint8"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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-05-22 09:10:51 +00:00
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "binary_data",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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-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-05-22 09:10:51 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"ricardian_clauses": [],
|
|
|
|
"variants": [],
|
|
|
|
"action_results": []
|
|
|
|
}
|