Socket
Socket
Sign inDemoInstall

@celo/abis

Package Overview
Dependencies
Maintainers
8
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@celo/abis - npm Package Compare versions

Comparing version 12.0.0-canary.44 to 12.0.0-canary.45

9

dist/cjs/Election.js

@@ -395,2 +395,11 @@ "use strict";

inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ name: '', internalType: 'address', type: 'address' }],
},
{
constant: true,
payable: false,
stateMutability: 'view',
type: 'function',
inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'validatorSignerAddressFromCurrentSet',

@@ -397,0 +406,0 @@ outputs: [{ name: '', internalType: 'address', type: 'address' }],

58

dist/cjs/EpochManager.js

@@ -66,3 +66,3 @@ "use strict";

inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
name: 'elected',
name: 'electedAccounts',
outputs: [{ name: '', internalType: 'address', type: 'address' }],

@@ -73,2 +73,9 @@ },

type: 'function',
inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
name: 'electedSigners',
outputs: [{ name: '', internalType: 'address', type: 'address' }],
},
{
stateMutability: 'view',
type: 'function',
inputs: [],

@@ -257,3 +264,10 @@ name: 'epochDuration',

inputs: [],
name: 'getElected',
name: 'numberOfElectedInCurrentSet',
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
},
{
stateMutability: 'view',
type: 'function',
inputs: [],
name: 'getElectedAccounts',
outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }],

@@ -264,2 +278,23 @@ },

type: 'function',
inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'getElectedAccountByIndex',
outputs: [{ name: '', internalType: 'address', type: 'address' }],
},
{
stateMutability: 'view',
type: 'function',
inputs: [],
name: 'getElectedSigners',
outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }],
},
{
stateMutability: 'view',
type: 'function',
inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'getElectedSignerByIndex',
outputs: [{ name: '', internalType: 'address', type: 'address' }],
},
{
stateMutability: 'view',
type: 'function',
inputs: [{ name: 'epoch', internalType: 'uint256', type: 'uint256' }],

@@ -277,2 +312,21 @@ name: 'getFirstBlockAtEpoch',

{
stateMutability: 'view',
type: 'function',
inputs: [{ name: '_blockNumber', internalType: 'uint256', type: 'uint256' }],
name: 'getEpochNumberOfBlock',
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
},
{
stateMutability: 'view',
type: 'function',
inputs: [{ name: '_blockNumber', internalType: 'uint256', type: 'uint256' }],
name: 'getEpochByBlockNumber',
outputs: [
{ name: '', internalType: 'uint256', type: 'uint256' },
{ name: '', internalType: 'uint256', type: 'uint256' },
{ name: '', internalType: 'uint256', type: 'uint256' },
{ name: '', internalType: 'uint256', type: 'uint256' },
],
},
{
stateMutability: 'pure',

@@ -279,0 +333,0 @@ type: 'function',

@@ -321,2 +321,11 @@ "use strict";

inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ name: '', internalType: 'address', type: 'address' }],
},
{
constant: true,
payable: false,
stateMutability: 'view',
type: 'function',
inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'validatorSignerAddressFromCurrentSet',

@@ -323,0 +332,0 @@ outputs: [{ name: '', internalType: 'address', type: 'address' }],

@@ -611,2 +611,11 @@ "use strict";

inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ name: '', internalType: 'address', type: 'address' }],
},
{
constant: true,
payable: false,
stateMutability: 'view',
type: 'function',
inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'validatorSignerAddressFromCurrentSet',

@@ -613,0 +622,0 @@ outputs: [{ name: '', internalType: 'address', type: 'address' }],

@@ -395,2 +395,9 @@ "use strict";

type: 'function',
inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ name: '', internalType: 'address', type: 'address' }],
},
{
stateMutability: 'view',
type: 'function',
inputs: [],

@@ -397,0 +404,0 @@ name: 'validatorLockedGoldRequirements',

@@ -139,3 +139,3 @@ "use strict";

inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
name: 'elected',
name: 'electedAccounts',
outputs: [{ internalType: 'address', name: '', type: 'address' }],

@@ -146,2 +146,9 @@ stateMutability: 'view',

{
inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
name: 'electedSigners',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],

@@ -342,3 +349,10 @@ name: 'epochDuration',

inputs: [],
name: 'getElected',
name: 'numberOfElectedInCurrentSet',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'getElectedAccounts',
outputs: [{ internalType: 'address[]', name: '', type: 'address[]' }],

@@ -349,2 +363,23 @@ stateMutability: 'view',

{
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'getElectedAccountByIndex',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'getElectedSigners',
outputs: [{ internalType: 'address[]', name: '', type: 'address[]' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'getElectedSignerByIndex',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: 'epoch', type: 'uint256' }],

@@ -364,2 +399,21 @@ name: 'getFirstBlockAtEpoch',

{
inputs: [{ internalType: 'uint256', name: '_blockNumber', type: 'uint256' }],
name: 'getEpochNumberOfBlock',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: '_blockNumber', type: 'uint256' }],
name: 'getEpochByBlockNumber',
outputs: [
{ internalType: 'uint256', name: '', type: 'uint256' },
{ internalType: 'uint256', name: '', type: 'uint256' },
{ internalType: 'uint256', name: '', type: 'uint256' },
{ internalType: 'uint256', name: '', type: 'uint256' },
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],

@@ -366,0 +420,0 @@ name: 'getVersionNumber',

@@ -598,2 +598,9 @@ "use strict";

{
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],

@@ -600,0 +607,0 @@ name: 'validatorLockedGoldRequirements',

@@ -511,2 +511,11 @@ "use strict";

inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'validatorSignerAddressFromCurrentSet',

@@ -513,0 +522,0 @@ outputs: [{ internalType: 'address', name: '', type: 'address' }],

@@ -139,3 +139,3 @@ "use strict";

inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
name: 'elected',
name: 'electedAccounts',
outputs: [{ internalType: 'address', name: '', type: 'address' }],

@@ -146,2 +146,9 @@ stateMutability: 'view',

{
inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
name: 'electedSigners',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],

@@ -342,3 +349,10 @@ name: 'epochDuration',

inputs: [],
name: 'getElected',
name: 'numberOfElectedInCurrentSet',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'getElectedAccounts',
outputs: [{ internalType: 'address[]', name: '', type: 'address[]' }],

@@ -349,2 +363,23 @@ stateMutability: 'view',

{
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'getElectedAccountByIndex',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'getElectedSigners',
outputs: [{ internalType: 'address[]', name: '', type: 'address[]' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'getElectedSignerByIndex',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: 'epoch', type: 'uint256' }],

@@ -364,2 +399,21 @@ name: 'getFirstBlockAtEpoch',

{
inputs: [{ internalType: 'uint256', name: '_blockNumber', type: 'uint256' }],
name: 'getEpochNumberOfBlock',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: '_blockNumber', type: 'uint256' }],
name: 'getEpochByBlockNumber',
outputs: [
{ internalType: 'uint256', name: '', type: 'uint256' },
{ internalType: 'uint256', name: '', type: 'uint256' },
{ internalType: 'uint256', name: '', type: 'uint256' },
{ internalType: 'uint256', name: '', type: 'uint256' },
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],

@@ -366,0 +420,0 @@ name: 'getVersionNumber',

@@ -385,2 +385,11 @@ "use strict";

inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'validatorSignerAddressFromCurrentSet',

@@ -387,0 +396,0 @@ outputs: [{ internalType: 'address', name: '', type: 'address' }],

@@ -910,2 +910,11 @@ "use strict";

inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'validatorSignerAddressFromCurrentSet',

@@ -912,0 +921,0 @@ outputs: [{ internalType: 'address', name: '', type: 'address' }],

@@ -598,2 +598,9 @@ "use strict";

{
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],

@@ -600,0 +607,0 @@ name: 'validatorLockedGoldRequirements',

@@ -801,2 +801,23 @@ {

],
"name": "validatorAddressFromCurrentSet",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "validatorSignerAddressFromCurrentSet",

@@ -803,0 +824,0 @@ "outputs": [

@@ -150,3 +150,3 @@ {

],
"name": "elected",
"name": "electedAccounts",
"outputs": [

@@ -163,2 +163,21 @@ {

{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "electedSigners",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],

@@ -531,5 +550,18 @@ "name": "epochDuration",

"inputs": [],
"name": "getElected",
"name": "numberOfElectedInCurrentSet",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getElectedAccounts",
"outputs": [
{
"internalType": "address[]",

@@ -547,2 +579,53 @@ "name": "",

"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "getElectedAccountByIndex",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getElectedSigners",
"outputs": [
{
"internalType": "address[]",
"name": "",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "getElectedSignerByIndex",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "epoch",

@@ -583,2 +666,55 @@ "type": "uint256"

{
"inputs": [
{
"internalType": "uint256",
"name": "_blockNumber",
"type": "uint256"
}
],
"name": "getEpochNumberOfBlock",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_blockNumber",
"type": "uint256"
}
],
"name": "getEpochByBlockNumber",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],

@@ -585,0 +721,0 @@ "name": "getVersionNumber",

@@ -618,2 +618,23 @@ {

],
"name": "validatorAddressFromCurrentSet",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "validatorSignerAddressFromCurrentSet",

@@ -620,0 +641,0 @@ "outputs": [

@@ -392,2 +392,11 @@ export const electionABI = [

inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ name: '', internalType: 'address', type: 'address' }],
},
{
constant: true,
payable: false,
stateMutability: 'view',
type: 'function',
inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'validatorSignerAddressFromCurrentSet',

@@ -394,0 +403,0 @@ outputs: [{ name: '', internalType: 'address', type: 'address' }],

@@ -63,3 +63,3 @@ export const epochManagerABI = [

inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
name: 'elected',
name: 'electedAccounts',
outputs: [{ name: '', internalType: 'address', type: 'address' }],

@@ -70,2 +70,9 @@ },

type: 'function',
inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
name: 'electedSigners',
outputs: [{ name: '', internalType: 'address', type: 'address' }],
},
{
stateMutability: 'view',
type: 'function',
inputs: [],

@@ -254,3 +261,10 @@ name: 'epochDuration',

inputs: [],
name: 'getElected',
name: 'numberOfElectedInCurrentSet',
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
},
{
stateMutability: 'view',
type: 'function',
inputs: [],
name: 'getElectedAccounts',
outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }],

@@ -261,2 +275,23 @@ },

type: 'function',
inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'getElectedAccountByIndex',
outputs: [{ name: '', internalType: 'address', type: 'address' }],
},
{
stateMutability: 'view',
type: 'function',
inputs: [],
name: 'getElectedSigners',
outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }],
},
{
stateMutability: 'view',
type: 'function',
inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'getElectedSignerByIndex',
outputs: [{ name: '', internalType: 'address', type: 'address' }],
},
{
stateMutability: 'view',
type: 'function',
inputs: [{ name: 'epoch', internalType: 'uint256', type: 'uint256' }],

@@ -274,2 +309,21 @@ name: 'getFirstBlockAtEpoch',

{
stateMutability: 'view',
type: 'function',
inputs: [{ name: '_blockNumber', internalType: 'uint256', type: 'uint256' }],
name: 'getEpochNumberOfBlock',
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
},
{
stateMutability: 'view',
type: 'function',
inputs: [{ name: '_blockNumber', internalType: 'uint256', type: 'uint256' }],
name: 'getEpochByBlockNumber',
outputs: [
{ name: '', internalType: 'uint256', type: 'uint256' },
{ name: '', internalType: 'uint256', type: 'uint256' },
{ name: '', internalType: 'uint256', type: 'uint256' },
{ name: '', internalType: 'uint256', type: 'uint256' },
],
},
{
stateMutability: 'pure',

@@ -276,0 +330,0 @@ type: 'function',

@@ -318,2 +318,11 @@ export const epochRewardsABI = [

inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ name: '', internalType: 'address', type: 'address' }],
},
{
constant: true,
payable: false,
stateMutability: 'view',
type: 'function',
inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'validatorSignerAddressFromCurrentSet',

@@ -320,0 +329,0 @@ outputs: [{ name: '', internalType: 'address', type: 'address' }],

@@ -608,2 +608,11 @@ export const governanceABI = [

inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ name: '', internalType: 'address', type: 'address' }],
},
{
constant: true,
payable: false,
stateMutability: 'view',
type: 'function',
inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'validatorSignerAddressFromCurrentSet',

@@ -610,0 +619,0 @@ outputs: [{ name: '', internalType: 'address', type: 'address' }],

@@ -392,2 +392,9 @@ export const validatorsABI = [

type: 'function',
inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ name: '', internalType: 'address', type: 'address' }],
},
{
stateMutability: 'view',
type: 'function',
inputs: [],

@@ -394,0 +401,0 @@ name: 'validatorLockedGoldRequirements',

@@ -136,3 +136,3 @@ export const ABI = [

inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
name: 'elected',
name: 'electedAccounts',
outputs: [{ internalType: 'address', name: '', type: 'address' }],

@@ -143,2 +143,9 @@ stateMutability: 'view',

{
inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
name: 'electedSigners',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],

@@ -339,3 +346,10 @@ name: 'epochDuration',

inputs: [],
name: 'getElected',
name: 'numberOfElectedInCurrentSet',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'getElectedAccounts',
outputs: [{ internalType: 'address[]', name: '', type: 'address[]' }],

@@ -346,2 +360,23 @@ stateMutability: 'view',

{
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'getElectedAccountByIndex',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'getElectedSigners',
outputs: [{ internalType: 'address[]', name: '', type: 'address[]' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'getElectedSignerByIndex',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: 'epoch', type: 'uint256' }],

@@ -361,2 +396,21 @@ name: 'getFirstBlockAtEpoch',

{
inputs: [{ internalType: 'uint256', name: '_blockNumber', type: 'uint256' }],
name: 'getEpochNumberOfBlock',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: '_blockNumber', type: 'uint256' }],
name: 'getEpochByBlockNumber',
outputs: [
{ internalType: 'uint256', name: '', type: 'uint256' },
{ internalType: 'uint256', name: '', type: 'uint256' },
{ internalType: 'uint256', name: '', type: 'uint256' },
{ internalType: 'uint256', name: '', type: 'uint256' },
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],

@@ -363,0 +417,0 @@ name: 'getVersionNumber',

@@ -595,2 +595,9 @@ export const ABI = [

{
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],

@@ -597,0 +604,0 @@ name: 'validatorLockedGoldRequirements',

@@ -508,2 +508,11 @@ export const ABI = [

inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'validatorSignerAddressFromCurrentSet',

@@ -510,0 +519,0 @@ outputs: [{ internalType: 'address', name: '', type: 'address' }],

@@ -136,3 +136,3 @@ export const ABI = [

inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
name: 'elected',
name: 'electedAccounts',
outputs: [{ internalType: 'address', name: '', type: 'address' }],

@@ -143,2 +143,9 @@ stateMutability: 'view',

{
inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
name: 'electedSigners',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],

@@ -339,3 +346,10 @@ name: 'epochDuration',

inputs: [],
name: 'getElected',
name: 'numberOfElectedInCurrentSet',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'getElectedAccounts',
outputs: [{ internalType: 'address[]', name: '', type: 'address[]' }],

@@ -346,2 +360,23 @@ stateMutability: 'view',

{
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'getElectedAccountByIndex',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'getElectedSigners',
outputs: [{ internalType: 'address[]', name: '', type: 'address[]' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'getElectedSignerByIndex',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: 'epoch', type: 'uint256' }],

@@ -361,2 +396,21 @@ name: 'getFirstBlockAtEpoch',

{
inputs: [{ internalType: 'uint256', name: '_blockNumber', type: 'uint256' }],
name: 'getEpochNumberOfBlock',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: '_blockNumber', type: 'uint256' }],
name: 'getEpochByBlockNumber',
outputs: [
{ internalType: 'uint256', name: '', type: 'uint256' },
{ internalType: 'uint256', name: '', type: 'uint256' },
{ internalType: 'uint256', name: '', type: 'uint256' },
{ internalType: 'uint256', name: '', type: 'uint256' },
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],

@@ -363,0 +417,0 @@ name: 'getVersionNumber',

@@ -382,2 +382,11 @@ export const ABI = [

inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'validatorSignerAddressFromCurrentSet',

@@ -384,0 +393,0 @@ outputs: [{ internalType: 'address', name: '', type: 'address' }],

@@ -907,2 +907,11 @@ export const ABI = [

inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'validatorSignerAddressFromCurrentSet',

@@ -909,0 +918,0 @@ outputs: [{ internalType: 'address', name: '', type: 'address' }],

@@ -595,2 +595,9 @@ export const ABI = [

{
inputs: [{ internalType: 'uint256', name: 'index', type: 'uint256' }],
name: 'validatorAddressFromCurrentSet',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],

@@ -597,0 +604,0 @@ name: 'validatorLockedGoldRequirements',

@@ -1272,2 +1272,23 @@ {

],
"name": "validatorAddressFromCurrentSet",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "validatorSignerAddressFromCurrentSet",

@@ -1274,0 +1295,0 @@ "outputs": [

@@ -630,2 +630,18 @@ export declare const electionABI: readonly [{

}];
readonly name: "validatorAddressFromCurrentSet";
readonly outputs: readonly [{
readonly name: "";
readonly internalType: "address";
readonly type: "address";
}];
}, {
readonly constant: true;
readonly payable: false;
readonly stateMutability: "view";
readonly type: "function";
readonly inputs: readonly [{
readonly name: "index";
readonly internalType: "uint256";
readonly type: "uint256";
}];
readonly name: "validatorSignerAddressFromCurrentSet";

@@ -632,0 +648,0 @@ readonly outputs: readonly [{

@@ -117,3 +117,3 @@ export declare const epochManagerABI: readonly [{

}];
readonly name: "elected";
readonly name: "electedAccounts";
readonly outputs: readonly [{

@@ -127,2 +127,16 @@ readonly name: "";

readonly type: "function";
readonly inputs: readonly [{
readonly name: "";
readonly internalType: "uint256";
readonly type: "uint256";
}];
readonly name: "electedSigners";
readonly outputs: readonly [{
readonly name: "";
readonly internalType: "address";
readonly type: "address";
}];
}, {
readonly stateMutability: "view";
readonly type: "function";
readonly inputs: readonly [];

@@ -413,5 +427,15 @@ readonly name: "epochDuration";

readonly inputs: readonly [];
readonly name: "getElected";
readonly name: "numberOfElectedInCurrentSet";
readonly outputs: readonly [{
readonly name: "";
readonly internalType: "uint256";
readonly type: "uint256";
}];
}, {
readonly stateMutability: "view";
readonly type: "function";
readonly inputs: readonly [];
readonly name: "getElectedAccounts";
readonly outputs: readonly [{
readonly name: "";
readonly internalType: "address[]";

@@ -424,2 +448,40 @@ readonly type: "address[]";

readonly inputs: readonly [{
readonly name: "index";
readonly internalType: "uint256";
readonly type: "uint256";
}];
readonly name: "getElectedAccountByIndex";
readonly outputs: readonly [{
readonly name: "";
readonly internalType: "address";
readonly type: "address";
}];
}, {
readonly stateMutability: "view";
readonly type: "function";
readonly inputs: readonly [];
readonly name: "getElectedSigners";
readonly outputs: readonly [{
readonly name: "";
readonly internalType: "address[]";
readonly type: "address[]";
}];
}, {
readonly stateMutability: "view";
readonly type: "function";
readonly inputs: readonly [{
readonly name: "index";
readonly internalType: "uint256";
readonly type: "uint256";
}];
readonly name: "getElectedSignerByIndex";
readonly outputs: readonly [{
readonly name: "";
readonly internalType: "address";
readonly type: "address";
}];
}, {
readonly stateMutability: "view";
readonly type: "function";
readonly inputs: readonly [{
readonly name: "epoch";

@@ -450,2 +512,42 @@ readonly internalType: "uint256";

}, {
readonly stateMutability: "view";
readonly type: "function";
readonly inputs: readonly [{
readonly name: "_blockNumber";
readonly internalType: "uint256";
readonly type: "uint256";
}];
readonly name: "getEpochNumberOfBlock";
readonly outputs: readonly [{
readonly name: "";
readonly internalType: "uint256";
readonly type: "uint256";
}];
}, {
readonly stateMutability: "view";
readonly type: "function";
readonly inputs: readonly [{
readonly name: "_blockNumber";
readonly internalType: "uint256";
readonly type: "uint256";
}];
readonly name: "getEpochByBlockNumber";
readonly outputs: readonly [{
readonly name: "";
readonly internalType: "uint256";
readonly type: "uint256";
}, {
readonly name: "";
readonly internalType: "uint256";
readonly type: "uint256";
}, {
readonly name: "";
readonly internalType: "uint256";
readonly type: "uint256";
}, {
readonly name: "";
readonly internalType: "uint256";
readonly type: "uint256";
}];
}, {
readonly stateMutability: "pure";

@@ -452,0 +554,0 @@ readonly type: "function";

@@ -485,2 +485,18 @@ export declare const epochRewardsABI: readonly [{

}];
readonly name: "validatorAddressFromCurrentSet";
readonly outputs: readonly [{
readonly name: "";
readonly internalType: "address";
readonly type: "address";
}];
}, {
readonly constant: true;
readonly payable: false;
readonly stateMutability: "view";
readonly type: "function";
readonly inputs: readonly [{
readonly name: "index";
readonly internalType: "uint256";
readonly type: "uint256";
}];
readonly name: "validatorSignerAddressFromCurrentSet";

@@ -487,0 +503,0 @@ readonly outputs: readonly [{

@@ -660,2 +660,16 @@ export declare const validatorsABI: readonly [{

readonly type: "function";
readonly inputs: readonly [{
readonly name: "index";
readonly internalType: "uint256";
readonly type: "uint256";
}];
readonly name: "validatorAddressFromCurrentSet";
readonly outputs: readonly [{
readonly name: "";
readonly internalType: "address";
readonly type: "address";
}];
}, {
readonly stateMutability: "view";
readonly type: "function";
readonly inputs: readonly [];

@@ -662,0 +676,0 @@ readonly name: "validatorLockedGoldRequirements";

@@ -9,3 +9,4 @@ /// <reference types="node" />

methods: {
elected(arg0: number | string): CeloTxObject<string>;
electedAccounts(arg0: number | string): CeloTxObject<string>;
electedSigners(arg0: number | string): CeloTxObject<string>;
epochDuration(): CeloTxObject<string>;

@@ -55,5 +56,16 @@ epochProcessing(): CeloTxObject<{

isBlocked(): CeloTxObject<boolean>;
getElected(): CeloTxObject<string[]>;
numberOfElectedInCurrentSet(): CeloTxObject<string>;
getElectedAccounts(): CeloTxObject<string[]>;
getElectedAccountByIndex(index: number | string): CeloTxObject<string>;
getElectedSigners(): CeloTxObject<string[]>;
getElectedSignerByIndex(index: number | string): CeloTxObject<string>;
getFirstBlockAtEpoch(epoch: number | string): CeloTxObject<string>;
getLastBlockAtEpoch(epoch: number | string): CeloTxObject<string>;
getEpochNumberOfBlock(_blockNumber: number | string): CeloTxObject<string>;
getEpochByBlockNumber(_blockNumber: number | string): CeloTxObject<{
0: string;
1: string;
2: string;
3: string;
}>;
getVersionNumber(): CeloTxObject<{

@@ -60,0 +72,0 @@ 0: string;

@@ -42,2 +42,3 @@ /// <reference types="node" />

transferOwnership(newOwner: string): CeloTxObject<void>;
validatorAddressFromCurrentSet(index: number | string): CeloTxObject<string>;
validatorLockedGoldRequirements(): CeloTxObject<{

@@ -44,0 +45,0 @@ value: string;

@@ -44,2 +44,3 @@ /// <reference types="node" />

transferOwnership(newOwner: string): CeloTxObject<void>;
validatorAddressFromCurrentSet(index: number | string): CeloTxObject<string>;
validatorSignerAddressFromCurrentSet(index: number | string): CeloTxObject<string>;

@@ -46,0 +47,0 @@ validatorSignerAddressFromSet(index: number | string, blockNumber: number | string): CeloTxObject<string>;

@@ -9,3 +9,4 @@ /// <reference types="node" />

methods: {
elected(arg0: number | string): CeloTxObject<string>;
electedAccounts(arg0: number | string): CeloTxObject<string>;
electedSigners(arg0: number | string): CeloTxObject<string>;
epochDuration(): CeloTxObject<string>;

@@ -55,5 +56,16 @@ epochProcessing(): CeloTxObject<{

isBlocked(): CeloTxObject<boolean>;
getElected(): CeloTxObject<string[]>;
numberOfElectedInCurrentSet(): CeloTxObject<string>;
getElectedAccounts(): CeloTxObject<string[]>;
getElectedAccountByIndex(index: number | string): CeloTxObject<string>;
getElectedSigners(): CeloTxObject<string[]>;
getElectedSignerByIndex(index: number | string): CeloTxObject<string>;
getFirstBlockAtEpoch(epoch: number | string): CeloTxObject<string>;
getLastBlockAtEpoch(epoch: number | string): CeloTxObject<string>;
getEpochNumberOfBlock(_blockNumber: number | string): CeloTxObject<string>;
getEpochByBlockNumber(_blockNumber: number | string): CeloTxObject<{
0: string;
1: string;
2: string;
3: string;
}>;
getVersionNumber(): CeloTxObject<{

@@ -60,0 +72,0 @@ 0: string;

@@ -35,2 +35,3 @@ /// <reference types="node" />

transferOwnership(newOwner: string): CeloTxObject<void>;
validatorAddressFromCurrentSet(index: number | string): CeloTxObject<string>;
validatorSignerAddressFromCurrentSet(index: number | string): CeloTxObject<string>;

@@ -37,0 +38,0 @@ validatorSignerAddressFromSet(index: number | string, blockNumber: number | string): CeloTxObject<string>;

@@ -64,2 +64,3 @@ /// <reference types="node" />

transferOwnership(newOwner: string): CeloTxObject<void>;
validatorAddressFromCurrentSet(index: number | string): CeloTxObject<string>;
validatorSignerAddressFromCurrentSet(index: number | string): CeloTxObject<string>;

@@ -66,0 +67,0 @@ validatorSignerAddressFromSet(index: number | string, blockNumber: number | string): CeloTxObject<string>;

@@ -42,2 +42,3 @@ /// <reference types="node" />

transferOwnership(newOwner: string): CeloTxObject<void>;
validatorAddressFromCurrentSet(index: number | string): CeloTxObject<string>;
validatorLockedGoldRequirements(): CeloTxObject<{

@@ -44,0 +45,0 @@ value: string;

@@ -853,2 +853,21 @@ {

{
"inputs": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "validatorAddressFromCurrentSet",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],

@@ -855,0 +874,0 @@ "name": "validatorLockedGoldRequirements",

2

package.json

@@ -635,3 +635,3 @@ {

},
"version": "12.0.0-canary.44"
"version": "12.0.0-canary.45"
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc