git.delta.rocks / unique-network / refs/commits / 8eb82cd98ff6

difftreelog

source

tests/src/flipper/metadata.json3.9 KiBsourcehistory
1{2  "registry": {3    "strings": [4      "Storage",5      "flipper",6      "__ink_private",7      "__ink_storage",8      "value",9      "Value",10      "ink_core",11      "storage",12      "cell",13      "SyncCell",14      "sync_cell",15      "Key",16      "ink_primitives",17      "new",18      "init_value",19      "bool",20      "default",21      "flip",22      "get"23    ],24    "types": [25      {26        "id": {27          "custom.name": 1,28          "custom.namespace": [29            2,30            2,31            3,32            433          ],34          "custom.params": []35        },36        "def": {37          "struct.fields": [38            {39              "name": 5,40              "type": 241            }42          ]43        }44      },45      {46        "id": {47          "custom.name": 6,48          "custom.namespace": [49            7,50            8,51            552          ],53          "custom.params": [54            355          ]56        },57        "def": {58          "struct.fields": [59            {60              "name": 9,61              "type": 462            }63          ]64        }65      },66      {67        "id": "bool",68        "def": "builtin"69      },70      {71        "id": {72          "custom.name": 10,73          "custom.namespace": [74            7,75            8,76            9,77            1178          ],79          "custom.params": [80            381          ]82        },83        "def": {84          "struct.fields": [85            {86              "name": 9,87              "type": 588            }89          ]90        }91      },92      {93        "id": {94          "custom.name": 12,95          "custom.namespace": [96            1397          ],98          "custom.params": []99        },100        "def": {101          "tuple_struct.types": [102            6103          ]104        }105      },106      {107        "id": {108          "array.len": 32,109          "array.type": 7110        },111        "def": "builtin"112      },113      {114        "id": "u8",115        "def": "builtin"116      }117    ]118  },119  "storage": {120    "struct.type": 1,121    "struct.fields": [122      {123        "name": 5,124        "layout": {125          "struct.type": 2,126          "struct.fields": [127            {128              "name": 9,129              "layout": {130                "range.offset": "0x0000000000000000000000000000000000000000000000000000000000000000",131                "range.len": 1,132                "range.elem_type": 3133              }134            }135          ]136        }137      }138    ]139  },140  "contract": {141    "name": 2,142    "constructors": [143      {144        "name": 14,145        "selector": "[\"0x5E\",\"0xBD\",\"0x88\",\"0xD6\"]",146        "args": [147          {148            "name": 15,149            "type": {150              "ty": 3,151              "display_name": [152                16153              ]154            }155          }156        ],157        "docs": [158          "Constructor that initializes the `bool` value to the given `init_value`."159        ]160      },161      {162        "name": 17,163        "selector": "[\"0x02\",\"0x22\",\"0xFF\",\"0x18\"]",164        "args": [],165        "docs": [166          "Constructor that initializes the `bool` value to `false`.",167          "",168          "Constructors can delegate to other constructors."169        ]170      }171    ],172    "messages": [173      {174        "name": 18,175        "selector": "[\"0x8C\",\"0x97\",\"0xDB\",\"0x39\"]",176        "mutates": true,177        "args": [],178        "return_type": null,179        "docs": [180          "A message that can be called on instantiated contracts.",181          "This one flips the value of the stored `bool` from `true`",182          "to `false` and vice versa."183        ]184      },185      {186        "name": 19,187        "selector": "[\"0x25\",\"0x44\",\"0x4A\",\"0xFE\"]",188        "mutates": false,189        "args": [],190        "return_type": {191          "ty": 3,192          "display_name": [193            16194          ]195        },196        "docs": [197          "Simply returns the current value of our `bool`."198        ]199      }200    ],201    "events": [],202    "docs": []203  }204}