Documentation ¶
Index ¶
- type FakeAppState
- func (fas *FakeAppState) CreateAccount(creator *Account) *Account
- func (fas *FakeAppState) GetAccount(addr Word256) *Account
- func (fas *FakeAppState) GetStorage(addr Word256, key Word256) Word256
- func (fas *FakeAppState) RemoveAccount(account *Account)
- func (fas *FakeAppState) SetStorage(addr Word256, key Word256, value Word256)
- func (fas *FakeAppState) UpdateAccount(account *Account)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAppState ¶
type FakeAppState struct {
// contains filtered or unexported fields
}
func (*FakeAppState) CreateAccount ¶
func (fas *FakeAppState) CreateAccount(creator *Account) *Account
func (*FakeAppState) GetAccount ¶
func (fas *FakeAppState) GetAccount(addr Word256) *Account
func (*FakeAppState) GetStorage ¶
func (fas *FakeAppState) GetStorage(addr Word256, key Word256) Word256
func (*FakeAppState) RemoveAccount ¶
func (fas *FakeAppState) RemoveAccount(account *Account)
func (*FakeAppState) SetStorage ¶
func (fas *FakeAppState) SetStorage(addr Word256, key Word256, value Word256)
func (*FakeAppState) UpdateAccount ¶
func (fas *FakeAppState) UpdateAccount(account *Account)
Click to show internal directories.
Click to hide internal directories.