git.delta.rocks / unique-network / refs/commits / 42edda122d2b

difftreelog

source

tests/src/flipper/metadata.json2.1 KiBsourcehistory
1{2  "metadataVersion": "0.1.0",3  "source": {4    "hash": "0x36431d9da78a6bb099474e49c9e35a9c3a04272b58815634082626109826cac6",5    "language": "ink! 3.0.0-rc1",6    "compiler": "rustc 1.49.0-nightly"7  },8  "contract": {9    "name": "flipper",10    "version": "3.0.0-rc1",11    "authors": [12      "Parity Technologies <admin@parity.io>"13    ]14  },15  "spec": {16    "constructors": [17      {18        "args": [19          {20            "name": "init_value",21            "type": {22              "displayName": [23                "bool"24              ],25              "type": 126            }27          }28        ],29        "docs": [30          " Creates a new flipper smart contract initialized with the given value."31        ],32        "name": [33          "new"34        ],35        "selector": "0xd183512b"36      },37      {38        "args": [],39        "docs": [40          " Creates a new flipper smart contract initialized to `false`."41        ],42        "name": [43          "default"44        ],45        "selector": "0x6a3712e2"46      }47    ],48    "docs": [],49    "events": [],50    "messages": [51      {52        "args": [],53        "docs": [54          " Flips the current value of the Flipper's bool."55        ],56        "mutates": true,57        "name": [58          "flip"59        ],60        "payable": false,61        "returnType": null,62        "selector": "0xc096a5f3"63      },64      {65        "args": [],66        "docs": [67          " Returns the current value of the Flipper's bool."68        ],69        "mutates": false,70        "name": [71          "get"72        ],73        "payable": false,74        "returnType": {75          "displayName": [76            "bool"77          ],78          "type": 179        },80        "selector": "0x1e5ca456"81      }82    ]83  },84  "storage": {85    "struct": {86      "fields": [87        {88          "layout": {89            "cell": {90              "key": "0x0000000000000000000000000000000000000000000000000000000000000000",91              "ty": 192            }93          },94          "name": "value"95        }96      ]97    }98  },99  "types": [100    {101      "def": {102        "primitive": "bool"103      }104    }105  ]106}