Module: MVM

Defined in:
lib/mvm.rb,
lib/mvm/nft.rb,
lib/mvm/scan.rb,
lib/mvm/bridge.rb,
lib/mvm/client.rb,
lib/mvm/registry.rb

Defined Under Namespace

Classes: Bridge, Client, Error, HttpError, Nft, Registry, ResponseError, Scan

Constant Summary collapse

RPC_URL =
'https://geth.mvm.dev'
MIRROR_ADDRESS =
'0xC193486e6Bf3E8461cb8fcdF178676a5D75c066A'
REGISTRY_ADDRESS =
'0x3c84B6C98FBeB813e05a7A7813F0442883450B1F'

Class Method Summary collapse

Class Method Details

.bridgeObject



21
22
23
# File 'lib/mvm.rb', line 21

def self.bridge
  @bridge ||= MVM::Bridge.new
end

.nft(**params) ⇒ Object



25
26
27
# File 'lib/mvm.rb', line 25

def self.nft(**params)
  @nft ||= MVM::Nft.new(**params)
end

.registry(**params) ⇒ Object



33
34
35
# File 'lib/mvm.rb', line 33

def self.registry(**params)
  @registry ||= MVM::Registry.new(**params)
end

.scanObject



29
30
31
# File 'lib/mvm.rb', line 29

def self.scan
  @scan ||= MVM::Scan.new
end