Socket
Socket
Sign inDemoInstall

@arianee/arianee-abi

Package Overview
Dependencies
76
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

.travis.yml

1073

abi/ArianeeEvent.json
[
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "idToPendingEvents",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
},
{
"name": "",
"type": "uint256"
}
],
"name": "tokenEventsList",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "events",
"outputs": [
{
"name": "URI",
"type": "string"
},
{
"name": "imprint",
"type": "bytes32"
},
{
"name": "provider",
"type": "address"
},
{
"name": "destroyLimitTimestamp",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "pendingEventsLength",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "unpause",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_eventId",
"type": "uint256"
},
{
"name": "_active",
"type": "bool"
}
],
"name": "updateDestroyRequest",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_eventId",
"type": "uint256"
},
{
"name": "_sender",
"type": "address"
}
],
"name": "accept",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "paused",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_storeAddress",
"type": "address"
}
],
"name": "setStoreAddress",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "pause",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_eventId",
"type": "uint256"
}
],
"name": "destroy",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "eventIdToToken",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "idToTokenEventIndex",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_tokenId",
"type": "uint256"
},
{
"name": "_imprint",
"type": "bytes32"
},
{
"name": "_uri",
"type": "string"
},
{
"name": "_reward",
"type": "uint256"
},
{
"name": "_provider",
"type": "address"
}
],
"name": "create",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_eventId",
"type": "uint256"
}
],
"name": "validDestroyRequest",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_eventId",
"type": "uint256"
},
{
"name": "_sender",
"type": "address"
}
],
"name": "refuse",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
},
{
"name": "",
"type": "uint256"
}
],
"name": "pendingEvents",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_newDelay",
"type": "uint256"
}
],
"name": "updateEventDestroyDelay",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "rewards",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"name": "_smartAssetAddress",
"type": "address"
},
{
"name": "_arianeeWhitelistAddress",
"type": "address"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_tokenId",
"type": "uint256"
},
{
"indexed": true,
"name": "_eventId",
"type": "uint256"
},
{
"indexed": true,
"name": "_imprint",
"type": "bytes32"
},
{
"indexed": false,
"name": "_uri",
"type": "string"
},
{
"indexed": false,
"name": "_provider",
"type": "address"
}
],
"name": "EventCreated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_eventId",
"type": "uint256"
},
{
"indexed": true,
"name": "_sender",
"type": "address"
}
],
"name": "EventAccepted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_eventId",
"type": "uint256"
},
{
"indexed": true,
"name": "_sender",
"type": "address"
}
],
"name": "EventRefused",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_eventId",
"type": "uint256"
}
],
"name": "EventDestroyed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_eventId",
"type": "uint256"
},
{
"indexed": false,
"name": "_active",
"type": "bool"
}
],
"name": "DestroyRequestUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "_newDelay",
"type": "uint256"
}
],
"name": "EventDestroyDelayUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [],
"name": "Pause",
"type": "event"
},
{
"anonymous": false,
"inputs": [],
"name": "Unpause",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
}
]
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "idToPendingEvents",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
},
{
"name": "",
"type": "uint256"
}
],
"name": "tokenEventsList",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "events",
"outputs": [
{
"name": "URI",
"type": "string"
},
{
"name": "imprint",
"type": "bytes32"
},
{
"name": "provider",
"type": "address"
},
{
"name": "destroyLimitTimestamp",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "pendingEventsLength",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "unpause",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_eventId",
"type": "uint256"
},
{
"name": "_active",
"type": "bool"
}
],
"name": "updateDestroyRequest",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_eventId",
"type": "uint256"
},
{
"name": "_sender",
"type": "address"
}
],
"name": "accept",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "paused",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_storeAddress",
"type": "address"
}
],
"name": "setStoreAddress",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "pause",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_eventId",
"type": "uint256"
}
],
"name": "destroy",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "eventIdToToken",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "idToTokenEventIndex",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_tokenId",
"type": "uint256"
},
{
"name": "_imprint",
"type": "bytes32"
},
{
"name": "_uri",
"type": "string"
},
{
"name": "_reward",
"type": "uint256"
},
{
"name": "_provider",
"type": "address"
}
],
"name": "create",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_eventId",
"type": "uint256"
}
],
"name": "validDestroyRequest",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_eventId",
"type": "uint256"
},
{
"name": "_sender",
"type": "address"
}
],
"name": "refuse",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
},
{
"name": "",
"type": "uint256"
}
],
"name": "pendingEvents",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_newDelay",
"type": "uint256"
}
],
"name": "updateEventDestroyDelay",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "rewards",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"name": "_smartAssetAddress",
"type": "address"
},
{
"name": "_arianeeWhitelistAddress",
"type": "address"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "_tokenId",
"type": "uint256"
},
{
"indexed": false,
"name": "_eventId",
"type": "uint256"
},
{
"indexed": false,
"name": "_imprint",
"type": "bytes32"
},
{
"indexed": false,
"name": "_uri",
"type": "string"
}
],
"name": "EventCreated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "_eventId",
"type": "uint256"
},
{
"indexed": false,
"name": "_sender",
"type": "address"
}
],
"name": "EventAccepted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "_eventId",
"type": "uint256"
},
{
"indexed": false,
"name": "_sender",
"type": "address"
}
],
"name": "EventRefused",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "_eventId",
"type": "uint256"
}
],
"name": "EventDestroyed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "_eventId",
"type": "uint256"
},
{
"indexed": false,
"name": "_active",
"type": "bool"
}
],
"name": "DestroyRequestUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "_newDelay",
"type": "uint256"
}
],
"name": "EventDestroyDelayUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [],
"name": "Pause",
"type": "event"
},
{
"anonymous": false,
"inputs": [],
"name": "Unpause",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
}
]

@@ -88,2 +88,16 @@ [

{
"constant": true,
"inputs": [],
"name": "validatorAddress",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,

@@ -214,2 +228,16 @@ "inputs": [

{
"constant": true,
"inputs": [],
"name": "bouncerAddress",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,

@@ -216,0 +244,0 @@ "inputs": [

@@ -107,2 +107,20 @@ [

{
"name": "_target",
"type": "address"
},
{
"name": "_abilities",
"type": "uint256"
}
],
"name": "grantAbilities",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_tokenId",

@@ -121,2 +139,16 @@ "type": "uint256"

"inputs": [],
"name": "arianeeWhitelist",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "totalSupply",

@@ -267,2 +299,21 @@ "outputs": [

{
"name": "",
"type": "address"
}
],
"name": "addressToAbility",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_index",

@@ -355,25 +406,2 @@ "type": "uint256"

{
"constant": true,
"inputs": [
{
"name": "_target",
"type": "address"
},
{
"name": "_ability",
"type": "uint8"
}
],
"name": "isAble",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,

@@ -431,20 +459,2 @@ "inputs": [

{
"constant": false,
"inputs": [
{
"name": "_target",
"type": "address"
},
{
"name": "_abilities",
"type": "uint8[]"
}
],
"name": "assignAbilities",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,

@@ -510,14 +520,24 @@ "inputs": [

{
"constant": true,
"inputs": [],
"name": "store",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_target",
"type": "address"
},
{
"name": "_abilities",
"type": "uint8[]"
"name": "_tokenId",
"type": "uint256"
}
],
"name": "revokeAbilities",
"name": "destroy",
"outputs": [],

@@ -583,2 +603,24 @@ "payable": false,

{
"name": "_target",
"type": "address"
},
{
"name": "_abilities",
"type": "uint256"
},
{
"name": "_allowSuperRevoke",
"type": "bool"
}
],
"name": "revokeAbilities",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_tokenId",

@@ -650,2 +692,25 @@ "type": "uint256"

{
"name": "_target",
"type": "address"
},
{
"name": "_abilities",
"type": "uint256"
}
],
"name": "isAble",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tokenId",

@@ -756,6 +821,2 @@ "type": "uint256"

"type": "uint256"
},
{
"name": "message",
"type": "bytes32"
}

@@ -1038,3 +1099,3 @@ ],

],
"name": "tokenAccessAdded",
"name": "TokenAccessAdded",
"type": "event"

@@ -1044,2 +1105,26 @@ },

"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "_tokenId",
"type": "uint256"
}
],
"name": "TokenDestroyed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "_newUriBase",
"type": "string"
}
],
"name": "SetNewUriBase",
"type": "event"
},
{
"anonymous": false,
"inputs": [],

@@ -1082,7 +1167,7 @@ "name": "Pause",

"indexed": true,
"name": "_ability",
"type": "uint8"
"name": "_abilities",
"type": "uint256"
}
],
"name": "AssignAbility",
"name": "GrantAbilities",
"type": "event"

@@ -1100,7 +1185,7 @@ },

"indexed": true,
"name": "_ability",
"type": "uint8"
"name": "_abilities",
"type": "uint256"
}
],
"name": "RevokeAbility",
"name": "RevokeAbilities",
"type": "event"

@@ -1107,0 +1192,0 @@ },

@@ -6,7 +6,11 @@ [

{
"name": "_newAriaUSDExchange",
"name": "_amount",
"type": "uint256"
},
{
"name": "_data",
"type": "bytes"
}
],
"name": "updateAriaUSDExchange",
"name": "stake",
"outputs": [],

@@ -21,2 +25,6 @@ "payable": false,

{
"name": "_user",
"type": "address"
},
{
"name": "_amount",

@@ -30,3 +38,3 @@ "type": "uint256"

],
"name": "stake",
"name": "stakeFor",
"outputs": [],

@@ -41,6 +49,2 @@ "payable": false,

{
"name": "_user",
"type": "address"
},
{
"name": "_amount",

@@ -54,3 +58,3 @@ "type": "uint256"

],
"name": "stakeFor",
"name": "stakeWithMinimal",
"outputs": [],

@@ -62,59 +66,91 @@ "payable": false,

{
"constant": true,
"constant": false,
"inputs": [
{
"name": "_address",
"name": "_newOwner",
"type": "address"
}
],
"name": "getPersonalStakeUnlockedTimestamps",
"outputs": [
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "",
"type": "uint256[]"
"name": "_fees",
"type": "uint8"
}
],
"name": "udpateFees",
"outputs": [],
"payable": false,
"stateMutability": "view",
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"constant": false,
"inputs": [
{
"name": "_address",
"name": "_staker",
"type": "address"
},
{
"name": "_percentUnstake",
"type": "uint256"
}
],
"name": "getPersonalStakes",
"outputs": [
"name": "unlockStakeWithFee",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "",
"type": "uint256[]"
"name": "_amount",
"type": "uint256"
},
{
"name": "",
"type": "uint256[]"
},
"name": "_data",
"type": "bytes"
}
],
"name": "unstake",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "",
"type": "address[]"
"name": "_newAriaUSDExchange",
"type": "uint256"
}
],
"name": "updateAriaUSDExchange",
"outputs": [],
"payable": false,
"stateMutability": "view",
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "ariaUSDExchange",
"outputs": [
"constant": false,
"inputs": [
{
"name": "",
"name": "_defaultLockInDuration",
"type": "uint256"
}
],
"name": "updateDefaultLockInDuration",
"outputs": [],
"payable": false,
"stateMutability": "view",
"stateMutability": "nonpayable",
"type": "function"

@@ -137,33 +173,122 @@ },

{
"constant": true,
"constant": false,
"inputs": [
{
"name": "_address",
"name": "_newMinimalUSDStakable",
"type": "uint256"
}
],
"name": "updateMinimalUSDStakable",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"name": "_stakingToken",
"type": "address"
}
],
"name": "totalStakedFor",
"outputs": [
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"name": "",
"indexed": false,
"name": "_amount",
"type": "uint256"
},
{
"indexed": false,
"name": "staker",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
"name": "newStake",
"type": "event"
},
{
"constant": true,
"anonymous": false,
"inputs": [
{
"name": "_address",
"indexed": true,
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"name": "newOwner",
"type": "address"
}
],
"name": "getPersonalStakeActualAmounts",
"name": "OwnershipTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "user",
"type": "address"
},
{
"indexed": false,
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"name": "total",
"type": "uint256"
},
{
"indexed": false,
"name": "data",
"type": "bytes"
}
],
"name": "Staked",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "user",
"type": "address"
},
{
"indexed": false,
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"name": "total",
"type": "uint256"
},
{
"indexed": false,
"name": "data",
"type": "bytes"
}
],
"name": "Unstaked",
"type": "event"
},
{
"constant": true,
"inputs": [],
"name": "ariaUSDExchange",
"outputs": [
{
"name": "",
"type": "uint256[]"
"type": "uint256"
}

@@ -176,13 +301,13 @@ ],

{
"constant": false,
"inputs": [
"constant": true,
"inputs": [],
"name": "defaultLockInDuration",
"outputs": [
{
"name": "_newMinimalUSDStakable",
"name": "",
"type": "uint256"
}
],
"name": "updateMinimalUSDStakable",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"

@@ -193,11 +318,11 @@ },

"inputs": [],
"name": "supportsHistory",
"name": "feesReceiver",
"outputs": [
{
"name": "",
"type": "bool"
"type": "address"
}
],
"payable": false,
"stateMutability": "pure",
"stateMutability": "view",
"type": "function"

@@ -213,7 +338,7 @@ },

],
"name": "getPersonalStakeForAddresses",
"name": "getPersonalStakeActualAmounts",
"outputs": [
{
"name": "",
"type": "address[]"
"type": "uint256[]"
}

@@ -227,8 +352,13 @@ ],

"constant": true,
"inputs": [],
"name": "totalStaked",
"inputs": [
{
"name": "_address",
"type": "address"
}
],
"name": "getPersonalStakeForAddresses",
"outputs": [
{
"name": "",
"type": "uint256"
"type": "address[]"
}

@@ -241,17 +371,26 @@ ],

{
"constant": false,
"constant": true,
"inputs": [
{
"name": "_staker",
"name": "_address",
"type": "address"
}
],
"name": "getPersonalStakes",
"outputs": [
{
"name": "",
"type": "uint256[]"
},
{
"name": "_percentUnstake",
"type": "uint256"
"name": "",
"type": "uint256[]"
},
{
"name": "",
"type": "address[]"
}
],
"name": "unlockStakeWithFee",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"

@@ -261,8 +400,13 @@ },

"constant": true,
"inputs": [],
"name": "feesReceiver",
"inputs": [
{
"name": "_address",
"type": "address"
}
],
"name": "getPersonalStakeUnlockedTimestamps",
"outputs": [
{
"name": "",
"type": "address"
"type": "uint256[]"
}

@@ -275,17 +419,13 @@ ],

{
"constant": false,
"inputs": [
"constant": true,
"inputs": [],
"name": "minimalUSDStakable",
"outputs": [
{
"name": "_amount",
"name": "",
"type": "uint256"
},
{
"name": "_data",
"type": "bytes"
}
],
"name": "unstake",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"

@@ -296,7 +436,7 @@ },

"inputs": [],
"name": "minimalUSDStakable",
"name": "owner",
"outputs": [
{
"name": "",
"type": "uint256"
"type": "address"
}

@@ -336,17 +476,13 @@ ],

{
"constant": false,
"inputs": [
"constant": true,
"inputs": [],
"name": "supportsHistory",
"outputs": [
{
"name": "_amount",
"type": "uint256"
},
{
"name": "_data",
"type": "bytes"
"name": "",
"type": "bool"
}
],
"name": "stakeWithMinimal",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"stateMutability": "pure",
"type": "function"

@@ -357,7 +493,7 @@ },

"inputs": [],
"name": "defaultLockInDuration",
"name": "token",
"outputs": [
{
"name": "",
"type": "uint256"
"type": "address"
}

@@ -372,7 +508,7 @@ ],

"inputs": [],
"name": "token",
"name": "totalStaked",
"outputs": [
{
"name": "",
"type": "address"
"type": "uint256"
}

@@ -385,83 +521,20 @@ ],

{
"constant": true,
"inputs": [
{
"name": "_stakingToken",
"name": "_address",
"type": "address"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
"name": "totalStakedFor",
"outputs": [
{
"indexed": false,
"name": "_amount",
"name": "",
"type": "uint256"
},
{
"indexed": false,
"name": "staker",
"type": "address"
}
],
"name": "newStake",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "user",
"type": "address"
},
{
"indexed": false,
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"name": "total",
"type": "uint256"
},
{
"indexed": false,
"name": "data",
"type": "bytes"
}
],
"name": "Staked",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "user",
"type": "address"
},
{
"indexed": false,
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"name": "total",
"type": "uint256"
},
{
"indexed": false,
"name": "data",
"type": "bytes"
}
],
"name": "Unstaked",
"type": "event"
"payable": false,
"stateMutability": "view",
"type": "function"
}
]

@@ -453,2 +453,6 @@ [

{
"name": "_eventId",
"type": "uint256"
},
{
"name": "_tokenId",

@@ -466,14 +470,2 @@ "type": "uint256"

{
"name": "_encryptedInitialKey",
"type": "address"
},
{
"name": "_tokenRecoveryTimestamp",
"type": "uint256"
},
{
"name": "_initialKeyIsRequestKey",
"type": "bool"
},
{
"name": "_providerBrand",

@@ -483,3 +475,3 @@ "type": "address"

],
"name": "hydrateToken",
"name": "createEvent",
"outputs": [],

@@ -506,13 +498,20 @@ "payable": false,

{
"name": "_providerBrand",
"name": "_encryptedInitialKey",
"type": "address"
}
],
"name": "createEvent",
"outputs": [
},
{
"name": "",
"name": "_tokenRecoveryTimestamp",
"type": "uint256"
},
{
"name": "_initialKeyIsRequestKey",
"type": "bool"
},
{
"name": "_providerBrand",
"type": "address"
}
],
"name": "hydrateToken",
"outputs": [],
"payable": false,

@@ -519,0 +518,0 @@ "stateMutability": "nonpayable",

[
{
"constant": false,
"inputs": [
{
"name": "_target",
"type": "address"
},
{
"name": "_abilities",
"type": "uint256"
}
],
"name": "grantAbilities",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,

@@ -33,19 +51,11 @@ "inputs": [

{
"name": "_tokenId",
"type": "uint256"
},
{
"name": "_sender",
"name": "",
"type": "address"
},
{
"name": "_tokenOwner",
"type": "address"
}
],
"name": "isAuthorized",
"name": "addressToAbility",
"outputs": [
{
"name": "",
"type": "bool"
"type": "uint256"
}

@@ -61,11 +71,15 @@ ],

{
"name": "_target",
"name": "_tokenId",
"type": "uint256"
},
{
"name": "_sender",
"type": "address"
},
{
"name": "_ability",
"type": "uint8"
"name": "_tokenOwner",
"type": "address"
}
],
"name": "isAble",
"name": "isAuthorized",
"outputs": [

@@ -82,20 +96,2 @@ {

{
"constant": false,
"inputs": [
{
"name": "_target",
"type": "address"
},
{
"name": "_abilities",
"type": "uint8[]"
}
],
"name": "assignAbilities",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,

@@ -150,3 +146,7 @@ "inputs": [

"name": "_abilities",
"type": "uint8[]"
"type": "uint256"
},
{
"name": "_allowSuperRevoke",
"type": "bool"
}

@@ -161,2 +161,25 @@ ],

{
"constant": true,
"inputs": [
{
"name": "_target",
"type": "address"
},
{
"name": "_abilities",
"type": "uint256"
}
],
"name": "isAble",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,

@@ -232,7 +255,7 @@ "inputs": [

"indexed": true,
"name": "_ability",
"type": "uint8"
"name": "_abilities",
"type": "uint256"
}
],
"name": "AssignAbility",
"name": "GrantAbilities",
"type": "event"

@@ -250,9 +273,9 @@ },

"indexed": true,
"name": "_ability",
"type": "uint8"
"name": "_abilities",
"type": "uint256"
}
],
"name": "RevokeAbility",
"name": "RevokeAbilities",
"type": "event"
}
]

@@ -1,10 +0,10 @@

import { Aria } from "./@types/Aria";
import { Aria } from "./types/Aria";
import { ArianeeCreditHistory } from "./@types/ArianeeCreditHistory";
import { ArianeeIdentity } from "./@types/ArianeeIdentity";
import { ArianeeSmartAsset } from "./@types/ArianeeSmartAsset";
import { ArianeeStaking } from "./@types/ArianeeStaking";
import { ArianeeStore } from "./@types/ArianeeStore";
import { ArianeeWhitelist } from "./@types/ArianeeWhitelist";
import {ArianeeEvent} from './@types/ArianeeEvent';
import { ArianeeCreditHistory } from "./types/ArianeeCreditHistory";
import { ArianeeIdentity } from "./types/ArianeeIdentity";
import { ArianeeSmartAsset } from "./types/ArianeeSmartAsset";
import { ArianeeStaking } from "./types/ArianeeStaking";
import { ArianeeStore } from "./types/ArianeeStore";
import { ArianeeWhitelist } from "./types/ArianeeWhitelist";
import {ArianeeEvent} from './types/ArianeeEvent';

@@ -11,0 +11,0 @@ export {

{
"name": "@arianee/arianee-abi",
"version": "0.0.1",
"version": "0.0.2",
"description": "abi definition of Arianee and typescript declaration files",

@@ -14,4 +14,5 @@ "publishConfig": {

"scripts": {
"publish": "npm run build && git add . && git commit --amend --no-edit && git push --force",
"build": "./node_modules/.bin/typechain --target=web3-1.0.0 './src/abi/*.json' --outDir=./src"
"generate": "./node_modules/.bin/typechain --target=web3-1.0.0 './abi/*.json' --outDir=./types",
"minify": "node ./minify.js",
"build": "npm run generate && npm run minify"
},

@@ -27,2 +28,2 @@ "author": "",

}
}
}

@@ -13,7 +13,6 @@ {

],
"baseUrl": "@types",
"resolveJsonModule": true,
"module": "commonjs"
},
"module": "commonjs",
"esModuleInterop": true
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc