MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / NewBaseAccount

Function NewBaseAccount

types/baseaccount.go:35–40  ·  view source on GitHub ↗

NewBaseAccount returns new instance.

(account *Account)

Source from the content-addressed store, hash-verified

33
34// NewBaseAccount returns new instance.
35func NewBaseAccount(account *Account) *BaseAccount {
36 return &BaseAccount{
37 Account: *account,
38 TransactionTypeMixin: *pi.NewTransactionTypeMixin(pi.TransactionTypeBaseAccount),
39 }
40}
41
42// GetAccountAddress implements interfaces/Transaction.GetAccountAddress.
43func (b *BaseAccount) GetAccountAddress() proto.AccountAddress {

Callers 5

TestChainFunction · 0.92
TestMetaStateFunction · 0.92
loadGenesisFunction · 0.92
TestBaseAccountFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestChainFunction · 0.74
TestMetaStateFunction · 0.74
TestBaseAccountFunction · 0.68