// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol) | |
pragma solidity ^0.8.0; | |
import './IERC721.sol'; | |
import './IERC721Receiver.sol'; | |
import './extensions/IERC721Metadata.sol'; | |
import '../../utils/Address.sol'; | |
import '../../utils/Context.sol'; |
// source: http://stackoverflow.com/a/11058858 | |
function ab2str(buf) { | |
return String.fromCharCode.apply(null, new Uint16Array(buf)); | |
} |
Source: ethereum.org
- Implementation on Openzeppelin: Click here
- Implementation with Video Tutorial: @youtube Click here
Smart contracts implementing the ERC-1155 standard MUST implement all of the functions in the ERC1155 interface.
Smart contracts implementing the ERC-1155 standard MUST implement the ERC-165 supportsInterface function and MUST return the constant value true if 0xd9b67a26 is passed through the interfaceID argument.
Quick Links:
- ERC 1155 @ Openzeppelin Docs: https://docs.openzeppelin.com/contracts/3.x/ERC1155
- Morali.io - A faster way to develop dapps
- tldr; This youtube guy is from Morali.io
- ERC721 vs. ERC1155 by EatTheBlocks: Click here
Source: ethereum.org
Implementation on Openzeppelin:
- Openzeppelin Implementation: Click here, Cleaned by me
Every ERC-721 compliant contract must implement the ERC721
and ERC165
interfaces:
- Methods:
Source: ethereum.org
- Methods:
- name(): OPTIONAL, Returns the name of the token - e.g. "MyToken". ALSO: `function name() public view returns (string)`
- symbol(): OPTIONAL, Returns the symbol of the token. E.g. “HIX”. ALSO: `function symbol() public view returns (string)`
- decimals(): OPTIONAL, Returns the number of decimals the token uses - e.g. 8, means to divide the token amount by 100000000 to get its user representation. ALSO: `function decimals() public view returns (uint8)`
- totalSupply(): Returns the total token supply. ALSO: `function totalSupply() public view returns (uint256)`
Everything I write in this article is my perception of this mental techniquet which we all broadly refer to as term "meditation".
Doing more work doesn't mean any good if the other choice is doing same work with lesser thinking noise(concise thinking) or some more important work. Similarly, thinking fast at the level of mind isn't any good if the other choice is doing same work with concised thinking or thinking of some more important element. Meditation helps you have the other choice available to you and kind of makes you disabled to the first way coz it just don't make any sense to you now. Stimulators: Coffee can be good stimulator to help you condition and have ease with the meditation. Coffee must be milk-less and you may add sugar if you feel like that.
Why don't we progress on the way of evolution of spiritual level of the mind? I think the way we handle the phase of emotional needyness plays an important role. That means if you meditate on those moments and practise to give yours