diff --git a/tokens/psp22/5FvomNiEifvrS8vmMmDspGKaXUpgeeJnXzqXrLXoyYVpVQbh/info.json b/tokens/psp22/5FvomNiEifvrS8vmMmDspGKaXUpgeeJnXzqXrLXoyYVpVQbh/info.json new file mode 100644 index 0000000..6c377ed --- /dev/null +++ b/tokens/psp22/5FvomNiEifvrS8vmMmDspGKaXUpgeeJnXzqXrLXoyYVpVQbh/info.json @@ -0,0 +1,24 @@ +{ + "name": "Common", + "symbol": "CMON", + "type": "PSP22", + "contractAddress": "5FvomNiEifvrS8vmMmDspGKaXUpgeeJnXzqXrLXoyYVpVQbh", + "decimals": 12, + "description": "C'mon, do something!", + "website": "", + "sourceCode": "https://github.com/logi144/projektlol-contract-code", + "links": [ + { + "name": "X/Twitter", + "url": "https://x.com/common_meme" + }, + { + "name": "Telegram", + "url": "https://t.me/common_fi" + } + ], + "customTags": [], + "warnings": [], + "owner": "", + "minter": "" +} diff --git a/tokens/psp22/5FvomNiEifvrS8vmMmDspGKaXUpgeeJnXzqXrLXoyYVpVQbh/logo.png b/tokens/psp22/5FvomNiEifvrS8vmMmDspGKaXUpgeeJnXzqXrLXoyYVpVQbh/logo.png new file mode 100644 index 0000000..9d58025 Binary files /dev/null and b/tokens/psp22/5FvomNiEifvrS8vmMmDspGKaXUpgeeJnXzqXrLXoyYVpVQbh/logo.png differ diff --git a/tokens/psp22/5FvomNiEifvrS8vmMmDspGKaXUpgeeJnXzqXrLXoyYVpVQbh/metadata.json b/tokens/psp22/5FvomNiEifvrS8vmMmDspGKaXUpgeeJnXzqXrLXoyYVpVQbh/metadata.json new file mode 100644 index 0000000..e8575e3 --- /dev/null +++ b/tokens/psp22/5FvomNiEifvrS8vmMmDspGKaXUpgeeJnXzqXrLXoyYVpVQbh/metadata.json @@ -0,0 +1,1094 @@ +{ + "source": { + "hash": "0x34c68f9785454d06b549071cdf3c916d7a56d0f2d61927cfbc9392059b0d01e1", + "language": "ink! 4.3.0", + "compiler": "rustc 1.77.2", + "build_info": { + "build_mode": "Debug", + "cargo_contract_version": "4.1.1", + "rust_toolchain": "stable-aarch64-apple-darwin", + "wasm_opt_settings": { + "keep_debug_symbols": false, + "optimization_passes": "Z" + } + } + }, + "contract": { + "name": "psp22_token", + "version": "0.1.0", + "authors": [""] + }, + "image": null, + "spec": { + "constructors": [ + { + "args": [ + { + "label": "name", + "type": { + "displayName": ["Option"], + "type": 5 + } + }, + { + "label": "symbol", + "type": { + "displayName": ["Option"], + "type": 5 + } + }, + { + "label": "bond", + "type": { + "displayName": ["AccountId"], + "type": 2 + } + } + ], + "default": false, + "docs": [], + "label": "new", + "payable": false, + "returnType": { + "displayName": ["ink_primitives", "ConstructorResult"], + "type": 6 + }, + "selector": "0x9bae9d5e" + } + ], + "docs": [], + "environment": { + "accountId": { + "displayName": ["AccountId"], + "type": 2 + }, + "balance": { + "displayName": ["Balance"], + "type": 0 + }, + "blockNumber": { + "displayName": ["BlockNumber"], + "type": 19 + }, + "chainExtension": { + "displayName": ["ChainExtension"], + "type": 20 + }, + "hash": { + "displayName": ["Hash"], + "type": 17 + }, + "maxEventTopics": 4, + "timestamp": { + "displayName": ["Timestamp"], + "type": 18 + } + }, + "events": [ + { + "args": [ + { + "docs": [], + "indexed": true, + "label": "owner", + "type": { + "displayName": ["AccountId"], + "type": 2 + } + }, + { + "docs": [], + "indexed": true, + "label": "spender", + "type": { + "displayName": ["AccountId"], + "type": 2 + } + }, + { + "docs": [], + "indexed": false, + "label": "amount", + "type": { + "displayName": ["u128"], + "type": 0 + } + } + ], + "docs": [], + "label": "Approval" + }, + { + "args": [ + { + "docs": [], + "indexed": true, + "label": "from", + "type": { + "displayName": ["Option"], + "type": 16 + } + }, + { + "docs": [], + "indexed": true, + "label": "to", + "type": { + "displayName": ["Option"], + "type": 16 + } + }, + { + "docs": [], + "indexed": false, + "label": "value", + "type": { + "displayName": ["u128"], + "type": 0 + } + } + ], + "docs": [], + "label": "Transfer" + } + ], + "lang_error": { + "displayName": ["ink", "LangError"], + "type": 8 + }, + "messages": [ + { + "args": [ + { + "label": "to", + "type": { + "displayName": ["AccountId"], + "type": 2 + } + }, + { + "label": "value", + "type": { + "displayName": ["u128"], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "mint", + "mutates": true, + "payable": false, + "returnType": { + "displayName": ["ink", "MessageResult"], + "type": 9 + }, + "selector": "0xcfdd9aa2" + }, + { + "args": [ + { + "label": "from", + "type": { + "displayName": ["AccountId"], + "type": 2 + } + }, + { + "label": "value", + "type": { + "displayName": ["u128"], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "burn", + "mutates": true, + "payable": false, + "returnType": { + "displayName": ["ink", "MessageResult"], + "type": 9 + }, + "selector": "0xb1efc17b" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22::total_supply", + "mutates": false, + "payable": false, + "returnType": { + "displayName": ["ink", "MessageResult"], + "type": 12 + }, + "selector": "0x162df8c2" + }, + { + "args": [ + { + "label": "owner", + "type": { + "displayName": ["AccountId"], + "type": 2 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::balance_of", + "mutates": false, + "payable": false, + "returnType": { + "displayName": ["ink", "MessageResult"], + "type": 12 + }, + "selector": "0x6568382f" + }, + { + "args": [ + { + "label": "owner", + "type": { + "displayName": ["AccountId"], + "type": 2 + } + }, + { + "label": "spender", + "type": { + "displayName": ["AccountId"], + "type": 2 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::allowance", + "mutates": false, + "payable": false, + "returnType": { + "displayName": ["ink", "MessageResult"], + "type": 12 + }, + "selector": "0x4d47d921" + }, + { + "args": [ + { + "label": "to", + "type": { + "displayName": ["AccountId"], + "type": 2 + } + }, + { + "label": "value", + "type": { + "displayName": ["u128"], + "type": 0 + } + }, + { + "label": "_data", + "type": { + "displayName": ["Vec"], + "type": 13 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::transfer", + "mutates": true, + "payable": false, + "returnType": { + "displayName": ["ink", "MessageResult"], + "type": 9 + }, + "selector": "0xdb20f9f5" + }, + { + "args": [ + { + "label": "from", + "type": { + "displayName": ["AccountId"], + "type": 2 + } + }, + { + "label": "to", + "type": { + "displayName": ["AccountId"], + "type": 2 + } + }, + { + "label": "value", + "type": { + "displayName": ["u128"], + "type": 0 + } + }, + { + "label": "_data", + "type": { + "displayName": ["Vec"], + "type": 13 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::transfer_from", + "mutates": true, + "payable": false, + "returnType": { + "displayName": ["ink", "MessageResult"], + "type": 9 + }, + "selector": "0x54b3c76e" + }, + { + "args": [ + { + "label": "spender", + "type": { + "displayName": ["AccountId"], + "type": 2 + } + }, + { + "label": "value", + "type": { + "displayName": ["u128"], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::approve", + "mutates": true, + "payable": false, + "returnType": { + "displayName": ["ink", "MessageResult"], + "type": 9 + }, + "selector": "0xb20f1bbd" + }, + { + "args": [ + { + "label": "spender", + "type": { + "displayName": ["AccountId"], + "type": 2 + } + }, + { + "label": "delta_value", + "type": { + "displayName": ["u128"], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::increase_allowance", + "mutates": true, + "payable": false, + "returnType": { + "displayName": ["ink", "MessageResult"], + "type": 9 + }, + "selector": "0x96d6b57a" + }, + { + "args": [ + { + "label": "spender", + "type": { + "displayName": ["AccountId"], + "type": 2 + } + }, + { + "label": "delta_value", + "type": { + "displayName": ["u128"], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::decrease_allowance", + "mutates": true, + "payable": false, + "returnType": { + "displayName": ["ink", "MessageResult"], + "type": 9 + }, + "selector": "0xfecb57d5" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Metadata::token_name", + "mutates": false, + "payable": false, + "returnType": { + "displayName": ["ink", "MessageResult"], + "type": 14 + }, + "selector": "0x3d261bd4" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Metadata::token_symbol", + "mutates": false, + "payable": false, + "returnType": { + "displayName": ["ink", "MessageResult"], + "type": 14 + }, + "selector": "0x34205be5" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Metadata::token_decimals", + "mutates": false, + "payable": false, + "returnType": { + "displayName": ["ink", "MessageResult"], + "type": 15 + }, + "selector": "0x7271b782" + } + ] + }, + "storage": { + "root": { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x00000000", + "ty": 0 + } + }, + "name": "total_supply" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0x45c746d4", + "ty": 0 + } + }, + "root_key": "0x45c746d4" + } + }, + "name": "balances" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0x00efb3a1", + "ty": 0 + } + }, + "root_key": "0x00efb3a1" + } + }, + "name": "allowances" + } + ], + "name": "PSP22Data" + } + }, + "name": "data" + }, + { + "layout": { + "enum": { + "dispatchKey": "0x00000000", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x00000000", + "ty": 1 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "name": "name" + }, + { + "layout": { + "enum": { + "dispatchKey": "0x00000000", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x00000000", + "ty": 1 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "name": "symbol" + }, + { + "layout": { + "leaf": { + "key": "0x00000000", + "ty": 2 + } + }, + "name": "bond" + }, + { + "layout": { + "leaf": { + "key": "0x00000000", + "ty": 4 + } + }, + "name": "decimals" + } + ], + "name": "Token" + } + }, + "root_key": "0x00000000" + } + }, + "types": [ + { + "id": 0, + "type": { + "def": { + "primitive": "u128" + } + } + }, + { + "id": 1, + "type": { + "def": { + "primitive": "str" + } + } + }, + { + "id": 2, + "type": { + "def": { + "composite": { + "fields": [ + { + "type": 3, + "typeName": "[u8; 32]" + } + ] + } + }, + "path": ["ink_primitives", "types", "AccountId"] + } + }, + { + "id": 3, + "type": { + "def": { + "array": { + "len": 32, + "type": 4 + } + } + } + }, + { + "id": 4, + "type": { + "def": { + "primitive": "u8" + } + } + }, + { + "id": 5, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "None" + }, + { + "fields": [ + { + "type": 1 + } + ], + "index": 1, + "name": "Some" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 1 + } + ], + "path": ["Option"] + } + }, + { + "id": 6, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 7 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 7 + }, + { + "name": "E", + "type": 8 + } + ], + "path": ["Result"] + } + }, + { + "id": 7, + "type": { + "def": { + "tuple": [] + } + } + }, + { + "id": 8, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 1, + "name": "CouldNotReadInput" + } + ] + } + }, + "path": ["ink_primitives", "LangError"] + } + }, + { + "id": 9, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 10 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 10 + }, + { + "name": "E", + "type": 8 + } + ], + "path": ["Result"] + } + }, + { + "id": 10, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 7 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 11 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 7 + }, + { + "name": "E", + "type": 11 + } + ], + "path": ["Result"] + } + }, + { + "id": 11, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 1, + "typeName": "String" + } + ], + "index": 0, + "name": "Custom" + }, + { + "index": 1, + "name": "InsufficientBalance" + }, + { + "index": 2, + "name": "InsufficientAllowance" + }, + { + "index": 3, + "name": "ZeroRecipientAddress" + }, + { + "index": 4, + "name": "ZeroSenderAddress" + }, + { + "fields": [ + { + "type": 1, + "typeName": "String" + } + ], + "index": 5, + "name": "SafeTransferCheckFailed" + } + ] + } + }, + "path": ["psp22_token", "errors", "PSP22Error"] + } + }, + { + "id": 12, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 0 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "E", + "type": 8 + } + ], + "path": ["Result"] + } + }, + { + "id": 13, + "type": { + "def": { + "sequence": { + "type": 4 + } + } + } + }, + { + "id": 14, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 5 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 5 + }, + { + "name": "E", + "type": 8 + } + ], + "path": ["Result"] + } + }, + { + "id": 15, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 4 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 4 + }, + { + "name": "E", + "type": 8 + } + ], + "path": ["Result"] + } + }, + { + "id": 16, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "None" + }, + { + "fields": [ + { + "type": 2 + } + ], + "index": 1, + "name": "Some" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 2 + } + ], + "path": ["Option"] + } + }, + { + "id": 17, + "type": { + "def": { + "composite": { + "fields": [ + { + "type": 3, + "typeName": "[u8; 32]" + } + ] + } + }, + "path": ["ink_primitives", "types", "Hash"] + } + }, + { + "id": 18, + "type": { + "def": { + "primitive": "u64" + } + } + }, + { + "id": 19, + "type": { + "def": { + "primitive": "u32" + } + } + }, + { + "id": 20, + "type": { + "def": { + "variant": {} + }, + "path": ["ink_env", "types", "NoChainExtension"] + } + } + ], + "version": "4" +}