@arianee/arianee-abi
Advanced tools
Comparing version 0.3.0 to 0.4.0
{ | ||
"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 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
197810
40
5623
2
+ Addedlodash@4.17.15
+ Addedlodash@4.17.15(transitive)
- Removed@types/web3@^1.0.19
- Removed@adraffy/ens-normalize@1.11.0(transitive)
- Removed@ethereumjs/rlp@4.0.15.0.2(transitive)
- Removed@noble/curves@1.4.2(transitive)
- Removed@noble/hashes@1.4.0(transitive)
- Removed@scure/base@1.1.9(transitive)
- Removed@scure/bip32@1.4.0(transitive)
- Removed@scure/bip39@1.3.0(transitive)
- Removed@types/node@22.7.4(transitive)
- Removed@types/web3@1.2.2(transitive)
- Removed@types/ws@8.5.3(transitive)
- Removedabitype@0.7.1(transitive)
- Removedavailable-typed-arrays@1.0.7(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removedcrc-32@1.2.2(transitive)
- Removedcross-fetch@4.0.0(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedethereum-cryptography@2.2.1(transitive)
- Removedeventemitter3@5.0.1(transitive)
- Removedfor-each@0.3.3(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedgopd@1.0.1(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhas-tostringtag@1.0.2(transitive)
- Removedhasown@2.0.2(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-arguments@1.1.1(transitive)
- Removedis-callable@1.2.7(transitive)
- Removedis-generator-function@1.0.10(transitive)
- Removedis-typed-array@1.1.13(transitive)
- Removedisomorphic-ws@5.0.0(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removedpossible-typed-array-names@1.0.0(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedsetimmediate@1.0.5(transitive)
- Removedtr46@0.0.3(transitive)
- Removedtypescript@5.6.2(transitive)
- Removedundici-types@6.19.8(transitive)
- Removedutil@0.12.5(transitive)
- Removedweb3@4.13.0(transitive)
- Removedweb3-core@4.6.0(transitive)
- Removedweb3-errors@1.3.0(transitive)
- Removedweb3-eth@4.9.0(transitive)
- Removedweb3-eth-abi@4.2.4(transitive)
- Removedweb3-eth-accounts@4.2.1(transitive)
- Removedweb3-eth-contract@4.7.0(transitive)
- Removedweb3-eth-ens@4.4.0(transitive)
- Removedweb3-eth-iban@4.0.7(transitive)
- Removedweb3-eth-personal@4.1.0(transitive)
- Removedweb3-net@4.1.0(transitive)
- Removedweb3-providers-http@4.2.0(transitive)
- Removedweb3-providers-ipc@4.0.7(transitive)
- Removedweb3-providers-ws@4.0.8(transitive)
- Removedweb3-rpc-methods@1.3.0(transitive)
- Removedweb3-rpc-providers@1.0.0-rc.2(transitive)
- Removedweb3-types@1.8.0(transitive)
- Removedweb3-utils@4.3.1(transitive)
- Removedweb3-validator@2.0.6(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
- Removedwhich-typed-array@1.1.15(transitive)
- Removedws@8.18.0(transitive)
- Removedzod@3.23.8(transitive)
Updatedbn@1.0.5