In normal ERC-20:
flowchart LR
A[Wallet A] -->|transfer| T[ERC-20 Token]
T --> B[Wallet B]| # SubQuery Deployments | |
| | Network | IPFS CID | Deployed | Project | | |
| | -------------------------- | ---------------------------------------------- | -------- | -------------------------------------------------------------------------------------------------------- | | |
| | **arbitrum-mainnet** | QmWfHZewmgdLj3U2FRvS3NDm65vzYjumqVZxZHfk4Wc5WL | ✅ | [https://app.subquery.network/explorer/project/0x82](https://app.subquery.network/explorer/project/0x82) | | |
| | **arbitrum-sepolia** | QmSjbjPd7V3PABfqngdFtq9vXhqRLRU6eGkPjhyPcUvio2 | ✅ | [https://app.subquery.network/explorer/project/0x83](https://app.subquery.network/explorer/project/0x83) | | |
| | **avalanche-fuji** | QmXaULcS7HrWztaCzQbhJRiff7ErkVNifWBZV6sNfX38k8 | ✅ | [https://app.subquery.network/explorer/project/0x84](https://app.subquery.network/explorer/project/0x84) | | |
| | **avala |
| { | |
| "abi": [ | |
| { | |
| "type": "constructor", | |
| "inputs": [ | |
| { | |
| "name": "_logic", | |
| "type": "address", | |
| "internalType": "address" | |
| }, |
| { | |
| "id": "6de49643a2c642b203204c927fd67bd8", | |
| "_format": "hh-sol-build-info-1", | |
| "solcVersion": "0.8.26", | |
| "solcLongVersion": "0.8.26+commit.8a97fa7a", | |
| "input": { | |
| "language": "Solidity", | |
| "sources": { | |
| "contracts/MyUpgradeableV2.sol": { | |
| "content": "// SPDX-License-Identifier: MIT\n// Compatible with OpenZeppelin Contracts ^5.0.0\npragma solidity ^0.8.20;\n\nimport \"./MyUpgradeable.sol\";\n\ncontract MyUpgradeableV2 is MyUpgradeable {\n function getVersion() public pure returns (string memory) {\n return \"V2\";\n }\n}\n" |
| { | |
| "deploy": { | |
| "VM:-": { | |
| "linkReferences": {}, | |
| "autoDeployLib": true | |
| }, | |
| "main:1": { | |
| "linkReferences": {}, | |
| "autoDeployLib": true | |
| }, |
| { | |
| "id": "381327ec55246b4a7859639e37859500", | |
| "_format": "hh-sol-build-info-1", | |
| "solcVersion": "0.8.26", | |
| "solcLongVersion": "0.8.26+commit.8a97fa7a", | |
| "input": { | |
| "language": "Solidity", | |
| "sources": { | |
| "contracts/MyUpgradeable.sol": { | |
| "content": "// SPDX-License-Identifier: MIT\n// Compatible with OpenZeppelin Contracts ^5.0.0\npragma solidity ^0.8.20;\n\nimport \"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\";\nimport \"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\";\nimport \"@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol\";\n\ncontract MyUpgradeable is Initializable, OwnableUpgradeable, UUPSUpgradeable {\n /// @custom:oz-upgrades-unsafe-allow constructor\n constructor() {\n _disableInitializers();\n }\n\n function initialize(address initialOwner) initializer public {\n __Ownable_init(initialOwner);\n __UUPSUpgradeable_init();\n }\n\n function _authorizeUpgrade(address newImplementation)\n |
| { | |
| "id": "2630c44b7716e737c9df9225c9ed5367", | |
| "_format": "hh-sol-build-info-1", | |
| "solcVersion": "0.8.26", | |
| "solcLongVersion": "0.8.26+commit.8a97fa7a", | |
| "input": { | |
| "language": "Solidity", | |
| "sources": { | |
| "contracts/InputTester.sol": { | |
| "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\ncontract InputTester {\n \n struct StructWithArray {\n string title;\n string[] tags;\n }\n\n struct NestedStruct {\n bool isToggled;\n string title;\n string author;\n uint book_id;\n address addr;\n string[] tags;\n TheStruct2 meta;\n }\n\n struct TheStruct2 {\n string subtitle;\n uint pages;\n }\n\n enum Status { Active, Inactive, Suspended }\n\n event Uint256Inputed(uint256 num);\n event AddressInputed(address addr);\n event StringInputed(string str);\n event BoolInputed(bool bl);\n event BytesInputed(bytes data);\n event EnumStatusInputed(Status status);\n event UnlimitedStri |
| { | |
| "deploy": { | |
| "VM:-": { | |
| "linkReferences": {}, | |
| "autoDeployLib": true | |
| }, | |
| "main:1": { | |
| "linkReferences": {}, | |
| "autoDeployLib": true | |
| }, |
| { | |
| "id": "b5afe1d4f024079d687bf9184b1ad401", | |
| "_format": "hh-sol-build-info-1", | |
| "solcVersion": "0.8.4", | |
| "solcLongVersion": "0.8.4+commit.c7e474f2", | |
| "input": { | |
| "language": "Solidity", | |
| "sources": { | |
| "contracts/Greeter.sol": { | |
| "content": "//SPDX-License-Identifier: Unlicense\npragma solidity ^0.8.0;\n\nimport \"hardhat/console.sol\";\n\ncontract Greeter {\n address myLibraryAddress;\n string public greeting;\n bool public testBool;\n uint256 public testUint;\n uint8 public testUint8;\n struct TestStruct {\n uint256 testUint;\n uint8 testUint8;\n }\n TestStruct public testStruct;\n // nested\n struct TestStruct2 {\n TestStruct testStruct;\n uint256 testUint;\n }\n TestStruct2 public testStruct2;\n\n constructor(\n address _myLibraryAddress,\n string memory _greeting,\n bool _testBool,\n uint256 _testUint,\n uint8 _testUint8,\n TestStruct memory _testStruct,\n TestStruct2 memory _testStruct2\n ) payable {\n console.log(\"Deploying a Gre |
| { | |
| "id": "569487d9d330123e48bbd19f3a1946a8", | |
| "_format": "hh-sol-build-info-1", | |
| "solcVersion": "0.8.4", | |
| "solcLongVersion": "0.8.4+commit.c7e474f2", | |
| "input": { | |
| "language": "Solidity", | |
| "sources": { | |
| "contracts/Greeter.sol": { | |
| "content": "//SPDX-License-Identifier: Unlicense\npragma solidity ^0.8.0;\n\nimport \"hardhat/console.sol\";\n\nlibrary MyLibrary {\n function myFunction() external pure returns (uint256) {\n return 42;\n }\n}\n\ncontract Greeter {\n address myLibraryAddress;\n string private greeting;\n bool private testBool;\n uint256 private testUint;\n uint8 private testUint8;\n\n constructor(\n address _myLibraryAddress,\n string memory _greeting,\n bool _testBool,\n uint256 _testUint,\n uint8 _testUint8\n ) {\n console.log(\"Deploying a Greeter with greeting:\", _greeting);\n myLibraryAddress = address(_myLibraryAddress);\n greeting = _greeting;\n testBool = _testBool;\n testUint = _testUint;\n testUint8 = _testUint8;\n }\n\n |