Contract

/

/

Contract

Hash

Name

Version

Parameters

Return Type

Uses Storage

Author

Email

Description

Author Address

ce3a97d7cfaa770a5e51c5b12cd1d015fbb5f87d

AgencyContract

2.0.1-preview2

Hash160, Hash256, Hash256, Hash160, Boolean, Integer, Signature

Boolean

No

Erik Zhang

erik@antshares.org

Agency Contract 2.0

Network Fee: 0 GAS

System Fee: 500 GAS

0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
PUSH6
PICK
PUSH4
ROLL
CHECKSIG
JMPIFNOT 8
PUSH1
TOALTSTACK
JMP 658
PUSH5
ROLL
SWAP
CHECKSIG
JMPIF 8
PUSH0
TOALTSTACK
JMP 646
PUSH2
PICK
JMPIF 4
SWAP
PUSH0
PUSH0
SYSCALL System.ExecutionEngine.GetScriptContainer
SYSCALL AntShares.Transaction.GetReferences
DUP
ARRAYSIZE
PUSH0
OVER
OVER
NUMEQUAL
JMPIF 167
PUSH2
PICK
OVER
PICKITEM
DUP
SYSCALL AntShares.Output.GetScriptHash
SYSCALL System.ExecutionEngine.GetEntryScriptHash
EQUAL
JMPIFNOT 78
DUP
SYSCALL AntShares.Output.GetAssetId
PUSH7
PICK
EQUAL
JMPIF 8
PUSH0
TOALTSTACK
JMP 424
DUP
SYSCALL AntShares.Output.GetValue
PUSH5
PICK
ADD
PUSH5
XSWAP
DROP
DROP
INC
JMP -167
DROP
DROP
DROP
SYSCALL System.ExecutionEngine.GetScriptContainer
SYSCALL AntShares.Transaction.GetOutputs
DUP
ARRAYSIZE
PUSH0
OVER
OVER
NUMEQUAL
JMPIF 235
PUSH2
PICK
OVER
PICKITEM
DUP
SYSCALL AntShares.Output.GetScriptHash
SYSCALL System.ExecutionEngine.GetEntryScriptHash
EQUAL
JMPIFNOT 146
DUP
SYSCALL AntShares.Output.GetAssetId
PUSH7
PICK
EQUAL
JMPIFNOT 40
PUSH4
PICK
OVER
SYSCALL AntShares.Output.GetValue
SUB
PUSH5
XSWAP
DROP
JMP 73
DUP
SYSCALL AntShares.Output.GetAssetId
PUSH8
PICK
EQUAL
JMPIFNOT 37
PUSH5
PICK
OVER
SYSCALL AntShares.Output.GetValue
ADD
PUSH6
XSWAP
DROP
DROP
INC
JMP -235
DROP
DROP
DROP
DUP
PUSH0
LTE
JMPIFNOT 8
PUSH1
TOALTSTACK
JMP 50
PUSH4
ROLL
JMPIFNOT 22
PUSH4
ROLL
MUL
SWAP
PUSHBYTES4 0x00e1f505
MUL
GT
JMPIFNOT 27
PUSH0
TOALTSTACK
JMP 26
PUSHBYTES4 0x00e1f505
MUL
SWAP
PUSH4
ROLL
MUL
GT
JMPIFNOT 8
PUSH0
TOALTSTACK
JMP 7
DROP
DROP
PUSH1
RET
DEPTH
JMPIFNOT 7
DROP
JMP -5
FROMALTSTACK
RET
NEO Tracker © 2017