git.delta.rocks / unique-network / refs/commits / 667f02faac6f

difftreelog

source

js-packages/tests/eth/abi/reFungibleToken.json7.9 KiBsourcehistory
1[2  {3    "anonymous": false,4    "inputs": [5      {6        "indexed": true,7        "internalType": "address",8        "name": "owner",9        "type": "address"10      },11      {12        "indexed": true,13        "internalType": "address",14        "name": "spender",15        "type": "address"16      },17      {18        "indexed": false,19        "internalType": "uint256",20        "name": "value",21        "type": "uint256"22      }23    ],24    "name": "Approval",25    "type": "event"26  },27  {28    "anonymous": false,29    "inputs": [30      {31        "indexed": true,32        "internalType": "address",33        "name": "from",34        "type": "address"35      },36      {37        "indexed": true,38        "internalType": "address",39        "name": "to",40        "type": "address"41      },42      {43        "indexed": false,44        "internalType": "uint256",45        "name": "value",46        "type": "uint256"47      }48    ],49    "name": "Transfer",50    "type": "event"51  },52  {53    "inputs": [54      { "internalType": "address", "name": "owner", "type": "address" },55      { "internalType": "address", "name": "spender", "type": "address" }56    ],57    "name": "allowance",58    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],59    "stateMutability": "view",60    "type": "function"61  },62  {63    "inputs": [64      {65        "components": [66          { "internalType": "address", "name": "eth", "type": "address" },67          { "internalType": "uint256", "name": "sub", "type": "uint256" }68        ],69        "internalType": "struct CrossAddress",70        "name": "owner",71        "type": "tuple"72      },73      {74        "components": [75          { "internalType": "address", "name": "eth", "type": "address" },76          { "internalType": "uint256", "name": "sub", "type": "uint256" }77        ],78        "internalType": "struct CrossAddress",79        "name": "spender",80        "type": "tuple"81      }82    ],83    "name": "allowanceCross",84    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],85    "stateMutability": "view",86    "type": "function"87  },88  {89    "inputs": [90      { "internalType": "address", "name": "spender", "type": "address" },91      { "internalType": "uint256", "name": "amount", "type": "uint256" }92    ],93    "name": "approve",94    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],95    "stateMutability": "nonpayable",96    "type": "function"97  },98  {99    "inputs": [100      {101        "components": [102          { "internalType": "address", "name": "eth", "type": "address" },103          { "internalType": "uint256", "name": "sub", "type": "uint256" }104        ],105        "internalType": "struct CrossAddress",106        "name": "spender",107        "type": "tuple"108      },109      { "internalType": "uint256", "name": "amount", "type": "uint256" }110    ],111    "name": "approveCross",112    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],113    "stateMutability": "nonpayable",114    "type": "function"115  },116  {117    "inputs": [118      { "internalType": "address", "name": "owner", "type": "address" }119    ],120    "name": "balanceOf",121    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],122    "stateMutability": "view",123    "type": "function"124  },125  {126    "inputs": [127      {128        "components": [129          { "internalType": "address", "name": "eth", "type": "address" },130          { "internalType": "uint256", "name": "sub", "type": "uint256" }131        ],132        "internalType": "struct CrossAddress",133        "name": "owner",134        "type": "tuple"135      }136    ],137    "name": "balanceOfCross",138    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],139    "stateMutability": "view",140    "type": "function"141  },142  {143    "inputs": [144      {145        "components": [146          { "internalType": "address", "name": "eth", "type": "address" },147          { "internalType": "uint256", "name": "sub", "type": "uint256" }148        ],149        "internalType": "struct CrossAddress",150        "name": "from",151        "type": "tuple"152      },153      { "internalType": "uint256", "name": "amount", "type": "uint256" }154    ],155    "name": "burnFromCross",156    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],157    "stateMutability": "nonpayable",158    "type": "function"159  },160  {161    "inputs": [],162    "name": "decimals",163    "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],164    "stateMutability": "view",165    "type": "function"166  },167  {168    "inputs": [],169    "name": "name",170    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],171    "stateMutability": "view",172    "type": "function"173  },174  {175    "inputs": [],176    "name": "parentToken",177    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],178    "stateMutability": "view",179    "type": "function"180  },181  {182    "inputs": [],183    "name": "parentTokenId",184    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],185    "stateMutability": "view",186    "type": "function"187  },188  {189    "inputs": [190      { "internalType": "uint256", "name": "amount", "type": "uint256" }191    ],192    "name": "repartition",193    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],194    "stateMutability": "nonpayable",195    "type": "function"196  },197  {198    "inputs": [199      { "internalType": "bytes4", "name": "interfaceID", "type": "bytes4" }200    ],201    "name": "supportsInterface",202    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],203    "stateMutability": "view",204    "type": "function"205  },206  {207    "inputs": [],208    "name": "symbol",209    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],210    "stateMutability": "view",211    "type": "function"212  },213  {214    "inputs": [],215    "name": "totalSupply",216    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],217    "stateMutability": "view",218    "type": "function"219  },220  {221    "inputs": [222      { "internalType": "address", "name": "to", "type": "address" },223      { "internalType": "uint256", "name": "amount", "type": "uint256" }224    ],225    "name": "transfer",226    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],227    "stateMutability": "nonpayable",228    "type": "function"229  },230  {231    "inputs": [232      {233        "components": [234          { "internalType": "address", "name": "eth", "type": "address" },235          { "internalType": "uint256", "name": "sub", "type": "uint256" }236        ],237        "internalType": "struct CrossAddress",238        "name": "to",239        "type": "tuple"240      },241      { "internalType": "uint256", "name": "amount", "type": "uint256" }242    ],243    "name": "transferCross",244    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],245    "stateMutability": "nonpayable",246    "type": "function"247  },248  {249    "inputs": [250      { "internalType": "address", "name": "from", "type": "address" },251      { "internalType": "address", "name": "to", "type": "address" },252      { "internalType": "uint256", "name": "amount", "type": "uint256" }253    ],254    "name": "transferFrom",255    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],256    "stateMutability": "nonpayable",257    "type": "function"258  },259  {260    "inputs": [261      {262        "components": [263          { "internalType": "address", "name": "eth", "type": "address" },264          { "internalType": "uint256", "name": "sub", "type": "uint256" }265        ],266        "internalType": "struct CrossAddress",267        "name": "from",268        "type": "tuple"269      },270      {271        "components": [272          { "internalType": "address", "name": "eth", "type": "address" },273          { "internalType": "uint256", "name": "sub", "type": "uint256" }274        ],275        "internalType": "struct CrossAddress",276        "name": "to",277        "type": "tuple"278      },279      { "internalType": "uint256", "name": "amount", "type": "uint256" }280    ],281    "name": "transferFromCross",282    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],283    "stateMutability": "nonpayable",284    "type": "function"285  }286]