Skip to content

Commit

Permalink
Merge pull request #15 from iwehf/main
Browse files Browse the repository at this point in the history
update qos contract
  • Loading branch information
iwehf authored Mar 20, 2024
2 parents 3bfddf7 + a9ee616 commit 9ce1331
Show file tree
Hide file tree
Showing 2 changed files with 135 additions and 1 deletion.
51 changes: 51 additions & 0 deletions blockchain/abi/QOS.abi
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,19 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "nodeAddress",
"type": "address"
}
],
"name": "kickout",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand All @@ -171,6 +184,25 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "nodeAddress",
"type": "address"
}
],
"name": "getTaskCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand All @@ -190,6 +222,25 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "nodeAddress",
"type": "address"
}
],
"name": "getRecentTaskCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down
85 changes: 84 additions & 1 deletion blockchain/bindings/QOS.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9ce1331

Please sign in to comment.