-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscenario.json
173 lines (173 loc) · 10.3 KB
/
scenario.json
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
{
"accounts": {
"account{0}": "0x70f05ac013d559e8c91f9b1d01f180ee3423d102"
},
"linkReferences": {},
"transactions": [
{
"timestamp": 1575724966800,
"record": {
"value": "0",
"parameters": [],
"abi": "0x5037e1a5e02e081b1b850b130eca7ac17335fdf4c61cc5ff6ae765196fb0d5b3",
"contractName": "PoC_Bioid_Auth",
"bytecode": "60a06040819052600060808190526100199160019161006a565b506040805160208101918290526000908190526100389160029161006a565b506040805160208101918290526000908190526100579160039161006a565b5034801561006457600080fd5b50610105565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100ab57805160ff19168380011785556100d8565b828001600101855582156100d8579182015b828111156100d85782518255916020019190600101906100bd565b506100e49291506100e8565b5090565b61010291905b808211156100e457600081556001016100ee565b90565b610b82806101146000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80634a44652f1461005c5780634ae060981461011c5780639ee965f314610351578063c56d67d51461046a578063e01d4aac1461050e575b600080fd5b6101006004803603602081101561007257600080fd5b810190602081018135600160201b81111561008c57600080fd5b82018360208201111561009e57600080fd5b803590602001918460018302840111600160201b831117156100bf57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506105b2945050505050565b604080516001600160a01b039092168252519081900360200190f35b61034f6004803603608081101561013257600080fd5b810190602081018135600160201b81111561014c57600080fd5b82018360208201111561015e57600080fd5b803590602001918460018302840111600160201b8311171561017f57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156101d157600080fd5b8201836020820111156101e357600080fd5b803590602001918460018302840111600160201b8311171561020457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561025657600080fd5b82018360208201111561026857600080fd5b803590602001918460018302840111600160201b8311171561028957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156102db57600080fd5b8201836020820111156102ed57600080fd5b803590602001918460018302840111600160201b8311171561030e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610622945050505050565b005b6103f56004803603602081101561036757600080fd5b810190602081018135600160201b81111561038157600080fd5b82018360208201111561039357600080fd5b803590602001918460018302840111600160201b831117156103b457600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061095c945050505050565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561042f578181015183820152602001610417565b50505050905090810190601f16801561045c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103f56004803603602081101561048057600080fd5b810190602081018135600160201b81111561049a57600080fd5b8201836020820111156104ac57600080fd5b803590602001918460018302840111600160201b831117156104cd57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506109f3945050505050565b6103f56004803603602081101561052457600080fd5b810190602081018135600160201b81111561053e57600080fd5b82018360208201111561055057600080fd5b803590602001918460018302840111600160201b8311171561057157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610a54945050505050565b600080826040518082805190602001908083835b602083106105e55780518252601f1990920191602091820191016105c6565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220546001600160a01b0316949350505050565b60208451111561063157600080fd5b600284511161063f57600080fd5b8251610652906002906020860190610ab2565b508151610666906001906020850190610ab2565b50805161067a906003906020840190610ab2565b5060006001600160a01b03166000856040518082805190602001908083835b602083106106b85780518252601f199092019160209182019101610699565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220546001600160a01b03169290921491506106fe905057600080fd5b336000856040518082805190602001908083835b602083106107315780518252601f199092019160209182019101610712565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a8154816001600160a01b0302191690836001600160a01b031602179055507f28acd5dafedc887cacd68fedb3af7d3aec6f67cc158f7180e4dd523b468cb9a9848484846040518080602001806020018060200180602001858103855289818151815260200191508051906020019080838360005b838110156107f65781810151838201526020016107de565b50505050905090810190601f1680156108235780820380516001836020036101000a031916815260200191505b5085810384528851815288516020918201918a019080838360005b8381101561085657818101518382015260200161083e565b50505050905090810190601f1680156108835780820380516001836020036101000a031916815260200191505b50858103835287518152875160209182019189019080838360005b838110156108b657818101518382015260200161089e565b50505050905090810190601f1680156108e35780820380516001836020036101000a031916815260200191505b50858103825286518152865160209182019188019080838360005b838110156109165781810151838201526020016108fe565b50505050905090810190601f1680156109435780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390a150505050565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156109e75780601f106109bc576101008083540402835291602001916109e7565b820191906000526020600020905b8154815290600101906020018083116109ca57829003601f168201915b50505050509050919050565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109e75780601f106109bc576101008083540402835291602001916109e7565b60028054604080516020601f60001961010060018716150201909416859004938401819004810282018101909252828152606093909290918301828280156109e75780601f106109bc576101008083540402835291602001916109e7565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610af357805160ff1916838001178555610b20565b82800160010185558215610b20579182015b82811115610b20578251825591602001919060010190610b05565b50610b2c929150610b30565b5090565b610b4a91905b80821115610b2c5760008155600101610b36565b9056fea265627a7a723058205a34ed9d4d134f67fc0e71cfbb00983f03baa2cd7466b7fbdac8b4254d6a2ee764736f6c634300050a0032",
"linkReferences": {},
"name": "",
"inputs": "()",
"type": "constructor",
"from": "account{0}"
}
},
{
"timestamp": 1575725189750,
"record": {
"value": "0",
"parameters": [
"User1",
"27d9cc31c89219a4f446cd951213eb9b66cd142a501050981ac559e885196b2e",
"http://example.com/ibv1",
"931c14db5d095dbe9740285cc42aac4942ef7196a7cdd5bb35916b550d6e56d1"
],
"to": "created{undefined}",
"name": "createAccount",
"inputs": "(string,string,string,string)",
"type": "function",
"from": "account{0}"
}
}
],
"abis": {
"0x5037e1a5e02e081b1b850b130eca7ac17335fdf4c61cc5ff6ae765196fb0d5b3": [
{
"constant": false,
"inputs": [
{
"name": "_Login",
"type": "string"
},
{
"name": "_IBV1CloudHash",
"type": "string"
},
{
"name": "_IBV1CloudLink",
"type": "string"
},
{
"name": "_IBV2LocalHash",
"type": "string"
}
],
"name": "createAccount",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "Login",
"type": "string"
},
{
"indexed": false,
"name": "IBV1CloudHash",
"type": "string"
},
{
"indexed": false,
"name": "IBV1CloudLink",
"type": "string"
},
{
"indexed": false,
"name": "IBV2LocalHash",
"type": "string"
}
],
"name": "Create",
"type": "event"
},
{
"constant": true,
"inputs": [
{
"name": "Login",
"type": "string"
}
],
"name": "GetIBV1CloudHash",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "Login",
"type": "string"
}
],
"name": "GetIBV1CloudLink",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "Login",
"type": "string"
}
],
"name": "GetIBV2LocalHash",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "Login",
"type": "string"
}
],
"name": "GetUserBlockchainAddress",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
}
]
}
}