class EthereumContractABI::ContractInterface::EIP::ERC1155MetadataInterface
Public Class Methods
functions()
click to toggle source
# File lib/ethereum-contract-abi/contract/eip/erc1155_metadata_interface.rb, line 17 def self.functions [self.uri] end
is_implemented_by?(contract)
click to toggle source
# File lib/ethereum-contract-abi/contract/eip/erc1155_metadata_interface.rb, line 13 def self.is_implemented_by?(contract) contract.has_function?(self.uri) end
uri()
click to toggle source
# File lib/ethereum-contract-abi/contract/eip/erc1155_metadata_interface.rb, line 21 def self.uri function_name = 'uri' inputs = [Input.new('_id', AbiTypes::Uint.new)] outputs = [Output.new(AbiTypes::String.new)] Function.new(function_name, inputs, outputs) end