Skip to content

Commit

Permalink
update contract in test
Browse files Browse the repository at this point in the history
  • Loading branch information
bchamagne committed Sep 19, 2024
1 parent b7fab60 commit 1d4f584
Show file tree
Hide file tree
Showing 2 changed files with 163 additions and 0 deletions.
Binary file modified test/support/contract.wasm
Binary file not shown.
163 changes: 163 additions & 0 deletions test/support/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
{
"abi": {
"state": {
"counter": "i32"
},
"functions": {
"inc": {
"type": "action",
"triggerType": "transaction",
"input": {
"value": "u32"
}
},
"printBalance": {
"type": "action",
"triggerType": "transaction",
"input": {
"address": "Address"
}
},
"printDeposit": {
"type": "action",
"triggerType": "transaction",
"input": {
"amount": "u64",
"level": "u8"
}
},
"printSum": {
"type": "action",
"triggerType": "transaction",
"input": {}
},
"printTx": {
"type": "action",
"triggerType": "transaction",
"input": {
"address": "Address"
}
},
"tick": {
"type": "action",
"triggerType": "interval",
"triggerArgument": "*/5 * * * *",
"input": {}
},
"incAndSetJSONContent": {
"type": "action",
"triggerType": "transaction",
"input": {
"value": "u32",
"data": "Map"
}
},
"sendUCO": {
"type": "action",
"triggerType": "transaction",
"input": {
"to": "Address",
"amount": "u64"
}
},
"currentBalance": {
"type": "publicFunction",
"input": {}
},
"getFactorial": {
"type": "publicFunction",
"input": {
"from": "u64"
}
},
"ucoBalance": {
"type": "publicFunction",
"input": {
"address": "Address"
}
},
"coincoinBalance": {
"type": "publicFunction",
"input": {
"address": "Address"
}
},
"genesis": {
"type": "publicFunction",
"input": {
"address": "Address"
}
},
"first": {
"type": "publicFunction",
"input": {
"address": "Address"
}
},
"last": {
"type": "publicFunction",
"input": {
"address": "Address"
}
},
"burn": {
"type": "publicFunction",
"input": {}
},
"previous": {
"type": "publicFunction",
"input": {
"publicKey": "PublicKey"
}
},
"genesisPkey": {
"type": "publicFunction",
"input": {
"publicKey": "PublicKey"
}
},
"tx": {
"type": "publicFunction",
"input": {
"address": "Address"
}
},
"lastTx": {
"type": "publicFunction",
"input": {
"address": "Address"
}
},
"callFn": {
"type": "publicFunction",
"input": {
"address": "Address"
}
},
"hmac": {
"type": "publicFunction",
"input": {
"hex": "Hex"
}
},
"sign": {
"type": "publicFunction",
"input": {
"hex": "Hex"
}
},
"http": {
"type": "publicFunction",
"input": {
"str": "string"
}
},
"httpMany": {
"type": "publicFunction",
"input": {
"str": "string"
}
}
}
}
}

0 comments on commit 1d4f584

Please sign in to comment.