|
|
@ -19,17 +19,18 @@ const ( |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
var ( |
|
|
|
var ( |
|
|
|
GasStep = big.NewInt(1) |
|
|
|
GasStep = big.NewInt(1) |
|
|
|
GasSha = big.NewInt(20) |
|
|
|
GasSha = big.NewInt(20) |
|
|
|
GasSLoad = big.NewInt(20) |
|
|
|
GasSLoad = big.NewInt(20) |
|
|
|
GasSStore = big.NewInt(100) |
|
|
|
GasSStore = big.NewInt(100) |
|
|
|
GasBalance = big.NewInt(20) |
|
|
|
GasSStoreRefund = big.NewInt(100) |
|
|
|
GasCreate = big.NewInt(100) |
|
|
|
GasBalance = big.NewInt(20) |
|
|
|
GasCall = big.NewInt(20) |
|
|
|
GasCreate = big.NewInt(100) |
|
|
|
GasMemory = big.NewInt(1) |
|
|
|
GasCall = big.NewInt(20) |
|
|
|
GasData = big.NewInt(5) |
|
|
|
GasMemory = big.NewInt(1) |
|
|
|
GasTx = big.NewInt(500) |
|
|
|
GasData = big.NewInt(5) |
|
|
|
GasLog = big.NewInt(32) |
|
|
|
GasTx = big.NewInt(500) |
|
|
|
|
|
|
|
GasLog = big.NewInt(32) |
|
|
|
|
|
|
|
|
|
|
|
Pow256 = ethutil.BigPow(2, 256) |
|
|
|
Pow256 = ethutil.BigPow(2, 256) |
|
|
|
|
|
|
|
|
|
|
|