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

Method decreaseAccountStableBalance

blockproducer/metastate.go:292–294  ·  view source on GitHub ↗
(k proto.AccountAddress, amount uint64)

Source from the content-addressed store, hash-verified

290}
291
292func (s *metaState) decreaseAccountStableBalance(k proto.AccountAddress, amount uint64) error {
293 return s.decreaseAccountToken(k, amount, types.Particle)
294}
295
296func (s *metaState) transferAccountToken(transfer *types.Transfer) (err error) {
297 if transfer.Signee == nil {

Callers 2

updateProviderListMethod · 0.95
TestMetaStateFunction · 0.80

Calls 1

decreaseAccountTokenMethod · 0.95

Tested by 1

TestMetaStateFunction · 0.64