github.com/amazechain/amc@v0.1.3/contracts/deposit/AMT/abi.json (about)

     1  [
     2    {
     3      "inputs": [
     4        {
     5          "internalType": "uint256",
     6          "name": "amount",
     7          "type": "uint256"
     8        },
     9        {
    10          "internalType": "uint64",
    11          "name": "limit",
    12          "type": "uint64"
    13        }
    14      ],
    15      "name": "addDepositLimit",
    16      "outputs": [],
    17      "stateMutability": "nonpayable",
    18      "type": "function"
    19    },
    20    {
    21      "inputs": [
    22        {
    23          "internalType": "bytes",
    24          "name": "pubkey",
    25          "type": "bytes"
    26        },
    27        {
    28          "internalType": "bytes",
    29          "name": "signature",
    30          "type": "bytes"
    31        }
    32      ],
    33      "name": "deposit",
    34      "outputs": [],
    35      "stateMutability": "payable",
    36      "type": "function"
    37    },
    38    {
    39      "inputs": [
    40        {
    41          "internalType": "uint64",
    42          "name": "_depositLockingTime",
    43          "type": "uint64"
    44        },
    45        {
    46          "internalType": "uint64",
    47          "name": "_fiftyDepositLimit",
    48          "type": "uint64"
    49        },
    50        {
    51          "internalType": "uint64",
    52          "name": "_oneHundredDepositLimit",
    53          "type": "uint64"
    54        },
    55        {
    56          "internalType": "uint64",
    57          "name": "_fiveHundredDepositLimit",
    58          "type": "uint64"
    59        }
    60      ],
    61      "stateMutability": "nonpayable",
    62      "type": "constructor"
    63    },
    64    {
    65      "anonymous": false,
    66      "inputs": [
    67        {
    68          "indexed": false,
    69          "internalType": "bytes",
    70          "name": "pubkey",
    71          "type": "bytes"
    72        },
    73        {
    74          "indexed": false,
    75          "internalType": "uint256",
    76          "name": "weiAmount",
    77          "type": "uint256"
    78        },
    79        {
    80          "indexed": false,
    81          "internalType": "bytes",
    82          "name": "signature",
    83          "type": "bytes"
    84        }
    85      ],
    86      "name": "DepositEvent",
    87      "type": "event"
    88    },
    89    {
    90      "anonymous": false,
    91      "inputs": [
    92        {
    93          "indexed": true,
    94          "internalType": "address",
    95          "name": "previousOwner",
    96          "type": "address"
    97        },
    98        {
    99          "indexed": true,
   100          "internalType": "address",
   101          "name": "newOwner",
   102          "type": "address"
   103        }
   104      ],
   105      "name": "OwnershipTransferred",
   106      "type": "event"
   107    },
   108    {
   109      "inputs": [],
   110      "name": "renounceOwnership",
   111      "outputs": [],
   112      "stateMutability": "nonpayable",
   113      "type": "function"
   114    },
   115    {
   116      "inputs": [
   117        {
   118          "internalType": "address",
   119          "name": "newOwner",
   120          "type": "address"
   121        }
   122      ],
   123      "name": "transferOwnership",
   124      "outputs": [],
   125      "stateMutability": "nonpayable",
   126      "type": "function"
   127    },
   128    {
   129      "inputs": [],
   130      "name": "withdraw",
   131      "outputs": [],
   132      "stateMutability": "payable",
   133      "type": "function"
   134    },
   135    {
   136      "anonymous": false,
   137      "inputs": [
   138        {
   139          "indexed": false,
   140          "internalType": "uint256",
   141          "name": "weiAmount",
   142          "type": "uint256"
   143        }
   144      ],
   145      "name": "WithdrawnEvent",
   146      "type": "event"
   147    },
   148    {
   149      "inputs": [
   150        {
   151          "internalType": "uint256",
   152          "name": "amount",
   153          "type": "uint256"
   154        }
   155      ],
   156      "name": "depositAllowed",
   157      "outputs": [
   158        {
   159          "internalType": "bool",
   160          "name": "",
   161          "type": "bool"
   162        }
   163      ],
   164      "stateMutability": "view",
   165      "type": "function"
   166    },
   167    {
   168      "inputs": [
   169        {
   170          "internalType": "address",
   171          "name": "payee",
   172          "type": "address"
   173        }
   174      ],
   175      "name": "depositsOf",
   176      "outputs": [
   177        {
   178          "internalType": "uint256",
   179          "name": "",
   180          "type": "uint256"
   181        }
   182      ],
   183      "stateMutability": "view",
   184      "type": "function"
   185    },
   186    {
   187      "inputs": [
   188        {
   189          "internalType": "address",
   190          "name": "payee",
   191          "type": "address"
   192        }
   193      ],
   194      "name": "depositUnlockingTimestamp",
   195      "outputs": [
   196        {
   197          "internalType": "uint64",
   198          "name": "",
   199          "type": "uint64"
   200        }
   201      ],
   202      "stateMutability": "view",
   203      "type": "function"
   204    },
   205    {
   206      "inputs": [],
   207      "name": "getDepositCount",
   208      "outputs": [
   209        {
   210          "internalType": "uint256",
   211          "name": "",
   212          "type": "uint256"
   213        }
   214      ],
   215      "stateMutability": "view",
   216      "type": "function"
   217    },
   218    {
   219      "inputs": [
   220        {
   221          "internalType": "uint256",
   222          "name": "amount",
   223          "type": "uint256"
   224        }
   225      ],
   226      "name": "getDepositLimit",
   227      "outputs": [
   228        {
   229          "internalType": "uint64",
   230          "name": "",
   231          "type": "uint64"
   232        }
   233      ],
   234      "stateMutability": "view",
   235      "type": "function"
   236    },
   237    {
   238      "inputs": [],
   239      "name": "getDepositRemain",
   240      "outputs": [
   241        {
   242          "internalType": "uint64",
   243          "name": "",
   244          "type": "uint64"
   245        },
   246        {
   247          "internalType": "uint64",
   248          "name": "",
   249          "type": "uint64"
   250        },
   251        {
   252          "internalType": "uint64",
   253          "name": "",
   254          "type": "uint64"
   255        }
   256      ],
   257      "stateMutability": "view",
   258      "type": "function"
   259    },
   260    {
   261      "inputs": [],
   262      "name": "owner",
   263      "outputs": [
   264        {
   265          "internalType": "address",
   266          "name": "",
   267          "type": "address"
   268        }
   269      ],
   270      "stateMutability": "view",
   271      "type": "function"
   272    },
   273    {
   274      "inputs": [
   275        {
   276          "internalType": "uint64",
   277          "name": "timestamp",
   278          "type": "uint64"
   279        }
   280      ],
   281      "name": "withdrawalAllowed",
   282      "outputs": [
   283        {
   284          "internalType": "bool",
   285          "name": "",
   286          "type": "bool"
   287        }
   288      ],
   289      "stateMutability": "view",
   290      "type": "function"
   291    }
   292  ]