MCPcopy
hub / github.com/canopy-network/canopy / FeeParams

Struct FeeParams

fsm/gov.pb.go:537–573  ·  view source on GitHub ↗

FeeParams is the parameter space that defines various amounts for transaction fees

Source from the content-addressed store, hash-verified

535
536// FeeParams is the parameter space that defines various amounts for transaction fees
537type FeeParams struct {
538 state protoimpl.MessageState `protogen:"open.v1"`
539 // send_fee: is the fee amount (in uCNPY) for Message Send
540 SendFee uint64 `protobuf:"varint,1,opt,name=send_fee,json=sendFee,proto3" json:"sendFee"` // @gotags: json:"sendFee"
541 // stake_fee: is the fee amount (in uCNPY) for Message Stake
542 StakeFee uint64 `protobuf:"varint,2,opt,name=stake_fee,json=stakeFee,proto3" json:"stakeFee"` // @gotags: json:"stakeFee"
543 // edit_stake_fee: is the fee amount (in uCNPY) for Message Edit-Stake
544 EditStakeFee uint64 `protobuf:"varint,3,opt,name=edit_stake_fee,json=editStakeFee,proto3" json:"editStakeFee"` // @gotags: json:"editStakeFee"
545 // unstake_stake_fee: is the fee amount (in uCNPY) for Message Unstake
546 UnstakeFee uint64 `protobuf:"varint,4,opt,name=unstake_fee,json=unstakeFee,proto3" json:"unstakeFee"` // @gotags: json:"unstakeFee"
547 // pause_fee: is the fee amount (in uCNPY) for Message Pause
548 PauseFee uint64 `protobuf:"varint,5,opt,name=pause_fee,json=pauseFee,proto3" json:"pauseFee"` // @gotags: json:"pauseFee"
549 // unpause_fee: is the fee amount (in uCNPY) for Message Unpause
550 UnpauseFee uint64 `protobuf:"varint,6,opt,name=unpause_fee,json=unpauseFee,proto3" json:"unpauseFee"` // @gotags: json:"unpauseFee"
551 // change_parameter_fee: is the fee amount (in uCNPY) for Message Change Parameter
552 ChangeParameterFee uint64 `protobuf:"varint,7,opt,name=change_parameter_fee,json=changeParameterFee,proto3" json:"changeParameterFee"` // @gotags: json:"changeParameterFee"
553 // dao_transfer: is the fee amount (in uCNPY) for Message DAO transfer
554 DaoTransferFee uint64 `protobuf:"varint,8,opt,name=dao_transfer_fee,json=daoTransferFee,proto3" json:"daoTransferFee"` // @gotags: json:"daoTransferFee"
555 // certificate_results_fee: is the fee amount (in uCNPY) for Message Certificate Results
556 CertificateResultsFee uint64 `protobuf:"varint,9,opt,name=certificate_results_fee,json=certificateResultsFee,proto3" json:"certificateResultsFee"` // @gotags: json:"certificateResultsFee"
557 // subsidy_fee: is the fee amount (in uCNPY) for Message Subsidy
558 SubsidyFee uint64 `protobuf:"varint,10,opt,name=subsidy_fee,json=subsidyFee,proto3" json:"subsidyFee"` // @gotags: json:"subsidyFee"
559 // create_order_fee: is the fee amount (in uCNPY) for Message Create Order
560 CreateOrderFee uint64 `protobuf:"varint,11,opt,name=create_order_fee,json=createOrderFee,proto3" json:"createOrderFee"` // @gotags: json:"createOrderFee"
561 // edit_order_fee: is the fee amount (in uCNPY) for Message Edit Order
562 EditOrderFee uint64 `protobuf:"varint,12,opt,name=edit_order_fee,json=editOrderFee,proto3" json:"editOrderFee"` // @gotags: json:"editOrderFee"
563 // delete_order_fee: is the fee amount (in uCNPY) for Message Delete Order
564 DeleteOrderFee uint64 `protobuf:"varint,13,opt,name=delete_order_fee,json=deleteOrderFee,proto3" json:"deleteOrderFee"` // @gotags: json:"deleteOrderFee"
565 // dex_limit_order_fee: is the fee amount (in uCNPY) for Message Dex Limit Order
566 DexLimitOrderFee uint64 `protobuf:"varint,14,opt,name=dex_limit_order_fee,json=dexLimitOrderFee,proto3" json:"dexLimitOrderFee"` // @gotags: json:"dexLimitOrderFee"
567 // dex_liquidity_deposit_fee: is the fee amount (in uCNPY) for Message Dex Liquidity Deposit
568 DexLiquidityDepositFee uint64 `protobuf:"varint,15,opt,name=dex_liquidity_deposit_fee,json=dexLiquidityDepositFee,proto3" json:"dexLiquidityDeposit"` // @gotags: json:"dexLiquidityDeposit"
569 // dex_liquidity_withdraw: is the fee amount (in uCNPY) for Message Dex Liquidity Withdraw
570 DexLiquidityWithdrawFee uint64 `protobuf:"varint,16,opt,name=dex_liquidity_withdraw_fee,json=dexLiquidityWithdrawFee,proto3" json:"dexLiquidityWithdraw"` // @gotags: json:"dexLiquidityWithdraw"
571 unknownFields protoimpl.UnknownFields
572 sizeCache protoimpl.SizeCache
573}
574
575func (x *FeeParams) Reset() {
576 *x = FeeParams{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected