|
| 1 | +erc721_abi = [ |
| 2 | + { |
| 3 | + "inputs": [{"internalType": "address", "name": "owner", "type": "address"}], |
| 4 | + "name": "balanceOf", |
| 5 | + "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], |
| 6 | + "payable": False, |
| 7 | + "stateMutability": "view", |
| 8 | + "type": "function", |
| 9 | + "constant": True, |
| 10 | + }, |
| 11 | + { |
| 12 | + "inputs": [], |
| 13 | + "name": "name", |
| 14 | + "outputs": [{"internalType": "string", "name": "", "type": "string"}], |
| 15 | + "stateMutability": "view", |
| 16 | + "type": "function", |
| 17 | + "constant": True, |
| 18 | + }, |
| 19 | + { |
| 20 | + "inputs": [{"internalType": "uint256", "name": "tokenId", "type": "uint256"}], |
| 21 | + "name": "ownerOf", |
| 22 | + "outputs": [{"internalType": "address", "name": "", "type": "address"}], |
| 23 | + "payable": False, |
| 24 | + "stateMutability": "view", |
| 25 | + "type": "function", |
| 26 | + "constant": True, |
| 27 | + }, |
| 28 | + { |
| 29 | + "inputs": [{"internalType": "uint256", "name": "tokenId", "type": "uint256"}], |
| 30 | + "name": "tokenURI", |
| 31 | + "outputs": [{"internalType": "string", "name": "", "type": "string"}], |
| 32 | + "payable": False, |
| 33 | + "stateMutability": "view", |
| 34 | + "type": "function", |
| 35 | + "constant": True, |
| 36 | + }, |
| 37 | + { |
| 38 | + "inputs": [{"internalType": "uint256", "name": "tokenId", "type": "uint256"}], |
| 39 | + "name": "uri", |
| 40 | + "outputs": [{"internalType": "string", "name": "", "type": "string"}], |
| 41 | + "payable": False, |
| 42 | + "stateMutability": "view", |
| 43 | + "type": "function", |
| 44 | + "constant": True, |
| 45 | + }, |
| 46 | + { |
| 47 | + "inputs": [], |
| 48 | + "name": "symbol", |
| 49 | + "outputs": [{"internalType": "string", "name": "", "type": "string"}], |
| 50 | + "stateMutability": "view", |
| 51 | + "type": "function", |
| 52 | + "constant": True, |
| 53 | + }, |
| 54 | + { |
| 55 | + "inputs": [], |
| 56 | + "name": "totalSupply", |
| 57 | + "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], |
| 58 | + "stateMutability": "view", |
| 59 | + "type": "function", |
| 60 | + "constant": True, |
| 61 | + }, |
| 62 | + { |
| 63 | + "inputs": [ |
| 64 | + {"internalType": "address", "name": "owner", "type": "address"}, |
| 65 | + {"internalType": "uint256", "name": "index", "type": "uint256"}, |
| 66 | + ], |
| 67 | + "name": "tokenOfOwnerByIndex", |
| 68 | + "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], |
| 69 | + "stateMutability": "view", |
| 70 | + "type": "function", |
| 71 | + }, |
| 72 | + { |
| 73 | + "inputs": [{"internalType": "address", "name": "_owner", "type": "address"}], |
| 74 | + "name": "walletOfOwner", |
| 75 | + "outputs": [{"internalType": "uint256[]", "name": "", "type": "uint256[]"}], |
| 76 | + "stateMutability": "view", |
| 77 | + "type": "function", |
| 78 | + }, |
| 79 | + { |
| 80 | + "inputs": [ |
| 81 | + {"internalType": "address", "name": "owner", "type": "address"}, |
| 82 | + {"internalType": "address", "name": "nft", "type": "address"}, |
| 83 | + {"internalType": "uint256", "name": "start", "type": "uint256"}, |
| 84 | + {"internalType": "uint256", "name": "end", "type": "uint256"}, |
| 85 | + ], |
| 86 | + "name": "getOwnerNFTs", |
| 87 | + "outputs": [{"internalType": "uint256[]", "name": "", "type": "uint256[]"}], |
| 88 | + "stateMutability": "view", |
| 89 | + "type": "function", |
| 90 | + }, |
| 91 | + { |
| 92 | + "inputs": [{"internalType": "address", "name": "addr", "type": "address"}], |
| 93 | + "name": "checkAccess", |
| 94 | + "outputs": [{"internalType": "bool", "name": "val", "type": "bool"}], |
| 95 | + "stateMutability": "view", |
| 96 | + "type": "function", |
| 97 | + }, |
| 98 | + { |
| 99 | + "inputs": [{"internalType": "uint256", "name": "_tokenId", "type": "uint256"}], |
| 100 | + "name": "accessAddressPerTokenId", |
| 101 | + "outputs": [ |
| 102 | + {"internalType": "address[]", "name": "addresses", "type": "address[]"} |
| 103 | + ], |
| 104 | + "stateMutability": "view", |
| 105 | + "type": "function", |
| 106 | + }, |
| 107 | + { |
| 108 | + "inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], |
| 109 | + "name": "balances", |
| 110 | + "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], |
| 111 | + "stateMutability": "view", |
| 112 | + "type": "function", |
| 113 | + }, |
| 114 | +] |
0 commit comments