|
|
@ -5,6 +5,7 @@ import ( |
|
|
|
"fmt" |
|
|
|
"fmt" |
|
|
|
"github.com/ethereum/eth-go/ethchain" |
|
|
|
"github.com/ethereum/eth-go/ethchain" |
|
|
|
"github.com/ethereum/eth-go/ethcrypto" |
|
|
|
"github.com/ethereum/eth-go/ethcrypto" |
|
|
|
|
|
|
|
"github.com/ethereum/eth-go/ethtrie" |
|
|
|
"github.com/ethereum/eth-go/ethutil" |
|
|
|
"github.com/ethereum/eth-go/ethutil" |
|
|
|
"strings" |
|
|
|
"strings" |
|
|
|
) |
|
|
|
) |
|
|
@ -212,6 +213,10 @@ func (c *PStateObject) IsContract() bool { |
|
|
|
return false |
|
|
|
return false |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (self *PStateObject) EachStorage(cb ethtrie.EachCallback) { |
|
|
|
|
|
|
|
self.object.State().EachStorage(cb) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
type KeyVal struct { |
|
|
|
type KeyVal struct { |
|
|
|
Key string |
|
|
|
Key string |
|
|
|
Value string |
|
|
|
Value string |
|
|
|