Skip to content

Instantly share code, notes, and snippets.

@satellitex
Created June 13, 2019 03:12
Show Gist options
  • Save satellitex/53ece7821ffd2b2d0a0b66ef336200da to your computer and use it in GitHub Desktop.
Save satellitex/53ece7821ffd2b2d0a0b66ef336200da to your computer and use it in GitHub Desktop.
{
"name": "Commitment",
"deploy": {
"args": []
},
"messages": [
{
"name": "current_block",
"selector": 2801424613,
"mutates": false,
"args": [],
"return_type": "u128"
},
{
"name": "block_hash",
"selector": 2682711073,
"mutates": false,
"args": [
{
"name": "number",
"type": "u128"
}
],
"return_type": {
"Vec<T>": {
"T": "u8"
}
}
},
{
"name": "submit_block",
"selector": 1802094965,
"mutates": true,
"args": [
{
"name": "header",
"type": {
"Vec<T>": {
"T": "u8"
}
}
}
],
"return_type": null
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment