class Minter::RedeemCheckTx
Attributes
chain_id[RW]
check[RW]
gas_coin[RW]
gas_price[RW]
nonce[RW]
proof[RW]
Public Class Methods
new(check:, proof:, nonce:, chain_id:, gas_coin:, gas_price:)
click to toggle source
# File lib/minter/transactions/redeem_check_tx.rb, line 7 def initialize(check:, proof:, nonce:, chain_id:, gas_coin:, gas_price:) # rubocop:disable Metrics/ParameterLists @check = check @proof = proof @nonce = nonce @chain_id = chain_id @gas_coin = gas_coin @gas_price = gas_price end
Public Instance Methods
to_params()
click to toggle source
# File lib/minter/transactions/redeem_check_tx.rb, line 16 def to_params { Check: check, Proof: proof, Nonce: nonce, ChainId: chain_id, GasCoin: gas_coin, GasPrice: gas_price } end