Class: Mpp::Methods::Evm::Assets::Asset
- Inherits:
-
Struct
- Object
- Struct
- Mpp::Methods::Evm::Assets::Asset
- Defined in:
- lib/mpp/methods/evm/assets.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#chain_id ⇒ Object
Returns the value of attribute chain_id.
-
#decimals ⇒ Object
Returns the value of attribute decimals.
-
#name ⇒ Object
Returns the value of attribute name.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address
9 10 11 |
# File 'lib/mpp/methods/evm/assets.rb', line 9 def address @address end |
#chain_id ⇒ Object
Returns the value of attribute chain_id
9 10 11 |
# File 'lib/mpp/methods/evm/assets.rb', line 9 def chain_id @chain_id end |
#decimals ⇒ Object
Returns the value of attribute decimals
9 10 11 |
# File 'lib/mpp/methods/evm/assets.rb', line 9 def decimals @decimals end |
#name ⇒ Object
Returns the value of attribute name
9 10 11 |
# File 'lib/mpp/methods/evm/assets.rb', line 9 def name @name end |
#version ⇒ Object
Returns the value of attribute version
9 10 11 |
# File 'lib/mpp/methods/evm/assets.rb', line 9 def version @version end |
Instance Method Details
#network ⇒ Object
10 11 12 |
# File 'lib/mpp/methods/evm/assets.rb', line 10 def network "eip155:#{chain_id}" end |