git.delta.rocks / unique-network / refs/commits / 2df3f6b6e145

difftreelog

source

tests/src/.outdated/flipper/metadata.json2.3 KiBsourcehistory
1{2  "metadataVersion": "0.1.0",3  "source": {4    "hash": "0x5b02ceadaacee8408d3c6496394847092c099bcb897221dbe8d22c16d372fa17",5    "language": "ink! 3.0.0-rc2",6    "compiler": "rustc 1.51.0-nightly"7  },8  "contract": {9    "name": "flipper",10    "version": "0.1.0",11    "authors": [12      "[your_name] <[your_email]>"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          " Constructor that initializes the `bool` value to the given `init_value`."31        ],32        "name": [33          "new"34        ],35        "selector": "0xd183512b"36      },37      {38        "args": [],39        "docs": [40          " Constructor that initializes the `bool` value to `false`.",41          "",42          " Constructors can delegate to other constructors."43        ],44        "name": [45          "default"46        ],47        "selector": "0x6a3712e2"48      }49    ],50    "docs": [],51    "events": [],52    "messages": [53      {54        "args": [],55        "docs": [56          " A message that can be called on instantiated contracts.",57          " This one flips the value of the stored `bool` from `true`",58          " to `false` and vice versa."59        ],60        "mutates": true,61        "name": [62          "flip"63        ],64        "payable": false,65        "returnType": null,66        "selector": "0xc096a5f3"67      },68      {69        "args": [],70        "docs": [71          " Simply returns the current value of our `bool`."72        ],73        "mutates": false,74        "name": [75          "get"76        ],77        "payable": false,78        "returnType": {79          "displayName": [80            "bool"81          ],82          "type": 183        },84        "selector": "0x1e5ca456"85      }86    ]87  },88  "storage": {89    "struct": {90      "fields": [91        {92          "layout": {93            "cell": {94              "key": "0x0000000000000000000000000000000000000000000000000000000000000000",95              "ty": 196            }97          },98          "name": "value"99        }100      ]101    }102  },103  "types": [104    {105      "def": {106        "primitive": "bool"107      }108    }109  ]110}