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.41 to 12.0.0-canary.42

22

dist/cjs/ScoreManager.js

@@ -32,2 +32,10 @@ "use strict";

inputs: [
{ name: 'scoreManagerSetter', internalType: 'address', type: 'address', indexed: true },
],
name: 'ScoreManagerSetterSet',
},
{
type: 'event',
anonymous: false,
inputs: [
{ name: 'validator', internalType: 'address', type: 'address', indexed: true },

@@ -109,2 +117,9 @@ { name: 'score', internalType: 'uint256', type: 'uint256', indexed: false },

{
stateMutability: 'nonpayable',
type: 'function',
inputs: [{ name: '_scoreManagerSetter', internalType: 'address', type: 'address' }],
name: 'setScoreManagerSetter',
outputs: [],
},
{
stateMutability: 'view',

@@ -124,2 +139,9 @@ type: 'function',

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

@@ -126,0 +148,0 @@ type: 'function',

@@ -54,2 +54,15 @@ "use strict";

internalType: 'address',
name: 'scoreManagerSetter',
type: 'address',
},
],
name: 'ScoreManagerSetterSet',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'validator',

@@ -145,2 +158,9 @@ type: 'address',

{
inputs: [{ internalType: 'address', name: '_scoreManagerSetter', type: 'address' }],
name: 'setScoreManagerSetter',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [{ internalType: 'address', name: 'group', type: 'address' }],

@@ -161,2 +181,9 @@ name: 'getGroupScore',

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

@@ -163,0 +190,0 @@ outputs: [

@@ -54,2 +54,15 @@ "use strict";

internalType: 'address',
name: 'scoreManagerSetter',
type: 'address',
},
],
name: 'ScoreManagerSetterSet',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'validator',

@@ -145,2 +158,9 @@ type: 'address',

{
inputs: [{ internalType: 'address', name: '_scoreManagerSetter', type: 'address' }],
name: 'setScoreManagerSetter',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [{ internalType: 'address', name: 'group', type: 'address' }],

@@ -161,2 +181,9 @@ name: 'getGroupScore',

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

@@ -163,0 +190,0 @@ outputs: [

@@ -29,2 +29,10 @@ export const scoreManagerABI = [

inputs: [
{ name: 'scoreManagerSetter', internalType: 'address', type: 'address', indexed: true },
],
name: 'ScoreManagerSetterSet',
},
{
type: 'event',
anonymous: false,
inputs: [
{ name: 'validator', internalType: 'address', type: 'address', indexed: true },

@@ -106,2 +114,9 @@ { name: 'score', internalType: 'uint256', type: 'uint256', indexed: false },

{
stateMutability: 'nonpayable',
type: 'function',
inputs: [{ name: '_scoreManagerSetter', internalType: 'address', type: 'address' }],
name: 'setScoreManagerSetter',
outputs: [],
},
{
stateMutability: 'view',

@@ -121,2 +136,9 @@ type: 'function',

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

@@ -123,0 +145,0 @@ type: 'function',

@@ -51,2 +51,15 @@ export const ABI = [

internalType: 'address',
name: 'scoreManagerSetter',
type: 'address',
},
],
name: 'ScoreManagerSetterSet',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'validator',

@@ -142,2 +155,9 @@ type: 'address',

{
inputs: [{ internalType: 'address', name: '_scoreManagerSetter', type: 'address' }],
name: 'setScoreManagerSetter',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [{ internalType: 'address', name: 'group', type: 'address' }],

@@ -158,2 +178,9 @@ name: 'getGroupScore',

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

@@ -160,0 +187,0 @@ outputs: [

@@ -51,2 +51,15 @@ export const ABI = [

internalType: 'address',
name: 'scoreManagerSetter',
type: 'address',
},
],
name: 'ScoreManagerSetterSet',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'validator',

@@ -142,2 +155,9 @@ type: 'address',

{
inputs: [{ internalType: 'address', name: '_scoreManagerSetter', type: 'address' }],
name: 'setScoreManagerSetter',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [{ internalType: 'address', name: 'group', type: 'address' }],

@@ -158,2 +178,9 @@ name: 'getGroupScore',

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

@@ -160,0 +187,0 @@ outputs: [

@@ -59,2 +59,15 @@ {

"internalType": "address",
"name": "scoreManagerSetter",
"type": "address"
}
],
"name": "ScoreManagerSetterSet",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "validator",

@@ -217,2 +230,15 @@ "type": "address"

"internalType": "address",
"name": "_scoreManagerSetter",
"type": "address"
}
],
"name": "setScoreManagerSetter",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "group",

@@ -254,2 +280,15 @@ "type": "address"

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

@@ -256,0 +295,0 @@ "outputs": [

@@ -43,2 +43,12 @@ export declare const scoreManagerABI: readonly [{

readonly inputs: readonly [{
readonly name: "scoreManagerSetter";
readonly internalType: "address";
readonly type: "address";
readonly indexed: true;
}];
readonly name: "ScoreManagerSetterSet";
}, {
readonly type: "event";
readonly anonymous: false;
readonly inputs: readonly [{
readonly name: "validator";

@@ -164,2 +174,12 @@ readonly internalType: "address";

}, {
readonly stateMutability: "nonpayable";
readonly type: "function";
readonly inputs: readonly [{
readonly name: "_scoreManagerSetter";
readonly internalType: "address";
readonly type: "address";
}];
readonly name: "setScoreManagerSetter";
readonly outputs: readonly [];
}, {
readonly stateMutability: "view";

@@ -193,2 +213,12 @@ readonly type: "function";

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

@@ -195,0 +225,0 @@ readonly type: "function";

3

dist/types/web3/0.8/ScoreManager.d.ts

@@ -19,4 +19,6 @@ /// <reference types="node" />

setValidatorScore(validator: string, score: number | string): CeloTxObject<void>;
setScoreManagerSetter(_scoreManagerSetter: string): CeloTxObject<void>;
getGroupScore(group: string): CeloTxObject<string>;
getValidatorScore(validator: string): CeloTxObject<string>;
getScoreManagerSetter(): CeloTxObject<string>;
getVersionNumber(): CeloTxObject<{

@@ -42,2 +44,3 @@ 0: string;

}>;
ScoreManagerSetterSet: ContractEvent<string>;
ValidatorScoreSet: ContractEvent<{

@@ -44,0 +47,0 @@ validator: string;

@@ -19,4 +19,6 @@ /// <reference types="node" />

setValidatorScore(validator: string, score: number | string): CeloTxObject<void>;
setScoreManagerSetter(_scoreManagerSetter: string): CeloTxObject<void>;
getGroupScore(group: string): CeloTxObject<string>;
getValidatorScore(validator: string): CeloTxObject<string>;
getScoreManagerSetter(): CeloTxObject<string>;
getVersionNumber(): CeloTxObject<{

@@ -42,2 +44,3 @@ 0: string;

}>;
ScoreManagerSetterSet: ContractEvent<string>;
ValidatorScoreSet: ContractEvent<{

@@ -44,0 +47,0 @@ validator: string;

2

package.json

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

},
"version": "12.0.0-canary.41"
"version": "12.0.0-canary.42"
}
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