Skip to content

Instantly share code, notes, and snippets.

@zhfnjust
Created June 1, 2021 12:50
Show Gist options
  • Save zhfnjust/026f9f4612693afc73d7e211f1a7d3f1 to your computer and use it in GitHub Desktop.
Save zhfnjust/026f9f4612693afc73d7e211f1a7d3f1 to your computer and use it in GitHub Desktop.
{
"version": 3,
"compilerVersion": "0.4.3+commit.5c8a86d",
"contract": "Demo",
"md5": "0c4f4b3e2ba282b171f8d1f0685c55b4",
"buildTypes": "debug",
"structs": [],
"alias": [],
"abi": [
{
"type": "function",
"name": "add",
"index": 0,
"params": [
{
"name": "z",
"type": "int"
}
]
},
{
"type": "function",
"name": "sub",
"index": 1,
"params": [
{
"name": "z",
"type": "int"
}
]
},
{
"type": "constructor",
"params": [
{
"name": "x",
"type": "int"
},
{
"name": "y",
"type": "int"
}
]
}
],
"file": "file:///c:/Users/myland/code/boilerplate/contracts/demo.scrypt",
"asm": "OP_NOP OP_0 OP_0 $x $y OP_1 OP_PICK OP_4 OP_ROLL OP_DROP OP_3 OP_ROLL OP_3 OP_ROLL OP_3 OP_ROLL OP_0 OP_PICK OP_3 OP_ROLL OP_DROP OP_2 OP_ROLL OP_2 OP_ROLL OP_DROP OP_DROP OP_NOP OP_2 OP_PICK OP_0 OP_EQUAL OP_IF OP_3 OP_PICK OP_NOP OP_2 OP_PICK OP_2 OP_PICK OP_1 OP_PICK OP_1 OP_PICK OP_ADD OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_NUMEQUAL OP_NIP OP_NIP OP_NIP OP_NIP OP_ELSE OP_2 OP_PICK OP_1 OP_EQUAL OP_IF OP_3 OP_PICK OP_2 OP_PICK OP_2 OP_PICK OP_SUB OP_NUMEQUAL OP_NIP OP_NIP OP_NIP OP_NIP OP_ELSE OP_0 OP_ENDIF OP_ENDIF",
"sources": [
"c:\\Users\\myland\\code\\boilerplate\\contracts\\demo.scrypt"
],
"sourceMap": [
"-1:1:1:1:1#Demo.constructor:0",
"0:2:5:2:10",
"0:3:5:3:10",
"0:5:17:5:22",
"0:5:24:5:29",
"0:6:18:6:19",
"0:6:18:6:19",
"0:6:9:6:16",
"0:6:9:6:16",
"0:6:9:6:16",
"0:6:9:6:16",
"0:6:9:6:16",
"0:6:9:6:16",
"0:6:9:6:16",
"0:6:9:6:16",
"0:6:9:6:16",
"0:7:18:7:19",
"0:7:18:7:19",
"0:7:9:7:16",
"0:7:9:7:16",
"0:7:9:7:16",
"0:7:9:7:16",
"0:7:9:7:16",
"0:7:9:7:16",
"0:7:9:7:16",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1#Demo.constructor:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"0:15:17:15:18",
"0:15:17:15:18",
"0:15:22:15:46#Demo.sum:0",
"0:15:31:15:37",
"0:15:31:15:37",
"0:15:39:15:45",
"0:15:39:15:45",
"0:11:16:11:17",
"0:11:16:11:17",
"0:11:20:11:21",
"0:11:20:11:21",
"0:11:16:11:21",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"0:15:22:15:46#Demo.sum:1",
"0:15:17:15:46",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"0:19:17:19:18",
"0:19:17:19:18",
"0:19:22:19:29",
"0:19:22:19:29",
"0:19:31:19:37",
"0:19:31:19:37",
"0:19:22:19:37",
"0:19:17:19:37",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1",
"-1:1:1:1:1"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment