TZIP-16
{
"homepage": "https://github.com/tqtezos/baseDAO",
"name": "TORTOZES",
"description": "SlowStacks (or TORTOZES) is a lighthearted meme coin that combines the robust and reliable nature of Tezos with the internet's love for tortoises. It capitalises on the slow but steady winning the race narrative, positioning itself as the tortoise in the crypto race. As a DAO (Decentralised Autonomous Organisation), TORTOZES operates on the principles of decentralisation, transparency, and community governance. All members have a say in the decision-making process, and all investments and activities are conducted in a transparent manner. Our mission is to support and invest in projects (mostly tezos or tortoise themed) on the Tezos blockchain. We prioritise long-term value creation over short-term gains. New proposals require 1,000,000 TORTOZES. Unsuccessful proposals will return 99% of the tokens, meaning if the person wants to resubmit, they will need to acquire a little more TORTOZES from the market. By joining TORTOZES, you become part of a community that values patience, perseverance, and responsible growth. Together, we can build a more sustainable and resilient blockchain ecosystem, one step at a time.",
"authors": [
"tz1ahk6K5RPFChRxJWyN8hWJdKpsSMjDBWF9"
],
"template": "lambda",
"interfaces": [
"TZIP-12",
"TZIP-17"
],
"views": [
{
"implementations": [
{
"michelsonStorageView": {
"returnType": {
"prim": "nat"
},
"code": [
{
"prim": "DUP"
},
{
"prim": "CAR"
},
{
"args": [
[
{
"prim": "CDR"
},
{
"prim": "CAR"
},
{
"prim": "CAR"
},
{
"prim": "CAR"
}
]
],
"prim": "DIP"
},
{
"prim": "GET"
},
{
"args": [
[
{
"args": [
{
"prim": "nat"
},
{
"int": "0"
}
],
"prim": "PUSH"
}
],
[
]
],
"prim": "IF_NONE"
}
],
"parameter": {
"args": [
{
"prim": "address",
"annots": [
"%owner"
]
},
{
"prim": "nat",
"annots": [
"%token_id"
]
}
],
"prim": "pair"
}
}
}
],
"name": "get_balance",
"pure": true,
"description": "Get balance of an address according to TZIP-12."
},
{
"implementations": [
{
"michelsonStorageView": {
"returnType": {
"args": [
{
"prim": "nat"
}
],
"prim": "list"
},
"code": [
{
"prim": "DROP"
},
{
"args": [
{
"args": [
{
"prim": "nat"
}
],
"prim": "list"
},
[
{
"int": "0"
},
{
"int": "1"
}
]
],
"prim": "PUSH"
}
]
}
}
],
"name": "all_tokens",
"pure": true,
"description": "Get all supported tokens according to TZIP-12."
},
{
"implementations": [
{
"michelsonStorageView": {
"returnType": {
"prim": "bool"
},
"code": [
{
"prim": "DUP"
},
{
"prim": "CAR"
},
{
"args": [
[
{
"prim": "CDR"
}
]
],
"prim": "DIP"
},
{
"prim": "DUP"
},
{
"prim": "CDR"
},
{
"prim": "CDR"
},
{
"args": [
[
{
"prim": "DUP"
},
{
"prim": "CDR"
},
{
"prim": "CAR"
},
{
"args": [
[
{
"prim": "CAR"
}
]
],
"prim": "DIP"
}
]
],
"prim": "DIP"
},
{
"prim": "DUP"
},
{
"prim": "INT"
},
{
"prim": "EQ"
},
{
"args": [
[
{
"prim": "DROP"
}
],
[
{
"prim": "DUP"
},
{
"args": [
{
"prim": "nat"
},
{
"int": "1"
}
],
"prim": "PUSH"
},
{
"prim": "COMPARE"
},
{
"prim": "EQ"
},
{
"args": [
[
{
"args": [
{
"prim": "string"
},
{
"string": "OPERATION_PROHIBITED"
}
],
"prim": "PUSH"
},
{
"prim": "FAILWITH"
}
],
[
{
"prim": "UNIT"
},
{
"args": [
{
"prim": "string"
},
{
"string": "FA2_TOKEN_UNDEFINED"
}
],
"prim": "PUSH"
},
{
"prim": "PAIR"
},
{
"prim": "FAILWITH"
}
]
],
"prim": "IF"
}
]
],
"prim": "IF"
},
{
"prim": "SWAP"
},
{
"prim": "PAIR"
},
{
"args": [
[
{
"prim": "CAR"
},
{
"prim": "CAR"
},
{
"prim": "CDR"
},
{
"prim": "CAR"
}
]
],
"prim": "DIP"
},
{
"prim": "MEM"
}
],
"parameter": {
"args": [
{
"prim": "address",
"annots": [
"%owner"
]
},
{
"args": [
{
"prim": "address",
"annots": [
"%operator"
]
},
{
"prim": "nat",
"annots": [
"%token_id"
]
}
],
"prim": "pair"
}
],
"prim": "pair"
}
}
}
],
"name": "is_operator",
"pure": true,
"description": "Checks whether given address is allowed to transfer given tokens that belong to given owner - according to TZIP-12."
},
{
"implementations": [
{
"michelsonStorageView": {
"returnType": {
"args": [
{
"prim": "nat"
},
{
"args": [
{
"prim": "string"
},
{
"prim": "bytes"
}
],
"prim": "map"
}
],
"prim": "pair"
},
"code": [
{
"prim": "DUP"
},
{
"prim": "CAR"
},
{
"args": [
[
{
"prim": "CDR"
},
{
"prim": "DROP"
},
{
"args": [
{
"args": [
{
"prim": "nat"
},
{
"args": [
{
"prim": "string"
},
{
"prim": "bytes"
}
],
"prim": "map"
}
],
"prim": "map"
},
[
{
"args": [
{
"int": "0"
},
[
{
"args": [
{
"string": "decimals"
},
{
"bytes": "3138"
}
],
"prim": "Elt"
},
{
"args": [
{
"string": "name"
},
{
"bytes": "544f52544f5a4553"
}
],
"prim": "Elt"
},
{
"args": [
{
"string": "symbol"
},
{
"bytes": "544f52544f5a4553"
}
],
"prim": "Elt"
}
]
],
"prim": "Elt"
},
{
"args": [
{
"int": "1"
},
[
{
"args": [
{
"string": "decimals"
},
{
"bytes": "3138"
}
],
"prim": "Elt"
},
{
"args": [
{
"string": "name"
},
{
"bytes": "544f52544f5a4553"
}
],
"prim": "Elt"
},
{
"args": [
{
"string": "symbol"
},
{
"bytes": "544f52544f5a4553"
}
],
"prim": "Elt"
}
]
],
"prim": "Elt"
}
]
],
"prim": "PUSH"
}
]
],
"prim": "DIP"
},
{
"prim": "DUP"
},
{
"args": [
[
{
"prim": "GET"
},
{
"args": [
[
{
"prim": "UNIT"
},
{
"args": [
{
"prim": "string"
},
{
"string": "FA2_TOKEN_UNDEFINED"
}
],
"prim": "PUSH"
},
{
"prim": "PAIR"
},
{
"prim": "FAILWITH"
}
],
[
]
],
"prim": "IF_NONE"
}
]
],
"prim": "DIP"
},
{
"prim": "PAIR"
}
],
"parameter": {
"prim": "nat"
}
}
}
],
"name": "token_metadata",
"pure": true,
"description": "Returns metadata for given token according to TZIP-12."
},
{
"implementations": [
{
"michelsonStorageView": {
"returnType": {
"prim": "nat"
},
"code": [
{
"prim": "CDR"
},
{
"prim": "CDR"
},
{
"prim": "CDR"
},
{
"prim": "CAR"
}
]
}
}
],
"name": "GetCounter",
"pure": true,
"description": "Returns the next counter value with which a permit should be created."
}
],
"version": "1.0.0",
"license": {
"name": "MIT"
}
}