code.vegaprotocol.io/vega@v0.79.0/core/contracts/MultisigControl.abi (about)

     1  [
     2    {
     3      "type": "function",
     4      "name": "addSigner",
     5      "inputs": [
     6        {
     7          "name": "newSigner",
     8          "type": "address",
     9          "internalType": "address"
    10        },
    11        {
    12          "name": "nonce",
    13          "type": "uint256",
    14          "internalType": "uint256"
    15        },
    16        {
    17          "name": "signatures",
    18          "type": "bytes",
    19          "internalType": "bytes"
    20        }
    21      ],
    22      "outputs": [],
    23      "stateMutability": "nonpayable"
    24    },
    25    {
    26      "type": "function",
    27      "name": "burnNonce",
    28      "inputs": [
    29        {
    30          "name": "nonce",
    31          "type": "uint256",
    32          "internalType": "uint256"
    33        },
    34        {
    35          "name": "signatures",
    36          "type": "bytes",
    37          "internalType": "bytes"
    38        }
    39      ],
    40      "outputs": [],
    41      "stateMutability": "nonpayable"
    42    },
    43    {
    44      "type": "function",
    45      "name": "getCurrentThreshold",
    46      "inputs": [],
    47      "outputs": [
    48        {
    49          "name": "",
    50          "type": "uint16",
    51          "internalType": "uint16"
    52        }
    53      ],
    54      "stateMutability": "view"
    55    },
    56    {
    57      "type": "function",
    58      "name": "getValidSignerCount",
    59      "inputs": [],
    60      "outputs": [
    61        {
    62          "name": "",
    63          "type": "uint8",
    64          "internalType": "uint8"
    65        }
    66      ],
    67      "stateMutability": "view"
    68    },
    69    {
    70      "type": "function",
    71      "name": "isNonceUsed",
    72      "inputs": [
    73        {
    74          "name": "nonce",
    75          "type": "uint256",
    76          "internalType": "uint256"
    77        }
    78      ],
    79      "outputs": [
    80        {
    81          "name": "",
    82          "type": "bool",
    83          "internalType": "bool"
    84        }
    85      ],
    86      "stateMutability": "view"
    87    },
    88    {
    89      "type": "function",
    90      "name": "isValidSigner",
    91      "inputs": [
    92        {
    93          "name": "signer_address",
    94          "type": "address",
    95          "internalType": "address"
    96        }
    97      ],
    98      "outputs": [
    99        {
   100          "name": "",
   101          "type": "bool",
   102          "internalType": "bool"
   103        }
   104      ],
   105      "stateMutability": "view"
   106    },
   107    {
   108      "type": "function",
   109      "name": "removeSigner",
   110      "inputs": [
   111        {
   112          "name": "oldSigner",
   113          "type": "address",
   114          "internalType": "address"
   115        },
   116        {
   117          "name": "nonce",
   118          "type": "uint256",
   119          "internalType": "uint256"
   120        },
   121        {
   122          "name": "signatures",
   123          "type": "bytes",
   124          "internalType": "bytes"
   125        }
   126      ],
   127      "outputs": [],
   128      "stateMutability": "nonpayable"
   129    },
   130    {
   131      "type": "function",
   132      "name": "setThreshold",
   133      "inputs": [
   134        {
   135          "name": "newThreshold",
   136          "type": "uint16",
   137          "internalType": "uint16"
   138        },
   139        {
   140          "name": "nonce",
   141          "type": "uint256",
   142          "internalType": "uint256"
   143        },
   144        {
   145          "name": "signatures",
   146          "type": "bytes",
   147          "internalType": "bytes"
   148        }
   149      ],
   150      "outputs": [],
   151      "stateMutability": "nonpayable"
   152    },
   153    {
   154      "type": "function",
   155      "name": "verifySignatures",
   156      "inputs": [
   157        {
   158          "name": "signatures",
   159          "type": "bytes",
   160          "internalType": "bytes"
   161        },
   162        {
   163          "name": "message",
   164          "type": "bytes",
   165          "internalType": "bytes"
   166        },
   167        {
   168          "name": "nonce",
   169          "type": "uint256",
   170          "internalType": "uint256"
   171        }
   172      ],
   173      "outputs": [
   174        {
   175          "name": "",
   176          "type": "bool",
   177          "internalType": "bool"
   178        }
   179      ],
   180      "stateMutability": "nonpayable"
   181    },
   182    {
   183      "type": "event",
   184      "name": "NonceBurnt",
   185      "inputs": [
   186        {
   187          "name": "nonce",
   188          "type": "uint256",
   189          "indexed": false,
   190          "internalType": "uint256"
   191        }
   192      ],
   193      "anonymous": false
   194    },
   195    {
   196      "type": "event",
   197      "name": "SignerAdded",
   198      "inputs": [
   199        {
   200          "name": "newSigner",
   201          "type": "address",
   202          "indexed": false,
   203          "internalType": "address"
   204        },
   205        {
   206          "name": "nonce",
   207          "type": "uint256",
   208          "indexed": false,
   209          "internalType": "uint256"
   210        }
   211      ],
   212      "anonymous": false
   213    },
   214    {
   215      "type": "event",
   216      "name": "SignerRemoved",
   217      "inputs": [
   218        {
   219          "name": "oldSigner",
   220          "type": "address",
   221          "indexed": false,
   222          "internalType": "address"
   223        },
   224        {
   225          "name": "nonce",
   226          "type": "uint256",
   227          "indexed": false,
   228          "internalType": "uint256"
   229        }
   230      ],
   231      "anonymous": false
   232    },
   233    {
   234      "type": "event",
   235      "name": "ThresholdSet",
   236      "inputs": [
   237        {
   238          "name": "newThreshold",
   239          "type": "uint16",
   240          "indexed": false,
   241          "internalType": "uint16"
   242        },
   243        {
   244          "name": "nonce",
   245          "type": "uint256",
   246          "indexed": false,
   247          "internalType": "uint256"
   248        }
   249      ],
   250      "anonymous": false
   251    }
   252  ]