diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4cac4a2..da4a41a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,12 +12,19 @@ jobs: steps: - name: Log PR Info run: | - echo "PR Number: ${{ github.event.number }}" - echo "Action: ${{ github.event.action }}" + if [ "${{ github.event_name }}" == "pull_request_review" ]; then + echo "PR Number: ${{ github.event.pull_request.number }}" + echo "Action: ${{ github.event.review.state }}" + elif [ "${{ github.event_name }}" == "pull_request" ]; then + echo "PR Number: ${{ github.event.number }}" + echo "Action: ${{ github.event.action }}" + else + echo "Unhandled event type: ${{ github.event_name }}" + fi validate_and_notify: runs-on: ubuntu-latest - name: Validate JSON and Notify on Telegram + name: Validate JSON steps: - uses: actions/checkout@v4 @@ -55,37 +62,3 @@ jobs: uses: GrantBirki/json-yaml-validate@v2.7.1 with: comment: "true" # This will post a comment if the validation fails - - - name: Prepare Notification Message - if: success() # This will proceed only if the previous validation step was successful - run: | - message="" - pr_link="${{ github.event.pull_request.html_url }}" - if [ "${{ github.event_name }}" == "pull_request" ]; then - if [ "${{ github.event.action }}" == "opened" ]; then - message="🚀 New PR created: #${{ github.event.pull_request.number }} by ${{ github.event.pull_request.user.login }} - $pr_link" - elif [ "${{ github.event.action }}" == "ready_for_review" ]; then - message="📝 PR is ready for review: #${{ github.event.pull_request.number }} - $pr_link" - elif [ "${{ github.event.action }}" == "reopened" ]; then - message="🔄 PR reopened: #${{ github.event.pull_request.number }} - $pr_link" - elif [ "${{ github.event.action }}" == "closed" ] && [ "${{ github.event.pull_request.merged }}" == "true" ]; then - message="✅ PR merged: #${{ github.event.pull_request.number }} - $pr_link" - elif [ "${{ github.event.action }}" == "closed" ] && [ "${{ github.event.pull_request.merged }}" == "false" ]; then - message="❌ PR closed without merging: #${{ github.event.pull_request.number }} - $pr_link" - fi - elif [ "${{ github.event_name }}" == "pull_request_review" ] && [ "${{ github.event.review.state }}" == "approved" ]; then - message="👍 PR approved by ${{ github.event.review.user.login }}: #${{ github.event.pull_request.number }} - $pr_link" - fi - if [ -z "$message" ]; then - echo "No relevant action taken, skipping notification." - exit 0 - fi - echo "TG_SENDER_PAYLOAD_MESSAGE=$message" >> $GITHUB_ENV - - - name: Send Notification to Telegram - if: env.TG_SENDER_PAYLOAD_MESSAGE != '' && success() - uses: BorisTestov/tg_sender_action@latest - env: - TG_SENDER_TG_CHAT_ID: ${{ secrets.CHATID }} - TG_SENDER_TG_BOT_TOKEN: ${{ secrets.BotToken }} - TG_SENDER_PAYLOAD_MESSAGE: ${{ env.TG_SENDER_PAYLOAD_MESSAGE }} \ No newline at end of file diff --git a/tokens/psp22/5ESKJbkpVa1ppUCmrkCmaZDHqm9SHihws9Uqqsoi4VrDCDLE/info.json b/tokens/psp22/5ESKJbkpVa1ppUCmrkCmaZDHqm9SHihws9Uqqsoi4VrDCDLE/info.json new file mode 100644 index 0000000..ddb73dd --- /dev/null +++ b/tokens/psp22/5ESKJbkpVa1ppUCmrkCmaZDHqm9SHihws9Uqqsoi4VrDCDLE/info.json @@ -0,0 +1,30 @@ +{ + "name": "ZPF Token", + "symbol": "ZPF", + "type": "PSP22", + "contractAddress": "5ESKJbkpVa1ppUCmrkCmaZDHqm9SHihws9Uqqsoi4VrDCDLE", + "decimals": 12, + "description": "Utility Token for ZPF Ecosystem", + "website": "https://zapfi.org", + "sourceCode": "https://github.com/ZapFi/token/tree/966f67adb0dd2e3a55acf88af17d50340871bf91/sourcecode", + "links": [ + { + "name": "X/Twitter", + "url": "https://x.com/zap_finance" + }, + { + "name": "Telegram", + "url": "https://t.me/ZapFiOfficial" + }, + { + "name": "Discord", + "url": "" + } + ], + "customTags": [ + "ZPF Contract Address" + ], + "warnings": [], + "owner": "5G1cYC4E5MDs4F32RdaMynyr9Pk9DrsjbquA931UskvojVAg", + "minter": "5G1cYC4E5MDs4F32RdaMynyr9Pk9DrsjbquA931UskvojVAg" +} diff --git a/tokens/psp22/5ESKJbkpVa1ppUCmrkCmaZDHqm9SHihws9Uqqsoi4VrDCDLE/logo.png b/tokens/psp22/5ESKJbkpVa1ppUCmrkCmaZDHqm9SHihws9Uqqsoi4VrDCDLE/logo.png new file mode 100644 index 0000000..59ebd8c Binary files /dev/null and b/tokens/psp22/5ESKJbkpVa1ppUCmrkCmaZDHqm9SHihws9Uqqsoi4VrDCDLE/logo.png differ diff --git a/tokens/psp22/5ESKJbkpVa1ppUCmrkCmaZDHqm9SHihws9Uqqsoi4VrDCDLE/metadata.json b/tokens/psp22/5ESKJbkpVa1ppUCmrkCmaZDHqm9SHihws9Uqqsoi4VrDCDLE/metadata.json new file mode 100644 index 0000000..74df697 --- /dev/null +++ b/tokens/psp22/5ESKJbkpVa1ppUCmrkCmaZDHqm9SHihws9Uqqsoi4VrDCDLE/metadata.json @@ -0,0 +1,1545 @@ +{ + "source": { + "hash": "0x35797562597042357e38893062564dbe17cd1e791b19fe967f4275266aa143fe", + "language": "ink! 4.2.1", + "compiler": "rustc 1.69.0-nightly", + "build_info": { + "build_mode": "Release", + "cargo_contract_version": "2.2.1", + "rust_toolchain": "nightly-x86_64-apple-darwin", + "wasm_opt_settings": { + "keep_debug_symbols": false, + "optimization_passes": "Z" + } + } + }, + "contract": { + "name": "psp22", + "version": "2.9.6", + "authors": [ + "ZapFi Team " + ] + }, + "spec": { + "constructors": [ + { + "args": [ + { + "label": "total_supply", + "type": { + "displayName": [ + "Balance" + ], + "type": 0 + } + }, + { + "label": "name", + "type": { + "displayName": [ + "Option" + ], + "type": 6 + } + }, + { + "label": "symbol", + "type": { + "displayName": [ + "Option" + ], + "type": 6 + } + }, + { + "label": "decimal", + "type": { + "displayName": [ + "u8" + ], + "type": 3 + } + } + ], + "default": false, + "docs": [], + "label": "new", + "payable": false, + "returnType": { + "displayName": [ + "ink_primitives", + "ConstructorResult" + ], + "type": 7 + }, + "selector": "0x9bae9d5e" + } + ], + "docs": [], + "environment": { + "accountId": { + "displayName": [ + "AccountId" + ], + "type": 4 + }, + "balance": { + "displayName": [ + "Balance" + ], + "type": 0 + }, + "blockNumber": { + "displayName": [ + "BlockNumber" + ], + "type": 22 + }, + "chainExtension": { + "displayName": [ + "ChainExtension" + ], + "type": 23 + }, + "hash": { + "displayName": [ + "Hash" + ], + "type": 20 + }, + "maxEventTopics": 4, + "timestamp": { + "displayName": [ + "Timestamp" + ], + "type": 21 + } + }, + "events": [], + "lang_error": { + "displayName": [ + "ink", + "LangError" + ], + "type": 8 + }, + "messages": [ + { + "args": [ + { + "label": "value", + "type": { + "displayName": [ + "Balance" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "withdraw_specific_amount", + "mutates": true, + "payable": true, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 9 + }, + "selector": "0xa1ea9e79" + }, + { + "args": [ + { + "label": "owner", + "type": { + "displayName": [ + "psp22_external", + "AllowanceInput1" + ], + "type": 4 + } + }, + { + "label": "spender", + "type": { + "displayName": [ + "psp22_external", + "AllowanceInput2" + ], + "type": 4 + } + } + ], + "default": false, + "docs": [ + " Returns the amount which `spender` is still allowed to withdraw from `owner`.", + "", + " Returns `0` if no allowance has been set `0`." + ], + "label": "PSP22::allowance", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 12 + }, + "selector": "0x4d47d921" + }, + { + "args": [ + { + "label": "spender", + "type": { + "displayName": [ + "psp22_external", + "IncreaseAllowanceInput1" + ], + "type": 4 + } + }, + { + "label": "delta_value", + "type": { + "displayName": [ + "psp22_external", + "IncreaseAllowanceInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [ + " Atomically increases the allowance granted to `spender` by the caller.", + "", + " An `Approval` event is emitted.", + "", + " # Errors", + "", + " Returns `ZeroSenderAddress` error if sender's address is zero.", + "", + " Returns `ZeroRecipientAddress` error if recipient's address is zero." + ], + "label": "PSP22::increase_allowance", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 9 + }, + "selector": "0x96d6b57a" + }, + { + "args": [ + { + "label": "spender", + "type": { + "displayName": [ + "psp22_external", + "DecreaseAllowanceInput1" + ], + "type": 4 + } + }, + { + "label": "delta_value", + "type": { + "displayName": [ + "psp22_external", + "DecreaseAllowanceInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [ + " Atomically decreases the allowance granted to `spender` by the caller.", + "", + " An `Approval` event is emitted.", + "", + " # Errors", + "", + " Returns `InsufficientAllowance` error if there are not enough tokens allowed", + " by owner for `spender`.", + "", + " Returns `ZeroSenderAddress` error if sender's address is zero.", + "", + " Returns `ZeroRecipientAddress` error if recipient's address is zero." + ], + "label": "PSP22::decrease_allowance", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 9 + }, + "selector": "0xfecb57d5" + }, + { + "args": [ + { + "label": "owner", + "type": { + "displayName": [ + "psp22_external", + "BalanceOfInput1" + ], + "type": 4 + } + } + ], + "default": false, + "docs": [ + " Returns the account Balance for the specified `owner`.", + "", + " Returns `0` if the account is non-existent." + ], + "label": "PSP22::balance_of", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 12 + }, + "selector": "0x6568382f" + }, + { + "args": [ + { + "label": "spender", + "type": { + "displayName": [ + "psp22_external", + "ApproveInput1" + ], + "type": 4 + } + }, + { + "label": "value", + "type": { + "displayName": [ + "psp22_external", + "ApproveInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [ + " Allows `spender` to withdraw from the caller's account multiple times, up to", + " the `value` amount.", + "", + " If this function is called again it overwrites the current allowance with `value`.", + "", + " An `Approval` event is emitted.", + "", + " # Errors", + "", + " Returns `ZeroSenderAddress` error if sender's address is zero.", + "", + " Returns `ZeroRecipientAddress` error if recipient's address is zero." + ], + "label": "PSP22::approve", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 9 + }, + "selector": "0xb20f1bbd" + }, + { + "args": [], + "default": false, + "docs": [ + " Returns the total token supply." + ], + "label": "PSP22::total_supply", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 12 + }, + "selector": "0x162df8c2" + }, + { + "args": [ + { + "label": "from", + "type": { + "displayName": [ + "psp22_external", + "TransferFromInput1" + ], + "type": 4 + } + }, + { + "label": "to", + "type": { + "displayName": [ + "psp22_external", + "TransferFromInput2" + ], + "type": 4 + } + }, + { + "label": "value", + "type": { + "displayName": [ + "psp22_external", + "TransferFromInput3" + ], + "type": 0 + } + }, + { + "label": "data", + "type": { + "displayName": [ + "psp22_external", + "TransferFromInput4" + ], + "type": 13 + } + } + ], + "default": false, + "docs": [ + " Transfers `value` tokens on the behalf of `from` to the account `to`", + " with additional `data` in unspecified format.", + "", + " This can be used to allow a contract to transfer tokens on ones behalf and/or", + " to charge fees in sub-currencies, for example.", + "", + " On success a `Transfer` and `Approval` events are emitted.", + "", + " # Errors", + "", + " Returns `InsufficientAllowance` error if there are not enough tokens allowed", + " for the caller to withdraw from `from`.", + "", + " Returns `InsufficientBalance` error if there are not enough tokens on", + " the the account Balance of `from`.", + "", + " Returns `ZeroSenderAddress` error if sender's address is zero.", + "", + " Returns `ZeroRecipientAddress` error if recipient's address is zero." + ], + "label": "PSP22::transfer_from", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 9 + }, + "selector": "0x54b3c76e" + }, + { + "args": [ + { + "label": "to", + "type": { + "displayName": [ + "psp22_external", + "TransferInput1" + ], + "type": 4 + } + }, + { + "label": "value", + "type": { + "displayName": [ + "psp22_external", + "TransferInput2" + ], + "type": 0 + } + }, + { + "label": "data", + "type": { + "displayName": [ + "psp22_external", + "TransferInput3" + ], + "type": 13 + } + } + ], + "default": false, + "docs": [ + " Transfers `value` amount of tokens from the caller's account to account `to`", + " with additional `data` in unspecified format.", + "", + " On success a `Transfer` event is emitted.", + "", + " # Errors", + "", + " Returns `InsufficientBalance` error if there are not enough tokens on", + " the caller's account Balance.", + "", + " Returns `ZeroSenderAddress` error if sender's address is zero.", + "", + " Returns `ZeroRecipientAddress` error if recipient's address is zero." + ], + "label": "PSP22::transfer", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 9 + }, + "selector": "0xdb20f9f5" + }, + { + "args": [], + "default": false, + "docs": [ + " Leaves the contract without owner. It will not be possible to call", + " owner's functions anymore. Can only be called by the current owner.", + "", + " NOTE: Renouncing ownership will leave the contract without an owner,", + " thereby removing any functionality that is only available to the owner.", + "", + " On success a `OwnershipTransferred` event is emitted.", + "", + " # Errors", + "", + " Panics with `CallerIsNotOwner` error if caller is not owner" + ], + "label": "Ownable::renounce_ownership", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 14 + }, + "selector": "0x5e228753" + }, + { + "args": [ + { + "label": "new_owner", + "type": { + "displayName": [ + "ownable_external", + "TransferOwnershipInput1" + ], + "type": 4 + } + } + ], + "default": false, + "docs": [ + " Transfers ownership of the contract to a `new_owner`.", + " Can only be called by the current owner.", + "", + " On success a `OwnershipTransferred` event is emitted.", + "", + " # Errors", + "", + " Panics with `CallerIsNotOwner` error if caller is not owner.", + "", + " Panics with `NewOwnerIsZero` error if new owner's address is zero." + ], + "label": "Ownable::transfer_ownership", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 14 + }, + "selector": "0x11f43efd" + }, + { + "args": [], + "default": false, + "docs": [ + " Returns the address of the current owner." + ], + "label": "Ownable::owner", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 17 + }, + "selector": "0x4fa43c8c" + }, + { + "args": [], + "default": false, + "docs": [ + " Returns the token name." + ], + "label": "PSP22Metadata::token_name", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 18 + }, + "selector": "0x3d261bd4" + }, + { + "args": [], + "default": false, + "docs": [ + " Returns the token symbol." + ], + "label": "PSP22Metadata::token_symbol", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 18 + }, + "selector": "0x34205be5" + }, + { + "args": [], + "default": false, + "docs": [ + " Returns the token decimals." + ], + "label": "PSP22Metadata::token_decimals", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0x7271b782" + } + ] + }, + "storage": { + "root": { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x00000000", + "ty": 0 + } + }, + "name": "supply" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0x1d458d3b", + "ty": 0 + } + }, + "root_key": "0x1d458d3b" + } + }, + "name": "balances" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0x0abd72fb", + "ty": 0 + } + }, + "root_key": "0x0abd72fb" + } + }, + "name": "allowances" + }, + { + "layout": { + "enum": { + "dispatchKey": "0x00000000", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x00000000", + "ty": 1 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "name": "_reserved" + } + ], + "name": "Data" + } + }, + "name": "psp22" + }, + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "enum": { + "dispatchKey": "0x00000000", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x00000000", + "ty": 2 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "name": "name" + }, + { + "layout": { + "enum": { + "dispatchKey": "0x00000000", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x00000000", + "ty": 2 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "name": "symbol" + }, + { + "layout": { + "leaf": { + "key": "0x00000000", + "ty": 3 + } + }, + "name": "decimals" + }, + { + "layout": { + "enum": { + "dispatchKey": "0x00000000", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x00000000", + "ty": 1 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "name": "_reserved" + } + ], + "name": "Data" + } + }, + "name": "metadata" + }, + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x00000000", + "ty": 4 + } + }, + "name": "owner" + }, + { + "layout": { + "enum": { + "dispatchKey": "0x00000000", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x00000000", + "ty": 1 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "name": "_reserved" + } + ], + "name": "Data" + } + }, + "name": "ownable" + } + ], + "name": "Contract" + } + }, + "root_key": "0x00000000" + } + }, + "types": [ + { + "id": 0, + "type": { + "def": { + "primitive": "u128" + } + } + }, + { + "id": 1, + "type": { + "def": { + "tuple": [] + } + } + }, + { + "id": 2, + "type": { + "def": { + "primitive": "str" + } + } + }, + { + "id": 3, + "type": { + "def": { + "primitive": "u8" + } + } + }, + { + "id": 4, + "type": { + "def": { + "composite": { + "fields": [ + { + "type": 5, + "typeName": "[u8; 32]" + } + ] + } + }, + "path": [ + "ink_primitives", + "types", + "AccountId" + ] + } + }, + { + "id": 5, + "type": { + "def": { + "array": { + "len": 32, + "type": 3 + } + } + } + }, + { + "id": 6, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "None" + }, + { + "fields": [ + { + "type": 2 + } + ], + "index": 1, + "name": "Some" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 2 + } + ], + "path": [ + "Option" + ] + } + }, + { + "id": 7, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 1 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 1 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "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": 1 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 11 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 1 + }, + { + "name": "E", + "type": 11 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 11, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 2, + "typeName": "String" + } + ], + "index": 0, + "name": "Custom" + }, + { + "index": 1, + "name": "InsufficientBalance" + }, + { + "index": 2, + "name": "InsufficientAllowance" + }, + { + "index": 3, + "name": "ZeroRecipientAddress" + }, + { + "index": 4, + "name": "ZeroSenderAddress" + }, + { + "fields": [ + { + "type": 2, + "typeName": "String" + } + ], + "index": 5, + "name": "SafeTransferCheckFailed" + } + ] + } + }, + "path": [ + "openbrush_contracts", + "traits", + "errors", + "psp22", + "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": 3 + } + } + } + }, + { + "id": 14, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 15 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 15 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 15, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 1 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 16 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 1 + }, + { + "name": "E", + "type": 16 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 16, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "CallerIsNotOwner" + }, + { + "index": 1, + "name": "NewOwnerIsZero" + } + ] + } + }, + "path": [ + "openbrush_contracts", + "traits", + "errors", + "ownable", + "OwnableError" + ] + } + }, + { + "id": 17, + "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": 18, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 6 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 6 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 19, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 3 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 3 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 20, + "type": { + "def": { + "composite": { + "fields": [ + { + "type": 5, + "typeName": "[u8; 32]" + } + ] + } + }, + "path": [ + "ink_primitives", + "types", + "Hash" + ] + } + }, + { + "id": 21, + "type": { + "def": { + "primitive": "u64" + } + } + }, + { + "id": 22, + "type": { + "def": { + "primitive": "u32" + } + } + }, + { + "id": 23, + "type": { + "def": { + "variant": {} + }, + "path": [ + "ink_env", + "types", + "NoChainExtension" + ] + } + } + ], + "version": "4" +} \ No newline at end of file diff --git a/tokens/psp22/5F9aiiwLMPC6fFxxwqHvJpm7h5T4Xm93mJT6cpDrQnKkLFoK/info.json b/tokens/psp22/5F9aiiwLMPC6fFxxwqHvJpm7h5T4Xm93mJT6cpDrQnKkLFoK/info.json new file mode 100644 index 0000000..4474b9a --- /dev/null +++ b/tokens/psp22/5F9aiiwLMPC6fFxxwqHvJpm7h5T4Xm93mJT6cpDrQnKkLFoK/info.json @@ -0,0 +1,28 @@ +{ + "name": "Mr Hankey", + "symbol": "SHIT", + "type": "PSP22", + "contractAddress": "5F9aiiwLMPC6fFxxwqHvJpm7h5T4Xm93mJT6cpDrQnKkLFoK", + "decimals": 12, + "description": "Most famous meme $SHIT", + "website": "https://the-shit.xyz/", + "sourceCode": "https://github.com/InkWhale-net/contracts/blob/feature/upgrade-op-4/op4_contracts/contracts/psp22_standard/psp22_standard.json", + "links": [ + { + "name": "X/Twitter", + "url": "https://x.com/mr_hankey_shit" + }, + { + "name": "Telegram", + "url": "https://t.me/mr_hankey_shit" + }, + { + "name": "Discord", + "url": "" + } + ], + "customTags": ["$SHIT Contract Address"], + "warnings": [], + "owner": "5DMCcKK5HuEtSQ9QT9eunuzLy7owhLGX5g77Es9fsoRyhcXj", + "minter": "5DMCcKK5HuEtSQ9QT9eunuzLy7owhLGX5g77Es9fsoRyhcXj" +} diff --git a/tokens/psp22/5F9aiiwLMPC6fFxxwqHvJpm7h5T4Xm93mJT6cpDrQnKkLFoK/logo.png b/tokens/psp22/5F9aiiwLMPC6fFxxwqHvJpm7h5T4Xm93mJT6cpDrQnKkLFoK/logo.png new file mode 100644 index 0000000..d1dd572 Binary files /dev/null and b/tokens/psp22/5F9aiiwLMPC6fFxxwqHvJpm7h5T4Xm93mJT6cpDrQnKkLFoK/logo.png differ diff --git a/tokens/psp22/5F9aiiwLMPC6fFxxwqHvJpm7h5T4Xm93mJT6cpDrQnKkLFoK/metadata.json b/tokens/psp22/5F9aiiwLMPC6fFxxwqHvJpm7h5T4Xm93mJT6cpDrQnKkLFoK/metadata.json new file mode 100644 index 0000000..c80c2f7 --- /dev/null +++ b/tokens/psp22/5F9aiiwLMPC6fFxxwqHvJpm7h5T4Xm93mJT6cpDrQnKkLFoK/metadata.json @@ -0,0 +1,2767 @@ +{ + "source": { + "hash": "0x98cce11966e1b2638cae52ff2b62d28f83194c0141eb7ad530fb40686d6e4a0b", + "language": "ink! 4.3.0", + "compiler": "rustc 1.68.0", + "build_info": { + "build_mode": "Release", + "cargo_contract_version": "3.2.0", + "rust_toolchain": "stable-x86_64-unknown-linux-gnu", + "wasm_opt_settings": { + "keep_debug_symbols": false, + "optimization_passes": "Z" + } + } + }, + "contract": { + "name": "psp22_standard", + "version": "1.0.0", + "authors": [ + "InkWhale " + ] + }, + "spec": { + "constructors": [ + { + "args": [ + { + "label": "cap", + "type": { + "displayName": [ + "Balance" + ], + "type": 0 + } + }, + { + "label": "name", + "type": { + "displayName": [ + "String" + ], + "type": 1 + } + }, + { + "label": "symbol", + "type": { + "displayName": [ + "String" + ], + "type": 1 + } + }, + { + "label": "decimal", + "type": { + "displayName": [ + "u8" + ], + "type": 2 + } + } + ], + "default": false, + "docs": [], + "label": "new", + "payable": false, + "returnType": { + "displayName": [ + "ink_primitives", + "ConstructorResult" + ], + "type": 7 + }, + "selector": "0x9bae9d5e" + } + ], + "docs": [], + "environment": { + "accountId": { + "displayName": [ + "AccountId" + ], + "type": 3 + }, + "balance": { + "displayName": [ + "Balance" + ], + "type": 0 + }, + "blockNumber": { + "displayName": [ + "BlockNumber" + ], + "type": 5 + }, + "chainExtension": { + "displayName": [ + "ChainExtension" + ], + "type": 37 + }, + "hash": { + "displayName": [ + "Hash" + ], + "type": 35 + }, + "maxEventTopics": 4, + "timestamp": { + "displayName": [ + "Timestamp" + ], + "type": 36 + } + }, + "events": [ + { + "args": [ + { + "docs": [], + "indexed": true, + "label": "from", + "type": { + "displayName": [ + "Option" + ], + "type": 27 + } + }, + { + "docs": [], + "indexed": true, + "label": "to", + "type": { + "displayName": [ + "Option" + ], + "type": 27 + } + }, + { + "docs": [], + "indexed": false, + "label": "value", + "type": { + "displayName": [ + "Balance" + ], + "type": 0 + } + } + ], + "docs": [], + "label": "Transfer" + }, + { + "args": [ + { + "docs": [], + "indexed": true, + "label": "owner", + "type": { + "displayName": [ + "AccountId" + ], + "type": 3 + } + }, + { + "docs": [], + "indexed": true, + "label": "spender", + "type": { + "displayName": [ + "AccountId" + ], + "type": 3 + } + }, + { + "docs": [], + "indexed": false, + "label": "value", + "type": { + "displayName": [ + "Balance" + ], + "type": 0 + } + } + ], + "docs": [], + "label": "Approval" + } + ], + "lang_error": { + "displayName": [ + "ink", + "LangError" + ], + "type": 8 + }, + "messages": [ + { + "args": [ + { + "label": "code_hash", + "type": { + "displayName": [ + "upgradeabletrait_external", + "SetCodeInput1" + ], + "type": 4 + } + } + ], + "default": false, + "docs": [ + " This function allow contract owner modifies the code which is used to execute calls to this contract address (`AccountId`)." + ], + "label": "UpgradeableTrait::set_code", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 9 + }, + "selector": "0x9e32fab2" + }, + { + "args": [ + { + "label": "value", + "type": { + "displayName": [ + "admintrait_external", + "WithdrawFeeInput1" + ], + "type": 0 + } + }, + { + "label": "receiver", + "type": { + "displayName": [ + "admintrait_external", + "WithdrawFeeInput2" + ], + "type": 3 + } + } + ], + "default": false, + "docs": [ + " This function allows contract owner to withdraw contract balance to his account." + ], + "label": "AdminTrait::withdraw_fee", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 9 + }, + "selector": "0x07573e99" + }, + { + "args": [], + "default": false, + "docs": [ + " Get Azero balance" + ], + "label": "AdminTrait::get_balance", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 17 + }, + "selector": "0xc4360570" + }, + { + "args": [ + { + "label": "psp22_contract_address", + "type": { + "displayName": [ + "admintrait_external", + "TranferPsp22Input1" + ], + "type": 3 + } + }, + { + "label": "amount", + "type": { + "displayName": [ + "admintrait_external", + "TranferPsp22Input2" + ], + "type": 0 + } + }, + { + "label": "receiver", + "type": { + "displayName": [ + "admintrait_external", + "TranferPsp22Input3" + ], + "type": 3 + } + } + ], + "default": false, + "docs": [ + " This function allow contract owner withdraw PSP22 to an account in case there is any token sent to contract by mistake" + ], + "label": "AdminTrait::tranfer_psp22", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 9 + }, + "selector": "0xd9aad284" + }, + { + "args": [ + { + "label": "account", + "type": { + "displayName": [ + "psp22burnable_external", + "BurnInput1" + ], + "type": 3 + } + }, + { + "label": "amount", + "type": { + "displayName": [ + "psp22burnable_external", + "BurnInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22Burnable::burn", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0x7a9da510" + }, + { + "args": [ + { + "label": "spender", + "type": { + "displayName": [ + "psp22_external", + "IncreaseAllowanceInput1" + ], + "type": 3 + } + }, + { + "label": "delta_value", + "type": { + "displayName": [ + "psp22_external", + "IncreaseAllowanceInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::increase_allowance", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0x96d6b57a" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22::total_supply", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 21 + }, + "selector": "0x162df8c2" + }, + { + "args": [ + { + "label": "owner", + "type": { + "displayName": [ + "psp22_external", + "AllowanceInput1" + ], + "type": 3 + } + }, + { + "label": "spender", + "type": { + "displayName": [ + "psp22_external", + "AllowanceInput2" + ], + "type": 3 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::allowance", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 21 + }, + "selector": "0x4d47d921" + }, + { + "args": [ + { + "label": "to", + "type": { + "displayName": [ + "psp22_external", + "TransferInput1" + ], + "type": 3 + } + }, + { + "label": "value", + "type": { + "displayName": [ + "psp22_external", + "TransferInput2" + ], + "type": 0 + } + }, + { + "label": "data", + "type": { + "displayName": [ + "psp22_external", + "TransferInput3" + ], + "type": 22 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::transfer", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0xdb20f9f5" + }, + { + "args": [ + { + "label": "from", + "type": { + "displayName": [ + "psp22_external", + "TransferFromInput1" + ], + "type": 3 + } + }, + { + "label": "to", + "type": { + "displayName": [ + "psp22_external", + "TransferFromInput2" + ], + "type": 3 + } + }, + { + "label": "value", + "type": { + "displayName": [ + "psp22_external", + "TransferFromInput3" + ], + "type": 0 + } + }, + { + "label": "data", + "type": { + "displayName": [ + "psp22_external", + "TransferFromInput4" + ], + "type": 22 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::transfer_from", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0x54b3c76e" + }, + { + "args": [ + { + "label": "spender", + "type": { + "displayName": [ + "psp22_external", + "DecreaseAllowanceInput1" + ], + "type": 3 + } + }, + { + "label": "delta_value", + "type": { + "displayName": [ + "psp22_external", + "DecreaseAllowanceInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::decrease_allowance", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0xfecb57d5" + }, + { + "args": [ + { + "label": "spender", + "type": { + "displayName": [ + "psp22_external", + "ApproveInput1" + ], + "type": 3 + } + }, + { + "label": "value", + "type": { + "displayName": [ + "psp22_external", + "ApproveInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::approve", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0xb20f1bbd" + }, + { + "args": [ + { + "label": "owner", + "type": { + "displayName": [ + "psp22_external", + "BalanceOfInput1" + ], + "type": 3 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::balance_of", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 21 + }, + "selector": "0x6568382f" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Capped::cap", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 21 + }, + "selector": "0xf40366b4" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Metadata::token_symbol", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 23 + }, + "selector": "0x34205be5" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Metadata::token_decimals", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 25 + }, + "selector": "0x7271b782" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Metadata::token_name", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 23 + }, + "selector": "0x3d261bd4" + }, + { + "args": [ + { + "label": "account", + "type": { + "displayName": [ + "psp22mintable_external", + "MintInput1" + ], + "type": 3 + } + }, + { + "label": "amount", + "type": { + "displayName": [ + "psp22mintable_external", + "MintInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22Mintable::mint", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0xfc3c75d4" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "Ownable::owner", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 26 + }, + "selector": "0x4fa43c8c" + }, + { + "args": [ + { + "label": "new_owner", + "type": { + "displayName": [ + "ownable_external", + "TransferOwnershipInput1" + ], + "type": 3 + } + } + ], + "default": false, + "docs": [], + "label": "Ownable::transfer_ownership", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 28 + }, + "selector": "0x11f43efd" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "Ownable::renounce_ownership", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 28 + }, + "selector": "0x5e228753" + }, + { + "args": [ + { + "label": "role", + "type": { + "displayName": [ + "accesscontrol_external", + "HasRoleInput1" + ], + "type": 5 + } + }, + { + "label": "address", + "type": { + "displayName": [ + "accesscontrol_external", + "HasRoleInput2" + ], + "type": 27 + } + } + ], + "default": false, + "docs": [], + "label": "AccessControl::has_role", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 30 + }, + "selector": "0xc1d9ac18" + }, + { + "args": [ + { + "label": "role", + "type": { + "displayName": [ + "accesscontrol_external", + "RenounceRoleInput1" + ], + "type": 5 + } + }, + { + "label": "account", + "type": { + "displayName": [ + "accesscontrol_external", + "RenounceRoleInput2" + ], + "type": 27 + } + } + ], + "default": false, + "docs": [], + "label": "AccessControl::renounce_role", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 32 + }, + "selector": "0xeaf1248a" + }, + { + "args": [ + { + "label": "role", + "type": { + "displayName": [ + "accesscontrol_external", + "RevokeRoleInput1" + ], + "type": 5 + } + }, + { + "label": "account", + "type": { + "displayName": [ + "accesscontrol_external", + "RevokeRoleInput2" + ], + "type": 27 + } + } + ], + "default": false, + "docs": [], + "label": "AccessControl::revoke_role", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 32 + }, + "selector": "0x6e4f0991" + }, + { + "args": [ + { + "label": "role", + "type": { + "displayName": [ + "accesscontrol_external", + "GrantRoleInput1" + ], + "type": 5 + } + }, + { + "label": "account", + "type": { + "displayName": [ + "accesscontrol_external", + "GrantRoleInput2" + ], + "type": 27 + } + } + ], + "default": false, + "docs": [], + "label": "AccessControl::grant_role", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 32 + }, + "selector": "0x4ac062fd" + }, + { + "args": [ + { + "label": "role", + "type": { + "displayName": [ + "accesscontrol_external", + "GetRoleAdminInput1" + ], + "type": 5 + } + } + ], + "default": false, + "docs": [], + "label": "AccessControl::get_role_admin", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 34 + }, + "selector": "0x83da3bb2" + } + ] + }, + "storage": { + "root": { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0x270a8fc3", + "ty": 0 + } + }, + "root_key": "0x270a8fc3" + } + }, + "name": "supply" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0xc2664826", + "ty": 0 + } + }, + "root_key": "0xc2664826" + } + }, + "name": "balances" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0xf8d71e22", + "ty": 0 + } + }, + "root_key": "0xf8d71e22" + } + }, + "name": "allowances" + } + ], + "name": "Data" + } + }, + "name": "psp22" + }, + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "root": { + "layout": { + "enum": { + "dispatchKey": "0x90a00b7d", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x90a00b7d", + "ty": 1 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "root_key": "0x90a00b7d" + } + }, + "name": "name" + }, + { + "layout": { + "root": { + "layout": { + "enum": { + "dispatchKey": "0xf8019f84", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0xf8019f84", + "ty": 1 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "root_key": "0xf8019f84" + } + }, + "name": "symbol" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0xd29264d8", + "ty": 2 + } + }, + "root_key": "0xd29264d8" + } + }, + "name": "decimals" + } + ], + "name": "Data" + } + }, + "name": "metadata" + }, + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "root": { + "layout": { + "enum": { + "dispatchKey": "0x6f713913", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x6f713913", + "ty": 3 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "root_key": "0x6f713913" + } + }, + "name": "owner" + } + ], + "name": "Data" + } + }, + "name": "ownable" + }, + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0x5fd98c24", + "ty": 0 + } + }, + "root_key": "0x5fd98c24" + } + }, + "name": "cap" + } + ], + "name": "Data" + } + }, + "name": "cap" + }, + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0x1f2cf4ac", + "ty": 5 + } + }, + "root_key": "0x1f2cf4ac" + } + }, + "name": "admin_roles" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0x8150f558", + "ty": 6 + } + }, + "root_key": "0x8150f558" + } + }, + "name": "members" + } + ], + "name": "Data" + } + }, + "name": "access" + } + ], + "name": "Psp22Nft" + } + }, + "root_key": "0x00000000" + } + }, + "types": [ + { + "id": 0, + "type": { + "def": { + "primitive": "u128" + } + } + }, + { + "id": 1, + "type": { + "def": { + "primitive": "str" + } + } + }, + { + "id": 2, + "type": { + "def": { + "primitive": "u8" + } + } + }, + { + "id": 3, + "type": { + "def": { + "composite": { + "fields": [ + { + "type": 4, + "typeName": "[u8; 32]" + } + ] + } + }, + "path": [ + "ink_primitives", + "types", + "AccountId" + ] + } + }, + { + "id": 4, + "type": { + "def": { + "array": { + "len": 32, + "type": 2 + } + } + } + }, + { + "id": 5, + "type": { + "def": { + "primitive": "u32" + } + } + }, + { + "id": 6, + "type": { + "def": { + "tuple": [] + } + } + }, + { + "id": 7, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 6 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 6 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "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": 6 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 11 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 6 + }, + { + "name": "E", + "type": 11 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 11, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 1, + "typeName": "String" + } + ], + "index": 0, + "name": "Custom" + }, + { + "fields": [ + { + "type": 12, + "typeName": "OwnableError" + } + ], + "index": 1, + "name": "OwnableError" + }, + { + "fields": [ + { + "type": 13, + "typeName": "AccessControlError" + } + ], + "index": 2, + "name": "AccessControlError" + }, + { + "fields": [ + { + "type": 14, + "typeName": "PSP22Error" + } + ], + "index": 3, + "name": "PSP22Error" + }, + { + "fields": [ + { + "type": 15, + "typeName": "PSP34Error" + } + ], + "index": 4, + "name": "PSP34Error" + }, + { + "fields": [ + { + "type": 16, + "typeName": "PausableError" + } + ], + "index": 5, + "name": "PausableError" + }, + { + "index": 6, + "name": "NotEnoughBalance" + }, + { + "index": 7, + "name": "WithdrawFeeError" + }, + { + "index": 8, + "name": "NotCallable" + }, + { + "index": 9, + "name": "CannotTransfer" + }, + { + "index": 10, + "name": "CannotBurn" + }, + { + "index": 11, + "name": "CheckedOperations" + }, + { + "index": 12, + "name": "InvalidBalanceAndAllowance" + }, + { + "index": 13, + "name": "AlreadyInit" + }, + { + "index": 14, + "name": "InvalidBuyAmount" + }, + { + "index": 15, + "name": "InvalidTransferAmount" + }, + { + "index": 16, + "name": "CannotCreatePool" + }, + { + "index": 17, + "name": "NotTimeToStake" + }, + { + "index": 18, + "name": "NoStakerFound" + }, + { + "index": 19, + "name": "InvalidUnstakedAmount" + }, + { + "index": 20, + "name": "NotEnoughReward" + }, + { + "index": 21, + "name": "NotTokenOwner" + }, + { + "index": 22, + "name": "AllowanceNotSet" + }, + { + "index": 23, + "name": "TokenNotFound" + }, + { + "index": 24, + "name": "UserNotStake" + }, + { + "index": 25, + "name": "NoTokenOwner" + }, + { + "index": 26, + "name": "ExceedTotalStakingAmount" + }, + { + "index": 27, + "name": "NoClaimAmount" + }, + { + "index": 28, + "name": "NotTimeToWithdraw" + }, + { + "index": 29, + "name": "NotEnoughRewardToWithdraw" + }, + { + "index": 30, + "name": "NotTopupEnoughReward" + }, + { + "index": 31, + "name": "NoAmount" + }, + { + "index": 32, + "name": "InvalidTokenBalanceAndAllowance" + }, + { + "index": 33, + "name": "CannotApprove" + }, + { + "index": 34, + "name": "CannotTopupRewardPool" + }, + { + "index": 35, + "name": "NotTimeToPurchase" + }, + { + "index": 36, + "name": "NotTimeToClaim" + }, + { + "index": 37, + "name": "NotTimeToBurn" + }, + { + "index": 38, + "name": "NoTokenPurchased" + }, + { + "index": 39, + "name": "AlreadyBurnt" + }, + { + "index": 40, + "name": "InvalidTime" + }, + { + "index": 41, + "name": "InvalidPercentage" + }, + { + "index": 42, + "name": "InvalidDuration" + }, + { + "index": 43, + "name": "InvalidVestingUnit" + }, + { + "index": 44, + "name": "InvalidTopupAmount" + }, + { + "index": 45, + "name": "LaunchpadNotExist" + }, + { + "index": 46, + "name": "InvalidIsActiveInput" + }, + { + "index": 47, + "name": "InvalidCreationFee" + }, + { + "index": 48, + "name": "InvalidTxRate" + }, + { + "index": 49, + "name": "InvalidPhaseData" + }, + { + "index": 50, + "name": "CannotTopupToken" + }, + { + "index": 51, + "name": "InvalidStartTimeAndEndTime" + }, + { + "index": 52, + "name": "InvalidPhaseCount" + }, + { + "index": 53, + "name": "InvalidMaxStakingAmount" + }, + { + "index": 54, + "name": "InvalidApy" + }, + { + "index": 55, + "name": "InvalidMultiplier" + }, + { + "index": 56, + "name": "InvalidWhitelistData" + }, + { + "index": 57, + "name": "PhaseNotExist" + }, + { + "index": 58, + "name": "PhaseNotActive" + }, + { + "index": 59, + "name": "WhitelistBuyerInfoNotExist" + }, + { + "index": 60, + "name": "WhitelistBuyerInfoExist" + }, + { + "index": 61, + "name": "WhitelistBuyerPurchased" + }, + { + "index": 62, + "name": "WhitelistSaleInfoNotExist" + }, + { + "index": 63, + "name": "WhitelistPhaseAccountNotExist" + }, + { + "index": 64, + "name": "PublicSaleInfoNotExist" + }, + { + "index": 65, + "name": "InvalidSetActive" + }, + { + "index": 66, + "name": "InvalidTotalAmount" + }, + { + "index": 67, + "name": "CannotTransferTxFee" + }, + { + "index": 68, + "name": "ActiveLaunchpadStatusNotFound" + }, + { + "index": 69, + "name": "LaunchpadNotActive" + }, + { + "index": 70, + "name": "InvalidCaller" + }, + { + "index": 71, + "name": "NoPhaseActive" + }, + { + "index": 72, + "name": "InvalidTotalSupply" + }, + { + "index": 73, + "name": "PhaseNotPublic" + }, + { + "index": 74, + "name": "InvalidSetPublic" + }, + { + "index": 75, + "name": "InvalidCapAmount" + }, + { + "index": 76, + "name": "InvalidWhitelistAmount" + }, + { + "index": 77, + "name": "CapExceeded" + }, + { + "index": 78, + "name": "CannotCollectInwV1" + }, + { + "index": 79, + "name": "CannotMintInwV2" + } + ] + } + }, + "path": [ + "inkwhale_project", + "traits", + "error", + "Error" + ] + } + }, + { + "id": 12, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "CallerIsNotOwner" + }, + { + "index": 1, + "name": "NewOwnerIsZero" + } + ] + } + }, + "path": [ + "openbrush_contracts", + "traits", + "errors", + "ownable", + "OwnableError" + ] + } + }, + { + "id": 13, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "InvalidCaller" + }, + { + "index": 1, + "name": "MissingRole" + }, + { + "index": 2, + "name": "RoleRedundant" + } + ] + } + }, + "path": [ + "openbrush_contracts", + "traits", + "errors", + "access_control", + "AccessControlError" + ] + } + }, + { + "id": 14, + "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": [ + "openbrush_contracts", + "traits", + "errors", + "psp22", + "PSP22Error" + ] + } + }, + { + "id": 15, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 1, + "typeName": "String" + } + ], + "index": 0, + "name": "Custom" + }, + { + "index": 1, + "name": "SelfApprove" + }, + { + "index": 2, + "name": "NotApproved" + }, + { + "index": 3, + "name": "TokenExists" + }, + { + "index": 4, + "name": "TokenNotExists" + }, + { + "fields": [ + { + "type": 1, + "typeName": "String" + } + ], + "index": 5, + "name": "SafeTransferCheckFailed" + } + ] + } + }, + "path": [ + "openbrush_contracts", + "traits", + "errors", + "psp34", + "PSP34Error" + ] + } + }, + { + "id": 16, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "Paused" + }, + { + "index": 1, + "name": "NotPaused" + } + ] + } + }, + "path": [ + "openbrush_contracts", + "traits", + "errors", + "pausable", + "PausableError" + ] + } + }, + { + "id": 17, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 18 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 18 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 18, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 0 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 11 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "E", + "type": 11 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 19, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 20 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 20 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 20, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 6 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 14 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 6 + }, + { + "name": "E", + "type": 14 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 21, + "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": 22, + "type": { + "def": { + "sequence": { + "type": 2 + } + } + } + }, + { + "id": 23, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 24 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 24 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 24, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "None" + }, + { + "fields": [ + { + "type": 1 + } + ], + "index": 1, + "name": "Some" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 1 + } + ], + "path": [ + "Option" + ] + } + }, + { + "id": 25, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 2 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 26, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 27 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 27 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 27, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "None" + }, + { + "fields": [ + { + "type": 3 + } + ], + "index": 1, + "name": "Some" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 3 + } + ], + "path": [ + "Option" + ] + } + }, + { + "id": 28, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 29 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 29 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 29, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 6 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 12 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 6 + }, + { + "name": "E", + "type": 12 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 30, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 31 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 31 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 31, + "type": { + "def": { + "primitive": "bool" + } + } + }, + { + "id": 32, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 33 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 33 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 33, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 6 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 13 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 6 + }, + { + "name": "E", + "type": 13 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 34, + "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": 35, + "type": { + "def": { + "composite": { + "fields": [ + { + "type": 4, + "typeName": "[u8; 32]" + } + ] + } + }, + "path": [ + "ink_primitives", + "types", + "Hash" + ] + } + }, + { + "id": 36, + "type": { + "def": { + "primitive": "u64" + } + } + }, + { + "id": 37, + "type": { + "def": { + "variant": {} + }, + "path": [ + "ink_env", + "types", + "NoChainExtension" + ] + } + } + ], + "version": "4" +} \ No newline at end of file diff --git a/tokens/psp22/5GCubYQbm9x6TQbthbWpUVrgEibXMDXhgisw8DFYCpPJQ5f7/info.json b/tokens/psp22/5GCubYQbm9x6TQbthbWpUVrgEibXMDXhgisw8DFYCpPJQ5f7/info.json new file mode 100644 index 0000000..5609ea2 --- /dev/null +++ b/tokens/psp22/5GCubYQbm9x6TQbthbWpUVrgEibXMDXhgisw8DFYCpPJQ5f7/info.json @@ -0,0 +1,29 @@ +{ + "name": "I Owe You", + "symbol": "IOU", + "type": "PSP22", + "contractAddress": "5GCubYQbm9x6TQbthbWpUVrgEibXMDXhgisw8DFYCpPJQ5f7", + "decimals": 12, + "description": "$IOU, short for I Owe You, is an engaging meme token presented by Office Party, exclusively designed for the Aleph Zero ecosystem. In line with the ethos of Office Party, $IOU boasts a commitment to 100% community engagement, humorously coupled with a promise of 100% zero utility.", + "website": "https://www.iou.wtf/", + "sourceCode": "https://github.com/InkWhale-net/contracts/blob/feature/upgrade-op-4/op4_contracts/contracts/psp22_standard/psp22_standard.json", + "links": [ + { + "name": "X/Twitter", + "url": "https://x.com/IOUmeme" + }, + { + "name": "Telegram", + "url": "https://t.me/ioumeme" + }, + { + "name": "Discord", + "url": "https://discord.gg/3qdqpAUvUN" + } + ], + "customTags": [ + ], + "warnings": [], + "owner": "5Cu4iSXjW2vhx3akcdmVcD5jdGobQemPHJvQQC2mX4Gad7xs", + "minter": "5Cu4iSXjW2vhx3akcdmVcD5jdGobQemPHJvQQC2mX4Gad7xs" +} diff --git a/tokens/psp22/5GCubYQbm9x6TQbthbWpUVrgEibXMDXhgisw8DFYCpPJQ5f7/logo.png b/tokens/psp22/5GCubYQbm9x6TQbthbWpUVrgEibXMDXhgisw8DFYCpPJQ5f7/logo.png new file mode 100644 index 0000000..56649c9 Binary files /dev/null and b/tokens/psp22/5GCubYQbm9x6TQbthbWpUVrgEibXMDXhgisw8DFYCpPJQ5f7/logo.png differ diff --git a/tokens/psp22/5GCubYQbm9x6TQbthbWpUVrgEibXMDXhgisw8DFYCpPJQ5f7/metadata.json b/tokens/psp22/5GCubYQbm9x6TQbthbWpUVrgEibXMDXhgisw8DFYCpPJQ5f7/metadata.json new file mode 100644 index 0000000..73a4f28 --- /dev/null +++ b/tokens/psp22/5GCubYQbm9x6TQbthbWpUVrgEibXMDXhgisw8DFYCpPJQ5f7/metadata.json @@ -0,0 +1,2767 @@ +{ + "source": { + "hash": "0x98cce11966e1b2638cae52ff2b62d28f83194c0141eb7ad530fb40686d6e4a0b", + "language": "ink! 4.3.0", + "compiler": "rustc 1.68.0", + "build_info": { + "build_mode": "Release", + "cargo_contract_version": "3.2.0", + "rust_toolchain": "stable-x86_64-unknown-linux-gnu", + "wasm_opt_settings": { + "keep_debug_symbols": false, + "optimization_passes": "Z" + } + } + }, + "contract": { + "name": "psp22_standard", + "version": "1.0.0", + "authors": [ + "InkWhale " + ] + }, + "spec": { + "constructors": [ + { + "args": [ + { + "label": "cap", + "type": { + "displayName": [ + "Balance" + ], + "type": 0 + } + }, + { + "label": "name", + "type": { + "displayName": [ + "String" + ], + "type": 1 + } + }, + { + "label": "symbol", + "type": { + "displayName": [ + "String" + ], + "type": 1 + } + }, + { + "label": "decimal", + "type": { + "displayName": [ + "u8" + ], + "type": 2 + } + } + ], + "default": false, + "docs": [], + "label": "new", + "payable": false, + "returnType": { + "displayName": [ + "ink_primitives", + "ConstructorResult" + ], + "type": 7 + }, + "selector": "0x9bae9d5e" + } + ], + "docs": [], + "environment": { + "accountId": { + "displayName": [ + "AccountId" + ], + "type": 3 + }, + "balance": { + "displayName": [ + "Balance" + ], + "type": 0 + }, + "blockNumber": { + "displayName": [ + "BlockNumber" + ], + "type": 5 + }, + "chainExtension": { + "displayName": [ + "ChainExtension" + ], + "type": 37 + }, + "hash": { + "displayName": [ + "Hash" + ], + "type": 35 + }, + "maxEventTopics": 4, + "timestamp": { + "displayName": [ + "Timestamp" + ], + "type": 36 + } + }, + "events": [ + { + "args": [ + { + "docs": [], + "indexed": true, + "label": "from", + "type": { + "displayName": [ + "Option" + ], + "type": 27 + } + }, + { + "docs": [], + "indexed": true, + "label": "to", + "type": { + "displayName": [ + "Option" + ], + "type": 27 + } + }, + { + "docs": [], + "indexed": false, + "label": "value", + "type": { + "displayName": [ + "Balance" + ], + "type": 0 + } + } + ], + "docs": [], + "label": "Transfer" + }, + { + "args": [ + { + "docs": [], + "indexed": true, + "label": "owner", + "type": { + "displayName": [ + "AccountId" + ], + "type": 3 + } + }, + { + "docs": [], + "indexed": true, + "label": "spender", + "type": { + "displayName": [ + "AccountId" + ], + "type": 3 + } + }, + { + "docs": [], + "indexed": false, + "label": "value", + "type": { + "displayName": [ + "Balance" + ], + "type": 0 + } + } + ], + "docs": [], + "label": "Approval" + } + ], + "lang_error": { + "displayName": [ + "ink", + "LangError" + ], + "type": 8 + }, + "messages": [ + { + "args": [ + { + "label": "code_hash", + "type": { + "displayName": [ + "upgradeabletrait_external", + "SetCodeInput1" + ], + "type": 4 + } + } + ], + "default": false, + "docs": [ + " This function allow contract owner modifies the code which is used to execute calls to this contract address (`AccountId`)." + ], + "label": "UpgradeableTrait::set_code", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 9 + }, + "selector": "0x9e32fab2" + }, + { + "args": [ + { + "label": "value", + "type": { + "displayName": [ + "admintrait_external", + "WithdrawFeeInput1" + ], + "type": 0 + } + }, + { + "label": "receiver", + "type": { + "displayName": [ + "admintrait_external", + "WithdrawFeeInput2" + ], + "type": 3 + } + } + ], + "default": false, + "docs": [ + " This function allows contract owner to withdraw contract balance to his account." + ], + "label": "AdminTrait::withdraw_fee", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 9 + }, + "selector": "0x07573e99" + }, + { + "args": [], + "default": false, + "docs": [ + " Get Azero balance" + ], + "label": "AdminTrait::get_balance", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 17 + }, + "selector": "0xc4360570" + }, + { + "args": [ + { + "label": "psp22_contract_address", + "type": { + "displayName": [ + "admintrait_external", + "TranferPsp22Input1" + ], + "type": 3 + } + }, + { + "label": "amount", + "type": { + "displayName": [ + "admintrait_external", + "TranferPsp22Input2" + ], + "type": 0 + } + }, + { + "label": "receiver", + "type": { + "displayName": [ + "admintrait_external", + "TranferPsp22Input3" + ], + "type": 3 + } + } + ], + "default": false, + "docs": [ + " This function allow contract owner withdraw PSP22 to an account in case there is any token sent to contract by mistake" + ], + "label": "AdminTrait::tranfer_psp22", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 9 + }, + "selector": "0xd9aad284" + }, + { + "args": [ + { + "label": "account", + "type": { + "displayName": [ + "psp22burnable_external", + "BurnInput1" + ], + "type": 3 + } + }, + { + "label": "amount", + "type": { + "displayName": [ + "psp22burnable_external", + "BurnInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22Burnable::burn", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0x7a9da510" + }, + { + "args": [ + { + "label": "spender", + "type": { + "displayName": [ + "psp22_external", + "IncreaseAllowanceInput1" + ], + "type": 3 + } + }, + { + "label": "delta_value", + "type": { + "displayName": [ + "psp22_external", + "IncreaseAllowanceInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::increase_allowance", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0x96d6b57a" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22::total_supply", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 21 + }, + "selector": "0x162df8c2" + }, + { + "args": [ + { + "label": "owner", + "type": { + "displayName": [ + "psp22_external", + "AllowanceInput1" + ], + "type": 3 + } + }, + { + "label": "spender", + "type": { + "displayName": [ + "psp22_external", + "AllowanceInput2" + ], + "type": 3 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::allowance", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 21 + }, + "selector": "0x4d47d921" + }, + { + "args": [ + { + "label": "to", + "type": { + "displayName": [ + "psp22_external", + "TransferInput1" + ], + "type": 3 + } + }, + { + "label": "value", + "type": { + "displayName": [ + "psp22_external", + "TransferInput2" + ], + "type": 0 + } + }, + { + "label": "data", + "type": { + "displayName": [ + "psp22_external", + "TransferInput3" + ], + "type": 22 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::transfer", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0xdb20f9f5" + }, + { + "args": [ + { + "label": "from", + "type": { + "displayName": [ + "psp22_external", + "TransferFromInput1" + ], + "type": 3 + } + }, + { + "label": "to", + "type": { + "displayName": [ + "psp22_external", + "TransferFromInput2" + ], + "type": 3 + } + }, + { + "label": "value", + "type": { + "displayName": [ + "psp22_external", + "TransferFromInput3" + ], + "type": 0 + } + }, + { + "label": "data", + "type": { + "displayName": [ + "psp22_external", + "TransferFromInput4" + ], + "type": 22 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::transfer_from", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0x54b3c76e" + }, + { + "args": [ + { + "label": "spender", + "type": { + "displayName": [ + "psp22_external", + "DecreaseAllowanceInput1" + ], + "type": 3 + } + }, + { + "label": "delta_value", + "type": { + "displayName": [ + "psp22_external", + "DecreaseAllowanceInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::decrease_allowance", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0xfecb57d5" + }, + { + "args": [ + { + "label": "spender", + "type": { + "displayName": [ + "psp22_external", + "ApproveInput1" + ], + "type": 3 + } + }, + { + "label": "value", + "type": { + "displayName": [ + "psp22_external", + "ApproveInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::approve", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0xb20f1bbd" + }, + { + "args": [ + { + "label": "owner", + "type": { + "displayName": [ + "psp22_external", + "BalanceOfInput1" + ], + "type": 3 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::balance_of", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 21 + }, + "selector": "0x6568382f" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Capped::cap", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 21 + }, + "selector": "0xf40366b4" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Metadata::token_symbol", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 23 + }, + "selector": "0x34205be5" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Metadata::token_decimals", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 25 + }, + "selector": "0x7271b782" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Metadata::token_name", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 23 + }, + "selector": "0x3d261bd4" + }, + { + "args": [ + { + "label": "account", + "type": { + "displayName": [ + "psp22mintable_external", + "MintInput1" + ], + "type": 3 + } + }, + { + "label": "amount", + "type": { + "displayName": [ + "psp22mintable_external", + "MintInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22Mintable::mint", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0xfc3c75d4" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "Ownable::owner", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 26 + }, + "selector": "0x4fa43c8c" + }, + { + "args": [ + { + "label": "new_owner", + "type": { + "displayName": [ + "ownable_external", + "TransferOwnershipInput1" + ], + "type": 3 + } + } + ], + "default": false, + "docs": [], + "label": "Ownable::transfer_ownership", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 28 + }, + "selector": "0x11f43efd" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "Ownable::renounce_ownership", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 28 + }, + "selector": "0x5e228753" + }, + { + "args": [ + { + "label": "role", + "type": { + "displayName": [ + "accesscontrol_external", + "HasRoleInput1" + ], + "type": 5 + } + }, + { + "label": "address", + "type": { + "displayName": [ + "accesscontrol_external", + "HasRoleInput2" + ], + "type": 27 + } + } + ], + "default": false, + "docs": [], + "label": "AccessControl::has_role", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 30 + }, + "selector": "0xc1d9ac18" + }, + { + "args": [ + { + "label": "role", + "type": { + "displayName": [ + "accesscontrol_external", + "RenounceRoleInput1" + ], + "type": 5 + } + }, + { + "label": "account", + "type": { + "displayName": [ + "accesscontrol_external", + "RenounceRoleInput2" + ], + "type": 27 + } + } + ], + "default": false, + "docs": [], + "label": "AccessControl::renounce_role", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 32 + }, + "selector": "0xeaf1248a" + }, + { + "args": [ + { + "label": "role", + "type": { + "displayName": [ + "accesscontrol_external", + "RevokeRoleInput1" + ], + "type": 5 + } + }, + { + "label": "account", + "type": { + "displayName": [ + "accesscontrol_external", + "RevokeRoleInput2" + ], + "type": 27 + } + } + ], + "default": false, + "docs": [], + "label": "AccessControl::revoke_role", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 32 + }, + "selector": "0x6e4f0991" + }, + { + "args": [ + { + "label": "role", + "type": { + "displayName": [ + "accesscontrol_external", + "GrantRoleInput1" + ], + "type": 5 + } + }, + { + "label": "account", + "type": { + "displayName": [ + "accesscontrol_external", + "GrantRoleInput2" + ], + "type": 27 + } + } + ], + "default": false, + "docs": [], + "label": "AccessControl::grant_role", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 32 + }, + "selector": "0x4ac062fd" + }, + { + "args": [ + { + "label": "role", + "type": { + "displayName": [ + "accesscontrol_external", + "GetRoleAdminInput1" + ], + "type": 5 + } + } + ], + "default": false, + "docs": [], + "label": "AccessControl::get_role_admin", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 34 + }, + "selector": "0x83da3bb2" + } + ] + }, + "storage": { + "root": { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0x270a8fc3", + "ty": 0 + } + }, + "root_key": "0x270a8fc3" + } + }, + "name": "supply" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0xc2664826", + "ty": 0 + } + }, + "root_key": "0xc2664826" + } + }, + "name": "balances" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0xf8d71e22", + "ty": 0 + } + }, + "root_key": "0xf8d71e22" + } + }, + "name": "allowances" + } + ], + "name": "Data" + } + }, + "name": "psp22" + }, + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "root": { + "layout": { + "enum": { + "dispatchKey": "0x90a00b7d", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x90a00b7d", + "ty": 1 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "root_key": "0x90a00b7d" + } + }, + "name": "name" + }, + { + "layout": { + "root": { + "layout": { + "enum": { + "dispatchKey": "0xf8019f84", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0xf8019f84", + "ty": 1 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "root_key": "0xf8019f84" + } + }, + "name": "symbol" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0xd29264d8", + "ty": 2 + } + }, + "root_key": "0xd29264d8" + } + }, + "name": "decimals" + } + ], + "name": "Data" + } + }, + "name": "metadata" + }, + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "root": { + "layout": { + "enum": { + "dispatchKey": "0x6f713913", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x6f713913", + "ty": 3 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "root_key": "0x6f713913" + } + }, + "name": "owner" + } + ], + "name": "Data" + } + }, + "name": "ownable" + }, + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0x5fd98c24", + "ty": 0 + } + }, + "root_key": "0x5fd98c24" + } + }, + "name": "cap" + } + ], + "name": "Data" + } + }, + "name": "cap" + }, + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0x1f2cf4ac", + "ty": 5 + } + }, + "root_key": "0x1f2cf4ac" + } + }, + "name": "admin_roles" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0x8150f558", + "ty": 6 + } + }, + "root_key": "0x8150f558" + } + }, + "name": "members" + } + ], + "name": "Data" + } + }, + "name": "access" + } + ], + "name": "Psp22Nft" + } + }, + "root_key": "0x00000000" + } + }, + "types": [ + { + "id": 0, + "type": { + "def": { + "primitive": "u128" + } + } + }, + { + "id": 1, + "type": { + "def": { + "primitive": "str" + } + } + }, + { + "id": 2, + "type": { + "def": { + "primitive": "u8" + } + } + }, + { + "id": 3, + "type": { + "def": { + "composite": { + "fields": [ + { + "type": 4, + "typeName": "[u8; 32]" + } + ] + } + }, + "path": [ + "ink_primitives", + "types", + "AccountId" + ] + } + }, + { + "id": 4, + "type": { + "def": { + "array": { + "len": 32, + "type": 2 + } + } + } + }, + { + "id": 5, + "type": { + "def": { + "primitive": "u32" + } + } + }, + { + "id": 6, + "type": { + "def": { + "tuple": [] + } + } + }, + { + "id": 7, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 6 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 6 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "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": 6 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 11 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 6 + }, + { + "name": "E", + "type": 11 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 11, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 1, + "typeName": "String" + } + ], + "index": 0, + "name": "Custom" + }, + { + "fields": [ + { + "type": 12, + "typeName": "OwnableError" + } + ], + "index": 1, + "name": "OwnableError" + }, + { + "fields": [ + { + "type": 13, + "typeName": "AccessControlError" + } + ], + "index": 2, + "name": "AccessControlError" + }, + { + "fields": [ + { + "type": 14, + "typeName": "PSP22Error" + } + ], + "index": 3, + "name": "PSP22Error" + }, + { + "fields": [ + { + "type": 15, + "typeName": "PSP34Error" + } + ], + "index": 4, + "name": "PSP34Error" + }, + { + "fields": [ + { + "type": 16, + "typeName": "PausableError" + } + ], + "index": 5, + "name": "PausableError" + }, + { + "index": 6, + "name": "NotEnoughBalance" + }, + { + "index": 7, + "name": "WithdrawFeeError" + }, + { + "index": 8, + "name": "NotCallable" + }, + { + "index": 9, + "name": "CannotTransfer" + }, + { + "index": 10, + "name": "CannotBurn" + }, + { + "index": 11, + "name": "CheckedOperations" + }, + { + "index": 12, + "name": "InvalidBalanceAndAllowance" + }, + { + "index": 13, + "name": "AlreadyInit" + }, + { + "index": 14, + "name": "InvalidBuyAmount" + }, + { + "index": 15, + "name": "InvalidTransferAmount" + }, + { + "index": 16, + "name": "CannotCreatePool" + }, + { + "index": 17, + "name": "NotTimeToStake" + }, + { + "index": 18, + "name": "NoStakerFound" + }, + { + "index": 19, + "name": "InvalidUnstakedAmount" + }, + { + "index": 20, + "name": "NotEnoughReward" + }, + { + "index": 21, + "name": "NotTokenOwner" + }, + { + "index": 22, + "name": "AllowanceNotSet" + }, + { + "index": 23, + "name": "TokenNotFound" + }, + { + "index": 24, + "name": "UserNotStake" + }, + { + "index": 25, + "name": "NoTokenOwner" + }, + { + "index": 26, + "name": "ExceedTotalStakingAmount" + }, + { + "index": 27, + "name": "NoClaimAmount" + }, + { + "index": 28, + "name": "NotTimeToWithdraw" + }, + { + "index": 29, + "name": "NotEnoughRewardToWithdraw" + }, + { + "index": 30, + "name": "NotTopupEnoughReward" + }, + { + "index": 31, + "name": "NoAmount" + }, + { + "index": 32, + "name": "InvalidTokenBalanceAndAllowance" + }, + { + "index": 33, + "name": "CannotApprove" + }, + { + "index": 34, + "name": "CannotTopupRewardPool" + }, + { + "index": 35, + "name": "NotTimeToPurchase" + }, + { + "index": 36, + "name": "NotTimeToClaim" + }, + { + "index": 37, + "name": "NotTimeToBurn" + }, + { + "index": 38, + "name": "NoTokenPurchased" + }, + { + "index": 39, + "name": "AlreadyBurnt" + }, + { + "index": 40, + "name": "InvalidTime" + }, + { + "index": 41, + "name": "InvalidPercentage" + }, + { + "index": 42, + "name": "InvalidDuration" + }, + { + "index": 43, + "name": "InvalidVestingUnit" + }, + { + "index": 44, + "name": "InvalidTopupAmount" + }, + { + "index": 45, + "name": "LaunchpadNotExist" + }, + { + "index": 46, + "name": "InvalidIsActiveInput" + }, + { + "index": 47, + "name": "InvalidCreationFee" + }, + { + "index": 48, + "name": "InvalidTxRate" + }, + { + "index": 49, + "name": "InvalidPhaseData" + }, + { + "index": 50, + "name": "CannotTopupToken" + }, + { + "index": 51, + "name": "InvalidStartTimeAndEndTime" + }, + { + "index": 52, + "name": "InvalidPhaseCount" + }, + { + "index": 53, + "name": "InvalidMaxStakingAmount" + }, + { + "index": 54, + "name": "InvalidApy" + }, + { + "index": 55, + "name": "InvalidMultiplier" + }, + { + "index": 56, + "name": "InvalidWhitelistData" + }, + { + "index": 57, + "name": "PhaseNotExist" + }, + { + "index": 58, + "name": "PhaseNotActive" + }, + { + "index": 59, + "name": "WhitelistBuyerInfoNotExist" + }, + { + "index": 60, + "name": "WhitelistBuyerInfoExist" + }, + { + "index": 61, + "name": "WhitelistBuyerPurchased" + }, + { + "index": 62, + "name": "WhitelistSaleInfoNotExist" + }, + { + "index": 63, + "name": "WhitelistPhaseAccountNotExist" + }, + { + "index": 64, + "name": "PublicSaleInfoNotExist" + }, + { + "index": 65, + "name": "InvalidSetActive" + }, + { + "index": 66, + "name": "InvalidTotalAmount" + }, + { + "index": 67, + "name": "CannotTransferTxFee" + }, + { + "index": 68, + "name": "ActiveLaunchpadStatusNotFound" + }, + { + "index": 69, + "name": "LaunchpadNotActive" + }, + { + "index": 70, + "name": "InvalidCaller" + }, + { + "index": 71, + "name": "NoPhaseActive" + }, + { + "index": 72, + "name": "InvalidTotalSupply" + }, + { + "index": 73, + "name": "PhaseNotPublic" + }, + { + "index": 74, + "name": "InvalidSetPublic" + }, + { + "index": 75, + "name": "InvalidCapAmount" + }, + { + "index": 76, + "name": "InvalidWhitelistAmount" + }, + { + "index": 77, + "name": "CapExceeded" + }, + { + "index": 78, + "name": "CannotCollectInwV1" + }, + { + "index": 79, + "name": "CannotMintInwV2" + } + ] + } + }, + "path": [ + "inkwhale_project", + "traits", + "error", + "Error" + ] + } + }, + { + "id": 12, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "CallerIsNotOwner" + }, + { + "index": 1, + "name": "NewOwnerIsZero" + } + ] + } + }, + "path": [ + "openbrush_contracts", + "traits", + "errors", + "ownable", + "OwnableError" + ] + } + }, + { + "id": 13, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "InvalidCaller" + }, + { + "index": 1, + "name": "MissingRole" + }, + { + "index": 2, + "name": "RoleRedundant" + } + ] + } + }, + "path": [ + "openbrush_contracts", + "traits", + "errors", + "access_control", + "AccessControlError" + ] + } + }, + { + "id": 14, + "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": [ + "openbrush_contracts", + "traits", + "errors", + "psp22", + "PSP22Error" + ] + } + }, + { + "id": 15, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 1, + "typeName": "String" + } + ], + "index": 0, + "name": "Custom" + }, + { + "index": 1, + "name": "SelfApprove" + }, + { + "index": 2, + "name": "NotApproved" + }, + { + "index": 3, + "name": "TokenExists" + }, + { + "index": 4, + "name": "TokenNotExists" + }, + { + "fields": [ + { + "type": 1, + "typeName": "String" + } + ], + "index": 5, + "name": "SafeTransferCheckFailed" + } + ] + } + }, + "path": [ + "openbrush_contracts", + "traits", + "errors", + "psp34", + "PSP34Error" + ] + } + }, + { + "id": 16, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "Paused" + }, + { + "index": 1, + "name": "NotPaused" + } + ] + } + }, + "path": [ + "openbrush_contracts", + "traits", + "errors", + "pausable", + "PausableError" + ] + } + }, + { + "id": 17, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 18 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 18 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 18, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 0 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 11 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "E", + "type": 11 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 19, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 20 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 20 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 20, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 6 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 14 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 6 + }, + { + "name": "E", + "type": 14 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 21, + "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": 22, + "type": { + "def": { + "sequence": { + "type": 2 + } + } + } + }, + { + "id": 23, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 24 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 24 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 24, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "None" + }, + { + "fields": [ + { + "type": 1 + } + ], + "index": 1, + "name": "Some" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 1 + } + ], + "path": [ + "Option" + ] + } + }, + { + "id": 25, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 2 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 26, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 27 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 27 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 27, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "None" + }, + { + "fields": [ + { + "type": 3 + } + ], + "index": 1, + "name": "Some" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 3 + } + ], + "path": [ + "Option" + ] + } + }, + { + "id": 28, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 29 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 29 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 29, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 6 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 12 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 6 + }, + { + "name": "E", + "type": 12 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 30, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 31 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 31 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 31, + "type": { + "def": { + "primitive": "bool" + } + } + }, + { + "id": 32, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 33 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 33 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 33, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 6 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 13 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 6 + }, + { + "name": "E", + "type": 13 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 34, + "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": 35, + "type": { + "def": { + "composite": { + "fields": [ + { + "type": 4, + "typeName": "[u8; 32]" + } + ] + } + }, + "path": [ + "ink_primitives", + "types", + "Hash" + ] + } + }, + { + "id": 36, + "type": { + "def": { + "primitive": "u64" + } + } + }, + { + "id": 37, + "type": { + "def": { + "variant": {} + }, + "path": [ + "ink_env", + "types", + "NoChainExtension" + ] + } + } + ], + "version": "4" +} diff --git a/tokens/psp22/5GVjxVdUMr5dQX9TSvvwWq42jyRaXLN65MDh4A8jhdG4Rz1A/info.json b/tokens/psp22/5GVjxVdUMr5dQX9TSvvwWq42jyRaXLN65MDh4A8jhdG4Rz1A/info.json new file mode 100644 index 0000000..50583fe --- /dev/null +++ b/tokens/psp22/5GVjxVdUMr5dQX9TSvvwWq42jyRaXLN65MDh4A8jhdG4Rz1A/info.json @@ -0,0 +1,31 @@ +{ + "name": "Azero Kebab", + "symbol": "KEBAB", + "type": "PSP22", + "contractAddress": "5GVjxVdUMr5dQX9TSvvwWq42jyRaXLN65MDh4A8jhdG4Rz1A", + "decimals": 12, + "description": "100% bio meme community token", + "website": "https://azerokebab.info", + "sourceCode": "https://github.com/InkWhale-net/contracts/blob/feature/upgrade-op-4/contracts/psp22_standard/lib.rs", + "links": [ + { + "name": "X/Twitter", + "url": "https://x.com/kebabazero" + }, + { + "name": "Telegram", + "url": "https://t.me/kebabazero" + }, + { + "name": "Discord", + "url": "https://discord.com/invite/9YvF7rH4AT" + } + ], + "customTags": [ + "burnerWallet", + "otherTag" + ], + "warnings": [], + "owner": "5CAaSJFbLhdKZz9k4icgpoueQjJu6vaTERhYS7rSZbEuQjKb", + "minter": "5CAaSJFbLhdKZz9k4icgpoueQjJu6vaTERhYS7rSZbEuQjKb" +} diff --git a/tokens/psp22/5GVjxVdUMr5dQX9TSvvwWq42jyRaXLN65MDh4A8jhdG4Rz1A/logo.png b/tokens/psp22/5GVjxVdUMr5dQX9TSvvwWq42jyRaXLN65MDh4A8jhdG4Rz1A/logo.png new file mode 100644 index 0000000..52e29d2 Binary files /dev/null and b/tokens/psp22/5GVjxVdUMr5dQX9TSvvwWq42jyRaXLN65MDh4A8jhdG4Rz1A/logo.png differ diff --git a/tokens/psp22/5GVjxVdUMr5dQX9TSvvwWq42jyRaXLN65MDh4A8jhdG4Rz1A/metadata.json b/tokens/psp22/5GVjxVdUMr5dQX9TSvvwWq42jyRaXLN65MDh4A8jhdG4Rz1A/metadata.json new file mode 100644 index 0000000..d453a0d --- /dev/null +++ b/tokens/psp22/5GVjxVdUMr5dQX9TSvvwWq42jyRaXLN65MDh4A8jhdG4Rz1A/metadata.json @@ -0,0 +1,2767 @@ +{ + "source": { + "hash": "0x98cce11966e1b2638cae52ff2b62d28f83194c0141eb7ad530fb40686d6e4a0b", + "language": "ink! 4.3.0", + "compiler": "rustc 1.68.0", + "build_info": { + "build_mode": "Release", + "cargo_contract_version": "3.2.0", + "rust_toolchain": "stable-x86_64-unknown-linux-gnu", + "wasm_opt_settings": { + "keep_debug_symbols": false, + "optimization_passes": "Z" + } + } + }, + "contract": { + "name": "psp22_standard", + "version": "1.0.0", + "authors": [ + "InkWhale " + ] + }, + "spec": { + "constructors": [ + { + "args": [ + { + "label": "cap", + "type": { + "displayName": [ + "Balance" + ], + "type": 0 + } + }, + { + "label": "name", + "type": { + "displayName": [ + "String" + ], + "type": 1 + } + }, + { + "label": "symbol", + "type": { + "displayName": [ + "String" + ], + "type": 1 + } + }, + { + "label": "decimal", + "type": { + "displayName": [ + "u8" + ], + "type": 2 + } + } + ], + "default": false, + "docs": [], + "label": "new", + "payable": false, + "returnType": { + "displayName": [ + "ink_primitives", + "ConstructorResult" + ], + "type": 7 + }, + "selector": "0x9bae9d5e" + } + ], + "docs": [], + "environment": { + "accountId": { + "displayName": [ + "AccountId" + ], + "type": 3 + }, + "balance": { + "displayName": [ + "Balance" + ], + "type": 0 + }, + "blockNumber": { + "displayName": [ + "BlockNumber" + ], + "type": 5 + }, + "chainExtension": { + "displayName": [ + "ChainExtension" + ], + "type": 37 + }, + "hash": { + "displayName": [ + "Hash" + ], + "type": 35 + }, + "maxEventTopics": 4, + "timestamp": { + "displayName": [ + "Timestamp" + ], + "type": 36 + } + }, + "events": [ + { + "args": [ + { + "docs": [], + "indexed": true, + "label": "from", + "type": { + "displayName": [ + "Option" + ], + "type": 27 + } + }, + { + "docs": [], + "indexed": true, + "label": "to", + "type": { + "displayName": [ + "Option" + ], + "type": 27 + } + }, + { + "docs": [], + "indexed": false, + "label": "value", + "type": { + "displayName": [ + "Balance" + ], + "type": 0 + } + } + ], + "docs": [], + "label": "Transfer" + }, + { + "args": [ + { + "docs": [], + "indexed": true, + "label": "owner", + "type": { + "displayName": [ + "AccountId" + ], + "type": 3 + } + }, + { + "docs": [], + "indexed": true, + "label": "spender", + "type": { + "displayName": [ + "AccountId" + ], + "type": 3 + } + }, + { + "docs": [], + "indexed": false, + "label": "value", + "type": { + "displayName": [ + "Balance" + ], + "type": 0 + } + } + ], + "docs": [], + "label": "Approval" + } + ], + "lang_error": { + "displayName": [ + "ink", + "LangError" + ], + "type": 8 + }, + "messages": [ + { + "args": [ + { + "label": "code_hash", + "type": { + "displayName": [ + "upgradeabletrait_external", + "SetCodeInput1" + ], + "type": 4 + } + } + ], + "default": false, + "docs": [ + " This function allow contract owner modifies the code which is used to execute calls to this contract address (`AccountId`)." + ], + "label": "UpgradeableTrait::set_code", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 9 + }, + "selector": "0x9e32fab2" + }, + { + "args": [ + { + "label": "value", + "type": { + "displayName": [ + "admintrait_external", + "WithdrawFeeInput1" + ], + "type": 0 + } + }, + { + "label": "receiver", + "type": { + "displayName": [ + "admintrait_external", + "WithdrawFeeInput2" + ], + "type": 3 + } + } + ], + "default": false, + "docs": [ + " This function allows contract owner to withdraw contract balance to his account." + ], + "label": "AdminTrait::withdraw_fee", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 9 + }, + "selector": "0x07573e99" + }, + { + "args": [], + "default": false, + "docs": [ + " Get Azero balance" + ], + "label": "AdminTrait::get_balance", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 17 + }, + "selector": "0xc4360570" + }, + { + "args": [ + { + "label": "psp22_contract_address", + "type": { + "displayName": [ + "admintrait_external", + "TranferPsp22Input1" + ], + "type": 3 + } + }, + { + "label": "amount", + "type": { + "displayName": [ + "admintrait_external", + "TranferPsp22Input2" + ], + "type": 0 + } + }, + { + "label": "receiver", + "type": { + "displayName": [ + "admintrait_external", + "TranferPsp22Input3" + ], + "type": 3 + } + } + ], + "default": false, + "docs": [ + " This function allow contract owner withdraw PSP22 to an account in case there is any token sent to contract by mistake" + ], + "label": "AdminTrait::tranfer_psp22", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 9 + }, + "selector": "0xd9aad284" + }, + { + "args": [ + { + "label": "account", + "type": { + "displayName": [ + "psp22burnable_external", + "BurnInput1" + ], + "type": 3 + } + }, + { + "label": "amount", + "type": { + "displayName": [ + "psp22burnable_external", + "BurnInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22Burnable::burn", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0x7a9da510" + }, + { + "args": [ + { + "label": "spender", + "type": { + "displayName": [ + "psp22_external", + "IncreaseAllowanceInput1" + ], + "type": 3 + } + }, + { + "label": "delta_value", + "type": { + "displayName": [ + "psp22_external", + "IncreaseAllowanceInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::increase_allowance", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0x96d6b57a" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22::total_supply", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 21 + }, + "selector": "0x162df8c2" + }, + { + "args": [ + { + "label": "owner", + "type": { + "displayName": [ + "psp22_external", + "AllowanceInput1" + ], + "type": 3 + } + }, + { + "label": "spender", + "type": { + "displayName": [ + "psp22_external", + "AllowanceInput2" + ], + "type": 3 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::allowance", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 21 + }, + "selector": "0x4d47d921" + }, + { + "args": [ + { + "label": "to", + "type": { + "displayName": [ + "psp22_external", + "TransferInput1" + ], + "type": 3 + } + }, + { + "label": "value", + "type": { + "displayName": [ + "psp22_external", + "TransferInput2" + ], + "type": 0 + } + }, + { + "label": "data", + "type": { + "displayName": [ + "psp22_external", + "TransferInput3" + ], + "type": 22 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::transfer", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0xdb20f9f5" + }, + { + "args": [ + { + "label": "from", + "type": { + "displayName": [ + "psp22_external", + "TransferFromInput1" + ], + "type": 3 + } + }, + { + "label": "to", + "type": { + "displayName": [ + "psp22_external", + "TransferFromInput2" + ], + "type": 3 + } + }, + { + "label": "value", + "type": { + "displayName": [ + "psp22_external", + "TransferFromInput3" + ], + "type": 0 + } + }, + { + "label": "data", + "type": { + "displayName": [ + "psp22_external", + "TransferFromInput4" + ], + "type": 22 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::transfer_from", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0x54b3c76e" + }, + { + "args": [ + { + "label": "spender", + "type": { + "displayName": [ + "psp22_external", + "DecreaseAllowanceInput1" + ], + "type": 3 + } + }, + { + "label": "delta_value", + "type": { + "displayName": [ + "psp22_external", + "DecreaseAllowanceInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::decrease_allowance", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0xfecb57d5" + }, + { + "args": [ + { + "label": "spender", + "type": { + "displayName": [ + "psp22_external", + "ApproveInput1" + ], + "type": 3 + } + }, + { + "label": "value", + "type": { + "displayName": [ + "psp22_external", + "ApproveInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::approve", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0xb20f1bbd" + }, + { + "args": [ + { + "label": "owner", + "type": { + "displayName": [ + "psp22_external", + "BalanceOfInput1" + ], + "type": 3 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::balance_of", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 21 + }, + "selector": "0x6568382f" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Capped::cap", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 21 + }, + "selector": "0xf40366b4" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Metadata::token_symbol", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 23 + }, + "selector": "0x34205be5" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Metadata::token_decimals", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 25 + }, + "selector": "0x7271b782" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Metadata::token_name", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 23 + }, + "selector": "0x3d261bd4" + }, + { + "args": [ + { + "label": "account", + "type": { + "displayName": [ + "psp22mintable_external", + "MintInput1" + ], + "type": 3 + } + }, + { + "label": "amount", + "type": { + "displayName": [ + "psp22mintable_external", + "MintInput2" + ], + "type": 0 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22Mintable::mint", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "selector": "0xfc3c75d4" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "Ownable::owner", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 26 + }, + "selector": "0x4fa43c8c" + }, + { + "args": [ + { + "label": "new_owner", + "type": { + "displayName": [ + "ownable_external", + "TransferOwnershipInput1" + ], + "type": 3 + } + } + ], + "default": false, + "docs": [], + "label": "Ownable::transfer_ownership", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 28 + }, + "selector": "0x11f43efd" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "Ownable::renounce_ownership", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 28 + }, + "selector": "0x5e228753" + }, + { + "args": [ + { + "label": "role", + "type": { + "displayName": [ + "accesscontrol_external", + "HasRoleInput1" + ], + "type": 5 + } + }, + { + "label": "address", + "type": { + "displayName": [ + "accesscontrol_external", + "HasRoleInput2" + ], + "type": 27 + } + } + ], + "default": false, + "docs": [], + "label": "AccessControl::has_role", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 30 + }, + "selector": "0xc1d9ac18" + }, + { + "args": [ + { + "label": "role", + "type": { + "displayName": [ + "accesscontrol_external", + "RenounceRoleInput1" + ], + "type": 5 + } + }, + { + "label": "account", + "type": { + "displayName": [ + "accesscontrol_external", + "RenounceRoleInput2" + ], + "type": 27 + } + } + ], + "default": false, + "docs": [], + "label": "AccessControl::renounce_role", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 32 + }, + "selector": "0xeaf1248a" + }, + { + "args": [ + { + "label": "role", + "type": { + "displayName": [ + "accesscontrol_external", + "RevokeRoleInput1" + ], + "type": 5 + } + }, + { + "label": "account", + "type": { + "displayName": [ + "accesscontrol_external", + "RevokeRoleInput2" + ], + "type": 27 + } + } + ], + "default": false, + "docs": [], + "label": "AccessControl::revoke_role", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 32 + }, + "selector": "0x6e4f0991" + }, + { + "args": [ + { + "label": "role", + "type": { + "displayName": [ + "accesscontrol_external", + "GrantRoleInput1" + ], + "type": 5 + } + }, + { + "label": "account", + "type": { + "displayName": [ + "accesscontrol_external", + "GrantRoleInput2" + ], + "type": 27 + } + } + ], + "default": false, + "docs": [], + "label": "AccessControl::grant_role", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 32 + }, + "selector": "0x4ac062fd" + }, + { + "args": [ + { + "label": "role", + "type": { + "displayName": [ + "accesscontrol_external", + "GetRoleAdminInput1" + ], + "type": 5 + } + } + ], + "default": false, + "docs": [], + "label": "AccessControl::get_role_admin", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 34 + }, + "selector": "0x83da3bb2" + } + ] + }, + "storage": { + "root": { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0x270a8fc3", + "ty": 0 + } + }, + "root_key": "0x270a8fc3" + } + }, + "name": "supply" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0xc2664826", + "ty": 0 + } + }, + "root_key": "0xc2664826" + } + }, + "name": "balances" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0xf8d71e22", + "ty": 0 + } + }, + "root_key": "0xf8d71e22" + } + }, + "name": "allowances" + } + ], + "name": "Data" + } + }, + "name": "psp22" + }, + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "root": { + "layout": { + "enum": { + "dispatchKey": "0x90a00b7d", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x90a00b7d", + "ty": 1 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "root_key": "0x90a00b7d" + } + }, + "name": "name" + }, + { + "layout": { + "root": { + "layout": { + "enum": { + "dispatchKey": "0xf8019f84", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0xf8019f84", + "ty": 1 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "root_key": "0xf8019f84" + } + }, + "name": "symbol" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0xd29264d8", + "ty": 2 + } + }, + "root_key": "0xd29264d8" + } + }, + "name": "decimals" + } + ], + "name": "Data" + } + }, + "name": "metadata" + }, + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "root": { + "layout": { + "enum": { + "dispatchKey": "0x6f713913", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x6f713913", + "ty": 3 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "root_key": "0x6f713913" + } + }, + "name": "owner" + } + ], + "name": "Data" + } + }, + "name": "ownable" + }, + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0x5fd98c24", + "ty": 0 + } + }, + "root_key": "0x5fd98c24" + } + }, + "name": "cap" + } + ], + "name": "Data" + } + }, + "name": "cap" + }, + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0x1f2cf4ac", + "ty": 5 + } + }, + "root_key": "0x1f2cf4ac" + } + }, + "name": "admin_roles" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0x8150f558", + "ty": 6 + } + }, + "root_key": "0x8150f558" + } + }, + "name": "members" + } + ], + "name": "Data" + } + }, + "name": "access" + } + ], + "name": "Psp22Nft" + } + }, + "root_key": "0x00000000" + } + }, + "types": [ + { + "id": 0, + "type": { + "def": { + "primitive": "u128" + } + } + }, + { + "id": 1, + "type": { + "def": { + "primitive": "str" + } + } + }, + { + "id": 2, + "type": { + "def": { + "primitive": "u8" + } + } + }, + { + "id": 3, + "type": { + "def": { + "composite": { + "fields": [ + { + "type": 4, + "typeName": "[u8; 32]" + } + ] + } + }, + "path": [ + "ink_primitives", + "types", + "AccountId" + ] + } + }, + { + "id": 4, + "type": { + "def": { + "array": { + "len": 32, + "type": 2 + } + } + } + }, + { + "id": 5, + "type": { + "def": { + "primitive": "u32" + } + } + }, + { + "id": 6, + "type": { + "def": { + "tuple": [] + } + } + }, + { + "id": 7, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 6 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 6 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "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": 6 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 11 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 6 + }, + { + "name": "E", + "type": 11 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 11, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 1, + "typeName": "String" + } + ], + "index": 0, + "name": "Custom" + }, + { + "fields": [ + { + "type": 12, + "typeName": "OwnableError" + } + ], + "index": 1, + "name": "OwnableError" + }, + { + "fields": [ + { + "type": 13, + "typeName": "AccessControlError" + } + ], + "index": 2, + "name": "AccessControlError" + }, + { + "fields": [ + { + "type": 14, + "typeName": "PSP22Error" + } + ], + "index": 3, + "name": "PSP22Error" + }, + { + "fields": [ + { + "type": 15, + "typeName": "PSP34Error" + } + ], + "index": 4, + "name": "PSP34Error" + }, + { + "fields": [ + { + "type": 16, + "typeName": "PausableError" + } + ], + "index": 5, + "name": "PausableError" + }, + { + "index": 6, + "name": "NotEnoughBalance" + }, + { + "index": 7, + "name": "WithdrawFeeError" + }, + { + "index": 8, + "name": "NotCallable" + }, + { + "index": 9, + "name": "CannotTransfer" + }, + { + "index": 10, + "name": "CannotBurn" + }, + { + "index": 11, + "name": "CheckedOperations" + }, + { + "index": 12, + "name": "InvalidBalanceAndAllowance" + }, + { + "index": 13, + "name": "AlreadyInit" + }, + { + "index": 14, + "name": "InvalidBuyAmount" + }, + { + "index": 15, + "name": "InvalidTransferAmount" + }, + { + "index": 16, + "name": "CannotCreatePool" + }, + { + "index": 17, + "name": "NotTimeToStake" + }, + { + "index": 18, + "name": "NoStakerFound" + }, + { + "index": 19, + "name": "InvalidUnstakedAmount" + }, + { + "index": 20, + "name": "NotEnoughReward" + }, + { + "index": 21, + "name": "NotTokenOwner" + }, + { + "index": 22, + "name": "AllowanceNotSet" + }, + { + "index": 23, + "name": "TokenNotFound" + }, + { + "index": 24, + "name": "UserNotStake" + }, + { + "index": 25, + "name": "NoTokenOwner" + }, + { + "index": 26, + "name": "ExceedTotalStakingAmount" + }, + { + "index": 27, + "name": "NoClaimAmount" + }, + { + "index": 28, + "name": "NotTimeToWithdraw" + }, + { + "index": 29, + "name": "NotEnoughRewardToWithdraw" + }, + { + "index": 30, + "name": "NotTopupEnoughReward" + }, + { + "index": 31, + "name": "NoAmount" + }, + { + "index": 32, + "name": "InvalidTokenBalanceAndAllowance" + }, + { + "index": 33, + "name": "CannotApprove" + }, + { + "index": 34, + "name": "CannotTopupRewardPool" + }, + { + "index": 35, + "name": "NotTimeToPurchase" + }, + { + "index": 36, + "name": "NotTimeToClaim" + }, + { + "index": 37, + "name": "NotTimeToBurn" + }, + { + "index": 38, + "name": "NoTokenPurchased" + }, + { + "index": 39, + "name": "AlreadyBurnt" + }, + { + "index": 40, + "name": "InvalidTime" + }, + { + "index": 41, + "name": "InvalidPercentage" + }, + { + "index": 42, + "name": "InvalidDuration" + }, + { + "index": 43, + "name": "InvalidVestingUnit" + }, + { + "index": 44, + "name": "InvalidTopupAmount" + }, + { + "index": 45, + "name": "LaunchpadNotExist" + }, + { + "index": 46, + "name": "InvalidIsActiveInput" + }, + { + "index": 47, + "name": "InvalidCreationFee" + }, + { + "index": 48, + "name": "InvalidTxRate" + }, + { + "index": 49, + "name": "InvalidPhaseData" + }, + { + "index": 50, + "name": "CannotTopupToken" + }, + { + "index": 51, + "name": "InvalidStartTimeAndEndTime" + }, + { + "index": 52, + "name": "InvalidPhaseCount" + }, + { + "index": 53, + "name": "InvalidMaxStakingAmount" + }, + { + "index": 54, + "name": "InvalidApy" + }, + { + "index": 55, + "name": "InvalidMultiplier" + }, + { + "index": 56, + "name": "InvalidWhitelistData" + }, + { + "index": 57, + "name": "PhaseNotExist" + }, + { + "index": 58, + "name": "PhaseNotActive" + }, + { + "index": 59, + "name": "WhitelistBuyerInfoNotExist" + }, + { + "index": 60, + "name": "WhitelistBuyerInfoExist" + }, + { + "index": 61, + "name": "WhitelistBuyerPurchased" + }, + { + "index": 62, + "name": "WhitelistSaleInfoNotExist" + }, + { + "index": 63, + "name": "WhitelistPhaseAccountNotExist" + }, + { + "index": 64, + "name": "PublicSaleInfoNotExist" + }, + { + "index": 65, + "name": "InvalidSetActive" + }, + { + "index": 66, + "name": "InvalidTotalAmount" + }, + { + "index": 67, + "name": "CannotTransferTxFee" + }, + { + "index": 68, + "name": "ActiveLaunchpadStatusNotFound" + }, + { + "index": 69, + "name": "LaunchpadNotActive" + }, + { + "index": 70, + "name": "InvalidCaller" + }, + { + "index": 71, + "name": "NoPhaseActive" + }, + { + "index": 72, + "name": "InvalidTotalSupply" + }, + { + "index": 73, + "name": "PhaseNotPublic" + }, + { + "index": 74, + "name": "InvalidSetPublic" + }, + { + "index": 75, + "name": "InvalidCapAmount" + }, + { + "index": 76, + "name": "InvalidWhitelistAmount" + }, + { + "index": 77, + "name": "CapExceeded" + }, + { + "index": 78, + "name": "CannotCollectInwV1" + }, + { + "index": 79, + "name": "CannotMintInwV2" + } + ] + } + }, + "path": [ + "inkwhale_project", + "traits", + "error", + "Error" + ] + } + }, + { + "id": 12, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "CallerIsNotOwner" + }, + { + "index": 1, + "name": "NewOwnerIsZero" + } + ] + } + }, + "path": [ + "openbrush_contracts", + "traits", + "errors", + "ownable", + "OwnableError" + ] + } + }, + { + "id": 13, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "InvalidCaller" + }, + { + "index": 1, + "name": "MissingRole" + }, + { + "index": 2, + "name": "RoleRedundant" + } + ] + } + }, + "path": [ + "openbrush_contracts", + "traits", + "errors", + "access_control", + "AccessControlError" + ] + } + }, + { + "id": 14, + "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": [ + "openbrush_contracts", + "traits", + "errors", + "psp22", + "PSP22Error" + ] + } + }, + { + "id": 15, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 1, + "typeName": "String" + } + ], + "index": 0, + "name": "Custom" + }, + { + "index": 1, + "name": "SelfApprove" + }, + { + "index": 2, + "name": "NotApproved" + }, + { + "index": 3, + "name": "TokenExists" + }, + { + "index": 4, + "name": "TokenNotExists" + }, + { + "fields": [ + { + "type": 1, + "typeName": "String" + } + ], + "index": 5, + "name": "SafeTransferCheckFailed" + } + ] + } + }, + "path": [ + "openbrush_contracts", + "traits", + "errors", + "psp34", + "PSP34Error" + ] + } + }, + { + "id": 16, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "Paused" + }, + { + "index": 1, + "name": "NotPaused" + } + ] + } + }, + "path": [ + "openbrush_contracts", + "traits", + "errors", + "pausable", + "PausableError" + ] + } + }, + { + "id": 17, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 18 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 18 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 18, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 0 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 11 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "E", + "type": 11 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 19, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 20 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 20 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 20, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 6 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 14 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 6 + }, + { + "name": "E", + "type": 14 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 21, + "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": 22, + "type": { + "def": { + "sequence": { + "type": 2 + } + } + } + }, + { + "id": 23, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 24 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 24 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 24, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "None" + }, + { + "fields": [ + { + "type": 1 + } + ], + "index": 1, + "name": "Some" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 1 + } + ], + "path": [ + "Option" + ] + } + }, + { + "id": 25, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 2 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 26, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 27 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 27 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 27, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "None" + }, + { + "fields": [ + { + "type": 3 + } + ], + "index": 1, + "name": "Some" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 3 + } + ], + "path": [ + "Option" + ] + } + }, + { + "id": 28, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 29 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 29 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 29, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 6 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 12 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 6 + }, + { + "name": "E", + "type": 12 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 30, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 31 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 31 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 31, + "type": { + "def": { + "primitive": "bool" + } + } + }, + { + "id": 32, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 33 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 8 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 33 + }, + { + "name": "E", + "type": 8 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 33, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 6 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 13 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 6 + }, + { + "name": "E", + "type": 13 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 34, + "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": 35, + "type": { + "def": { + "composite": { + "fields": [ + { + "type": 4, + "typeName": "[u8; 32]" + } + ] + } + }, + "path": [ + "ink_primitives", + "types", + "Hash" + ] + } + }, + { + "id": 36, + "type": { + "def": { + "primitive": "u64" + } + } + }, + { + "id": 37, + "type": { + "def": { + "variant": {} + }, + "path": [ + "ink_env", + "types", + "NoChainExtension" + ] + } + } + ], + "version": "4" +} diff --git a/tokens/psp22/5HZxA385SYeydqZUpTeKj7D37T1bL9N6JA7Xde5QMP8qiSym/info.json b/tokens/psp22/5HZxA385SYeydqZUpTeKj7D37T1bL9N6JA7Xde5QMP8qiSym/info.json new file mode 100644 index 0000000..3c087ec --- /dev/null +++ b/tokens/psp22/5HZxA385SYeydqZUpTeKj7D37T1bL9N6JA7Xde5QMP8qiSym/info.json @@ -0,0 +1,28 @@ +{ + "name": "Cats are Liquid", + "symbol": "NUKO", + "type": "PSP22", + "contractAddress": "5HZxA385SYeydqZUpTeKj7D37T1bL9N6JA7Xde5QMP8qiSym", + "decimals": 12, + "description": "$NUKO is the first cat meme token on @Aleph__Zero", + "website": "https://www.nukotoken.org/", + "sourceCode": "https://github.com/takeshi-nuko/PSP22-NUKO/", + "links": [ + { + "name": "X/Twitter", + "url": "https://x.com/nukotoken" + }, + { + "name": "Telegram", + "url": "https://t.me/nukotoken" + }, + { + "name": "Discord", + "url": "" + } + ], + "customTags": ["$NUKO Contract Address"], + "warnings": [], + "owner": "", + "minter": "" +} diff --git a/tokens/psp22/5HZxA385SYeydqZUpTeKj7D37T1bL9N6JA7Xde5QMP8qiSym/logo.png b/tokens/psp22/5HZxA385SYeydqZUpTeKj7D37T1bL9N6JA7Xde5QMP8qiSym/logo.png new file mode 100644 index 0000000..6116f71 Binary files /dev/null and b/tokens/psp22/5HZxA385SYeydqZUpTeKj7D37T1bL9N6JA7Xde5QMP8qiSym/logo.png differ diff --git a/tokens/psp22/5HZxA385SYeydqZUpTeKj7D37T1bL9N6JA7Xde5QMP8qiSym/metadata.json b/tokens/psp22/5HZxA385SYeydqZUpTeKj7D37T1bL9N6JA7Xde5QMP8qiSym/metadata.json new file mode 100644 index 0000000..9314b02 --- /dev/null +++ b/tokens/psp22/5HZxA385SYeydqZUpTeKj7D37T1bL9N6JA7Xde5QMP8qiSym/metadata.json @@ -0,0 +1,1435 @@ +{ + "source": { + "hash": "0x13221abf41bf4cec9fba5a1df5ab90facd922dc07c2f2ed3f548e5ed4ea9c173", + "language": "ink! 5.0.0", + "compiler": "rustc 1.76.0", + "build_info": { + "build_mode": "Release", + "cargo_contract_version": "4.0.2", + "rust_toolchain": "stable-x86_64-unknown-linux-gnu", + "wasm_opt_settings": { + "keep_debug_symbols": false, + "optimization_passes": "Z" + } + } + }, + "contract": { + "name": "psp22", + "version": "0.3.0", + "authors": [ + "Cardinal" + ], + "description": "Minimal implementation of PSP22 token standard in pure ink!(image:paritytech/contracts-verifiable:4.0.2)", + "repository": "https://github.com/Cardinal-Cryptography/PSP22", + "homepage": "https://github.com/Cardinal-Cryptography/PSP22", + "license": "Apache-2.0" + }, + "image": "paritytech/contracts-verifiable:4.0.2", + "spec": { + "constructors": [ + { + "args": [ + { + "label": "supply", + "type": { + "displayName": [ + "u128" + ], + "type": 0 + } + }, + { + "label": "name", + "type": { + "displayName": [ + "Option" + ], + "type": 16 + } + }, + { + "label": "symbol", + "type": { + "displayName": [ + "Option" + ], + "type": 16 + } + }, + { + "label": "decimals", + "type": { + "displayName": [ + "u8" + ], + "type": 4 + } + } + ], + "default": false, + "docs": [], + "label": "new", + "payable": false, + "returnType": { + "displayName": [ + "ink_primitives", + "ConstructorResult" + ], + "type": 17 + }, + "selector": "0x9bae9d5e" + } + ], + "docs": [], + "environment": { + "accountId": { + "displayName": [ + "AccountId" + ], + "type": 2 + }, + "balance": { + "displayName": [ + "Balance" + ], + "type": 0 + }, + "blockNumber": { + "displayName": [ + "BlockNumber" + ], + "type": 29 + }, + "chainExtension": { + "displayName": [ + "ChainExtension" + ], + "type": 30 + }, + "hash": { + "displayName": [ + "Hash" + ], + "type": 27 + }, + "maxEventTopics": 4, + "staticBufferSize": 16384, + "timestamp": { + "displayName": [ + "Timestamp" + ], + "type": 28 + } + }, + "events": [ + { + "args": [ + { + "docs": [ + "Account providing allowance." + ], + "indexed": true, + "label": "owner", + "type": { + "displayName": [ + "AccountId" + ], + "type": 2 + } + }, + { + "docs": [ + "Allowance beneficiary." + ], + "indexed": true, + "label": "spender", + "type": { + "displayName": [ + "AccountId" + ], + "type": 2 + } + }, + { + "docs": [ + "New allowance amount." + ], + "indexed": false, + "label": "amount", + "type": { + "displayName": [ + "u128" + ], + "type": 0 + } + } + ], + "docs": [ + "Event emitted when allowance by `owner` to `spender` changes." + ], + "label": "Approval", + "module_path": "psp22::events", + "signature_topic": "0x25cdb6c93882e925abbfc9a8b7c85884b73c038c03a2492f238a5e5ba3fbff8c" + }, + { + "args": [ + { + "docs": [ + "Transfer sender. `None` in case of minting new tokens." + ], + "indexed": true, + "label": "from", + "type": { + "displayName": [ + "Option" + ], + "type": 26 + } + }, + { + "docs": [ + "Transfer recipient. `None` in case of burning tokens." + ], + "indexed": true, + "label": "to", + "type": { + "displayName": [ + "Option" + ], + "type": 26 + } + }, + { + "docs": [ + "Amount of tokens transferred (or minted/burned)." + ], + "indexed": false, + "label": "value", + "type": { + "displayName": [ + "u128" + ], + "type": 0 + } + } + ], + "docs": [ + "Event emitted when transfer of tokens occurs." + ], + "label": "Transfer", + "module_path": "psp22::events", + "signature_topic": "0x990df076cb1e9527aa102cd100c1481efe393eeabb5825f9af1f5e58221864de" + } + ], + "lang_error": { + "displayName": [ + "ink", + "LangError" + ], + "type": 18 + }, + "messages": [ + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22::total_supply", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 19 + }, + "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": 19 + }, + "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": 19 + }, + "selector": "0x4d47d921" + }, + { + "args": [ + { + "label": "to", + "type": { + "displayName": [ + "AccountId" + ], + "type": 2 + } + }, + { + "label": "value", + "type": { + "displayName": [ + "u128" + ], + "type": 0 + } + }, + { + "label": "_data", + "type": { + "displayName": [ + "Vec" + ], + "type": 20 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::transfer", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 21 + }, + "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": 20 + } + } + ], + "default": false, + "docs": [], + "label": "PSP22::transfer_from", + "mutates": true, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 21 + }, + "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": 21 + }, + "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": 21 + }, + "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": 21 + }, + "selector": "0xfecb57d5" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Metadata::token_name", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 24 + }, + "selector": "0x3d261bd4" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Metadata::token_symbol", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 24 + }, + "selector": "0x34205be5" + }, + { + "args": [], + "default": false, + "docs": [], + "label": "PSP22Metadata::token_decimals", + "mutates": false, + "payable": false, + "returnType": { + "displayName": [ + "ink", + "MessageResult" + ], + "type": 25 + }, + "selector": "0x7271b782" + } + ] + }, + "storage": { + "root": { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "struct": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x00000000", + "ty": 0 + } + }, + "name": "total_supply" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0xd446c745", + "ty": 0 + } + }, + "root_key": "0xd446c745", + "ty": 1 + } + }, + "name": "balances" + }, + { + "layout": { + "root": { + "layout": { + "leaf": { + "key": "0xa1b3ef00", + "ty": 0 + } + }, + "root_key": "0xa1b3ef00", + "ty": 9 + } + }, + "name": "allowances" + } + ], + "name": "PSP22Data" + } + }, + "name": "data" + }, + { + "layout": { + "enum": { + "dispatchKey": "0x00000000", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x00000000", + "ty": 13 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "name": "name" + }, + { + "layout": { + "enum": { + "dispatchKey": "0x00000000", + "name": "Option", + "variants": { + "0": { + "fields": [], + "name": "None" + }, + "1": { + "fields": [ + { + "layout": { + "leaf": { + "key": "0x00000000", + "ty": 13 + } + }, + "name": "0" + } + ], + "name": "Some" + } + } + } + }, + "name": "symbol" + }, + { + "layout": { + "leaf": { + "key": "0x00000000", + "ty": 4 + } + }, + "name": "decimals" + } + ], + "name": "Token" + } + }, + "root_key": "0x00000000", + "ty": 14 + } + }, + "types": [ + { + "id": 0, + "type": { + "def": { + "primitive": "u128" + } + } + }, + { + "id": 1, + "type": { + "def": { + "composite": {} + }, + "params": [ + { + "name": "K", + "type": 2 + }, + { + "name": "V", + "type": 0 + }, + { + "name": "KeyType", + "type": 5 + } + ], + "path": [ + "ink_storage", + "lazy", + "mapping", + "Mapping" + ] + } + }, + { + "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": { + "composite": {} + }, + "params": [ + { + "name": "L", + "type": 6 + }, + { + "name": "R", + "type": 7 + } + ], + "path": [ + "ink_storage_traits", + "impls", + "ResolverKey" + ] + } + }, + { + "id": 6, + "type": { + "def": { + "composite": {} + }, + "path": [ + "ink_storage_traits", + "impls", + "AutoKey" + ] + } + }, + { + "id": 7, + "type": { + "def": { + "composite": {} + }, + "params": [ + { + "name": "ParentKey", + "type": 8 + } + ], + "path": [ + "ink_storage_traits", + "impls", + "ManualKey" + ] + } + }, + { + "id": 8, + "type": { + "def": { + "tuple": [] + } + } + }, + { + "id": 9, + "type": { + "def": { + "composite": {} + }, + "params": [ + { + "name": "K", + "type": 10 + }, + { + "name": "V", + "type": 0 + }, + { + "name": "KeyType", + "type": 11 + } + ], + "path": [ + "ink_storage", + "lazy", + "mapping", + "Mapping" + ] + } + }, + { + "id": 10, + "type": { + "def": { + "tuple": [ + 2, + 2 + ] + } + } + }, + { + "id": 11, + "type": { + "def": { + "composite": {} + }, + "params": [ + { + "name": "L", + "type": 6 + }, + { + "name": "R", + "type": 12 + } + ], + "path": [ + "ink_storage_traits", + "impls", + "ResolverKey" + ] + } + }, + { + "id": 12, + "type": { + "def": { + "composite": {} + }, + "params": [ + { + "name": "ParentKey", + "type": 8 + } + ], + "path": [ + "ink_storage_traits", + "impls", + "ManualKey" + ] + } + }, + { + "id": 13, + "type": { + "def": { + "primitive": "str" + } + } + }, + { + "id": 14, + "type": { + "def": { + "composite": { + "fields": [ + { + "name": "data", + "type": 15, + "typeName": ",>>::Type" + }, + { + "name": "name", + "type": 16, + "typeName": " as::ink::storage::traits::AutoStorableHint<::\nink::storage::traits::ManualKey<2459941612u32, ()>,>>::Type" + }, + { + "name": "symbol", + "type": 16, + "typeName": " as::ink::storage::traits::AutoStorableHint<::\nink::storage::traits::ManualKey<1189101269u32, ()>,>>::Type" + }, + { + "name": "decimals", + "type": 4, + "typeName": ",>>::Type" + } + ] + } + }, + "path": [ + "psp22", + "token", + "Token" + ] + } + }, + { + "id": 15, + "type": { + "def": { + "composite": { + "fields": [ + { + "name": "total_supply", + "type": 0, + "typeName": ",>>::Type" + }, + { + "name": "balances", + "type": 1, + "typeName": " as::ink::storage::traits::\nAutoStorableHint<::ink::storage::traits::ManualKey<1170687700u32,\n()>,>>::Type" + }, + { + "name": "allowances", + "type": 9, + "typeName": " as::ink::storage::traits::\nAutoStorableHint<::ink::storage::traits::ManualKey<15709089u32, ()\n>,>>::Type" + } + ] + } + }, + "path": [ + "psp22", + "data", + "PSP22Data" + ] + } + }, + { + "id": 16, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "None" + }, + { + "fields": [ + { + "type": 13 + } + ], + "index": 1, + "name": "Some" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 13 + } + ], + "path": [ + "Option" + ] + } + }, + { + "id": 17, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 8 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 18 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 8 + }, + { + "name": "E", + "type": 18 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 18, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 1, + "name": "CouldNotReadInput" + } + ] + } + }, + "path": [ + "ink_primitives", + "LangError" + ] + } + }, + { + "id": 19, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 0 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 18 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "E", + "type": 18 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 20, + "type": { + "def": { + "sequence": { + "type": 4 + } + } + } + }, + { + "id": 21, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 22 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 18 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 22 + }, + { + "name": "E", + "type": 18 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 22, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 8 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 23 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 8 + }, + { + "name": "E", + "type": 23 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 23, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 13, + "typeName": "String" + } + ], + "index": 0, + "name": "Custom" + }, + { + "index": 1, + "name": "InsufficientBalance" + }, + { + "index": 2, + "name": "InsufficientAllowance" + }, + { + "index": 3, + "name": "ZeroRecipientAddress" + }, + { + "index": 4, + "name": "ZeroSenderAddress" + }, + { + "fields": [ + { + "type": 13, + "typeName": "String" + } + ], + "index": 5, + "name": "SafeTransferCheckFailed" + } + ] + } + }, + "path": [ + "psp22", + "errors", + "PSP22Error" + ] + } + }, + { + "id": 24, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 16 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 18 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 16 + }, + { + "name": "E", + "type": 18 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 25, + "type": { + "def": { + "variant": { + "variants": [ + { + "fields": [ + { + "type": 4 + } + ], + "index": 0, + "name": "Ok" + }, + { + "fields": [ + { + "type": 18 + } + ], + "index": 1, + "name": "Err" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 4 + }, + { + "name": "E", + "type": 18 + } + ], + "path": [ + "Result" + ] + } + }, + { + "id": 26, + "type": { + "def": { + "variant": { + "variants": [ + { + "index": 0, + "name": "None" + }, + { + "fields": [ + { + "type": 2 + } + ], + "index": 1, + "name": "Some" + } + ] + } + }, + "params": [ + { + "name": "T", + "type": 2 + } + ], + "path": [ + "Option" + ] + } + }, + { + "id": 27, + "type": { + "def": { + "composite": { + "fields": [ + { + "type": 3, + "typeName": "[u8; 32]" + } + ] + } + }, + "path": [ + "ink_primitives", + "types", + "Hash" + ] + } + }, + { + "id": 28, + "type": { + "def": { + "primitive": "u64" + } + } + }, + { + "id": 29, + "type": { + "def": { + "primitive": "u32" + } + } + }, + { + "id": 30, + "type": { + "def": { + "variant": {} + }, + "path": [ + "ink_env", + "types", + "NoChainExtension" + ] + } + } + ], + "version": 5 +} \ No newline at end of file