Last active
April 12, 2022 03:28
-
-
Save nalinbhardwaj/e63a4183e9ab5bc875f4df6664366f6f to your computer and use it in GitHub Desktop.
exgrasia abi testing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"inputs": [], | |
"name": "logger", | |
"outputs": [ | |
{ "internalType": "string", "name": "", "type": "string" }, | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "logger_a", | |
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "logger_b", | |
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "logger_c", | |
"outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "logger_d", | |
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [{ "internalType": "string", "name": "inp", "type": "string" }], | |
"name": "test", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "selfCoords", | |
"type": "tuple" | |
} | |
], | |
"name": "testSelfCoords", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [{ "internalType": "uint256", "name": "inp", "type": "uint256" }], | |
"name": "test_a", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [{ "internalType": "bytes32", "name": "inp", "type": "bytes32" }], | |
"name": "test_b", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [{ "internalType": "bytes", "name": "inp", "type": "bytes" }], | |
"name": "test_c", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [{ "internalType": "address", "name": "inp", "type": "address" }], | |
"name": "test_d", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileABI", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileDescription", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileEmoji", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileName", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "owner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "spender", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "Approval", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "from", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "Transfer", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "owner", "type": "address" }, | |
{ "internalType": "address", "name": "spender", "type": "address" } | |
], | |
"name": "allowance", | |
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "spender", "type": "address" }, | |
{ "internalType": "uint256", "name": "amount", "type": "uint256" } | |
], | |
"name": "approve", | |
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "aprovee", "type": "address" } | |
], | |
"name": "approveAll", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "account", "type": "address" } | |
], | |
"name": "balanceOf", | |
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "decimals", | |
"outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "spender", "type": "address" }, | |
{ | |
"internalType": "uint256", | |
"name": "subtractedValue", | |
"type": "uint256" | |
} | |
], | |
"name": "decreaseAllowance", | |
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "spender", "type": "address" }, | |
{ "internalType": "uint256", "name": "addedValue", "type": "uint256" } | |
], | |
"name": "increaseAllowance", | |
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "to", "type": "address" }, | |
{ "internalType": "uint256", "name": "count", "type": "uint256" } | |
], | |
"name": "mint", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "name", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "symbol", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileABI", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileDescription", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileEmoji", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileName", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "totalSupply", | |
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "to", "type": "address" }, | |
{ "internalType": "uint256", "name": "amount", "type": "uint256" } | |
], | |
"name": "transfer", | |
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "from", "type": "address" }, | |
{ "internalType": "address", "name": "to", "type": "address" }, | |
{ "internalType": "uint256", "name": "amount", "type": "uint256" } | |
], | |
"name": "transferFrom", | |
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract TinyWorld", | |
"name": "_connectedWorld", | |
"type": "address" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"inputs": [], | |
"name": "getCrops", | |
"outputs": [ | |
{ "internalType": "contract TinyWheat", "name": "", "type": "address" }, | |
{ "internalType": "contract TinyCorn", "name": "", "type": "address" }, | |
{ "internalType": "contract TinyCactus", "name": "", "type": "address" } | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "selfCoords", | |
"type": "tuple" | |
} | |
], | |
"name": "harvest", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "string", "name": "farmType", "type": "string" }, | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "selfCoords", | |
"type": "tuple" | |
} | |
], | |
"name": "plant", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileABI", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileDescription", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileEmoji", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileName", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract TinyWorld", | |
"name": "_connectedWorld", | |
"type": "address" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "owner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "approved", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "uint256", | |
"name": "tokenId", | |
"type": "uint256" | |
} | |
], | |
"name": "Approval", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "owner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "operator", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bool", | |
"name": "approved", | |
"type": "bool" | |
} | |
], | |
"name": "ApprovalForAll", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "from", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "uint256", | |
"name": "tokenId", | |
"type": "uint256" | |
} | |
], | |
"name": "Transfer", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "to", "type": "address" }, | |
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" } | |
], | |
"name": "approve", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "owner", "type": "address" } | |
], | |
"name": "balanceOf", | |
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "castFishingRod", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "connectedWorld", | |
"outputs": [ | |
{ "internalType": "contract TinyWorld", "name": "", "type": "address" } | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
"name": "currentPool", | |
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" } | |
], | |
"name": "getApproved", | |
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" } | |
], | |
"name": "getTokenHRI", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "owner", "type": "address" }, | |
{ "internalType": "address", "name": "operator", "type": "address" } | |
], | |
"name": "isApprovedForAll", | |
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "name", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" } | |
], | |
"name": "ownerOf", | |
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [{ "internalType": "address", "name": "", "type": "address" }], | |
"name": "previousCast", | |
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "reelIn", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "from", "type": "address" }, | |
{ "internalType": "address", "name": "to", "type": "address" }, | |
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" } | |
], | |
"name": "safeTransferFrom", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "from", "type": "address" }, | |
{ "internalType": "address", "name": "to", "type": "address" }, | |
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }, | |
{ "internalType": "bytes", "name": "_data", "type": "bytes" } | |
], | |
"name": "safeTransferFrom", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "operator", "type": "address" }, | |
{ "internalType": "bool", "name": "approved", "type": "bool" } | |
], | |
"name": "setApprovalForAll", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } | |
], | |
"name": "supportsInterface", | |
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "symbol", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileABI", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileDescription", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileEmoji", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileName", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "uint256", "name": "index", "type": "uint256" } | |
], | |
"name": "tokenByIndex", | |
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "owner", "type": "address" }, | |
{ "internalType": "uint256", "name": "index", "type": "uint256" } | |
], | |
"name": "tokenOfOwnerByIndex", | |
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" } | |
], | |
"name": "tokenURI", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "totalSupply", | |
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "from", "type": "address" }, | |
{ "internalType": "address", "name": "to", "type": "address" }, | |
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" } | |
], | |
"name": "transferFrom", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract TinyWorld", | |
"name": "_connectedWorld", | |
"type": "address" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"inputs": [], | |
"name": "getOres", | |
"outputs": [ | |
{ "internalType": "contract TinyIron", "name": "", "type": "address" }, | |
{ "internalType": "contract TinyGold", "name": "", "type": "address" }, | |
{ "internalType": "contract TinyDiamond", "name": "", "type": "address" } | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "selfCoords", | |
"type": "tuple" | |
} | |
], | |
"name": "mine", | |
"outputs": [ | |
{ "internalType": "string[5]", "name": "", "type": "string[5]" } | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "selfCoords", | |
"type": "tuple" | |
} | |
], | |
"name": "moveDown", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "selfCoords", | |
"type": "tuple" | |
} | |
], | |
"name": "moveLeft", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "selfCoords", | |
"type": "tuple" | |
} | |
], | |
"name": "moveRight", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "selfCoords", | |
"type": "tuple" | |
} | |
], | |
"name": "moveUp", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "selfCoords", | |
"type": "tuple" | |
} | |
], | |
"name": "rollMine", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "selfCoords", | |
"type": "tuple" | |
}, | |
{ "internalType": "string", "name": "resource", "type": "string" } | |
], | |
"name": "selectResource", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileABI", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileDescription", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileEmoji", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileName", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract TinyWorld", | |
"name": "_connectedWorld", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract TinyFish", | |
"name": "_tinyFish", | |
"type": "address" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "uint256", "name": "fishID", "type": "uint256" } | |
], | |
"name": "buyListing", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "connectedWorld", | |
"outputs": [ | |
{ "internalType": "contract TinyWorld", "name": "", "type": "address" } | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "uint256", "name": "fishID", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "price", "type": "uint256" } | |
], | |
"name": "createListing", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "uint256", "name": "fishID", "type": "uint256" } | |
], | |
"name": "deleteListing", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getAllListings", | |
"outputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "fishID", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "price", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "timestamp", "type": "uint256" }, | |
{ "internalType": "address", "name": "seller", "type": "address" }, | |
{ "internalType": "bool", "name": "fulfilled", "type": "bool" } | |
], | |
"internalType": "struct TinyOpenSea.Listing[]", | |
"name": "", | |
"type": "tuple[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileABI", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileDescription", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileEmoji", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileName", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "tinyFish", | |
"outputs": [ | |
{ "internalType": "contract TinyFish", "name": "", "type": "address" } | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "viewShop", | |
"outputs": [{ "internalType": "string[]", "name": "", "type": "string[]" }], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract TinyWorld", | |
"name": "_connectedWorld", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract TinyFish", | |
"name": "_fish", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract TinyOpenSea", | |
"name": "_openSea", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract TinyWheat", | |
"name": "_wheat", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract TinyCorn", | |
"name": "_corn", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract TinyCactus", | |
"name": "_cactus", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract TinyRanch", | |
"name": "_ranch", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract TinyMilk", | |
"name": "_milk", | |
"type": "address" | |
}, | |
{ "internalType": "contract TinyEgg", "name": "_egg", "type": "address" }, | |
{ | |
"internalType": "contract TinyIron", | |
"name": "_iron", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract TinyGold", | |
"name": "_gold", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract TinyDiamond", | |
"name": "_diamond", | |
"type": "address" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"inputs": [], | |
"name": "farmingLevel0", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "farmingLevel1", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "fishingLevel0", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "fishingLevel1", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "miningLevel0", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileABI", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileDescription", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileEmoji", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileName", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "viewQuests", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "string", | |
"name": "levelDescription", | |
"type": "string" | |
}, | |
{ "internalType": "string[]", "name": "quests", "type": "string[]" } | |
], | |
"internalType": "struct TinyQuestMaster.LevelQuests[]", | |
"name": "", | |
"type": "tuple[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract TinyWorld", | |
"name": "_connectedWorld", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract TinyWheat", | |
"name": "_wheat", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract TinyCorn", | |
"name": "_corn", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract TinyCactus", | |
"name": "_cactus", | |
"type": "address" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "currentPopulation", | |
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "selfCoords", | |
"type": "tuple" | |
} | |
], | |
"name": "egg", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "selfCoords", | |
"type": "tuple" | |
} | |
], | |
"name": "feed", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getProduce", | |
"outputs": [ | |
{ "internalType": "contract TinyMilk", "name": "", "type": "address" }, | |
{ "internalType": "contract TinyEgg", "name": "", "type": "address" } | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "selfCoords", | |
"type": "tuple" | |
} | |
], | |
"name": "milk", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "string", "name": "ranchType", "type": "string" }, | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "selfCoords", | |
"type": "tuple" | |
} | |
], | |
"name": "startRanch", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileABI", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileDescription", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileEmoji", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ "internalType": "uint256", "name": "x", "type": "uint256" }, | |
{ "internalType": "uint256", "name": "y", "type": "uint256" } | |
], | |
"internalType": "struct Coords", | |
"name": "coords", | |
"type": "tuple" | |
} | |
], | |
"name": "tileName", | |
"outputs": [{ "internalType": "string", "name": "", "type": "string" }], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment