Skip to content

Commit

Permalink
Playground around Tip4.1 NFT
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexBSoft committed Mar 1, 2022
1 parent 7d1d262 commit 46f4739
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions true-nft/components/tip4.1/Collection.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
pragma ton-solidity >=0.43.0;

interface TIP4NftCollection {
function name() public view responsible returns (string);
function totalSupply() public view responsible returns (uint128);
function maxSupply() public view responsible returns (uint128);
function nftCode() public view responsible returns (TvmCell);
}
8 changes: 8 additions & 0 deletions true-nft/components/tip4.1/NFT.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
pragma ton-solidity >=0.43.0;

interface TIP4Nft {
function getNftInfo() external responsible returns(uint128 id, address addrOwner, address addrManager, address addrCollection);
function transferOwnership(address addrTo, address addrSendGasTo, mapping(address => CallbackParams) callbacks);
function setManager(address addrManager, address addrSendGasTo, mapping(address => CallbackParams) callbacks);
function getNftJsonContent() external responsible returns(string json);
}
3 changes: 3 additions & 0 deletions true-nft/components/tip4.1/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Template

https://github.com/itgoldio/docs/blob/main/src/Standard/TIP-4/1.md

0 comments on commit 46f4739

Please sign in to comment.