MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / deductFees

Function deductFees

x/auth/ante.go:250–265  ·  view source on GitHub ↗

Deduct the fee from the account. We could use the CoinKeeper (in addition to the AccountKeeper, because the CoinKeeper doesn't give us accounts), but it seems easier to do this.

(acc Account, fee StdFee)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

NewAnteHandlerFunction · 0.85

Calls 5

GetCoinsMethod · 0.65
ResultMethod · 0.65
SetCoinsMethod · 0.65
MinusMethod · 0.45
IsNotNegativeMethod · 0.45

Tested by

no test coverage detected