github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/x/vmbridge/keeper/testdata/erc20abi.json (about)

     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      "anonymous": false,
    54      "inputs": [
    55        {
    56          "indexed": false,
    57          "internalType": "string",
    58          "name": "wasmAddr",
    59          "type": "string"
    60        },
    61        {
    62          "indexed": false,
    63          "internalType": "string",
    64          "name": "recipient",
    65          "type": "string"
    66        },
    67        {
    68          "indexed": false,
    69          "internalType": "uint256",
    70          "name": "amount",
    71          "type": "uint256"
    72        }
    73      ],
    74      "name": "__OKCSendToWasm",
    75      "type": "event"
    76    },
    77    {
    78      "inputs": [
    79        {
    80          "internalType": "address",
    81          "name": "owner",
    82          "type": "address"
    83        },
    84        {
    85          "internalType": "address",
    86          "name": "spender",
    87          "type": "address"
    88        }
    89      ],
    90      "name": "allowance",
    91      "outputs": [
    92        {
    93          "internalType": "uint256",
    94          "name": "",
    95          "type": "uint256"
    96        }
    97      ],
    98      "stateMutability": "view",
    99      "type": "function"
   100    },
   101    {
   102      "inputs": [
   103        {
   104          "internalType": "address",
   105          "name": "spender",
   106          "type": "address"
   107        },
   108        {
   109          "internalType": "uint256",
   110          "name": "amount",
   111          "type": "uint256"
   112        }
   113      ],
   114      "name": "approve",
   115      "outputs": [
   116        {
   117          "internalType": "bool",
   118          "name": "",
   119          "type": "bool"
   120        }
   121      ],
   122      "stateMutability": "nonpayable",
   123      "type": "function"
   124    },
   125    {
   126      "inputs": [
   127        {
   128          "internalType": "address",
   129          "name": "account",
   130          "type": "address"
   131        }
   132      ],
   133      "name": "balanceOf",
   134      "outputs": [
   135        {
   136          "internalType": "uint256",
   137          "name": "",
   138          "type": "uint256"
   139        }
   140      ],
   141      "stateMutability": "view",
   142      "type": "function"
   143    },
   144    {
   145      "inputs": [],
   146      "name": "decimals",
   147      "outputs": [
   148        {
   149          "internalType": "uint8",
   150          "name": "",
   151          "type": "uint8"
   152        }
   153      ],
   154      "stateMutability": "view",
   155      "type": "function"
   156    },
   157    {
   158      "inputs": [
   159        {
   160          "internalType": "address",
   161          "name": "spender",
   162          "type": "address"
   163        },
   164        {
   165          "internalType": "uint256",
   166          "name": "subtractedValue",
   167          "type": "uint256"
   168        }
   169      ],
   170      "name": "decreaseAllowance",
   171      "outputs": [
   172        {
   173          "internalType": "bool",
   174          "name": "",
   175          "type": "bool"
   176        }
   177      ],
   178      "stateMutability": "nonpayable",
   179      "type": "function"
   180    },
   181    {
   182      "inputs": [
   183        {
   184          "internalType": "address",
   185          "name": "spender",
   186          "type": "address"
   187        },
   188        {
   189          "internalType": "uint256",
   190          "name": "addedValue",
   191          "type": "uint256"
   192        }
   193      ],
   194      "name": "increaseAllowance",
   195      "outputs": [
   196        {
   197          "internalType": "bool",
   198          "name": "",
   199          "type": "bool"
   200        }
   201      ],
   202      "stateMutability": "nonpayable",
   203      "type": "function"
   204    },
   205    {
   206      "inputs": [
   207        {
   208          "internalType": "string",
   209          "name": "denom_",
   210          "type": "string"
   211        },
   212        {
   213          "internalType": "uint8",
   214          "name": "decimals_",
   215          "type": "uint8"
   216        }
   217      ],
   218      "name": "initialize",
   219      "outputs": [],
   220      "stateMutability": "nonpayable",
   221      "type": "function"
   222    },
   223    {
   224      "inputs": [
   225        {
   226          "internalType": "address",
   227          "name": "recipient",
   228          "type": "address"
   229        },
   230        {
   231          "internalType": "uint256",
   232          "name": "amount",
   233          "type": "uint256"
   234        }
   235      ],
   236      "name": "mint",
   237      "outputs": [],
   238      "stateMutability": "nonpayable",
   239      "type": "function"
   240    },
   241    {
   242      "inputs": [
   243        {
   244          "internalType": "string",
   245          "name": "caller",
   246          "type": "string"
   247        },
   248        {
   249          "internalType": "address",
   250          "name": "recipient",
   251          "type": "address"
   252        },
   253        {
   254          "internalType": "uint256",
   255          "name": "amount",
   256          "type": "uint256"
   257        }
   258      ],
   259      "name": "mintERC20",
   260      "outputs": [
   261        {
   262          "internalType": "bool",
   263          "name": "",
   264          "type": "bool"
   265        }
   266      ],
   267      "stateMutability": "nonpayable",
   268      "type": "function"
   269    },
   270    {
   271      "inputs": [],
   272      "name": "moduleAddress",
   273      "outputs": [
   274        {
   275          "internalType": "address",
   276          "name": "",
   277          "type": "address"
   278        }
   279      ],
   280      "stateMutability": "view",
   281      "type": "function"
   282    },
   283    {
   284      "inputs": [],
   285      "name": "name",
   286      "outputs": [
   287        {
   288          "internalType": "string",
   289          "name": "",
   290          "type": "string"
   291        }
   292      ],
   293      "stateMutability": "view",
   294      "type": "function"
   295    },
   296    {
   297      "inputs": [],
   298      "name": "native_denom",
   299      "outputs": [
   300        {
   301          "internalType": "string",
   302          "name": "",
   303          "type": "string"
   304        }
   305      ],
   306      "stateMutability": "view",
   307      "type": "function"
   308    },
   309    {
   310      "inputs": [
   311        {
   312          "internalType": "string",
   313          "name": "recipient",
   314          "type": "string"
   315        },
   316        {
   317          "internalType": "string",
   318          "name": "wasmContract",
   319          "type": "string"
   320        },
   321        {
   322          "internalType": "uint256",
   323          "name": "amount",
   324          "type": "uint256"
   325        }
   326      ],
   327      "name": "send_to_wasm",
   328      "outputs": [],
   329      "stateMutability": "nonpayable",
   330      "type": "function"
   331    },
   332    {
   333      "inputs": [],
   334      "name": "symbol",
   335      "outputs": [
   336        {
   337          "internalType": "string",
   338          "name": "",
   339          "type": "string"
   340        }
   341      ],
   342      "stateMutability": "view",
   343      "type": "function"
   344    },
   345    {
   346      "inputs": [],
   347      "name": "totalSupply",
   348      "outputs": [
   349        {
   350          "internalType": "uint256",
   351          "name": "",
   352          "type": "uint256"
   353        }
   354      ],
   355      "stateMutability": "view",
   356      "type": "function"
   357    },
   358    {
   359      "inputs": [
   360        {
   361          "internalType": "address",
   362          "name": "to",
   363          "type": "address"
   364        },
   365        {
   366          "internalType": "uint256",
   367          "name": "amount",
   368          "type": "uint256"
   369        }
   370      ],
   371      "name": "transfer",
   372      "outputs": [
   373        {
   374          "internalType": "bool",
   375          "name": "",
   376          "type": "bool"
   377        }
   378      ],
   379      "stateMutability": "nonpayable",
   380      "type": "function"
   381    },
   382    {
   383      "inputs": [
   384        {
   385          "internalType": "address",
   386          "name": "from",
   387          "type": "address"
   388        },
   389        {
   390          "internalType": "address",
   391          "name": "to",
   392          "type": "address"
   393        },
   394        {
   395          "internalType": "uint256",
   396          "name": "amount",
   397          "type": "uint256"
   398        }
   399      ],
   400      "name": "transferFrom",
   401      "outputs": [
   402        {
   403          "internalType": "bool",
   404          "name": "",
   405          "type": "bool"
   406        }
   407      ],
   408      "stateMutability": "nonpayable",
   409      "type": "function"
   410    },
   411    {
   412      "inputs": [
   413        {
   414          "internalType": "string",
   415          "name": "addr",
   416          "type": "string"
   417        }
   418      ],
   419      "name": "updatewasmContractAddress",
   420      "outputs": [],
   421      "stateMutability": "nonpayable",
   422      "type": "function"
   423    },
   424    {
   425      "inputs": [],
   426      "name": "wasmContractAddress",
   427      "outputs": [
   428        {
   429          "internalType": "string",
   430          "name": "",
   431          "type": "string"
   432        }
   433      ],
   434      "stateMutability": "view",
   435      "type": "function"
   436    }
   437  ]