Socket
Socket
Sign inDemoInstall

@arianee/arianee-abi

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arianee/arianee-abi - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

web3-v1.2.2/dist/generation.js

11

package.json
{
"name": "@arianee/arianee-abi",
"version": "0.3.0",
"version": "0.4.0",
"description": "abi definition of Arianee and typescript declaration files",

@@ -14,3 +14,3 @@ "publishConfig": {

"scripts": {
"generate": "./node_modules/.bin/typechain --target=web3-1.0.0 './abi/*.json' --outDir=./types",
"generate": "./node_modules/.bin/typechain --target=web3-v1.2.2/dist './abi/*.json' --outDir=./types",
"minify": "node ./minify.js",

@@ -22,8 +22,9 @@ "build": "npm run generate && npm run minify"

"devDependencies": {
"typechain": "^0.3.21"
"typechain": "1.0.3",
"web3": "1.2.2"
},
"dependencies": {
"@types/web3": "^1.0.19",
"bn": "^1.0.5"
"bn": "1.0.5",
"lodash": "4.17.15"
}
}

@@ -5,13 +5,6 @@ /* Generated by ts-generator ver. 0.0.8 */

import BN from "bn.js";
import Contract, { contractOptions } from "web3/eth/contract";
import { EventLog, Callback, EventEmitter } from "web3/types";
import { TransactionObject, BlockType } from "web3/eth/types";
import { ContractEvent } from "./types";
import { Contract, ContractOptions, EventOptions } from "web3-eth-contract";
import { EventLog } from "web3-core";
import { TransactionObject, ContractEvent, Callback } from "./types";
interface EventOptions {
filter?: object;
fromBlock?: BlockType;
topics?: string[];
}
export class Aria extends Contract {

@@ -21,3 +14,3 @@ constructor(

address?: string,
options?: contractOptions
options?: ContractOptions
);

@@ -30,6 +23,4 @@ clone(): Aria;

balanceOf(_owner: string): TransactionObject<BN>;
name(): TransactionObject<string>;
allowance(_owner: string, _spender: string): TransactionObject<BN>;
approve(

@@ -40,2 +31,4 @@ _spender: string,

totalSupply(): TransactionObject<BN>;
transferFrom(

@@ -47,8 +40,11 @@ _from: string,

decimals(): TransactionObject<BN>;
balanceOf(_owner: string): TransactionObject<BN>;
symbol(): TransactionObject<string>;
transfer(_to: string, _value: number | string): TransactionObject<boolean>;
name(): TransactionObject<string>;
totalSupply(): TransactionObject<BN>;
decimals(): TransactionObject<BN>;
symbol(): TransactionObject<string>;
allowance(_owner: string, _spender: string): TransactionObject<BN>;
};

@@ -72,7 +68,4 @@ events: {

}>;
allEvents: (
options?: EventOptions,
cb?: Callback<EventLog>
) => EventEmitter;
allEvents: (options?: EventOptions, cb?: Callback<EventLog>) => any;
};
}

@@ -5,13 +5,6 @@ /* Generated by ts-generator ver. 0.0.8 */

import BN from "bn.js";
import Contract, { contractOptions } from "web3/eth/contract";
import { EventLog, Callback, EventEmitter } from "web3/types";
import { TransactionObject, BlockType } from "web3/eth/types";
import { ContractEvent } from "./types";
import { Contract, ContractOptions, EventOptions } from "web3-eth-contract";
import { EventLog } from "web3-core";
import { TransactionObject, ContractEvent, Callback } from "./types";
interface EventOptions {
filter?: object;
fromBlock?: BlockType;
topics?: string[];
}
export class ArianeeCreditHistory extends Contract {

@@ -21,3 +14,3 @@ constructor(

address?: string,
options?: contractOptions
options?: ContractOptions
);

@@ -41,2 +34,4 @@ clone(): ArianeeCreditHistory;

owner(): TransactionObject<string>;
addCreditHistory(

@@ -59,6 +54,5 @@ _spender: string,

arianeeStoreAddress(): TransactionObject<string>;
transferOwnership(_newOwner: string): TransactionObject<void>;
owner(): TransactionObject<string>;
arianeeStoreAddress(): TransactionObject<string>;
};

@@ -78,7 +72,4 @@ events: {

}>;
allEvents: (
options?: EventOptions,
cb?: Callback<EventLog>
) => EventEmitter;
allEvents: (options?: EventOptions, cb?: Callback<EventLog>) => any;
};
}

@@ -5,13 +5,6 @@ /* Generated by ts-generator ver. 0.0.8 */

import BN from "bn.js";
import Contract, { contractOptions } from "web3/eth/contract";
import { EventLog, Callback, EventEmitter } from "web3/types";
import { TransactionObject, BlockType } from "web3/eth/types";
import { ContractEvent } from "./types";
import { Contract, ContractOptions, EventOptions } from "web3-eth-contract";
import { EventLog } from "web3-core";
import { TransactionObject, ContractEvent, Callback } from "./types";
interface EventOptions {
filter?: object;
fromBlock?: BlockType;
topics?: string[];
}
export class ArianeeEvent extends Contract {

@@ -21,3 +14,3 @@ constructor(

address?: string,
options?: contractOptions
options?: ContractOptions
);

@@ -33,26 +26,2 @@ clone(): ArianeeEvent;

pendingEventsLength(_tokenId: number | string): TransactionObject<BN>;
getEvent(
_eventId: number | string
): TransactionObject<{
0: string;
1: string;
2: string;
3: BN;
}>;
eventsLength(_tokenId: number | string): TransactionObject<BN>;
eventIdToToken(arg0: number | string): TransactionObject<BN>;
idToTokenEventIndex(arg0: number | string): TransactionObject<BN>;
pendingEvents(
arg0: number | string,
arg1: number | string
): TransactionObject<BN>;
rewards(arg0: number | string): TransactionObject<BN>;
create(

@@ -67,2 +36,4 @@ _eventId: number | string,

pendingEventsLength(_tokenId: number | string): TransactionObject<BN>;
unpause(): TransactionObject<void>;

@@ -77,8 +48,27 @@

paused(): TransactionObject<boolean>;
setStoreAddress(_storeAddress: string): TransactionObject<void>;
getEvent(
_eventId: number | string
): TransactionObject<{
0: string;
1: string;
2: string;
3: BN;
}>;
eventsLength(_tokenId: number | string): TransactionObject<BN>;
pause(): TransactionObject<void>;
owner(): TransactionObject<string>;
destroy(_eventId: number | string): TransactionObject<void>;
eventIdToToken(arg0: number | string): TransactionObject<BN>;
idToTokenEventIndex(arg0: number | string): TransactionObject<BN>;
validDestroyRequest(_eventId: number | string): TransactionObject<void>;

@@ -88,2 +78,7 @@

pendingEvents(
arg0: number | string,
arg1: number | string
): TransactionObject<BN>;
updateEventDestroyDelay(

@@ -95,4 +90,3 @@ _newDelay: number | string

paused(): TransactionObject<boolean>;
owner(): TransactionObject<string>;
rewards(arg0: number | string): TransactionObject<BN>;
};

@@ -140,7 +134,4 @@ events: {

}>;
allEvents: (
options?: EventOptions,
cb?: Callback<EventLog>
) => EventEmitter;
allEvents: (options?: EventOptions, cb?: Callback<EventLog>) => any;
};
}

@@ -5,13 +5,6 @@ /* Generated by ts-generator ver. 0.0.8 */

import BN from "bn.js";
import Contract, { contractOptions } from "web3/eth/contract";
import { EventLog, Callback, EventEmitter } from "web3/types";
import { TransactionObject, BlockType } from "web3/eth/types";
import { ContractEvent } from "./types";
import { Contract, ContractOptions, EventOptions } from "web3-eth-contract";
import { EventLog } from "web3-core";
import { TransactionObject, ContractEvent, Callback } from "./types";
interface EventOptions {
filter?: object;
fromBlock?: BlockType;
topics?: string[];
}
export class ArianeeIdentity extends Contract {

@@ -21,3 +14,3 @@ constructor(

address?: string,
options?: contractOptions
options?: ContractOptions
);

@@ -28,14 +21,2 @@ clone(): ArianeeIdentity;

compromiseIdentityDate(_identity: string): TransactionObject<BN>;
waitingImprint(_identity: string): TransactionObject<string>;
addressFromId(_id: string | number[]): TransactionObject<string>;
addressURI(_identity: string): TransactionObject<string>;
addressImprint(_identity: string): TransactionObject<string>;
addressIsApproved(_identity: string): TransactionObject<boolean>;
updateValidatorAddress(

@@ -45,4 +26,10 @@ _newValidatorAddress: string

compromiseIdentityDate(_identity: string): TransactionObject<BN>;
updateBouncerAddress(_newBouncerAddress: string): TransactionObject<void>;
waitingImprint(_identity: string): TransactionObject<string>;
validatorAddress(): TransactionObject<string>;
removeAddressFromApprovedList(_identity: string): TransactionObject<void>;

@@ -56,2 +43,8 @@

addressFromId(_id: string | number[]): TransactionObject<string>;
addressURI(_identity: string): TransactionObject<string>;
addressImprint(_identity: string): TransactionObject<string>;
updateCompromiseDate(

@@ -62,2 +55,6 @@ _identity: string,

owner(): TransactionObject<string>;
bouncerAddress(): TransactionObject<string>;
updateInformations(

@@ -70,7 +67,5 @@ _uri: string,

addressIsApproved(_identity: string): TransactionObject<boolean>;
transferOwnership(_newOwner: string): TransactionObject<void>;
validatorAddress(): TransactionObject<string>;
owner(): TransactionObject<string>;
bouncerAddress(): TransactionObject<string>;
};

@@ -119,7 +114,4 @@ events: {

}>;
allEvents: (
options?: EventOptions,
cb?: Callback<EventLog>
) => EventEmitter;
allEvents: (options?: EventOptions, cb?: Callback<EventLog>) => any;
};
}

@@ -5,13 +5,6 @@ /* Generated by ts-generator ver. 0.0.8 */

import BN from "bn.js";
import Contract, { contractOptions } from "web3/eth/contract";
import { EventLog, Callback, EventEmitter } from "web3/types";
import { TransactionObject, BlockType } from "web3/eth/types";
import { ContractEvent } from "./types";
import { Contract, ContractOptions, EventOptions } from "web3-eth-contract";
import { EventLog } from "web3-core";
import { TransactionObject, ContractEvent, Callback } from "./types";
interface EventOptions {
filter?: object;
fromBlock?: BlockType;
topics?: string[];
}
export class ArianeeSmartAsset extends Contract {

@@ -21,3 +14,3 @@ constructor(

address?: string,
options?: contractOptions
options?: ContractOptions
);

@@ -37,53 +30,6 @@ clone(): ArianeeSmartAsset;

name(): TransactionObject<string>;
getApproved(_tokenId: number | string): TransactionObject<string>;
tokenOfOwnerByIndex(
_owner: string,
_index: number | string
): TransactionObject<BN>;
addressToAbility(arg0: string): TransactionObject<BN>;
tokenByIndex(_index: number | string): TransactionObject<BN>;
tokenCreation(_tokenId: number | string): TransactionObject<BN>;
ownerOf(_tokenId: number | string): TransactionObject<string>;
recoveryRequestOpen(_tokenId: number | string): TransactionObject<boolean>;
balanceOf(_owner: string): TransactionObject<BN>;
tokenImprint(_tokenId: number | string): TransactionObject<string>;
canOperate(
_tokenId: number | string,
_operator: string
): TransactionObject<boolean>;
issuerOf(_tokenId: number | string): TransactionObject<string>;
isAble(
_target: string,
_abilities: number | string
): TransactionObject<boolean>;
getRewards(_tokenId: number | string): TransactionObject<BN>;
tokenURI(_tokenId: number | string): TransactionObject<string>;
tokenHashedAccess(
_tokenId: number | string,
_tokenType: number | string
): TransactionObject<string>;
tokenRecoveryDate(_tokenId: number | string): TransactionObject<BN>;
isApprovedForAll(
_owner: string,
_operator: string
): TransactionObject<boolean>;
isRequestable(_tokenId: number | string): TransactionObject<boolean>;
approve(

@@ -101,2 +47,6 @@ _approved: string,

arianeeWhitelist(): TransactionObject<string>;
totalSupply(): TransactionObject<BN>;
updateTokenURI(

@@ -121,2 +71,7 @@ _tokenId: number | string,

tokenOfOwnerByIndex(
_owner: string,
_index: number | string
): TransactionObject<BN>;
unpause(): TransactionObject<void>;

@@ -130,6 +85,33 @@

addressToAbility(arg0: string): TransactionObject<BN>;
tokenByIndex(_index: number | string): TransactionObject<BN>;
paused(): TransactionObject<boolean>;
tokenCreation(_tokenId: number | string): TransactionObject<BN>;
ownerOf(_tokenId: number | string): TransactionObject<string>;
recoveryRequestOpen(_tokenId: number | string): TransactionObject<boolean>;
setStoreAddress(_storeAddress: string): TransactionObject<void>;
balanceOf(_owner: string): TransactionObject<BN>;
tokenImprint(_tokenId: number | string): TransactionObject<string>;
canOperate(
_tokenId: number | string,
_operator: string
): TransactionObject<boolean>;
pause(): TransactionObject<void>;
owner(): TransactionObject<string>;
symbol(): TransactionObject<string>;
store(): TransactionObject<string>;
destroy(_tokenId: number | string): TransactionObject<void>;

@@ -144,2 +126,4 @@

issuerOf(_tokenId: number | string): TransactionObject<string>;
revokeAbilities(

@@ -160,2 +144,18 @@ _target: string,

isAble(
_target: string,
_abilities: number | string
): TransactionObject<boolean>;
getRewards(_tokenId: number | string): TransactionObject<BN>;
tokenURI(_tokenId: number | string): TransactionObject<string>;
tokenHashedAccess(
_tokenId: number | string,
_tokenType: number | string
): TransactionObject<string>;
tokenRecoveryDate(_tokenId: number | string): TransactionObject<BN>;
requestToken(

@@ -169,2 +169,7 @@ _tokenId: number | string,

isApprovedForAll(
_owner: string,
_operator: string
): TransactionObject<boolean>;
hydrateToken(

@@ -187,9 +192,4 @@ _tokenId: number | string,

name(): TransactionObject<string>;
arianeeWhitelist(): TransactionObject<string>;
totalSupply(): TransactionObject<BN>;
paused(): TransactionObject<boolean>;
owner(): TransactionObject<string>;
symbol(): TransactionObject<string>;
store(): TransactionObject<string>;
isRequestable(_tokenId: number | string): TransactionObject<boolean>;
uriBase(): TransactionObject<string>;

@@ -289,7 +289,4 @@ };

}>;
allEvents: (
options?: EventOptions,
cb?: Callback<EventLog>
) => EventEmitter;
allEvents: (options?: EventOptions, cb?: Callback<EventLog>) => any;
};
}

@@ -5,13 +5,6 @@ /* Generated by ts-generator ver. 0.0.8 */

import BN from "bn.js";
import Contract, { contractOptions } from "web3/eth/contract";
import { EventLog, Callback, EventEmitter } from "web3/types";
import { TransactionObject, BlockType } from "web3/eth/types";
import { ContractEvent } from "./types";
import { Contract, ContractOptions, EventOptions } from "web3-eth-contract";
import { EventLog } from "web3-core";
import { TransactionObject, ContractEvent, Callback } from "./types";
interface EventOptions {
filter?: object;
fromBlock?: BlockType;
topics?: string[];
}
export class ArianeeStaking extends Contract {

@@ -21,37 +14,6 @@ constructor(

address?: string,
options?: contractOptions
options?: ContractOptions
);
clone(): ArianeeStaking;
methods: {
getPersonalStakeActualAmounts(_address: string): TransactionObject<(BN)[]>;
getPersonalStakeForAddresses(
_address: string
): TransactionObject<(string)[]>;
getPersonalStakes(
_address: string
): TransactionObject<{
0: (BN)[];
1: (BN)[];
2: (string)[];
}>;
getPersonalStakeUnlockedTimestamps(
_address: string
): TransactionObject<(BN)[]>;
stakeHolders(
arg0: string
): TransactionObject<{
totalStakedFor: BN;
personalStakeIndex: BN;
exists: boolean;
0: BN;
1: BN;
2: boolean;
}>;
totalStakedFor(_address: string): TransactionObject<BN>;
stake(

@@ -102,9 +64,47 @@ _amount: number | string,

ariaUSDExchange(): TransactionObject<BN>;
defaultLockInDuration(): TransactionObject<BN>;
feesReceiver(): TransactionObject<string>;
getPersonalStakeActualAmounts(_address: string): TransactionObject<(BN)[]>;
getPersonalStakeForAddresses(
_address: string
): TransactionObject<(string)[]>;
getPersonalStakes(
_address: string
): TransactionObject<{
0: (BN)[];
1: (BN)[];
2: (string)[];
}>;
getPersonalStakeUnlockedTimestamps(
_address: string
): TransactionObject<(BN)[]>;
minimalUSDStakable(): TransactionObject<BN>;
owner(): TransactionObject<string>;
stakeHolders(
arg0: string
): TransactionObject<{
totalStakedFor: BN;
personalStakeIndex: BN;
exists: boolean;
0: BN;
1: BN;
2: boolean;
}>;
supportsHistory(): TransactionObject<boolean>;
token(): TransactionObject<string>;
totalStaked(): TransactionObject<BN>;
totalStakedFor(_address: string): TransactionObject<BN>;
};

@@ -144,7 +144,4 @@ events: {

}>;
allEvents: (
options?: EventOptions,
cb?: Callback<EventLog>
) => EventEmitter;
allEvents: (options?: EventOptions, cb?: Callback<EventLog>) => any;
};
}

@@ -5,13 +5,6 @@ /* Generated by ts-generator ver. 0.0.8 */

import BN from "bn.js";
import Contract, { contractOptions } from "web3/eth/contract";
import { EventLog, Callback, EventEmitter } from "web3/types";
import { TransactionObject, BlockType } from "web3/eth/types";
import { ContractEvent } from "./types";
import { Contract, ContractOptions, EventOptions } from "web3-eth-contract";
import { EventLog } from "web3-core";
import { TransactionObject, ContractEvent, Callback } from "./types";
interface EventOptions {
filter?: object;
fromBlock?: BlockType;
topics?: string[];
}
export class ArianeeStore extends Contract {

@@ -21,3 +14,3 @@ constructor(

address?: string,
options?: contractOptions
options?: ContractOptions
);

@@ -28,17 +21,2 @@ clone(): ArianeeStore;

canDestroy(
_tokenId: number | string,
_sender: string
): TransactionObject<boolean>;
creditPriceUSD(_creditType: number | string): TransactionObject<BN>;
canTransfer(
_to: string,
_from: string,
_tokenId: number | string
): TransactionObject<boolean>;
getCreditPrice(_creditType: number | string): TransactionObject<BN>;
buyCredit(

@@ -56,4 +34,10 @@ _creditType: number | string,

nonFungibleRegistry(): TransactionObject<string>;
reserveToken(_id: number | string, _to: string): TransactionObject<void>;
creditHistory(): TransactionObject<string>;
ariaUSDExchange(): TransactionObject<BN>;
acceptEvent(

@@ -78,2 +62,6 @@ _eventId: number | string,

acceptedToken(): TransactionObject<string>;
arianeeProjectAddress(): TransactionObject<string>;
refuseEvent(

@@ -84,2 +72,4 @@ _eventId: number | string,

paused(): TransactionObject<boolean>;
setArianeeProjectAddress(

@@ -89,4 +79,11 @@ _arianeeProjectAddress: string

protocolInfraAddress(): TransactionObject<string>;
withdrawArias(): TransactionObject<void>;
canDestroy(
_tokenId: number | string,
_sender: string
): TransactionObject<boolean>;
pause(): TransactionObject<void>;

@@ -98,2 +95,8 @@

owner(): TransactionObject<string>;
arianeeEvent(): TransactionObject<string>;
creditPriceUSD(_creditType: number | string): TransactionObject<BN>;
requestToken(

@@ -107,2 +110,8 @@ _tokenId: number | string,

canTransfer(
_to: string,
_from: string,
_tokenId: number | string
): TransactionObject<boolean>;
createEvent(

@@ -128,2 +137,6 @@ _eventId: number | string,

authorizedExchangeAddress(): TransactionObject<string>;
getCreditPrice(_creditType: number | string): TransactionObject<BN>;
setCreditPrice(

@@ -133,13 +146,2 @@ _creditType: number | string,

): TransactionObject<void>;
nonFungibleRegistry(): TransactionObject<string>;
creditHistory(): TransactionObject<string>;
ariaUSDExchange(): TransactionObject<BN>;
acceptedToken(): TransactionObject<string>;
arianeeProjectAddress(): TransactionObject<string>;
paused(): TransactionObject<boolean>;
protocolInfraAddress(): TransactionObject<string>;
owner(): TransactionObject<string>;
arianeeEvent(): TransactionObject<string>;
authorizedExchangeAddress(): TransactionObject<string>;
};

@@ -196,7 +198,4 @@ events: {

}>;
allEvents: (
options?: EventOptions,
cb?: Callback<EventLog>
) => EventEmitter;
allEvents: (options?: EventOptions, cb?: Callback<EventLog>) => any;
};
}

@@ -5,13 +5,6 @@ /* Generated by ts-generator ver. 0.0.8 */

import BN from "bn.js";
import Contract, { contractOptions } from "web3/eth/contract";
import { EventLog, Callback, EventEmitter } from "web3/types";
import { TransactionObject, BlockType } from "web3/eth/types";
import { ContractEvent } from "./types";
import { Contract, ContractOptions, EventOptions } from "web3-eth-contract";
import { EventLog } from "web3-core";
import { TransactionObject, ContractEvent, Callback } from "./types";
interface EventOptions {
filter?: object;
fromBlock?: BlockType;
topics?: string[];
}
export class ArianeeWhitelist extends Contract {

@@ -21,6 +14,11 @@ constructor(

address?: string,
options?: contractOptions
options?: ContractOptions
);
clone(): ArianeeWhitelist;
methods: {
grantAbilities(
_target: string,
_abilities: number | string
): TransactionObject<void>;
isBlacklisted(

@@ -45,12 +43,2 @@ _owner: string,

isAble(
_target: string,
_abilities: number | string
): TransactionObject<boolean>;
grantAbilities(
_target: string,
_abilities: number | string
): TransactionObject<void>;
addWhitelistedAddress(

@@ -67,2 +55,7 @@ _tokenId: number | string,

isAble(
_target: string,
_abilities: number | string
): TransactionObject<boolean>;
addBlacklistedAddress(

@@ -101,7 +94,4 @@ _sender: string,

}>;
allEvents: (
options?: EventOptions,
cb?: Callback<EventLog>
) => EventEmitter;
allEvents: (options?: EventOptions, cb?: Callback<EventLog>) => any;
};
}
/* Generated by ts-generator ver. 0.0.8 */
/* tslint:disable */
import { EventLog } from "web3/types";
import { TransactionObject, BlockType } from "web3/eth/types";
import { EventLog } from "web3-core";
import { TransactionObject } from "./types";
import BN from "bn.js";

@@ -17,5 +17,5 @@ import { EventEmitter } from "events";

interface EventOptions {
export interface EventOptions {
filter?: object;
fromBlock?: BlockType;
fromBlock?: number;
topics?: string[];

@@ -22,0 +22,0 @@ }

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