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

difftreelog

source

tests/src/eth/abi/nativeFungible.json4.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      { "internalType": "address", "name": "spender", "type": "address" },65      { "internalType": "uint256", "name": "amount", "type": "uint256" }66    ],67    "name": "approve",68    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],69    "stateMutability": "nonpayable",70    "type": "function"71  },72  {73    "inputs": [74      { "internalType": "address", "name": "owner", "type": "address" }75    ],76    "name": "balanceOf",77    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],78    "stateMutability": "view",79    "type": "function"80  },81  {82    "inputs": [],83    "name": "decimals",84    "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],85    "stateMutability": "view",86    "type": "function"87  },88  {89    "inputs": [],90    "name": "name",91    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],92    "stateMutability": "view",93    "type": "function"94  },95  {96    "inputs": [97      { "internalType": "bytes4", "name": "interfaceID", "type": "bytes4" }98    ],99    "name": "supportsInterface",100    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],101    "stateMutability": "view",102    "type": "function"103  },104  {105    "inputs": [],106    "name": "symbol",107    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],108    "stateMutability": "view",109    "type": "function"110  },111  {112    "inputs": [],113    "name": "totalSupply",114    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],115    "stateMutability": "view",116    "type": "function"117  },118  {119    "inputs": [120      { "internalType": "address", "name": "to", "type": "address" },121      { "internalType": "uint256", "name": "amount", "type": "uint256" }122    ],123    "name": "transfer",124    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],125    "stateMutability": "nonpayable",126    "type": "function"127  },128  {129    "inputs": [130      {131        "components": [132          { "internalType": "address", "name": "eth", "type": "address" },133          { "internalType": "uint256", "name": "sub", "type": "uint256" }134        ],135        "internalType": "struct CrossAddress",136        "name": "to",137        "type": "tuple"138      },139      { "internalType": "uint256", "name": "amount", "type": "uint256" }140    ],141    "name": "transferCross",142    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],143    "stateMutability": "nonpayable",144    "type": "function"145  },146  {147    "inputs": [148      { "internalType": "address", "name": "from", "type": "address" },149      { "internalType": "address", "name": "to", "type": "address" },150      { "internalType": "uint256", "name": "amount", "type": "uint256" }151    ],152    "name": "transferFrom",153    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],154    "stateMutability": "nonpayable",155    "type": "function"156  },157  {158    "inputs": [159      {160        "components": [161          { "internalType": "address", "name": "eth", "type": "address" },162          { "internalType": "uint256", "name": "sub", "type": "uint256" }163        ],164        "internalType": "struct CrossAddress",165        "name": "from",166        "type": "tuple"167      },168      {169        "components": [170          { "internalType": "address", "name": "eth", "type": "address" },171          { "internalType": "uint256", "name": "sub", "type": "uint256" }172        ],173        "internalType": "struct CrossAddress",174        "name": "to",175        "type": "tuple"176      },177      { "internalType": "uint256", "name": "amount", "type": "uint256" }178    ],179    "name": "transferFromCross",180    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],181    "stateMutability": "nonpayable",182    "type": "function"183  }184]