/ src / components / transactions / Bridge / Tokenpool-abi.json
Tokenpool-abi.json
  1  [
  2      {
  3          "inputs": [
  4              {
  5                  "internalType": "address",
  6                  "name": "token",
  7                  "type": "address"
  8              },
  9              {
 10                  "internalType": "address",
 11                  "name": "armProxy",
 12                  "type": "address"
 13              },
 14              {
 15                  "internalType": "bool",
 16                  "name": "allowlistEnabled",
 17                  "type": "bool"
 18              },
 19              {
 20                  "internalType": "bool",
 21                  "name": "acceptLiquidity",
 22                  "type": "bool"
 23              }
 24          ],
 25          "stateMutability": "nonpayable",
 26          "type": "constructor"
 27      },
 28      {
 29          "inputs": [],
 30          "name": "getBridgeLimit",
 31          "outputs": [
 32              {
 33                  "internalType": "uint256",
 34                  "name": "",
 35                  "type": "uint256"
 36              }
 37          ],
 38          "stateMutability": "view",
 39          "type": "function"
 40      },
 41      {
 42          "inputs": [],
 43          "name": "getCurrentBridgedAmount",
 44          "outputs": [
 45              {
 46                  "internalType": "uint256",
 47                  "name": "",
 48                  "type": "uint256"
 49              }
 50          ],
 51          "stateMutability": "view",
 52          "type": "function"
 53      },
 54      {
 55          "inputs": [
 56              {
 57                  "internalType": "uint64",
 58                  "name": "remoteChainSelector",
 59                  "type": "uint64"
 60              }
 61          ],
 62          "name": "getCurrentOutboundRateLimiterState",
 63          "outputs": [
 64              {
 65                  "components": [
 66                      {
 67                          "internalType": "uint128",
 68                          "name": "tokens",
 69                          "type": "uint128"
 70                      },
 71                      {
 72                          "internalType": "uint32",
 73                          "name": "lastUpdated",
 74                          "type": "uint32"
 75                      },
 76                      {
 77                          "internalType": "bool",
 78                          "name": "isEnabled",
 79                          "type": "bool"
 80                      },
 81                      {
 82                          "internalType": "uint128",
 83                          "name": "capacity",
 84                          "type": "uint128"
 85                      },
 86                      {
 87                          "internalType": "uint128",
 88                          "name": "rate",
 89                          "type": "uint128"
 90                      }
 91                  ],
 92                  "internalType": "struct RateLimiter.TokenBucket",
 93                  "name": "",
 94                  "type": "tuple"
 95              }
 96          ],
 97          "stateMutability": "view",
 98          "type": "function"
 99      }
100  ]