Coverage Summary for Class: ProgramInvoke (org.ethereum.vm.program.invoke)
1 /*
2 * This file is part of RskJ
3 * Copyright (C) 2017 RSK Labs Ltd.
4 * (derived from ethereumJ library, Copyright (c) 2016 <ether.camp>)
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 package org.ethereum.vm.program.invoke;
21
22 import org.ethereum.core.Repository;
23 import org.ethereum.db.BlockStore;
24 import org.ethereum.vm.DataWord;
25
26 /**
27 * @author Roman Mandeleil
28 * @since 03.06.2014
29 */
30 public interface ProgramInvoke extends InvokeData {
31
32 DataWord getBalance();
33
34 DataWord getOriginAddress();
35
36 DataWord getMinGasPrice();
37
38 DataWord getPrevHash();
39
40 DataWord getCoinbase();
41
42 DataWord getTimestamp();
43
44 DataWord getNumber();
45
46 DataWord getTransactionIndex();
47
48 DataWord getDifficulty();
49
50 DataWord getGaslimit();
51
52 boolean byTransaction();
53
54 boolean byTestingSuite();
55
56 int getCallDeep();
57
58 Repository getRepository();
59
60 BlockStore getBlockStore();
61
62 boolean isStaticCall();
63 }