mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-04 19:12:05 +00:00
19 lines
413 B
Go
19 lines
413 B
Go
package state
|
|
|
|
import (
|
|
ac "github.com/tendermint/tendermint/account"
|
|
. "github.com/tendermint/tendermint/common"
|
|
"github.com/tendermint/tendermint/vm"
|
|
)
|
|
|
|
type AccountGetter interface {
|
|
GetAccount(addr []byte) *ac.Account
|
|
}
|
|
|
|
type VMAccountState interface {
|
|
GetAccount(addr Word256) *vm.Account
|
|
UpdateAccount(acc *vm.Account)
|
|
RemoveAccount(acc *vm.Account)
|
|
CreateAccount(creator *vm.Account) *vm.Account
|
|
}
|