java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Tvm.TransactionFees
- Record Components:
inMsgFwdFee- Deprecated. Left for backward compatibility. Does not participate in account transaction fees calculation.storageFee- Fee for account storagegasFee- Fee for processingoutMsgsFwdFee- Deprecated. Contains the same data as total_fwd_fees field. Deprecated because of its confusing name, that is not the same with GraphQL API Transaction type's field.totalAccountFees- Deprecated. This is the field that is named as `total_fees` in GraphQL API Transaction type. `total_account_fees` name is misleading, because it does not mean account fees, instead it meansvalidators total fees received for the transaction execution. It does not include some forward fees that accountactually pays now, but validators will receive later during value delivery to another account (not even in the receivingtransaction).Because of all of this, this field is not interesting for those who wants to understandthe real account fees, this is why it is deprecated and left for backward compatibility.totalOutput- Deprecated because it means total value sent in the transaction, which does not relate to any fees.extInMsgFee- Fee for inbound external message import.totalFwdFees- Total fees the account pays for message forwardingaccountFees- Total account fees for the transaction execution. Compounds of storage_fee + gas_fee + ext_in_msg_fee + total_fwd_fees
- Enclosing class:
Tvm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountFeesrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theextInMsgFeerecord component.gasFee()Returns the value of thegasFeerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinMsgFwdFeerecord component.Returns the value of theoutMsgsFwdFeerecord component.Returns the value of thestorageFeerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetotalAccountFeesrecord component.Returns the value of thetotalFwdFeesrecord component.Returns the value of thetotalOutputrecord component.
-
Constructor Details
-
TransactionFees
public TransactionFees(Long inMsgFwdFee, Long storageFee, Long gasFee, Long outMsgsFwdFee, Long totalAccountFees, Long totalOutput, Long extInMsgFee, Long totalFwdFees, Long accountFees) Creates an instance of aTransactionFeesrecord class.- Parameters:
inMsgFwdFee- the value for theinMsgFwdFeerecord componentstorageFee- the value for thestorageFeerecord componentgasFee- the value for thegasFeerecord componentoutMsgsFwdFee- the value for theoutMsgsFwdFeerecord componenttotalAccountFees- the value for thetotalAccountFeesrecord componenttotalOutput- the value for thetotalOutputrecord componentextInMsgFee- the value for theextInMsgFeerecord componenttotalFwdFees- the value for thetotalFwdFeesrecord componentaccountFees- the value for theaccountFeesrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
inMsgFwdFee
Returns the value of theinMsgFwdFeerecord component.- Returns:
- the value of the
inMsgFwdFeerecord component
-
storageFee
Returns the value of thestorageFeerecord component.- Returns:
- the value of the
storageFeerecord component
-
gasFee
Returns the value of thegasFeerecord component.- Returns:
- the value of the
gasFeerecord component
-
outMsgsFwdFee
Returns the value of theoutMsgsFwdFeerecord component.- Returns:
- the value of the
outMsgsFwdFeerecord component
-
totalAccountFees
Returns the value of thetotalAccountFeesrecord component.- Returns:
- the value of the
totalAccountFeesrecord component
-
totalOutput
Returns the value of thetotalOutputrecord component.- Returns:
- the value of the
totalOutputrecord component
-
extInMsgFee
Returns the value of theextInMsgFeerecord component.- Returns:
- the value of the
extInMsgFeerecord component
-
totalFwdFees
Returns the value of thetotalFwdFeesrecord component.- Returns:
- the value of the
totalFwdFeesrecord component
-
accountFees
Returns the value of theaccountFeesrecord component.- Returns:
- the value of the
accountFeesrecord component
-