Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(var i = 0; i < balance.toNumber(); i++) {
- myERC721Token.tokenOfOwnerByIndex.call(web3.eth.accounts[0], i)
- .then((id) => { ... });
- }
- import "openzeppelin-solidity/contracts/token/ERC721/ERC721Token.sol";
- contract MyERC721Token is ERC721Token {
- function createNewToken(...) {
- _mint(msg.sender, index);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement