MCPcopy Create free account
hub / github.com/chain/txvm / logRetirement

Method logRetirement

protocol/txvm/log.go:55–57  ·  view source on GitHub ↗
(amount int64, assetID, anchor []byte)

Source from the content-addressed store, hash-verified

53}
54
55func (vm *VM) logRetirement(amount int64, assetID, anchor []byte) {
56 vm.log(Bytes{RetireCode}, Bytes(vm.contract.seed), Int(amount), Bytes(assetID), Bytes(anchor))
57}
58
59func (vm *VM) logIssuance(amount int64, assetID, anchor []byte) {
60 vm.log(Bytes{IssueCode}, Bytes(vm.caller), Int(amount), Bytes(assetID), Bytes(anchor))

Callers 1

opRetireFunction · 0.80

Calls 3

logMethod · 0.95
BytesTypeAlias · 0.85
IntTypeAlias · 0.85

Tested by

no test coverage detected