Class: Mooncats
- Inherits:
-
Ethlite::Contract
- Object
- Ethlite::Contract
- Mooncats
- Defined in:
- lib/ethlite/contracts/mooncats.rb
Instance Method Summary collapse
-
#adoptionOffers(arg0) ⇒ Object
function adoptionOffers(bytes5 _) ⇒ (bool exists, bytes5 catId, address seller, uint256 price, address onlyOfferTo) readonly.
-
#adoptionRequests(arg0) ⇒ Object
function adoptionRequests(bytes5 _) ⇒ (bool exists, bytes5 catId, address requester, uint256 price) readonly.
-
#balanceOf(arg0) ⇒ Object
function balanceOf(address _) ⇒ (uint256 _) readonly.
-
#catNames(arg0) ⇒ Object
function catNames(bytes5 _) ⇒ (bytes32 _) readonly.
-
#catOwners(arg0) ⇒ Object
function catOwners(bytes5 _) ⇒ (address _) readonly.
-
#decimals ⇒ Object
function decimals() ⇒ (uint8 _) readonly.
-
#getCatDetails(catId) ⇒ Object
function getCatDetails(bytes5 catId) ⇒ (bytes5 id, address owner, bytes32 name, address onlyOfferTo, uint256 offerPrice, address requester, uint256 requestPrice) readonly.
-
#getCatIds ⇒ Object
function getCatIds() ⇒ (bytes5[] _) readonly.
-
#getCatNames ⇒ Object
function getCatNames() ⇒ (bytes32[] _) readonly.
-
#getCatOfferPrices ⇒ Object
function getCatOfferPrices() ⇒ (uint256[] _) readonly.
-
#getCatOwners ⇒ Object
function getCatOwners() ⇒ (address[] _) readonly.
-
#getCatRequestPrices ⇒ Object
function getCatRequestPrices() ⇒ (uint256[] _) readonly.
-
#imageGenerationCodeMD5 ⇒ Object
function imageGenerationCodeMD5() ⇒ (bytes16 _) readonly.
-
#mode ⇒ Object
function mode() ⇒ (uint8 _) readonly.
-
#name ⇒ Object
function name() ⇒ (string _) readonly.
-
#pendingWithdrawals(arg0) ⇒ Object
function pendingWithdrawals(address _) ⇒ (uint256 _) readonly.
-
#remainingCats ⇒ Object
function remainingCats() ⇒ (uint16 _) readonly.
-
#remainingGenesisCats ⇒ Object
function remainingGenesisCats() ⇒ (uint16 _) readonly.
-
#rescueIndex ⇒ Object
function rescueIndex() ⇒ (uint16 _) readonly.
-
#rescueOrder(arg0) ⇒ Object
function rescueOrder(uint256 _) ⇒ (bytes5 _) readonly.
-
#searchSeed ⇒ Object
function searchSeed() ⇒ (bytes32 _) readonly.
-
#symbol ⇒ Object
function symbol() ⇒ (string _) readonly.
-
#totalSupply ⇒ Object
function totalSupply() ⇒ (uint256 _) readonly.
Methods inherited from Ethlite::Contract
address, at, default_address, #do_call, #initialize, methods, sig
Constructor Details
This class inherits a constructor from Ethlite::Contract
Instance Method Details
#adoptionOffers(arg0) ⇒ Object
function adoptionOffers(bytes5 _) ⇒ (bool exists, bytes5 catId, address seller, uint256 price, address onlyOfferTo) readonly
91 92 93 |
# File 'lib/ethlite/contracts/mooncats.rb', line 91 def adoptionOffers(arg0) do_call("adoptionOffers", arg0) end |
#adoptionRequests(arg0) ⇒ Object
function adoptionRequests(bytes5 _) ⇒ (bool exists, bytes5 catId, address requester, uint256 price) readonly
127 128 129 |
# File 'lib/ethlite/contracts/mooncats.rb', line 127 def adoptionRequests(arg0) do_call("adoptionRequests", arg0) end |
#balanceOf(arg0) ⇒ Object
function balanceOf(address _) ⇒ (uint256 _) readonly
79 80 81 |
# File 'lib/ethlite/contracts/mooncats.rb', line 79 def balanceOf(arg0) do_call("balanceOf", arg0) end |
#catNames(arg0) ⇒ Object
function catNames(bytes5 _) ⇒ (bytes32 _) readonly
97 98 99 |
# File 'lib/ethlite/contracts/mooncats.rb', line 97 def catNames(arg0) do_call("catNames", arg0) end |
#catOwners(arg0) ⇒ Object
function catOwners(bytes5 _) ⇒ (address _) readonly
61 62 63 |
# File 'lib/ethlite/contracts/mooncats.rb', line 61 def catOwners(arg0) do_call("catOwners", arg0) end |
#decimals ⇒ Object
function decimals() ⇒ (uint8 _) readonly
49 50 51 |
# File 'lib/ethlite/contracts/mooncats.rb', line 49 def decimals() do_call("decimals") end |
#getCatDetails(catId) ⇒ Object
function getCatDetails(bytes5 catId) ⇒ (bytes5 id, address owner, bytes32 name, address onlyOfferTo, uint256 offerPrice, address requester, uint256 requestPrice) readonly
43 44 45 |
# File 'lib/ethlite/contracts/mooncats.rb', line 43 def getCatDetails(catId) do_call("getCatDetails", catId) end |
#getCatIds ⇒ Object
function getCatIds() ⇒ (bytes5[] _) readonly
73 74 75 |
# File 'lib/ethlite/contracts/mooncats.rb', line 73 def getCatIds() do_call("getCatIds") end |
#getCatNames ⇒ Object
function getCatNames() ⇒ (bytes32[] _) readonly
85 86 87 |
# File 'lib/ethlite/contracts/mooncats.rb', line 85 def getCatNames() do_call("getCatNames") end |
#getCatOfferPrices ⇒ Object
function getCatOfferPrices() ⇒ (uint256[] _) readonly
133 134 135 |
# File 'lib/ethlite/contracts/mooncats.rb', line 133 def getCatOfferPrices() do_call("getCatOfferPrices") end |
#getCatOwners ⇒ Object
function getCatOwners() ⇒ (address[] _) readonly
55 56 57 |
# File 'lib/ethlite/contracts/mooncats.rb', line 55 def getCatOwners() do_call("getCatOwners") end |
#getCatRequestPrices ⇒ Object
function getCatRequestPrices() ⇒ (uint256[] _) readonly
109 110 111 |
# File 'lib/ethlite/contracts/mooncats.rb', line 109 def getCatRequestPrices() do_call("getCatRequestPrices") end |
#imageGenerationCodeMD5 ⇒ Object
function imageGenerationCodeMD5() ⇒ (bytes16 _) readonly
121 122 123 |
# File 'lib/ethlite/contracts/mooncats.rb', line 121 def imageGenerationCodeMD5() do_call("imageGenerationCodeMD5") end |
#mode ⇒ Object
function mode() ⇒ (uint8 _) readonly
37 38 39 |
# File 'lib/ethlite/contracts/mooncats.rb', line 37 def mode() do_call("mode") end |
#name ⇒ Object
function name() ⇒ (string _) readonly
13 14 15 |
# File 'lib/ethlite/contracts/mooncats.rb', line 13 def name() do_call("name") end |
#pendingWithdrawals(arg0) ⇒ Object
function pendingWithdrawals(address _) ⇒ (uint256 _) readonly
145 146 147 |
# File 'lib/ethlite/contracts/mooncats.rb', line 145 def pendingWithdrawals(arg0) do_call("pendingWithdrawals", arg0) end |
#remainingCats ⇒ Object
function remainingCats() ⇒ (uint16 _) readonly
31 32 33 |
# File 'lib/ethlite/contracts/mooncats.rb', line 31 def remainingCats() do_call("remainingCats") end |
#remainingGenesisCats ⇒ Object
function remainingGenesisCats() ⇒ (uint16 _) readonly
19 20 21 |
# File 'lib/ethlite/contracts/mooncats.rb', line 19 def remainingGenesisCats() do_call("remainingGenesisCats") end |
#rescueIndex ⇒ Object
function rescueIndex() ⇒ (uint16 _) readonly
139 140 141 |
# File 'lib/ethlite/contracts/mooncats.rb', line 139 def rescueIndex() do_call("rescueIndex") end |
#rescueOrder(arg0) ⇒ Object
function rescueOrder(uint256 _) ⇒ (bytes5 _) readonly
67 68 69 |
# File 'lib/ethlite/contracts/mooncats.rb', line 67 def rescueOrder(arg0) do_call("rescueOrder", arg0) end |
#searchSeed ⇒ Object
function searchSeed() ⇒ (bytes32 _) readonly
115 116 117 |
# File 'lib/ethlite/contracts/mooncats.rb', line 115 def searchSeed() do_call("searchSeed") end |
#symbol ⇒ Object
function symbol() ⇒ (string _) readonly
103 104 105 |
# File 'lib/ethlite/contracts/mooncats.rb', line 103 def symbol() do_call("symbol") end |
#totalSupply ⇒ Object
function totalSupply() ⇒ (uint256 _) readonly
25 26 27 |
# File 'lib/ethlite/contracts/mooncats.rb', line 25 def totalSupply() do_call("totalSupply") end |