Files
api/packages/api-contract/test/contracts/incrementer.json
T
Jaco Greeff 4cba24c134 Create api-contract (baseline for useful interactions) (#1007)
* Create api-contract (baseline for useful interactions)

* Add CHANGELOG entry (breaking)
2019-06-14 13:48:53 +02:00

44 lines
950 B
JSON

{
"name": "Incrementer",
"deploy": {
"args": [
{
"name": "init_value",
"type": "u32"
}
]
},
"messages": [
{
"name": "inc",
"selector": 257544423,
"mutates": true,
"args": [
{
"name": "by",
"type": "u32"
}
],
"return_type": null
},
{
"name": "get",
"selector": 4266279973,
"mutates": false,
"args": [],
"return_type": "u32"
},
{
"name": "compare",
"selector": 363906316,
"mutates": false,
"args": [
{
"name": "with",
"type": "u32"
}
],
"return_type": "bool"
}
]
}