git.delta.rocks / unique-network / refs/commits / e137eba0a7ea

difftreelog

source

tests/src/eth/util/contractHelpersAbi.json5.3 KiBsourcehistory
1[2  {3    "inputs": [4      {5        "internalType": "address",6        "name": "contractAddress",7        "type": "address"8      },9      { "internalType": "address", "name": "user", "type": "address" }10    ],11    "name": "allowed",12    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],13    "stateMutability": "view",14    "type": "function"15  },16  {17    "inputs": [18      {19        "internalType": "address",20        "name": "contractAddress",21        "type": "address"22      }23    ],24    "name": "allowlistEnabled",25    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],26    "stateMutability": "view",27    "type": "function"28  },29  {30    "inputs": [31      {32        "internalType": "address",33        "name": "contractAddress",34        "type": "address"35      }36    ],37    "name": "confirmSponsorship",38    "outputs": [],39    "stateMutability": "nonpayable",40    "type": "function"41  },42  {43    "inputs": [44      {45        "internalType": "address",46        "name": "contractAddress",47        "type": "address"48      }49    ],50    "name": "contractOwner",51    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],52    "stateMutability": "view",53    "type": "function"54  },55  {56    "inputs": [57      {58        "internalType": "address",59        "name": "contractAddress",60        "type": "address"61      }62    ],63    "name": "getSponsor",64    "outputs": [65      {66        "components": [67          { "internalType": "address", "name": "field_0", "type": "address" },68          { "internalType": "uint256", "name": "field_1", "type": "uint256" }69        ],70        "internalType": "struct Tuple0",71        "name": "",72        "type": "tuple"73      }74    ],75    "stateMutability": "view",76    "type": "function"77  },78  {79    "inputs": [80      {81        "internalType": "address",82        "name": "contractAddress",83        "type": "address"84      }85    ],86    "name": "getSponsoringRateLimit",87    "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }],88    "stateMutability": "view",89    "type": "function"90  },91  {92    "inputs": [93      {94        "internalType": "address",95        "name": "contractAddress",96        "type": "address"97      }98    ],99    "name": "hasPendingSponsor",100    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],101    "stateMutability": "view",102    "type": "function"103  },104  {105    "inputs": [106      {107        "internalType": "address",108        "name": "contractAddress",109        "type": "address"110      }111    ],112    "name": "hasSponsor",113    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],114    "stateMutability": "view",115    "type": "function"116  },117  {118    "inputs": [119      {120        "internalType": "address",121        "name": "contractAddress",122        "type": "address"123      }124    ],125    "name": "removeSponsor",126    "outputs": [],127    "stateMutability": "nonpayable",128    "type": "function"129  },130  {131    "inputs": [132      {133        "internalType": "address",134        "name": "contractAddress",135        "type": "address"136      }137    ],138    "name": "selfSponsoredEnable",139    "outputs": [],140    "stateMutability": "nonpayable",141    "type": "function"142  },143  {144    "inputs": [145      {146        "internalType": "address",147        "name": "contractAddress",148        "type": "address"149      },150      { "internalType": "address", "name": "sponsor", "type": "address" }151    ],152    "name": "setSponsor",153    "outputs": [],154    "stateMutability": "nonpayable",155    "type": "function"156  },157  {158    "inputs": [159      {160        "internalType": "address",161        "name": "contractAddress",162        "type": "address"163      },164      { "internalType": "uint8", "name": "mode", "type": "uint8" }165    ],166    "name": "setSponsoringMode",167    "outputs": [],168    "stateMutability": "nonpayable",169    "type": "function"170  },171  {172    "inputs": [173      {174        "internalType": "address",175        "name": "contractAddress",176        "type": "address"177      },178      { "internalType": "uint32", "name": "rateLimit", "type": "uint32" }179    ],180    "name": "setSponsoringRateLimit",181    "outputs": [],182    "stateMutability": "nonpayable",183    "type": "function"184  },185  {186    "inputs": [187      {188        "internalType": "address",189        "name": "contractAddress",190        "type": "address"191      }192    ],193    "name": "sponsoringEnabled",194    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],195    "stateMutability": "view",196    "type": "function"197  },198  {199    "inputs": [200      { "internalType": "bytes4", "name": "interfaceID", "type": "bytes4" }201    ],202    "name": "supportsInterface",203    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],204    "stateMutability": "view",205    "type": "function"206  },207  {208    "inputs": [209      {210        "internalType": "address",211        "name": "contractAddress",212        "type": "address"213      },214      { "internalType": "address", "name": "user", "type": "address" },215      { "internalType": "bool", "name": "isAllowed", "type": "bool" }216    ],217    "name": "toggleAllowed",218    "outputs": [],219    "stateMutability": "nonpayable",220    "type": "function"221  },222  {223    "inputs": [224      {225        "internalType": "address",226        "name": "contractAddress",227        "type": "address"228      },229      { "internalType": "bool", "name": "enabled", "type": "bool" }230    ],231    "name": "toggleAllowlist",232    "outputs": [],233    "stateMutability": "nonpayable",234    "type": "function"235  }236]