• Georgios Konstantopoulos's avatar
    pkg: l2geth (#21) · ee4e3739
    Georgios Konstantopoulos authored
    * pkg: import l2geth
    
    * chore: add l2geth tests submodule
    
    * ci: unit test l2geth
    
    * chore: skip Android tests
    
    * chore: cleanup ci
    ee4e3739
types.go 518 Bytes
package dump

import (
	"github.com/ethereum/go-ethereum/accounts/abi"
	"github.com/ethereum/go-ethereum/common"
)

type OvmDumpAccount struct {
	Address  common.Address         `json:"address"`
	Code     string                 `json:"code"`
	CodeHash string                 `json:"codeHash"`
	Storage  map[common.Hash]string `json:"storage"`
	ABI      abi.ABI                `json:"abi"`
	Nonce    uint64                 `json:"nonce"`
}

type OvmDump struct {
	Accounts map[string]OvmDumpAccount `json:"accounts"`
}