diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 964bc37..b650d26 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -14,7 +14,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- - uses: nevermined-io/nvm-tools-actions@v0.6.1
+ - uses: nevermined-io/nvm-tools-actions@v0.9.0
with:
token: ${{ secrets.API_TOKEN_GITHUB }}
node-version: "develop"
@@ -26,7 +26,7 @@ jobs:
run: |
docker-compose up -d
./scripts/wait_for_graph.sh
-
+
- name: copy-artifacts
run: ./scripts/wait-nevermined.sh
diff --git a/Dockerfile b/Dockerfile
index ca03dbf..38f3985 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,11 +11,11 @@ RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN apt-get install -y nodejs
-RUN npm install -g @nevermined-io/graph-cli
+#RUN npm install -g @nevermined-io/graph-cli
RUN npm install --global yarn
WORKDIR /subgraphs
COPY . /subgraphs
RUN yarn
-ENTRYPOINT [ "./scripts/entrypoint.sh" ]
\ No newline at end of file
+ENTRYPOINT [ "./scripts/entrypoint.sh" ]
diff --git a/package.json b/package.json
index caebf62..6a8b971 100644
--- a/package.json
+++ b/package.json
@@ -42,7 +42,7 @@
"@apollo/client": "^3.4.16",
"@graphprotocol/graph-ts": "0.24.1",
"@nevermined-io/contracts": "2.0.0-rc2",
- "@nevermined-io/graph-cli": "0.30.4",
+ "@nevermined-io/graph-cli": "0.30.1",
"@nevermined-io/nevermined-sdk-js": "1.0.0-rc18",
"@truffle/hdwallet-provider": "^1.5.1",
"@types/big.js": "^6.1.3",
diff --git a/scripts/download-artifacts.sh b/scripts/download-artifacts.sh
index cbdc5e9..4215932 100755
--- a/scripts/download-artifacts.sh
+++ b/scripts/download-artifacts.sh
@@ -18,9 +18,9 @@ if [ -z "$TAG" ]; then
TAG="common"
fi
-REPO_URL=http://artifacts.nevermined.rocks
+REPO_URL=https://artifacts.nevermined.network
declare -A NETWORKS_MAP
-NETWORKS_MAP=( ["mainnet"]="1" ["rinkeby"]="4" ["kovan"]="42" ["matic"]="137" ["mumbai"]="80001" ["celo-alfajores"]="44787" ["celo"]="42220" ["aurora"]="1313161554" ["aurora-testnet"]="1313161555" ["goerli"]="5" ["arbitrum-goerli"]="421613")
+NETWORKS_MAP=( ["mainnet"]="1" ["rinkeby"]="4" ["kovan"]="42" ["matic"]="137" ["mumbai"]="80001" ["celo-alfajores"]="44787" ["celo"]="42220" ["aurora"]="1313161554" ["aurora-testnet"]="1313161555" ["goerli"]="5" ["arbitrum-goerli"]="421613" ["hyperspace"]="3141")
SCRIPT_DIR=$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd)
UNPACK_DIR="$SCRIPT_DIR/../node_modules/@nevermined-io/contracts/artifacts"
@@ -38,9 +38,9 @@ function get_network_id_from_name {
}
NETWORK_ID=$(get_network_id_from_name)
-DOWNLOAD_URL=$REPO_URL/$NETWORK_ID/$TAG/contracts_$VERSION.tar.gz
+DOWNLOAD_URL=$REPO_URL/$NETWORK_ID/$TAG/contracts_v$VERSION.tar.gz
curl -s -L -o /tmp/nvm_temp_artifacts.tar.gz $DOWNLOAD_URL
-tar xzf /tmp/nvm_temp_artifacts.tar.gz --directory $UNPACK_DIR
+tar xf /tmp/nvm_temp_artifacts.tar.gz --directory $UNPACK_DIR
rm -f /tmp/nvm_temp_artifacts.tar.gz
exit 0
diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh
index 22a4034..6d4c2ce 100755
--- a/scripts/entrypoint.sh
+++ b/scripts/entrypoint.sh
@@ -21,7 +21,7 @@ VERSION=$(echo ${VERSION%%.*} | tr -d '"')
yarn nevermined:update-addresses $KEEPER_NETWORK_NAME
OVERRIDE_SUBGRAPH_STARTING_BLOCK=10 yarn nevermined:update-startblock $KEEPER_NETWORK_NAME
# we always use spree in the subgraph manifest for local development networks
-yarn nevermined:update-network spree
+yarn nevermined:update-network $KEEPER_NETWORK_NAME $VERSION
yarn nevermined:create development $KEEPER_NETWORK_NAME $VERSION
yarn nevermined:deploy development $KEEPER_NETWORK_NAME $VERSION
diff --git a/scripts/update-addresses.ts b/scripts/update-addresses.ts
index b227753..299d398 100644
--- a/scripts/update-addresses.ts
+++ b/scripts/update-addresses.ts
@@ -37,7 +37,7 @@ async function processFiles(err: { message: any }, files: any[], network: string
abi,
indexEvents,
contract,
- network: 'spree',
+ network,
contractName,
subgraphName,
})
@@ -61,4 +61,4 @@ async function main() {
await main()
-})()
\ No newline at end of file
+})()
diff --git a/subgraphs/AaveBorrowCondition/subgraph.yaml b/subgraphs/AaveBorrowCondition/subgraph.yaml
index 31b09ce..e6573fa 100644
--- a/subgraphs/AaveBorrowCondition/subgraph.yaml
+++ b/subgraphs/AaveBorrowCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: AaveBorrowCondition
- network: spree
+ network: hyperspace
source:
- address: "0x494a286382BD0Cd2aF8676D41c125Be325dD72B3"
+ address: "0x5e5dDDEB5ebDF9014571Ba160219886980889555"
abi: AaveBorrowCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/AaveCollateralDepositCondition/subgraph.yaml b/subgraphs/AaveCollateralDepositCondition/subgraph.yaml
index 5a8c136..60f4156 100644
--- a/subgraphs/AaveCollateralDepositCondition/subgraph.yaml
+++ b/subgraphs/AaveCollateralDepositCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: AaveCollateralDepositCondition
- network: spree
+ network: hyperspace
source:
- address: "0x2af77391A0602eF29ded7E151b73559604bE0d17"
+ address: "0xF03b3E858E803336CBE8809a22A5A905c004D913"
abi: AaveCollateralDepositCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/AaveCollateralWithdrawCondition/subgraph.yaml b/subgraphs/AaveCollateralWithdrawCondition/subgraph.yaml
index 7a49dc8..6b69de5 100644
--- a/subgraphs/AaveCollateralWithdrawCondition/subgraph.yaml
+++ b/subgraphs/AaveCollateralWithdrawCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: AaveCollateralWithdrawCondition
- network: spree
+ network: hyperspace
source:
- address: "0xA687f430DC56473C0405100933e9790BC4c9DA96"
+ address: "0x95F67B720ab9b260f119F0cfcdA9f146B2b28fD6"
abi: AaveCollateralWithdrawCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/AaveCreditTemplate/subgraph.yaml b/subgraphs/AaveCreditTemplate/subgraph.yaml
index 3052b4c..2054558 100644
--- a/subgraphs/AaveCreditTemplate/subgraph.yaml
+++ b/subgraphs/AaveCreditTemplate/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: AaveCreditTemplate
- network: spree
+ network: hyperspace
source:
- address: "0xCb2C20A0f8e8147389E97466306aC5C66B9feF74"
+ address: "0xd37298B4643456326b0cbBF9ACD2536a9DC51050"
abi: AaveCreditTemplate
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/AaveCreditVault/subgraph.yaml b/subgraphs/AaveCreditVault/subgraph.yaml
index a6434f0..b541cee 100644
--- a/subgraphs/AaveCreditVault/subgraph.yaml
+++ b/subgraphs/AaveCreditVault/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: AaveCreditVault
- network: spree
+ network: hyperspace
source:
- address: "0x2AbcD100Fee59D635EF7CF80b79f27FD36ed3B03"
+ address: "0x2C4D1c61Fa68B03F6022fC8aEfbf4d78d1D658Cb"
abi: AaveCreditVault
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/AaveRepayCondition/subgraph.yaml b/subgraphs/AaveRepayCondition/subgraph.yaml
index 30a8461..4bb672b 100644
--- a/subgraphs/AaveRepayCondition/subgraph.yaml
+++ b/subgraphs/AaveRepayCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: AaveRepayCondition
- network: spree
+ network: hyperspace
source:
- address: "0x4E88D395707fd9E127d7d936925fD74ca56A67CD"
+ address: "0xEC99e6d687437821F4b55D01F1f9B284df896685"
abi: AaveRepayCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/AccessCondition/subgraph.yaml b/subgraphs/AccessCondition/subgraph.yaml
index 678c26d..270b0c3 100644
--- a/subgraphs/AccessCondition/subgraph.yaml
+++ b/subgraphs/AccessCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: AccessCondition
- network: spree
+ network: hyperspace
source:
- address: "0xF97c4991B8a8A0360A66Adbef26cc11Eea029C37"
+ address: "0x66cE0Ab45e2033124a4057278105CE18E0F11AA0"
abi: AccessCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/AccessProofCondition/subgraph.yaml b/subgraphs/AccessProofCondition/subgraph.yaml
index 796ffbb..b29bad0 100644
--- a/subgraphs/AccessProofCondition/subgraph.yaml
+++ b/subgraphs/AccessProofCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: AccessProofCondition
- network: spree
+ network: hyperspace
source:
- address: "0x32c79B039E4BC4Ad9272CA7D2A3DE5183D06Cd6B"
+ address: "0x24f38BF13D7e9eAA47f6a2d02ea25d3e93435264"
abi: AccessProofCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/AccessProofTemplate/subgraph.yaml b/subgraphs/AccessProofTemplate/subgraph.yaml
index ca056ca..f68882a 100644
--- a/subgraphs/AccessProofTemplate/subgraph.yaml
+++ b/subgraphs/AccessProofTemplate/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: AccessProofTemplate
- network: spree
+ network: hyperspace
source:
- address: "0x37cB53b6e0224b03D2cD11b68ea5Df6141D95a1e"
+ address: "0x8541584D70A240dC063c93f9cE87ca67887feD53"
abi: AccessProofTemplate
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/AccessTemplate/subgraph.yaml b/subgraphs/AccessTemplate/subgraph.yaml
index 62cecbf..c0cc477 100644
--- a/subgraphs/AccessTemplate/subgraph.yaml
+++ b/subgraphs/AccessTemplate/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: AccessTemplate
- network: spree
+ network: hyperspace
source:
- address: "0xb761bE571673A8f93DADe4D9D64618e3Eb989477"
+ address: "0x9F39b5Ad6910aDbbF8E662E525878DbB35672ACf"
abi: AccessTemplate
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/AgreementStoreManager/subgraph.yaml b/subgraphs/AgreementStoreManager/subgraph.yaml
index 819b5ca..50a6174 100644
--- a/subgraphs/AgreementStoreManager/subgraph.yaml
+++ b/subgraphs/AgreementStoreManager/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: AgreementStoreManager
- network: spree
+ network: hyperspace
source:
- address: "0x9EacB2a88f1d487c63C1862d5a379E6Ad8a5550c"
+ address: "0x5cf691D71f98b2dc28b0a4c183B16083B58FA3Df"
abi: AgreementStoreManager
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/ComputeExecutionCondition/subgraph.yaml b/subgraphs/ComputeExecutionCondition/subgraph.yaml
index 1325430..a299d7a 100644
--- a/subgraphs/ComputeExecutionCondition/subgraph.yaml
+++ b/subgraphs/ComputeExecutionCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: ComputeExecutionCondition
- network: spree
+ network: hyperspace
source:
- address: "0x1f732F59d6b08b6367D1Ca7b468b64d5A0956970"
+ address: "0x19a3c36e4802344a7Bf72ec8d193419390733635"
abi: ComputeExecutionCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/ConditionStoreManager/subgraph.yaml b/subgraphs/ConditionStoreManager/subgraph.yaml
index 120a713..35bd608 100644
--- a/subgraphs/ConditionStoreManager/subgraph.yaml
+++ b/subgraphs/ConditionStoreManager/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: ConditionStoreManager
- network: spree
+ network: hyperspace
source:
- address: "0x9eD1050E0054C38Ad431109D04f0c4Be8424Bf7b"
+ address: "0xC3A31A4C6E206a807f1DdBdaD22fF0bF3f3c7eb0"
abi: ConditionStoreManager
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/DIDRegistry/subgraph.yaml b/subgraphs/DIDRegistry/subgraph.yaml
index 442bf82..16499bd 100644
--- a/subgraphs/DIDRegistry/subgraph.yaml
+++ b/subgraphs/DIDRegistry/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: DIDRegistry
- network: spree
+ network: hyperspace
source:
- address: "0x56C010A3B179A4Ec1c03e975F72a104bC1dE3dc5"
+ address: "0x7dc496Bb472126cD65149c4b0fF53e55E5e515d7"
abi: DIDRegistry
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/DIDSalesTemplate/subgraph.yaml b/subgraphs/DIDSalesTemplate/subgraph.yaml
index 90573e3..585c269 100644
--- a/subgraphs/DIDSalesTemplate/subgraph.yaml
+++ b/subgraphs/DIDSalesTemplate/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: DIDSalesTemplate
- network: spree
+ network: hyperspace
source:
- address: "0x19d34AB38F83C96677564dF1f2cA695e6C7099ba"
+ address: "0x2EE10613F39265D1509206ef1a2e46AC28f378f1"
abi: DIDSalesTemplate
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/Dispenser/abis/Dispenser.json b/subgraphs/Dispenser/abis/Dispenser.json
deleted file mode 100644
index d2feb16..0000000
--- a/subgraphs/Dispenser/abis/Dispenser.json
+++ /dev/null
@@ -1,171 +0,0 @@
-[
- {
- "anonymous": false,
- "inputs": [
- {
- "indexed": false,
- "internalType": "uint8",
- "name": "version",
- "type": "uint8"
- }
- ],
- "name": "Initialized",
- "type": "event"
- },
- {
- "anonymous": false,
- "inputs": [
- {
- "indexed": true,
- "internalType": "address",
- "name": "previousOwner",
- "type": "address"
- },
- {
- "indexed": true,
- "internalType": "address",
- "name": "newOwner",
- "type": "address"
- }
- ],
- "name": "OwnershipTransferred",
- "type": "event"
- },
- {
- "anonymous": false,
- "inputs": [
- {
- "indexed": true,
- "internalType": "address",
- "name": "requester",
- "type": "address"
- },
- {
- "indexed": false,
- "internalType": "uint256",
- "name": "minPeriod",
- "type": "uint256"
- }
- ],
- "name": "RequestFrequencyExceeded",
- "type": "event"
- },
- {
- "anonymous": false,
- "inputs": [
- {
- "indexed": true,
- "internalType": "address",
- "name": "requester",
- "type": "address"
- },
- {
- "indexed": false,
- "internalType": "uint256",
- "name": "amount",
- "type": "uint256"
- },
- {
- "indexed": false,
- "internalType": "uint256",
- "name": "maxAmount",
- "type": "uint256"
- }
- ],
- "name": "RequestLimitExceeded",
- "type": "event"
- },
- {
- "inputs": [
- { "internalType": "address", "name": "_tokenAddress", "type": "address" },
- { "internalType": "address", "name": "_owner", "type": "address" }
- ],
- "name": "initialize",
- "outputs": [],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0x485cc955"
- },
- {
- "inputs": [],
- "name": "owner",
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
- "stateMutability": "view",
- "type": "function",
- "signature": "0x8da5cb5b"
- },
- {
- "inputs": [],
- "name": "renounceOwnership",
- "outputs": [],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0x715018a6"
- },
- {
- "inputs": [
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
- ],
- "name": "requestTokens",
- "outputs": [
- { "internalType": "bool", "name": "tokensTransferred", "type": "bool" }
- ],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0xeef9c27c"
- },
- {
- "inputs": [
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
- ],
- "name": "setMaxAmount",
- "outputs": [],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0x4fe47f70"
- },
- {
- "inputs": [
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
- ],
- "name": "setMaxMintAmount",
- "outputs": [],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0x088a4ed0"
- },
- {
- "inputs": [
- { "internalType": "uint256", "name": "period", "type": "uint256" }
- ],
- "name": "setMinPeriod",
- "outputs": [],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0xf8210769"
- },
- {
- "inputs": [],
- "name": "token",
- "outputs": [
- {
- "internalType": "contract NeverminedToken",
- "name": "",
- "type": "address"
- }
- ],
- "stateMutability": "view",
- "type": "function",
- "signature": "0xfc0c546a"
- },
- {
- "inputs": [
- { "internalType": "address", "name": "newOwner", "type": "address" }
- ],
- "name": "transferOwnership",
- "outputs": [],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0xf2fde38b"
- }
-]
diff --git a/subgraphs/Dispenser/generated/Dispenser/Dispenser.ts b/subgraphs/Dispenser/generated/Dispenser/Dispenser.ts
deleted file mode 100644
index 1ee5f19..0000000
--- a/subgraphs/Dispenser/generated/Dispenser/Dispenser.ts
+++ /dev/null
@@ -1,370 +0,0 @@
-// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
-
-import {
- ethereum,
- JSONValue,
- TypedMap,
- Entity,
- Bytes,
- Address,
- BigInt
-} from "@graphprotocol/graph-ts";
-
-export class Initialized extends ethereum.Event {
- get params(): Initialized__Params {
- return new Initialized__Params(this);
- }
-}
-
-export class Initialized__Params {
- _event: Initialized;
-
- constructor(event: Initialized) {
- this._event = event;
- }
-
- get version(): i32 {
- return this._event.parameters[0].value.toI32();
- }
-}
-
-export class OwnershipTransferred extends ethereum.Event {
- get params(): OwnershipTransferred__Params {
- return new OwnershipTransferred__Params(this);
- }
-}
-
-export class OwnershipTransferred__Params {
- _event: OwnershipTransferred;
-
- constructor(event: OwnershipTransferred) {
- this._event = event;
- }
-
- get previousOwner(): Address {
- return this._event.parameters[0].value.toAddress();
- }
-
- get newOwner(): Address {
- return this._event.parameters[1].value.toAddress();
- }
-}
-
-export class RequestFrequencyExceeded extends ethereum.Event {
- get params(): RequestFrequencyExceeded__Params {
- return new RequestFrequencyExceeded__Params(this);
- }
-}
-
-export class RequestFrequencyExceeded__Params {
- _event: RequestFrequencyExceeded;
-
- constructor(event: RequestFrequencyExceeded) {
- this._event = event;
- }
-
- get requester(): Address {
- return this._event.parameters[0].value.toAddress();
- }
-
- get minPeriod(): BigInt {
- return this._event.parameters[1].value.toBigInt();
- }
-}
-
-export class RequestLimitExceeded extends ethereum.Event {
- get params(): RequestLimitExceeded__Params {
- return new RequestLimitExceeded__Params(this);
- }
-}
-
-export class RequestLimitExceeded__Params {
- _event: RequestLimitExceeded;
-
- constructor(event: RequestLimitExceeded) {
- this._event = event;
- }
-
- get requester(): Address {
- return this._event.parameters[0].value.toAddress();
- }
-
- get amount(): BigInt {
- return this._event.parameters[1].value.toBigInt();
- }
-
- get maxAmount(): BigInt {
- return this._event.parameters[2].value.toBigInt();
- }
-}
-
-export class Dispenser extends ethereum.SmartContract {
- static bind(address: Address): Dispenser {
- return new Dispenser("Dispenser", address);
- }
-
- owner(): Address {
- let result = super.call("owner", "owner():(address)", []);
-
- return result[0].toAddress();
- }
-
- try_owner(): ethereum.CallResult
{
- let result = super.tryCall("owner", "owner():(address)", []);
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toAddress());
- }
-
- requestTokens(amount: BigInt): boolean {
- let result = super.call("requestTokens", "requestTokens(uint256):(bool)", [
- ethereum.Value.fromUnsignedBigInt(amount)
- ]);
-
- return result[0].toBoolean();
- }
-
- try_requestTokens(amount: BigInt): ethereum.CallResult {
- let result = super.tryCall(
- "requestTokens",
- "requestTokens(uint256):(bool)",
- [ethereum.Value.fromUnsignedBigInt(amount)]
- );
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toBoolean());
- }
-
- token(): Address {
- let result = super.call("token", "token():(address)", []);
-
- return result[0].toAddress();
- }
-
- try_token(): ethereum.CallResult {
- let result = super.tryCall("token", "token():(address)", []);
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toAddress());
- }
-}
-
-export class InitializeCall extends ethereum.Call {
- get inputs(): InitializeCall__Inputs {
- return new InitializeCall__Inputs(this);
- }
-
- get outputs(): InitializeCall__Outputs {
- return new InitializeCall__Outputs(this);
- }
-}
-
-export class InitializeCall__Inputs {
- _call: InitializeCall;
-
- constructor(call: InitializeCall) {
- this._call = call;
- }
-
- get _tokenAddress(): Address {
- return this._call.inputValues[0].value.toAddress();
- }
-
- get _owner(): Address {
- return this._call.inputValues[1].value.toAddress();
- }
-}
-
-export class InitializeCall__Outputs {
- _call: InitializeCall;
-
- constructor(call: InitializeCall) {
- this._call = call;
- }
-}
-
-export class RenounceOwnershipCall extends ethereum.Call {
- get inputs(): RenounceOwnershipCall__Inputs {
- return new RenounceOwnershipCall__Inputs(this);
- }
-
- get outputs(): RenounceOwnershipCall__Outputs {
- return new RenounceOwnershipCall__Outputs(this);
- }
-}
-
-export class RenounceOwnershipCall__Inputs {
- _call: RenounceOwnershipCall;
-
- constructor(call: RenounceOwnershipCall) {
- this._call = call;
- }
-}
-
-export class RenounceOwnershipCall__Outputs {
- _call: RenounceOwnershipCall;
-
- constructor(call: RenounceOwnershipCall) {
- this._call = call;
- }
-}
-
-export class RequestTokensCall extends ethereum.Call {
- get inputs(): RequestTokensCall__Inputs {
- return new RequestTokensCall__Inputs(this);
- }
-
- get outputs(): RequestTokensCall__Outputs {
- return new RequestTokensCall__Outputs(this);
- }
-}
-
-export class RequestTokensCall__Inputs {
- _call: RequestTokensCall;
-
- constructor(call: RequestTokensCall) {
- this._call = call;
- }
-
- get amount(): BigInt {
- return this._call.inputValues[0].value.toBigInt();
- }
-}
-
-export class RequestTokensCall__Outputs {
- _call: RequestTokensCall;
-
- constructor(call: RequestTokensCall) {
- this._call = call;
- }
-
- get tokensTransferred(): boolean {
- return this._call.outputValues[0].value.toBoolean();
- }
-}
-
-export class SetMaxAmountCall extends ethereum.Call {
- get inputs(): SetMaxAmountCall__Inputs {
- return new SetMaxAmountCall__Inputs(this);
- }
-
- get outputs(): SetMaxAmountCall__Outputs {
- return new SetMaxAmountCall__Outputs(this);
- }
-}
-
-export class SetMaxAmountCall__Inputs {
- _call: SetMaxAmountCall;
-
- constructor(call: SetMaxAmountCall) {
- this._call = call;
- }
-
- get amount(): BigInt {
- return this._call.inputValues[0].value.toBigInt();
- }
-}
-
-export class SetMaxAmountCall__Outputs {
- _call: SetMaxAmountCall;
-
- constructor(call: SetMaxAmountCall) {
- this._call = call;
- }
-}
-
-export class SetMaxMintAmountCall extends ethereum.Call {
- get inputs(): SetMaxMintAmountCall__Inputs {
- return new SetMaxMintAmountCall__Inputs(this);
- }
-
- get outputs(): SetMaxMintAmountCall__Outputs {
- return new SetMaxMintAmountCall__Outputs(this);
- }
-}
-
-export class SetMaxMintAmountCall__Inputs {
- _call: SetMaxMintAmountCall;
-
- constructor(call: SetMaxMintAmountCall) {
- this._call = call;
- }
-
- get amount(): BigInt {
- return this._call.inputValues[0].value.toBigInt();
- }
-}
-
-export class SetMaxMintAmountCall__Outputs {
- _call: SetMaxMintAmountCall;
-
- constructor(call: SetMaxMintAmountCall) {
- this._call = call;
- }
-}
-
-export class SetMinPeriodCall extends ethereum.Call {
- get inputs(): SetMinPeriodCall__Inputs {
- return new SetMinPeriodCall__Inputs(this);
- }
-
- get outputs(): SetMinPeriodCall__Outputs {
- return new SetMinPeriodCall__Outputs(this);
- }
-}
-
-export class SetMinPeriodCall__Inputs {
- _call: SetMinPeriodCall;
-
- constructor(call: SetMinPeriodCall) {
- this._call = call;
- }
-
- get period(): BigInt {
- return this._call.inputValues[0].value.toBigInt();
- }
-}
-
-export class SetMinPeriodCall__Outputs {
- _call: SetMinPeriodCall;
-
- constructor(call: SetMinPeriodCall) {
- this._call = call;
- }
-}
-
-export class TransferOwnershipCall extends ethereum.Call {
- get inputs(): TransferOwnershipCall__Inputs {
- return new TransferOwnershipCall__Inputs(this);
- }
-
- get outputs(): TransferOwnershipCall__Outputs {
- return new TransferOwnershipCall__Outputs(this);
- }
-}
-
-export class TransferOwnershipCall__Inputs {
- _call: TransferOwnershipCall;
-
- constructor(call: TransferOwnershipCall) {
- this._call = call;
- }
-
- get newOwner(): Address {
- return this._call.inputValues[0].value.toAddress();
- }
-}
-
-export class TransferOwnershipCall__Outputs {
- _call: TransferOwnershipCall;
-
- constructor(call: TransferOwnershipCall) {
- this._call = call;
- }
-}
diff --git a/subgraphs/Dispenser/generated/schema.ts b/subgraphs/Dispenser/generated/schema.ts
deleted file mode 100644
index f4e8659..0000000
--- a/subgraphs/Dispenser/generated/schema.ts
+++ /dev/null
@@ -1,235 +0,0 @@
-// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
-
-import {
- TypedMap,
- Entity,
- Value,
- ValueKind,
- store,
- Bytes,
- BigInt,
- BigDecimal
-} from "@graphprotocol/graph-ts";
-
-export class Initialized extends Entity {
- constructor(id: string) {
- super();
- this.set("id", Value.fromString(id));
- }
-
- save(): void {
- let id = this.get("id");
- assert(id != null, "Cannot save Initialized entity without an ID");
- if (id) {
- assert(
- id.kind == ValueKind.STRING,
- "Cannot save Initialized entity with non-string ID. " +
- 'Considering using .toHex() to convert the "id" to a string.'
- );
- store.set("Initialized", id.toString(), this);
- }
- }
-
- static load(id: string): Initialized | null {
- return changetype(store.get("Initialized", id));
- }
-
- get id(): string {
- let value = this.get("id");
- return value!.toString();
- }
-
- set id(value: string) {
- this.set("id", Value.fromString(value));
- }
-
- get version(): i32 {
- let value = this.get("version");
- return value!.toI32();
- }
-
- set version(value: i32) {
- this.set("version", Value.fromI32(value));
- }
-}
-
-export class OwnershipTransferred extends Entity {
- constructor(id: string) {
- super();
- this.set("id", Value.fromString(id));
-
- this.set("previousOwner", Value.fromBytes(Bytes.empty()));
- this.set("newOwner", Value.fromBytes(Bytes.empty()));
- }
-
- save(): void {
- let id = this.get("id");
- assert(id != null, "Cannot save OwnershipTransferred entity without an ID");
- if (id) {
- assert(
- id.kind == ValueKind.STRING,
- "Cannot save OwnershipTransferred entity with non-string ID. " +
- 'Considering using .toHex() to convert the "id" to a string.'
- );
- store.set("OwnershipTransferred", id.toString(), this);
- }
- }
-
- static load(id: string): OwnershipTransferred | null {
- return changetype(
- store.get("OwnershipTransferred", id)
- );
- }
-
- get id(): string {
- let value = this.get("id");
- return value!.toString();
- }
-
- set id(value: string) {
- this.set("id", Value.fromString(value));
- }
-
- get previousOwner(): Bytes {
- let value = this.get("previousOwner");
- return value!.toBytes();
- }
-
- set previousOwner(value: Bytes) {
- this.set("previousOwner", Value.fromBytes(value));
- }
-
- get newOwner(): Bytes {
- let value = this.get("newOwner");
- return value!.toBytes();
- }
-
- set newOwner(value: Bytes) {
- this.set("newOwner", Value.fromBytes(value));
- }
-}
-
-export class RequestFrequencyExceeded extends Entity {
- constructor(id: string) {
- super();
- this.set("id", Value.fromString(id));
-
- this.set("requester", Value.fromBytes(Bytes.empty()));
- this.set("minPeriod", Value.fromBigInt(BigInt.zero()));
- }
-
- save(): void {
- let id = this.get("id");
- assert(
- id != null,
- "Cannot save RequestFrequencyExceeded entity without an ID"
- );
- if (id) {
- assert(
- id.kind == ValueKind.STRING,
- "Cannot save RequestFrequencyExceeded entity with non-string ID. " +
- 'Considering using .toHex() to convert the "id" to a string.'
- );
- store.set("RequestFrequencyExceeded", id.toString(), this);
- }
- }
-
- static load(id: string): RequestFrequencyExceeded | null {
- return changetype(
- store.get("RequestFrequencyExceeded", id)
- );
- }
-
- get id(): string {
- let value = this.get("id");
- return value!.toString();
- }
-
- set id(value: string) {
- this.set("id", Value.fromString(value));
- }
-
- get requester(): Bytes {
- let value = this.get("requester");
- return value!.toBytes();
- }
-
- set requester(value: Bytes) {
- this.set("requester", Value.fromBytes(value));
- }
-
- get minPeriod(): BigInt {
- let value = this.get("minPeriod");
- return value!.toBigInt();
- }
-
- set minPeriod(value: BigInt) {
- this.set("minPeriod", Value.fromBigInt(value));
- }
-}
-
-export class RequestLimitExceeded extends Entity {
- constructor(id: string) {
- super();
- this.set("id", Value.fromString(id));
-
- this.set("requester", Value.fromBytes(Bytes.empty()));
- this.set("amount", Value.fromBigInt(BigInt.zero()));
- this.set("maxAmount", Value.fromBigInt(BigInt.zero()));
- }
-
- save(): void {
- let id = this.get("id");
- assert(id != null, "Cannot save RequestLimitExceeded entity without an ID");
- if (id) {
- assert(
- id.kind == ValueKind.STRING,
- "Cannot save RequestLimitExceeded entity with non-string ID. " +
- 'Considering using .toHex() to convert the "id" to a string.'
- );
- store.set("RequestLimitExceeded", id.toString(), this);
- }
- }
-
- static load(id: string): RequestLimitExceeded | null {
- return changetype(
- store.get("RequestLimitExceeded", id)
- );
- }
-
- get id(): string {
- let value = this.get("id");
- return value!.toString();
- }
-
- set id(value: string) {
- this.set("id", Value.fromString(value));
- }
-
- get requester(): Bytes {
- let value = this.get("requester");
- return value!.toBytes();
- }
-
- set requester(value: Bytes) {
- this.set("requester", Value.fromBytes(value));
- }
-
- get amount(): BigInt {
- let value = this.get("amount");
- return value!.toBigInt();
- }
-
- set amount(value: BigInt) {
- this.set("amount", Value.fromBigInt(value));
- }
-
- get maxAmount(): BigInt {
- let value = this.get("maxAmount");
- return value!.toBigInt();
- }
-
- set maxAmount(value: BigInt) {
- this.set("maxAmount", Value.fromBigInt(value));
- }
-}
diff --git a/subgraphs/Dispenser/package.json b/subgraphs/Dispenser/package.json
deleted file mode 100644
index 4ba01e2..0000000
--- a/subgraphs/Dispenser/package.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "name": "Dispenser",
- "license": "UNLICENSED",
- "scripts": {
- "codegen": "graph codegen",
- "build": "graph build",
- "deploy": "graph deploy --node undefined neverminedio/Dispenser",
- "create-local": "graph create --node http://localhost:8020/ neverminedio/Dispenser",
- "remove-local": "graph remove --node http://localhost:8020/ neverminedio/Dispenser",
- "deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 neverminedio/Dispenser"
- },
- "dependencies": {
- "@nevermined-io/graph-cli": "0.30.4",
- "@graphprotocol/graph-ts": "0.24.1"
- }
-}
diff --git a/subgraphs/Dispenser/schema.graphql b/subgraphs/Dispenser/schema.graphql
deleted file mode 100644
index 9b9ffa4..0000000
--- a/subgraphs/Dispenser/schema.graphql
+++ /dev/null
@@ -1,23 +0,0 @@
-type Initialized @entity {
- id: ID!
- version: Int! # uint8
-}
-
-type OwnershipTransferred @entity {
- id: ID!
- previousOwner: Bytes! # address
- newOwner: Bytes! # address
-}
-
-type RequestFrequencyExceeded @entity {
- id: ID!
- requester: Bytes! # address
- minPeriod: BigInt! # uint256
-}
-
-type RequestLimitExceeded @entity {
- id: ID!
- requester: Bytes! # address
- amount: BigInt! # uint256
- maxAmount: BigInt! # uint256
-}
diff --git a/subgraphs/Dispenser/src/mapping.ts b/subgraphs/Dispenser/src/mapping.ts
deleted file mode 100644
index f008992..0000000
--- a/subgraphs/Dispenser/src/mapping.ts
+++ /dev/null
@@ -1,54 +0,0 @@
-import {
- Initialized as InitializedEvent,
- OwnershipTransferred as OwnershipTransferredEvent,
- RequestFrequencyExceeded as RequestFrequencyExceededEvent,
- RequestLimitExceeded as RequestLimitExceededEvent
-} from "../generated/Dispenser/Dispenser"
-import {
- Initialized,
- OwnershipTransferred,
- RequestFrequencyExceeded,
- RequestLimitExceeded
-} from "../generated/schema"
-
-export function handleInitialized(event: InitializedEvent): void {
- let entity = new Initialized(
- event.transaction.hash.toHex() + "-" + event.logIndex.toString()
- )
- entity.version = event.params.version
- entity.save()
-}
-
-export function handleOwnershipTransferred(
- event: OwnershipTransferredEvent
-): void {
- let entity = new OwnershipTransferred(
- event.transaction.hash.toHex() + "-" + event.logIndex.toString()
- )
- entity.previousOwner = event.params.previousOwner
- entity.newOwner = event.params.newOwner
- entity.save()
-}
-
-export function handleRequestFrequencyExceeded(
- event: RequestFrequencyExceededEvent
-): void {
- let entity = new RequestFrequencyExceeded(
- event.transaction.hash.toHex() + "-" + event.logIndex.toString()
- )
- entity.requester = event.params.requester
- entity.minPeriod = event.params.minPeriod
- entity.save()
-}
-
-export function handleRequestLimitExceeded(
- event: RequestLimitExceededEvent
-): void {
- let entity = new RequestLimitExceeded(
- event.transaction.hash.toHex() + "-" + event.logIndex.toString()
- )
- entity.requester = event.params.requester
- entity.amount = event.params.amount
- entity.maxAmount = event.params.maxAmount
- entity.save()
-}
diff --git a/subgraphs/Dispenser/subgraph.yaml b/subgraphs/Dispenser/subgraph.yaml
deleted file mode 100644
index 41bdb1b..0000000
--- a/subgraphs/Dispenser/subgraph.yaml
+++ /dev/null
@@ -1,33 +0,0 @@
-specVersion: 0.0.2
-schema:
- file: ./schema.graphql
-dataSources:
- - kind: ethereum
- name: Dispenser
- network: spree
- source:
- address: "0xB4e92c6e1a1ad3f7b42463d11804BE6ca2be79D3"
- abi: Dispenser
- startBlock: 10
- mapping:
- kind: ethereum/events
- apiVersion: 0.0.5
- language: wasm/assemblyscript
- entities:
- - Initialized
- - OwnershipTransferred
- - RequestFrequencyExceeded
- - RequestLimitExceeded
- abis:
- - name: Dispenser
- file: ./abis/Dispenser.json
- eventHandlers:
- - event: Initialized(uint8)
- handler: handleInitialized
- - event: OwnershipTransferred(indexed address,indexed address)
- handler: handleOwnershipTransferred
- - event: RequestFrequencyExceeded(indexed address,uint256)
- handler: handleRequestFrequencyExceeded
- - event: RequestLimitExceeded(indexed address,uint256,uint256)
- handler: handleRequestLimitExceeded
- file: ./src/mapping.ts
diff --git a/subgraphs/Dispenser/tsconfig.json b/subgraphs/Dispenser/tsconfig.json
deleted file mode 100644
index 5c5d17c..0000000
--- a/subgraphs/Dispenser/tsconfig.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "extends": "@graphprotocol/graph-ts/types/tsconfig.base.json",
- "include": ["src"]
-}
diff --git a/subgraphs/DistributeNFTCollateralCondition/subgraph.yaml b/subgraphs/DistributeNFTCollateralCondition/subgraph.yaml
index 36af6e9..e461f63 100644
--- a/subgraphs/DistributeNFTCollateralCondition/subgraph.yaml
+++ b/subgraphs/DistributeNFTCollateralCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: DistributeNFTCollateralCondition
- network: spree
+ network: hyperspace
source:
- address: "0x51b06dc27E773aC14227EEAE5E7F28558d589681"
+ address: "0x0f67F0c1813B7Bda70fB25Fa10779A021337c037"
abi: DistributeNFTCollateralCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/EscrowComputeExecutionTemplate/subgraph.yaml b/subgraphs/EscrowComputeExecutionTemplate/subgraph.yaml
index 94cf4f4..48edbd2 100644
--- a/subgraphs/EscrowComputeExecutionTemplate/subgraph.yaml
+++ b/subgraphs/EscrowComputeExecutionTemplate/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: EscrowComputeExecutionTemplate
- network: spree
+ network: hyperspace
source:
- address: "0x6d21f91932b998fE62B3cc4d883e6aab589Af56b"
+ address: "0x8c887CfCeF54e7B6fCcB86F355a5eA684EA2fdf2"
abi: EscrowComputeExecutionTemplate
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/EscrowPaymentCondition/subgraph.yaml b/subgraphs/EscrowPaymentCondition/subgraph.yaml
index 0fe5d1b..610f169 100644
--- a/subgraphs/EscrowPaymentCondition/subgraph.yaml
+++ b/subgraphs/EscrowPaymentCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: EscrowPaymentCondition
- network: spree
+ network: hyperspace
source:
- address: "0x2a5200c8F358AA317Fbde8Db74baf7f0618F00D5"
+ address: "0x949A54E60A144ED24c618a3A9074a0B7e6861e38"
abi: EscrowPaymentCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/HashLockCondition/subgraph.yaml b/subgraphs/HashLockCondition/subgraph.yaml
index 011c1fb..005a6c6 100644
--- a/subgraphs/HashLockCondition/subgraph.yaml
+++ b/subgraphs/HashLockCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: HashLockCondition
- network: spree
+ network: hyperspace
source:
- address: "0x8A3468746753001fad0811F369938ddac1a504Bb"
+ address: "0xAeaA5AC28d0C76634D86c9f27859F8C29d728DA2"
abi: HashLockCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/LockPaymentCondition/subgraph.yaml b/subgraphs/LockPaymentCondition/subgraph.yaml
index 3bbd49d..1d329d7 100644
--- a/subgraphs/LockPaymentCondition/subgraph.yaml
+++ b/subgraphs/LockPaymentCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: LockPaymentCondition
- network: spree
+ network: hyperspace
source:
- address: "0x3B4e74e8817e51134AB401605c4280Ba5D90b3FC"
+ address: "0x92A55BcC5887c67C9d25D816Cdc98FFf3A266530"
abi: LockPaymentCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFT1155Upgradeable/subgraph.yaml b/subgraphs/NFT1155Upgradeable/subgraph.yaml
index 0a3542a..4726135 100644
--- a/subgraphs/NFT1155Upgradeable/subgraph.yaml
+++ b/subgraphs/NFT1155Upgradeable/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFT1155Upgradeable
- network: spree
+ network: hyperspace
source:
- address: "0xe6A3980DaF4060e4b7e98Fa0AEf156B5cd6cD99E"
+ address: "0x23B276c4A9f152DE0Ef5Ddfd8d138F5C5947a2f0"
abi: NFT1155Upgradeable
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFT721AccessProofTemplate/subgraph.yaml b/subgraphs/NFT721AccessProofTemplate/subgraph.yaml
index 9fc33c7..0ecede9 100644
--- a/subgraphs/NFT721AccessProofTemplate/subgraph.yaml
+++ b/subgraphs/NFT721AccessProofTemplate/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFT721AccessProofTemplate
- network: spree
+ network: hyperspace
source:
- address: "0x10506Ba5C7a0e215d0487B3e93bdCFa4F463ed91"
+ address: "0x4819dE2e39dF1f05d9504Fc6f91F423e704e780D"
abi: NFT721AccessProofTemplate
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFT721AccessSwapTemplate/subgraph.yaml b/subgraphs/NFT721AccessSwapTemplate/subgraph.yaml
index 69ab102..aeaa943 100644
--- a/subgraphs/NFT721AccessSwapTemplate/subgraph.yaml
+++ b/subgraphs/NFT721AccessSwapTemplate/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFT721AccessSwapTemplate
- network: spree
+ network: hyperspace
source:
- address: "0x4DD4c877B347a29298CAc72AD2d041B18d5b34D3"
+ address: "0xb6cEb478C39bB79C097E3D1Cf55f1cEC5a585925"
abi: NFT721AccessSwapTemplate
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFT721AccessTemplate/subgraph.yaml b/subgraphs/NFT721AccessTemplate/subgraph.yaml
index 7849421..1cc1aaa 100644
--- a/subgraphs/NFT721AccessTemplate/subgraph.yaml
+++ b/subgraphs/NFT721AccessTemplate/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFT721AccessTemplate
- network: spree
+ network: hyperspace
source:
- address: "0x68E3f759325B64705474e89A966569a6c11533F8"
+ address: "0xCB8bC3F6d636E63d7bd300b9F1e32F51c129bD46"
abi: NFT721AccessTemplate
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFT721EscrowPaymentCondition/subgraph.yaml b/subgraphs/NFT721EscrowPaymentCondition/subgraph.yaml
index 813b164..3fbe85c 100644
--- a/subgraphs/NFT721EscrowPaymentCondition/subgraph.yaml
+++ b/subgraphs/NFT721EscrowPaymentCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFT721EscrowPaymentCondition
- network: spree
+ network: hyperspace
source:
- address: "0x8c78125bA3fC5bE80c96d802e8800f4de2137047"
+ address: "0x9871b89e2B1e85259F183eB2F9515eE6b76eC6C1"
abi: NFT721EscrowPaymentCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFT721HolderCondition/subgraph.yaml b/subgraphs/NFT721HolderCondition/subgraph.yaml
index 940be77..8cba5b0 100644
--- a/subgraphs/NFT721HolderCondition/subgraph.yaml
+++ b/subgraphs/NFT721HolderCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFT721HolderCondition
- network: spree
+ network: hyperspace
source:
- address: "0x7c6B4dd1B095386aeaD6e09502F5bcDB73E6aa8f"
+ address: "0xF624A61652995aaEd648b21F1346f22b2D01702A"
abi: NFT721HolderCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFT721LockCondition/subgraph.yaml b/subgraphs/NFT721LockCondition/subgraph.yaml
index 1e376ff..2a24615 100644
--- a/subgraphs/NFT721LockCondition/subgraph.yaml
+++ b/subgraphs/NFT721LockCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFT721LockCondition
- network: spree
+ network: hyperspace
source:
- address: "0xC5E55dc50bfAf7116F50601802527F3B0807d535"
+ address: "0xA50E506f3F5f34D6D2f0E80A65F4e2abab1C6e5A"
abi: NFT721LockCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFT721SalesTemplate/subgraph.yaml b/subgraphs/NFT721SalesTemplate/subgraph.yaml
index 3189fe8..176ae31 100644
--- a/subgraphs/NFT721SalesTemplate/subgraph.yaml
+++ b/subgraphs/NFT721SalesTemplate/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFT721SalesTemplate
- network: spree
+ network: hyperspace
source:
- address: "0x0003E25406C7Bec132EC07319690F3eE0ED420a4"
+ address: "0x0c1358E882884acA9A34c4CfAC7a114999F5e695"
abi: NFT721SalesTemplate
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFT721SalesWithAccessTemplate/subgraph.yaml b/subgraphs/NFT721SalesWithAccessTemplate/subgraph.yaml
index d006038..7c11b04 100644
--- a/subgraphs/NFT721SalesWithAccessTemplate/subgraph.yaml
+++ b/subgraphs/NFT721SalesWithAccessTemplate/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFT721SalesWithAccessTemplate
- network: spree
+ network: hyperspace
source:
- address: "0x15AeDb4FaE1DB4318205059F5af4595bD534AF26"
+ address: "0x0dA883A14b7C0EC09da5cA99B9c71D39121166C0"
abi: NFT721SalesWithAccessTemplate
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFT721Upgradeable/subgraph.yaml b/subgraphs/NFT721Upgradeable/subgraph.yaml
index 4a457c8..74e1a07 100644
--- a/subgraphs/NFT721Upgradeable/subgraph.yaml
+++ b/subgraphs/NFT721Upgradeable/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFT721Upgradeable
- network: spree
+ network: hyperspace
source:
- address: "0x3ebCF78A74741541Fd16459F93dCD99860Ea9ba1"
+ address: "0x569DADC91c67405d75BD2A7f154928003ebC1e02"
abi: NFT721Upgradeable
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFTAccessCondition/subgraph.yaml b/subgraphs/NFTAccessCondition/subgraph.yaml
index 22d54eb..35fbd8d 100644
--- a/subgraphs/NFTAccessCondition/subgraph.yaml
+++ b/subgraphs/NFTAccessCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFTAccessCondition
- network: spree
+ network: hyperspace
source:
- address: "0xAc1D8d71Ed8b449aA02357076F9e6A6624D5471F"
+ address: "0xea4C5696fef2822EC67399CE2D059B1e18480919"
abi: NFTAccessCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFTAccessProofTemplate/subgraph.yaml b/subgraphs/NFTAccessProofTemplate/subgraph.yaml
index c90bf34..5f56c1a 100644
--- a/subgraphs/NFTAccessProofTemplate/subgraph.yaml
+++ b/subgraphs/NFTAccessProofTemplate/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFTAccessProofTemplate
- network: spree
+ network: hyperspace
source:
- address: "0x9ABC3B45B8a1f95dc45Ca4076E1D5485F9CD27a7"
+ address: "0x02516879762C14a06AffB0548B5d388c8277C69e"
abi: NFTAccessProofTemplate
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFTAccessSwapTemplate/subgraph.yaml b/subgraphs/NFTAccessSwapTemplate/subgraph.yaml
index ab5ab51..91c87ad 100644
--- a/subgraphs/NFTAccessSwapTemplate/subgraph.yaml
+++ b/subgraphs/NFTAccessSwapTemplate/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFTAccessSwapTemplate
- network: spree
+ network: hyperspace
source:
- address: "0xA8d8Dd738462eb5c3122Cc456D6330AE414678B1"
+ address: "0x016f42ce8b606C7F8A9A02BD03e4D25F604aDF84"
abi: NFTAccessSwapTemplate
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFTAccessTemplate/subgraph.yaml b/subgraphs/NFTAccessTemplate/subgraph.yaml
index cd94b75..1a4ba80 100644
--- a/subgraphs/NFTAccessTemplate/subgraph.yaml
+++ b/subgraphs/NFTAccessTemplate/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFTAccessTemplate
- network: spree
+ network: hyperspace
source:
- address: "0x99a9F881b4C3b03877d2058D14471ADb69991831"
+ address: "0xaD421B259fB159052D02650C341E03363429e9d1"
abi: NFTAccessTemplate
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFTEscrowPaymentCondition/subgraph.yaml b/subgraphs/NFTEscrowPaymentCondition/subgraph.yaml
index f43c6c6..0a062f1 100644
--- a/subgraphs/NFTEscrowPaymentCondition/subgraph.yaml
+++ b/subgraphs/NFTEscrowPaymentCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFTEscrowPaymentCondition
- network: spree
+ network: hyperspace
source:
- address: "0x1bad507833adF7aCb32c428e4721d2A110739e62"
+ address: "0x5B5d6Eb485F0D6194E6878D41035E245e0A17955"
abi: NFTEscrowPaymentCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFTHolderCondition/subgraph.yaml b/subgraphs/NFTHolderCondition/subgraph.yaml
index 5bb5eb2..32400e8 100644
--- a/subgraphs/NFTHolderCondition/subgraph.yaml
+++ b/subgraphs/NFTHolderCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFTHolderCondition
- network: spree
+ network: hyperspace
source:
- address: "0xdAc3A1f400Cb0939C8e2caeF9136a66B8Ba5249c"
+ address: "0x5AAc46cC55875B0b25dcc9E3591293CEfF9c174D"
abi: NFTHolderCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFTLockCondition/subgraph.yaml b/subgraphs/NFTLockCondition/subgraph.yaml
index 70e3c5a..e9e3bc1 100644
--- a/subgraphs/NFTLockCondition/subgraph.yaml
+++ b/subgraphs/NFTLockCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFTLockCondition
- network: spree
+ network: hyperspace
source:
- address: "0xB2d76922fc2B9e579Ed83BC47FDD15e1AE71591b"
+ address: "0xC1FDb35Fb711D31aDe51382b9EcE12C9290e0997"
abi: NFTLockCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFTSalesTemplate/subgraph.yaml b/subgraphs/NFTSalesTemplate/subgraph.yaml
index 108ddb6..9afd2ac 100644
--- a/subgraphs/NFTSalesTemplate/subgraph.yaml
+++ b/subgraphs/NFTSalesTemplate/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFTSalesTemplate
- network: spree
+ network: hyperspace
source:
- address: "0x8286B22CE970831C2da158674e498F99802e0C48"
+ address: "0x45BA2e44a4F9f84de6fce958B1004d68D7016F67"
abi: NFTSalesTemplate
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NFTSalesWithAccessTemplate/subgraph.yaml b/subgraphs/NFTSalesWithAccessTemplate/subgraph.yaml
index 9a92cc8..51f0787 100644
--- a/subgraphs/NFTSalesWithAccessTemplate/subgraph.yaml
+++ b/subgraphs/NFTSalesWithAccessTemplate/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NFTSalesWithAccessTemplate
- network: spree
+ network: hyperspace
source:
- address: "0xF02147853093CF7e643024F302a32836747C766E"
+ address: "0x740829C4EDbF84B3F5213FC9434b4246799Ee480"
abi: NFTSalesWithAccessTemplate
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NeverminedConfig/subgraph.yaml b/subgraphs/NeverminedConfig/subgraph.yaml
index 3fd49c3..250b308 100644
--- a/subgraphs/NeverminedConfig/subgraph.yaml
+++ b/subgraphs/NeverminedConfig/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NeverminedConfig
- network: spree
+ network: hyperspace
source:
- address: "0x61b8391902eB75D679F02E21bcBFffF6f0FA2416"
+ address: "0xE7Cb58D2a076235F12948986Ee4a4ed9aC54Cb16"
abi: NeverminedConfig
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/NeverminedToken/abis/NeverminedToken.json b/subgraphs/NeverminedToken/abis/NeverminedToken.json
deleted file mode 100644
index 330a558..0000000
--- a/subgraphs/NeverminedToken/abis/NeverminedToken.json
+++ /dev/null
@@ -1,404 +0,0 @@
-[
- {
- "anonymous": false,
- "inputs": [
- {
- "indexed": true,
- "internalType": "address",
- "name": "owner",
- "type": "address"
- },
- {
- "indexed": true,
- "internalType": "address",
- "name": "spender",
- "type": "address"
- },
- {
- "indexed": false,
- "internalType": "uint256",
- "name": "value",
- "type": "uint256"
- }
- ],
- "name": "Approval",
- "type": "event"
- },
- {
- "anonymous": false,
- "inputs": [
- {
- "indexed": false,
- "internalType": "uint8",
- "name": "version",
- "type": "uint8"
- }
- ],
- "name": "Initialized",
- "type": "event"
- },
- {
- "anonymous": false,
- "inputs": [
- {
- "indexed": true,
- "internalType": "address",
- "name": "previousOwner",
- "type": "address"
- },
- {
- "indexed": true,
- "internalType": "address",
- "name": "newOwner",
- "type": "address"
- }
- ],
- "name": "OwnershipTransferred",
- "type": "event"
- },
- {
- "anonymous": false,
- "inputs": [
- {
- "indexed": true,
- "internalType": "bytes32",
- "name": "role",
- "type": "bytes32"
- },
- {
- "indexed": true,
- "internalType": "bytes32",
- "name": "previousAdminRole",
- "type": "bytes32"
- },
- {
- "indexed": true,
- "internalType": "bytes32",
- "name": "newAdminRole",
- "type": "bytes32"
- }
- ],
- "name": "RoleAdminChanged",
- "type": "event"
- },
- {
- "anonymous": false,
- "inputs": [
- {
- "indexed": true,
- "internalType": "bytes32",
- "name": "role",
- "type": "bytes32"
- },
- {
- "indexed": true,
- "internalType": "address",
- "name": "account",
- "type": "address"
- },
- {
- "indexed": true,
- "internalType": "address",
- "name": "sender",
- "type": "address"
- }
- ],
- "name": "RoleGranted",
- "type": "event"
- },
- {
- "anonymous": false,
- "inputs": [
- {
- "indexed": true,
- "internalType": "bytes32",
- "name": "role",
- "type": "bytes32"
- },
- {
- "indexed": true,
- "internalType": "address",
- "name": "account",
- "type": "address"
- },
- {
- "indexed": true,
- "internalType": "address",
- "name": "sender",
- "type": "address"
- }
- ],
- "name": "RoleRevoked",
- "type": "event"
- },
- {
- "anonymous": false,
- "inputs": [
- {
- "indexed": true,
- "internalType": "address",
- "name": "from",
- "type": "address"
- },
- {
- "indexed": true,
- "internalType": "address",
- "name": "to",
- "type": "address"
- },
- {
- "indexed": false,
- "internalType": "uint256",
- "name": "value",
- "type": "uint256"
- }
- ],
- "name": "Transfer",
- "type": "event"
- },
- {
- "inputs": [],
- "name": "DEFAULT_ADMIN_ROLE",
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
- "stateMutability": "view",
- "type": "function",
- "signature": "0xa217fddf"
- },
- {
- "inputs": [
- { "internalType": "address", "name": "owner", "type": "address" },
- { "internalType": "address", "name": "spender", "type": "address" }
- ],
- "name": "allowance",
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
- "stateMutability": "view",
- "type": "function",
- "signature": "0xdd62ed3e"
- },
- {
- "inputs": [
- { "internalType": "address", "name": "spender", "type": "address" },
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
- ],
- "name": "approve",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0x095ea7b3"
- },
- {
- "inputs": [
- { "internalType": "address", "name": "account", "type": "address" }
- ],
- "name": "balanceOf",
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
- "stateMutability": "view",
- "type": "function",
- "signature": "0x70a08231"
- },
- {
- "inputs": [],
- "name": "cap",
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
- "stateMutability": "view",
- "type": "function",
- "signature": "0x355274ea"
- },
- {
- "inputs": [],
- "name": "decimals",
- "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
- "stateMutability": "view",
- "type": "function",
- "signature": "0x313ce567"
- },
- {
- "inputs": [
- { "internalType": "address", "name": "spender", "type": "address" },
- {
- "internalType": "uint256",
- "name": "subtractedValue",
- "type": "uint256"
- }
- ],
- "name": "decreaseAllowance",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0xa457c2d7"
- },
- {
- "inputs": [
- { "internalType": "bytes32", "name": "role", "type": "bytes32" }
- ],
- "name": "getRoleAdmin",
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
- "stateMutability": "view",
- "type": "function",
- "signature": "0x248a9ca3"
- },
- {
- "inputs": [
- { "internalType": "bytes32", "name": "role", "type": "bytes32" },
- { "internalType": "address", "name": "account", "type": "address" }
- ],
- "name": "grantRole",
- "outputs": [],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0x2f2ff15d"
- },
- {
- "inputs": [
- { "internalType": "bytes32", "name": "role", "type": "bytes32" },
- { "internalType": "address", "name": "account", "type": "address" }
- ],
- "name": "hasRole",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "stateMutability": "view",
- "type": "function",
- "signature": "0x91d14854"
- },
- {
- "inputs": [
- { "internalType": "address", "name": "spender", "type": "address" },
- { "internalType": "uint256", "name": "addedValue", "type": "uint256" }
- ],
- "name": "increaseAllowance",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0x39509351"
- },
- {
- "inputs": [
- { "internalType": "address", "name": "_owner", "type": "address" },
- {
- "internalType": "address payable",
- "name": "_initialMinter",
- "type": "address"
- }
- ],
- "name": "initialize",
- "outputs": [],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0x485cc955"
- },
- {
- "inputs": [
- { "internalType": "address", "name": "account", "type": "address" },
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
- ],
- "name": "mint",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0x40c10f19"
- },
- {
- "inputs": [],
- "name": "name",
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
- "stateMutability": "view",
- "type": "function",
- "signature": "0x06fdde03"
- },
- {
- "inputs": [],
- "name": "owner",
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
- "stateMutability": "view",
- "type": "function",
- "signature": "0x8da5cb5b"
- },
- {
- "inputs": [],
- "name": "renounceOwnership",
- "outputs": [],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0x715018a6"
- },
- {
- "inputs": [
- { "internalType": "bytes32", "name": "role", "type": "bytes32" },
- { "internalType": "address", "name": "account", "type": "address" }
- ],
- "name": "renounceRole",
- "outputs": [],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0x36568abe"
- },
- {
- "inputs": [
- { "internalType": "bytes32", "name": "role", "type": "bytes32" },
- { "internalType": "address", "name": "account", "type": "address" }
- ],
- "name": "revokeRole",
- "outputs": [],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0xd547741f"
- },
- {
- "inputs": [
- { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }
- ],
- "name": "supportsInterface",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "stateMutability": "view",
- "type": "function",
- "signature": "0x01ffc9a7"
- },
- {
- "inputs": [],
- "name": "symbol",
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
- "stateMutability": "view",
- "type": "function",
- "signature": "0x95d89b41"
- },
- {
- "inputs": [],
- "name": "totalSupply",
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
- "stateMutability": "view",
- "type": "function",
- "signature": "0x18160ddd"
- },
- {
- "inputs": [
- { "internalType": "address", "name": "to", "type": "address" },
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
- ],
- "name": "transfer",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0xa9059cbb"
- },
- {
- "inputs": [
- { "internalType": "address", "name": "from", "type": "address" },
- { "internalType": "address", "name": "to", "type": "address" },
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
- ],
- "name": "transferFrom",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0x23b872dd"
- },
- {
- "inputs": [
- { "internalType": "address", "name": "newOwner", "type": "address" }
- ],
- "name": "transferOwnership",
- "outputs": [],
- "stateMutability": "nonpayable",
- "type": "function",
- "signature": "0xf2fde38b"
- }
-]
diff --git a/subgraphs/NeverminedToken/generated/NeverminedToken/NeverminedToken.ts b/subgraphs/NeverminedToken/generated/NeverminedToken/NeverminedToken.ts
deleted file mode 100644
index e6f58ed..0000000
--- a/subgraphs/NeverminedToken/generated/NeverminedToken/NeverminedToken.ts
+++ /dev/null
@@ -1,993 +0,0 @@
-// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
-
-import {
- ethereum,
- JSONValue,
- TypedMap,
- Entity,
- Bytes,
- Address,
- BigInt
-} from "@graphprotocol/graph-ts";
-
-export class Approval extends ethereum.Event {
- get params(): Approval__Params {
- return new Approval__Params(this);
- }
-}
-
-export class Approval__Params {
- _event: Approval;
-
- constructor(event: Approval) {
- this._event = event;
- }
-
- get owner(): Address {
- return this._event.parameters[0].value.toAddress();
- }
-
- get spender(): Address {
- return this._event.parameters[1].value.toAddress();
- }
-
- get value(): BigInt {
- return this._event.parameters[2].value.toBigInt();
- }
-}
-
-export class Initialized extends ethereum.Event {
- get params(): Initialized__Params {
- return new Initialized__Params(this);
- }
-}
-
-export class Initialized__Params {
- _event: Initialized;
-
- constructor(event: Initialized) {
- this._event = event;
- }
-
- get version(): i32 {
- return this._event.parameters[0].value.toI32();
- }
-}
-
-export class OwnershipTransferred extends ethereum.Event {
- get params(): OwnershipTransferred__Params {
- return new OwnershipTransferred__Params(this);
- }
-}
-
-export class OwnershipTransferred__Params {
- _event: OwnershipTransferred;
-
- constructor(event: OwnershipTransferred) {
- this._event = event;
- }
-
- get previousOwner(): Address {
- return this._event.parameters[0].value.toAddress();
- }
-
- get newOwner(): Address {
- return this._event.parameters[1].value.toAddress();
- }
-}
-
-export class RoleAdminChanged extends ethereum.Event {
- get params(): RoleAdminChanged__Params {
- return new RoleAdminChanged__Params(this);
- }
-}
-
-export class RoleAdminChanged__Params {
- _event: RoleAdminChanged;
-
- constructor(event: RoleAdminChanged) {
- this._event = event;
- }
-
- get role(): Bytes {
- return this._event.parameters[0].value.toBytes();
- }
-
- get previousAdminRole(): Bytes {
- return this._event.parameters[1].value.toBytes();
- }
-
- get newAdminRole(): Bytes {
- return this._event.parameters[2].value.toBytes();
- }
-}
-
-export class RoleGranted extends ethereum.Event {
- get params(): RoleGranted__Params {
- return new RoleGranted__Params(this);
- }
-}
-
-export class RoleGranted__Params {
- _event: RoleGranted;
-
- constructor(event: RoleGranted) {
- this._event = event;
- }
-
- get role(): Bytes {
- return this._event.parameters[0].value.toBytes();
- }
-
- get account(): Address {
- return this._event.parameters[1].value.toAddress();
- }
-
- get sender(): Address {
- return this._event.parameters[2].value.toAddress();
- }
-}
-
-export class RoleRevoked extends ethereum.Event {
- get params(): RoleRevoked__Params {
- return new RoleRevoked__Params(this);
- }
-}
-
-export class RoleRevoked__Params {
- _event: RoleRevoked;
-
- constructor(event: RoleRevoked) {
- this._event = event;
- }
-
- get role(): Bytes {
- return this._event.parameters[0].value.toBytes();
- }
-
- get account(): Address {
- return this._event.parameters[1].value.toAddress();
- }
-
- get sender(): Address {
- return this._event.parameters[2].value.toAddress();
- }
-}
-
-export class Transfer extends ethereum.Event {
- get params(): Transfer__Params {
- return new Transfer__Params(this);
- }
-}
-
-export class Transfer__Params {
- _event: Transfer;
-
- constructor(event: Transfer) {
- this._event = event;
- }
-
- get from(): Address {
- return this._event.parameters[0].value.toAddress();
- }
-
- get to(): Address {
- return this._event.parameters[1].value.toAddress();
- }
-
- get value(): BigInt {
- return this._event.parameters[2].value.toBigInt();
- }
-}
-
-export class NeverminedToken extends ethereum.SmartContract {
- static bind(address: Address): NeverminedToken {
- return new NeverminedToken("NeverminedToken", address);
- }
-
- DEFAULT_ADMIN_ROLE(): Bytes {
- let result = super.call(
- "DEFAULT_ADMIN_ROLE",
- "DEFAULT_ADMIN_ROLE():(bytes32)",
- []
- );
-
- return result[0].toBytes();
- }
-
- try_DEFAULT_ADMIN_ROLE(): ethereum.CallResult {
- let result = super.tryCall(
- "DEFAULT_ADMIN_ROLE",
- "DEFAULT_ADMIN_ROLE():(bytes32)",
- []
- );
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toBytes());
- }
-
- allowance(owner: Address, spender: Address): BigInt {
- let result = super.call(
- "allowance",
- "allowance(address,address):(uint256)",
- [ethereum.Value.fromAddress(owner), ethereum.Value.fromAddress(spender)]
- );
-
- return result[0].toBigInt();
- }
-
- try_allowance(owner: Address, spender: Address): ethereum.CallResult {
- let result = super.tryCall(
- "allowance",
- "allowance(address,address):(uint256)",
- [ethereum.Value.fromAddress(owner), ethereum.Value.fromAddress(spender)]
- );
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toBigInt());
- }
-
- approve(spender: Address, amount: BigInt): boolean {
- let result = super.call("approve", "approve(address,uint256):(bool)", [
- ethereum.Value.fromAddress(spender),
- ethereum.Value.fromUnsignedBigInt(amount)
- ]);
-
- return result[0].toBoolean();
- }
-
- try_approve(spender: Address, amount: BigInt): ethereum.CallResult {
- let result = super.tryCall("approve", "approve(address,uint256):(bool)", [
- ethereum.Value.fromAddress(spender),
- ethereum.Value.fromUnsignedBigInt(amount)
- ]);
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toBoolean());
- }
-
- balanceOf(account: Address): BigInt {
- let result = super.call("balanceOf", "balanceOf(address):(uint256)", [
- ethereum.Value.fromAddress(account)
- ]);
-
- return result[0].toBigInt();
- }
-
- try_balanceOf(account: Address): ethereum.CallResult {
- let result = super.tryCall("balanceOf", "balanceOf(address):(uint256)", [
- ethereum.Value.fromAddress(account)
- ]);
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toBigInt());
- }
-
- cap(): BigInt {
- let result = super.call("cap", "cap():(uint256)", []);
-
- return result[0].toBigInt();
- }
-
- try_cap(): ethereum.CallResult {
- let result = super.tryCall("cap", "cap():(uint256)", []);
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toBigInt());
- }
-
- decimals(): i32 {
- let result = super.call("decimals", "decimals():(uint8)", []);
-
- return result[0].toI32();
- }
-
- try_decimals(): ethereum.CallResult {
- let result = super.tryCall("decimals", "decimals():(uint8)", []);
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toI32());
- }
-
- decreaseAllowance(spender: Address, subtractedValue: BigInt): boolean {
- let result = super.call(
- "decreaseAllowance",
- "decreaseAllowance(address,uint256):(bool)",
- [
- ethereum.Value.fromAddress(spender),
- ethereum.Value.fromUnsignedBigInt(subtractedValue)
- ]
- );
-
- return result[0].toBoolean();
- }
-
- try_decreaseAllowance(
- spender: Address,
- subtractedValue: BigInt
- ): ethereum.CallResult {
- let result = super.tryCall(
- "decreaseAllowance",
- "decreaseAllowance(address,uint256):(bool)",
- [
- ethereum.Value.fromAddress(spender),
- ethereum.Value.fromUnsignedBigInt(subtractedValue)
- ]
- );
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toBoolean());
- }
-
- getRoleAdmin(role: Bytes): Bytes {
- let result = super.call("getRoleAdmin", "getRoleAdmin(bytes32):(bytes32)", [
- ethereum.Value.fromFixedBytes(role)
- ]);
-
- return result[0].toBytes();
- }
-
- try_getRoleAdmin(role: Bytes): ethereum.CallResult {
- let result = super.tryCall(
- "getRoleAdmin",
- "getRoleAdmin(bytes32):(bytes32)",
- [ethereum.Value.fromFixedBytes(role)]
- );
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toBytes());
- }
-
- hasRole(role: Bytes, account: Address): boolean {
- let result = super.call("hasRole", "hasRole(bytes32,address):(bool)", [
- ethereum.Value.fromFixedBytes(role),
- ethereum.Value.fromAddress(account)
- ]);
-
- return result[0].toBoolean();
- }
-
- try_hasRole(role: Bytes, account: Address): ethereum.CallResult {
- let result = super.tryCall("hasRole", "hasRole(bytes32,address):(bool)", [
- ethereum.Value.fromFixedBytes(role),
- ethereum.Value.fromAddress(account)
- ]);
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toBoolean());
- }
-
- increaseAllowance(spender: Address, addedValue: BigInt): boolean {
- let result = super.call(
- "increaseAllowance",
- "increaseAllowance(address,uint256):(bool)",
- [
- ethereum.Value.fromAddress(spender),
- ethereum.Value.fromUnsignedBigInt(addedValue)
- ]
- );
-
- return result[0].toBoolean();
- }
-
- try_increaseAllowance(
- spender: Address,
- addedValue: BigInt
- ): ethereum.CallResult {
- let result = super.tryCall(
- "increaseAllowance",
- "increaseAllowance(address,uint256):(bool)",
- [
- ethereum.Value.fromAddress(spender),
- ethereum.Value.fromUnsignedBigInt(addedValue)
- ]
- );
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toBoolean());
- }
-
- mint(account: Address, amount: BigInt): boolean {
- let result = super.call("mint", "mint(address,uint256):(bool)", [
- ethereum.Value.fromAddress(account),
- ethereum.Value.fromUnsignedBigInt(amount)
- ]);
-
- return result[0].toBoolean();
- }
-
- try_mint(account: Address, amount: BigInt): ethereum.CallResult {
- let result = super.tryCall("mint", "mint(address,uint256):(bool)", [
- ethereum.Value.fromAddress(account),
- ethereum.Value.fromUnsignedBigInt(amount)
- ]);
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toBoolean());
- }
-
- name(): string {
- let result = super.call("name", "name():(string)", []);
-
- return result[0].toString();
- }
-
- try_name(): ethereum.CallResult {
- let result = super.tryCall("name", "name():(string)", []);
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toString());
- }
-
- owner(): Address {
- let result = super.call("owner", "owner():(address)", []);
-
- return result[0].toAddress();
- }
-
- try_owner(): ethereum.CallResult {
- let result = super.tryCall("owner", "owner():(address)", []);
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toAddress());
- }
-
- supportsInterface(interfaceId: Bytes): boolean {
- let result = super.call(
- "supportsInterface",
- "supportsInterface(bytes4):(bool)",
- [ethereum.Value.fromFixedBytes(interfaceId)]
- );
-
- return result[0].toBoolean();
- }
-
- try_supportsInterface(interfaceId: Bytes): ethereum.CallResult {
- let result = super.tryCall(
- "supportsInterface",
- "supportsInterface(bytes4):(bool)",
- [ethereum.Value.fromFixedBytes(interfaceId)]
- );
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toBoolean());
- }
-
- symbol(): string {
- let result = super.call("symbol", "symbol():(string)", []);
-
- return result[0].toString();
- }
-
- try_symbol(): ethereum.CallResult {
- let result = super.tryCall("symbol", "symbol():(string)", []);
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toString());
- }
-
- totalSupply(): BigInt {
- let result = super.call("totalSupply", "totalSupply():(uint256)", []);
-
- return result[0].toBigInt();
- }
-
- try_totalSupply(): ethereum.CallResult {
- let result = super.tryCall("totalSupply", "totalSupply():(uint256)", []);
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toBigInt());
- }
-
- transfer(to: Address, amount: BigInt): boolean {
- let result = super.call("transfer", "transfer(address,uint256):(bool)", [
- ethereum.Value.fromAddress(to),
- ethereum.Value.fromUnsignedBigInt(amount)
- ]);
-
- return result[0].toBoolean();
- }
-
- try_transfer(to: Address, amount: BigInt): ethereum.CallResult {
- let result = super.tryCall("transfer", "transfer(address,uint256):(bool)", [
- ethereum.Value.fromAddress(to),
- ethereum.Value.fromUnsignedBigInt(amount)
- ]);
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toBoolean());
- }
-
- transferFrom(from: Address, to: Address, amount: BigInt): boolean {
- let result = super.call(
- "transferFrom",
- "transferFrom(address,address,uint256):(bool)",
- [
- ethereum.Value.fromAddress(from),
- ethereum.Value.fromAddress(to),
- ethereum.Value.fromUnsignedBigInt(amount)
- ]
- );
-
- return result[0].toBoolean();
- }
-
- try_transferFrom(
- from: Address,
- to: Address,
- amount: BigInt
- ): ethereum.CallResult {
- let result = super.tryCall(
- "transferFrom",
- "transferFrom(address,address,uint256):(bool)",
- [
- ethereum.Value.fromAddress(from),
- ethereum.Value.fromAddress(to),
- ethereum.Value.fromUnsignedBigInt(amount)
- ]
- );
- if (result.reverted) {
- return new ethereum.CallResult();
- }
- let value = result.value;
- return ethereum.CallResult.fromValue(value[0].toBoolean());
- }
-}
-
-export class ApproveCall extends ethereum.Call {
- get inputs(): ApproveCall__Inputs {
- return new ApproveCall__Inputs(this);
- }
-
- get outputs(): ApproveCall__Outputs {
- return new ApproveCall__Outputs(this);
- }
-}
-
-export class ApproveCall__Inputs {
- _call: ApproveCall;
-
- constructor(call: ApproveCall) {
- this._call = call;
- }
-
- get spender(): Address {
- return this._call.inputValues[0].value.toAddress();
- }
-
- get amount(): BigInt {
- return this._call.inputValues[1].value.toBigInt();
- }
-}
-
-export class ApproveCall__Outputs {
- _call: ApproveCall;
-
- constructor(call: ApproveCall) {
- this._call = call;
- }
-
- get value0(): boolean {
- return this._call.outputValues[0].value.toBoolean();
- }
-}
-
-export class DecreaseAllowanceCall extends ethereum.Call {
- get inputs(): DecreaseAllowanceCall__Inputs {
- return new DecreaseAllowanceCall__Inputs(this);
- }
-
- get outputs(): DecreaseAllowanceCall__Outputs {
- return new DecreaseAllowanceCall__Outputs(this);
- }
-}
-
-export class DecreaseAllowanceCall__Inputs {
- _call: DecreaseAllowanceCall;
-
- constructor(call: DecreaseAllowanceCall) {
- this._call = call;
- }
-
- get spender(): Address {
- return this._call.inputValues[0].value.toAddress();
- }
-
- get subtractedValue(): BigInt {
- return this._call.inputValues[1].value.toBigInt();
- }
-}
-
-export class DecreaseAllowanceCall__Outputs {
- _call: DecreaseAllowanceCall;
-
- constructor(call: DecreaseAllowanceCall) {
- this._call = call;
- }
-
- get value0(): boolean {
- return this._call.outputValues[0].value.toBoolean();
- }
-}
-
-export class GrantRoleCall extends ethereum.Call {
- get inputs(): GrantRoleCall__Inputs {
- return new GrantRoleCall__Inputs(this);
- }
-
- get outputs(): GrantRoleCall__Outputs {
- return new GrantRoleCall__Outputs(this);
- }
-}
-
-export class GrantRoleCall__Inputs {
- _call: GrantRoleCall;
-
- constructor(call: GrantRoleCall) {
- this._call = call;
- }
-
- get role(): Bytes {
- return this._call.inputValues[0].value.toBytes();
- }
-
- get account(): Address {
- return this._call.inputValues[1].value.toAddress();
- }
-}
-
-export class GrantRoleCall__Outputs {
- _call: GrantRoleCall;
-
- constructor(call: GrantRoleCall) {
- this._call = call;
- }
-}
-
-export class IncreaseAllowanceCall extends ethereum.Call {
- get inputs(): IncreaseAllowanceCall__Inputs {
- return new IncreaseAllowanceCall__Inputs(this);
- }
-
- get outputs(): IncreaseAllowanceCall__Outputs {
- return new IncreaseAllowanceCall__Outputs(this);
- }
-}
-
-export class IncreaseAllowanceCall__Inputs {
- _call: IncreaseAllowanceCall;
-
- constructor(call: IncreaseAllowanceCall) {
- this._call = call;
- }
-
- get spender(): Address {
- return this._call.inputValues[0].value.toAddress();
- }
-
- get addedValue(): BigInt {
- return this._call.inputValues[1].value.toBigInt();
- }
-}
-
-export class IncreaseAllowanceCall__Outputs {
- _call: IncreaseAllowanceCall;
-
- constructor(call: IncreaseAllowanceCall) {
- this._call = call;
- }
-
- get value0(): boolean {
- return this._call.outputValues[0].value.toBoolean();
- }
-}
-
-export class InitializeCall extends ethereum.Call {
- get inputs(): InitializeCall__Inputs {
- return new InitializeCall__Inputs(this);
- }
-
- get outputs(): InitializeCall__Outputs {
- return new InitializeCall__Outputs(this);
- }
-}
-
-export class InitializeCall__Inputs {
- _call: InitializeCall;
-
- constructor(call: InitializeCall) {
- this._call = call;
- }
-
- get _owner(): Address {
- return this._call.inputValues[0].value.toAddress();
- }
-
- get _initialMinter(): Address {
- return this._call.inputValues[1].value.toAddress();
- }
-}
-
-export class InitializeCall__Outputs {
- _call: InitializeCall;
-
- constructor(call: InitializeCall) {
- this._call = call;
- }
-}
-
-export class MintCall extends ethereum.Call {
- get inputs(): MintCall__Inputs {
- return new MintCall__Inputs(this);
- }
-
- get outputs(): MintCall__Outputs {
- return new MintCall__Outputs(this);
- }
-}
-
-export class MintCall__Inputs {
- _call: MintCall;
-
- constructor(call: MintCall) {
- this._call = call;
- }
-
- get account(): Address {
- return this._call.inputValues[0].value.toAddress();
- }
-
- get amount(): BigInt {
- return this._call.inputValues[1].value.toBigInt();
- }
-}
-
-export class MintCall__Outputs {
- _call: MintCall;
-
- constructor(call: MintCall) {
- this._call = call;
- }
-
- get value0(): boolean {
- return this._call.outputValues[0].value.toBoolean();
- }
-}
-
-export class RenounceOwnershipCall extends ethereum.Call {
- get inputs(): RenounceOwnershipCall__Inputs {
- return new RenounceOwnershipCall__Inputs(this);
- }
-
- get outputs(): RenounceOwnershipCall__Outputs {
- return new RenounceOwnershipCall__Outputs(this);
- }
-}
-
-export class RenounceOwnershipCall__Inputs {
- _call: RenounceOwnershipCall;
-
- constructor(call: RenounceOwnershipCall) {
- this._call = call;
- }
-}
-
-export class RenounceOwnershipCall__Outputs {
- _call: RenounceOwnershipCall;
-
- constructor(call: RenounceOwnershipCall) {
- this._call = call;
- }
-}
-
-export class RenounceRoleCall extends ethereum.Call {
- get inputs(): RenounceRoleCall__Inputs {
- return new RenounceRoleCall__Inputs(this);
- }
-
- get outputs(): RenounceRoleCall__Outputs {
- return new RenounceRoleCall__Outputs(this);
- }
-}
-
-export class RenounceRoleCall__Inputs {
- _call: RenounceRoleCall;
-
- constructor(call: RenounceRoleCall) {
- this._call = call;
- }
-
- get role(): Bytes {
- return this._call.inputValues[0].value.toBytes();
- }
-
- get account(): Address {
- return this._call.inputValues[1].value.toAddress();
- }
-}
-
-export class RenounceRoleCall__Outputs {
- _call: RenounceRoleCall;
-
- constructor(call: RenounceRoleCall) {
- this._call = call;
- }
-}
-
-export class RevokeRoleCall extends ethereum.Call {
- get inputs(): RevokeRoleCall__Inputs {
- return new RevokeRoleCall__Inputs(this);
- }
-
- get outputs(): RevokeRoleCall__Outputs {
- return new RevokeRoleCall__Outputs(this);
- }
-}
-
-export class RevokeRoleCall__Inputs {
- _call: RevokeRoleCall;
-
- constructor(call: RevokeRoleCall) {
- this._call = call;
- }
-
- get role(): Bytes {
- return this._call.inputValues[0].value.toBytes();
- }
-
- get account(): Address {
- return this._call.inputValues[1].value.toAddress();
- }
-}
-
-export class RevokeRoleCall__Outputs {
- _call: RevokeRoleCall;
-
- constructor(call: RevokeRoleCall) {
- this._call = call;
- }
-}
-
-export class TransferCall extends ethereum.Call {
- get inputs(): TransferCall__Inputs {
- return new TransferCall__Inputs(this);
- }
-
- get outputs(): TransferCall__Outputs {
- return new TransferCall__Outputs(this);
- }
-}
-
-export class TransferCall__Inputs {
- _call: TransferCall;
-
- constructor(call: TransferCall) {
- this._call = call;
- }
-
- get to(): Address {
- return this._call.inputValues[0].value.toAddress();
- }
-
- get amount(): BigInt {
- return this._call.inputValues[1].value.toBigInt();
- }
-}
-
-export class TransferCall__Outputs {
- _call: TransferCall;
-
- constructor(call: TransferCall) {
- this._call = call;
- }
-
- get value0(): boolean {
- return this._call.outputValues[0].value.toBoolean();
- }
-}
-
-export class TransferFromCall extends ethereum.Call {
- get inputs(): TransferFromCall__Inputs {
- return new TransferFromCall__Inputs(this);
- }
-
- get outputs(): TransferFromCall__Outputs {
- return new TransferFromCall__Outputs(this);
- }
-}
-
-export class TransferFromCall__Inputs {
- _call: TransferFromCall;
-
- constructor(call: TransferFromCall) {
- this._call = call;
- }
-
- get from(): Address {
- return this._call.inputValues[0].value.toAddress();
- }
-
- get to(): Address {
- return this._call.inputValues[1].value.toAddress();
- }
-
- get amount(): BigInt {
- return this._call.inputValues[2].value.toBigInt();
- }
-}
-
-export class TransferFromCall__Outputs {
- _call: TransferFromCall;
-
- constructor(call: TransferFromCall) {
- this._call = call;
- }
-
- get value0(): boolean {
- return this._call.outputValues[0].value.toBoolean();
- }
-}
-
-export class TransferOwnershipCall extends ethereum.Call {
- get inputs(): TransferOwnershipCall__Inputs {
- return new TransferOwnershipCall__Inputs(this);
- }
-
- get outputs(): TransferOwnershipCall__Outputs {
- return new TransferOwnershipCall__Outputs(this);
- }
-}
-
-export class TransferOwnershipCall__Inputs {
- _call: TransferOwnershipCall;
-
- constructor(call: TransferOwnershipCall) {
- this._call = call;
- }
-
- get newOwner(): Address {
- return this._call.inputValues[0].value.toAddress();
- }
-}
-
-export class TransferOwnershipCall__Outputs {
- _call: TransferOwnershipCall;
-
- constructor(call: TransferOwnershipCall) {
- this._call = call;
- }
-}
diff --git a/subgraphs/NeverminedToken/generated/schema.ts b/subgraphs/NeverminedToken/generated/schema.ts
deleted file mode 100644
index 54a6347..0000000
--- a/subgraphs/NeverminedToken/generated/schema.ts
+++ /dev/null
@@ -1,432 +0,0 @@
-// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
-
-import {
- TypedMap,
- Entity,
- Value,
- ValueKind,
- store,
- Bytes,
- BigInt,
- BigDecimal
-} from "@graphprotocol/graph-ts";
-
-export class Approval extends Entity {
- constructor(id: string) {
- super();
- this.set("id", Value.fromString(id));
-
- this.set("owner", Value.fromBytes(Bytes.empty()));
- this.set("spender", Value.fromBytes(Bytes.empty()));
- this.set("value", Value.fromBigInt(BigInt.zero()));
- }
-
- save(): void {
- let id = this.get("id");
- assert(id != null, "Cannot save Approval entity without an ID");
- if (id) {
- assert(
- id.kind == ValueKind.STRING,
- "Cannot save Approval entity with non-string ID. " +
- 'Considering using .toHex() to convert the "id" to a string.'
- );
- store.set("Approval", id.toString(), this);
- }
- }
-
- static load(id: string): Approval | null {
- return changetype(store.get("Approval", id));
- }
-
- get id(): string {
- let value = this.get("id");
- return value!.toString();
- }
-
- set id(value: string) {
- this.set("id", Value.fromString(value));
- }
-
- get owner(): Bytes {
- let value = this.get("owner");
- return value!.toBytes();
- }
-
- set owner(value: Bytes) {
- this.set("owner", Value.fromBytes(value));
- }
-
- get spender(): Bytes {
- let value = this.get("spender");
- return value!.toBytes();
- }
-
- set spender(value: Bytes) {
- this.set("spender", Value.fromBytes(value));
- }
-
- get value(): BigInt {
- let value = this.get("value");
- return value!.toBigInt();
- }
-
- set value(value: BigInt) {
- this.set("value", Value.fromBigInt(value));
- }
-}
-
-export class Initialized extends Entity {
- constructor(id: string) {
- super();
- this.set("id", Value.fromString(id));
- }
-
- save(): void {
- let id = this.get("id");
- assert(id != null, "Cannot save Initialized entity without an ID");
- if (id) {
- assert(
- id.kind == ValueKind.STRING,
- "Cannot save Initialized entity with non-string ID. " +
- 'Considering using .toHex() to convert the "id" to a string.'
- );
- store.set("Initialized", id.toString(), this);
- }
- }
-
- static load(id: string): Initialized | null {
- return changetype(store.get("Initialized", id));
- }
-
- get id(): string {
- let value = this.get("id");
- return value!.toString();
- }
-
- set id(value: string) {
- this.set("id", Value.fromString(value));
- }
-
- get version(): i32 {
- let value = this.get("version");
- return value!.toI32();
- }
-
- set version(value: i32) {
- this.set("version", Value.fromI32(value));
- }
-}
-
-export class OwnershipTransferred extends Entity {
- constructor(id: string) {
- super();
- this.set("id", Value.fromString(id));
-
- this.set("previousOwner", Value.fromBytes(Bytes.empty()));
- this.set("newOwner", Value.fromBytes(Bytes.empty()));
- }
-
- save(): void {
- let id = this.get("id");
- assert(id != null, "Cannot save OwnershipTransferred entity without an ID");
- if (id) {
- assert(
- id.kind == ValueKind.STRING,
- "Cannot save OwnershipTransferred entity with non-string ID. " +
- 'Considering using .toHex() to convert the "id" to a string.'
- );
- store.set("OwnershipTransferred", id.toString(), this);
- }
- }
-
- static load(id: string): OwnershipTransferred | null {
- return changetype(
- store.get("OwnershipTransferred", id)
- );
- }
-
- get id(): string {
- let value = this.get("id");
- return value!.toString();
- }
-
- set id(value: string) {
- this.set("id", Value.fromString(value));
- }
-
- get previousOwner(): Bytes {
- let value = this.get("previousOwner");
- return value!.toBytes();
- }
-
- set previousOwner(value: Bytes) {
- this.set("previousOwner", Value.fromBytes(value));
- }
-
- get newOwner(): Bytes {
- let value = this.get("newOwner");
- return value!.toBytes();
- }
-
- set newOwner(value: Bytes) {
- this.set("newOwner", Value.fromBytes(value));
- }
-}
-
-export class RoleAdminChanged extends Entity {
- constructor(id: string) {
- super();
- this.set("id", Value.fromString(id));
-
- this.set("role", Value.fromBytes(Bytes.empty()));
- this.set("previousAdminRole", Value.fromBytes(Bytes.empty()));
- this.set("newAdminRole", Value.fromBytes(Bytes.empty()));
- }
-
- save(): void {
- let id = this.get("id");
- assert(id != null, "Cannot save RoleAdminChanged entity without an ID");
- if (id) {
- assert(
- id.kind == ValueKind.STRING,
- "Cannot save RoleAdminChanged entity with non-string ID. " +
- 'Considering using .toHex() to convert the "id" to a string.'
- );
- store.set("RoleAdminChanged", id.toString(), this);
- }
- }
-
- static load(id: string): RoleAdminChanged | null {
- return changetype(
- store.get("RoleAdminChanged", id)
- );
- }
-
- get id(): string {
- let value = this.get("id");
- return value!.toString();
- }
-
- set id(value: string) {
- this.set("id", Value.fromString(value));
- }
-
- get role(): Bytes {
- let value = this.get("role");
- return value!.toBytes();
- }
-
- set role(value: Bytes) {
- this.set("role", Value.fromBytes(value));
- }
-
- get previousAdminRole(): Bytes {
- let value = this.get("previousAdminRole");
- return value!.toBytes();
- }
-
- set previousAdminRole(value: Bytes) {
- this.set("previousAdminRole", Value.fromBytes(value));
- }
-
- get newAdminRole(): Bytes {
- let value = this.get("newAdminRole");
- return value!.toBytes();
- }
-
- set newAdminRole(value: Bytes) {
- this.set("newAdminRole", Value.fromBytes(value));
- }
-}
-
-export class RoleGranted extends Entity {
- constructor(id: string) {
- super();
- this.set("id", Value.fromString(id));
-
- this.set("role", Value.fromBytes(Bytes.empty()));
- this.set("account", Value.fromBytes(Bytes.empty()));
- this.set("sender", Value.fromBytes(Bytes.empty()));
- }
-
- save(): void {
- let id = this.get("id");
- assert(id != null, "Cannot save RoleGranted entity without an ID");
- if (id) {
- assert(
- id.kind == ValueKind.STRING,
- "Cannot save RoleGranted entity with non-string ID. " +
- 'Considering using .toHex() to convert the "id" to a string.'
- );
- store.set("RoleGranted", id.toString(), this);
- }
- }
-
- static load(id: string): RoleGranted | null {
- return changetype(store.get("RoleGranted", id));
- }
-
- get id(): string {
- let value = this.get("id");
- return value!.toString();
- }
-
- set id(value: string) {
- this.set("id", Value.fromString(value));
- }
-
- get role(): Bytes {
- let value = this.get("role");
- return value!.toBytes();
- }
-
- set role(value: Bytes) {
- this.set("role", Value.fromBytes(value));
- }
-
- get account(): Bytes {
- let value = this.get("account");
- return value!.toBytes();
- }
-
- set account(value: Bytes) {
- this.set("account", Value.fromBytes(value));
- }
-
- get sender(): Bytes {
- let value = this.get("sender");
- return value!.toBytes();
- }
-
- set sender(value: Bytes) {
- this.set("sender", Value.fromBytes(value));
- }
-}
-
-export class RoleRevoked extends Entity {
- constructor(id: string) {
- super();
- this.set("id", Value.fromString(id));
-
- this.set("role", Value.fromBytes(Bytes.empty()));
- this.set("account", Value.fromBytes(Bytes.empty()));
- this.set("sender", Value.fromBytes(Bytes.empty()));
- }
-
- save(): void {
- let id = this.get("id");
- assert(id != null, "Cannot save RoleRevoked entity without an ID");
- if (id) {
- assert(
- id.kind == ValueKind.STRING,
- "Cannot save RoleRevoked entity with non-string ID. " +
- 'Considering using .toHex() to convert the "id" to a string.'
- );
- store.set("RoleRevoked", id.toString(), this);
- }
- }
-
- static load(id: string): RoleRevoked | null {
- return changetype(store.get("RoleRevoked", id));
- }
-
- get id(): string {
- let value = this.get("id");
- return value!.toString();
- }
-
- set id(value: string) {
- this.set("id", Value.fromString(value));
- }
-
- get role(): Bytes {
- let value = this.get("role");
- return value!.toBytes();
- }
-
- set role(value: Bytes) {
- this.set("role", Value.fromBytes(value));
- }
-
- get account(): Bytes {
- let value = this.get("account");
- return value!.toBytes();
- }
-
- set account(value: Bytes) {
- this.set("account", Value.fromBytes(value));
- }
-
- get sender(): Bytes {
- let value = this.get("sender");
- return value!.toBytes();
- }
-
- set sender(value: Bytes) {
- this.set("sender", Value.fromBytes(value));
- }
-}
-
-export class Transfer extends Entity {
- constructor(id: string) {
- super();
- this.set("id", Value.fromString(id));
-
- this.set("from", Value.fromBytes(Bytes.empty()));
- this.set("to", Value.fromBytes(Bytes.empty()));
- this.set("value", Value.fromBigInt(BigInt.zero()));
- }
-
- save(): void {
- let id = this.get("id");
- assert(id != null, "Cannot save Transfer entity without an ID");
- if (id) {
- assert(
- id.kind == ValueKind.STRING,
- "Cannot save Transfer entity with non-string ID. " +
- 'Considering using .toHex() to convert the "id" to a string.'
- );
- store.set("Transfer", id.toString(), this);
- }
- }
-
- static load(id: string): Transfer | null {
- return changetype(store.get("Transfer", id));
- }
-
- get id(): string {
- let value = this.get("id");
- return value!.toString();
- }
-
- set id(value: string) {
- this.set("id", Value.fromString(value));
- }
-
- get from(): Bytes {
- let value = this.get("from");
- return value!.toBytes();
- }
-
- set from(value: Bytes) {
- this.set("from", Value.fromBytes(value));
- }
-
- get to(): Bytes {
- let value = this.get("to");
- return value!.toBytes();
- }
-
- set to(value: Bytes) {
- this.set("to", Value.fromBytes(value));
- }
-
- get value(): BigInt {
- let value = this.get("value");
- return value!.toBigInt();
- }
-
- set value(value: BigInt) {
- this.set("value", Value.fromBigInt(value));
- }
-}
diff --git a/subgraphs/NeverminedToken/package.json b/subgraphs/NeverminedToken/package.json
deleted file mode 100644
index eaca71a..0000000
--- a/subgraphs/NeverminedToken/package.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "name": "NeverminedToken",
- "license": "UNLICENSED",
- "scripts": {
- "codegen": "graph codegen",
- "build": "graph build",
- "deploy": "graph deploy --node undefined neverminedio/NeverminedToken",
- "create-local": "graph create --node http://localhost:8020/ neverminedio/NeverminedToken",
- "remove-local": "graph remove --node http://localhost:8020/ neverminedio/NeverminedToken",
- "deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 neverminedio/NeverminedToken"
- },
- "dependencies": {
- "@nevermined-io/graph-cli": "0.30.4",
- "@graphprotocol/graph-ts": "0.24.1"
- }
-}
diff --git a/subgraphs/NeverminedToken/schema.graphql b/subgraphs/NeverminedToken/schema.graphql
deleted file mode 100644
index 8f0184d..0000000
--- a/subgraphs/NeverminedToken/schema.graphql
+++ /dev/null
@@ -1,45 +0,0 @@
-type Approval @entity {
- id: ID!
- owner: Bytes! # address
- spender: Bytes! # address
- value: BigInt! # uint256
-}
-
-type Initialized @entity {
- id: ID!
- version: Int! # uint8
-}
-
-type OwnershipTransferred @entity {
- id: ID!
- previousOwner: Bytes! # address
- newOwner: Bytes! # address
-}
-
-type RoleAdminChanged @entity {
- id: ID!
- role: Bytes! # bytes32
- previousAdminRole: Bytes! # bytes32
- newAdminRole: Bytes! # bytes32
-}
-
-type RoleGranted @entity {
- id: ID!
- role: Bytes! # bytes32
- account: Bytes! # address
- sender: Bytes! # address
-}
-
-type RoleRevoked @entity {
- id: ID!
- role: Bytes! # bytes32
- account: Bytes! # address
- sender: Bytes! # address
-}
-
-type Transfer @entity {
- id: ID!
- from: Bytes! # address
- to: Bytes! # address
- value: BigInt! # uint256
-}
diff --git a/subgraphs/NeverminedToken/src/mapping.ts b/subgraphs/NeverminedToken/src/mapping.ts
deleted file mode 100644
index 4870290..0000000
--- a/subgraphs/NeverminedToken/src/mapping.ts
+++ /dev/null
@@ -1,87 +0,0 @@
-import {
- Approval as ApprovalEvent,
- Initialized as InitializedEvent,
- OwnershipTransferred as OwnershipTransferredEvent,
- RoleAdminChanged as RoleAdminChangedEvent,
- RoleGranted as RoleGrantedEvent,
- RoleRevoked as RoleRevokedEvent,
- Transfer as TransferEvent
-} from "../generated/NeverminedToken/NeverminedToken"
-import {
- Approval,
- Initialized,
- OwnershipTransferred,
- RoleAdminChanged,
- RoleGranted,
- RoleRevoked,
- Transfer
-} from "../generated/schema"
-
-export function handleApproval(event: ApprovalEvent): void {
- let entity = new Approval(
- event.transaction.hash.toHex() + "-" + event.logIndex.toString()
- )
- entity.owner = event.params.owner
- entity.spender = event.params.spender
- entity.value = event.params.value
- entity.save()
-}
-
-export function handleInitialized(event: InitializedEvent): void {
- let entity = new Initialized(
- event.transaction.hash.toHex() + "-" + event.logIndex.toString()
- )
- entity.version = event.params.version
- entity.save()
-}
-
-export function handleOwnershipTransferred(
- event: OwnershipTransferredEvent
-): void {
- let entity = new OwnershipTransferred(
- event.transaction.hash.toHex() + "-" + event.logIndex.toString()
- )
- entity.previousOwner = event.params.previousOwner
- entity.newOwner = event.params.newOwner
- entity.save()
-}
-
-export function handleRoleAdminChanged(event: RoleAdminChangedEvent): void {
- let entity = new RoleAdminChanged(
- event.transaction.hash.toHex() + "-" + event.logIndex.toString()
- )
- entity.role = event.params.role
- entity.previousAdminRole = event.params.previousAdminRole
- entity.newAdminRole = event.params.newAdminRole
- entity.save()
-}
-
-export function handleRoleGranted(event: RoleGrantedEvent): void {
- let entity = new RoleGranted(
- event.transaction.hash.toHex() + "-" + event.logIndex.toString()
- )
- entity.role = event.params.role
- entity.account = event.params.account
- entity.sender = event.params.sender
- entity.save()
-}
-
-export function handleRoleRevoked(event: RoleRevokedEvent): void {
- let entity = new RoleRevoked(
- event.transaction.hash.toHex() + "-" + event.logIndex.toString()
- )
- entity.role = event.params.role
- entity.account = event.params.account
- entity.sender = event.params.sender
- entity.save()
-}
-
-export function handleTransfer(event: TransferEvent): void {
- let entity = new Transfer(
- event.transaction.hash.toHex() + "-" + event.logIndex.toString()
- )
- entity.from = event.params.from
- entity.to = event.params.to
- entity.value = event.params.value
- entity.save()
-}
diff --git a/subgraphs/NeverminedToken/subgraph.yaml b/subgraphs/NeverminedToken/subgraph.yaml
deleted file mode 100644
index b24a25e..0000000
--- a/subgraphs/NeverminedToken/subgraph.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-specVersion: 0.0.2
-schema:
- file: ./schema.graphql
-dataSources:
- - kind: ethereum
- name: NeverminedToken
- network: spree
- source:
- address: "0x168bc74Fd30D1559A0dF48cF61AC7dD4F23e1dA1"
- abi: NeverminedToken
- startBlock: 10
- mapping:
- kind: ethereum/events
- apiVersion: 0.0.5
- language: wasm/assemblyscript
- entities:
- - Approval
- - Initialized
- - OwnershipTransferred
- - RoleAdminChanged
- - RoleGranted
- - RoleRevoked
- - Transfer
- abis:
- - name: NeverminedToken
- file: ./abis/NeverminedToken.json
- eventHandlers:
- - event: Approval(indexed address,indexed address,uint256)
- handler: handleApproval
- - event: Initialized(uint8)
- handler: handleInitialized
- - event: OwnershipTransferred(indexed address,indexed address)
- handler: handleOwnershipTransferred
- - event: RoleAdminChanged(indexed bytes32,indexed bytes32,indexed bytes32)
- handler: handleRoleAdminChanged
- - event: RoleGranted(indexed bytes32,indexed address,indexed address)
- handler: handleRoleGranted
- - event: RoleRevoked(indexed bytes32,indexed address,indexed address)
- handler: handleRoleRevoked
- - event: Transfer(indexed address,indexed address,uint256)
- handler: handleTransfer
- file: ./src/mapping.ts
diff --git a/subgraphs/NeverminedToken/tsconfig.json b/subgraphs/NeverminedToken/tsconfig.json
deleted file mode 100644
index 5c5d17c..0000000
--- a/subgraphs/NeverminedToken/tsconfig.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "extends": "@graphprotocol/graph-ts/types/tsconfig.base.json",
- "include": ["src"]
-}
diff --git a/subgraphs/RewardsDistributor/subgraph.yaml b/subgraphs/RewardsDistributor/subgraph.yaml
index 496b151..4e97372 100644
--- a/subgraphs/RewardsDistributor/subgraph.yaml
+++ b/subgraphs/RewardsDistributor/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: RewardsDistributor
- network: spree
+ network: hyperspace
source:
- address: "0x9e478692Bce93FE0616aD97882cf6832FD9CB720"
+ address: "0xBf713eA3A601843CAbaCB896885ceF64a405782E"
abi: RewardsDistributor
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/SignCondition/subgraph.yaml b/subgraphs/SignCondition/subgraph.yaml
index c8e306d..70405fb 100644
--- a/subgraphs/SignCondition/subgraph.yaml
+++ b/subgraphs/SignCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: SignCondition
- network: spree
+ network: hyperspace
source:
- address: "0xF400b7e470866a2bcbaEE225bD1eCbF50A8660bf"
+ address: "0xa8824A481532dEDAe83A7c02430e58153C7B6045"
abi: SignCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/StandardRoyalties/subgraph.yaml b/subgraphs/StandardRoyalties/subgraph.yaml
index 0050c8e..813fb8e 100644
--- a/subgraphs/StandardRoyalties/subgraph.yaml
+++ b/subgraphs/StandardRoyalties/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: StandardRoyalties
- network: spree
+ network: hyperspace
source:
- address: "0x459b553aBD0398429AE98F3C1B2769483bc46091"
+ address: "0x0dE91319747399675c98d6a6D20Bd2590FB27e37"
abi: StandardRoyalties
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/TemplateStoreManager/subgraph.yaml b/subgraphs/TemplateStoreManager/subgraph.yaml
index 4e35624..4248eb1 100644
--- a/subgraphs/TemplateStoreManager/subgraph.yaml
+++ b/subgraphs/TemplateStoreManager/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: TemplateStoreManager
- network: spree
+ network: hyperspace
source:
- address: "0x0270E295834E412fAD12f1AEEc727af5c33B3A1C"
+ address: "0xf5C632c11B365CBd604c4fE57A748d73e4Eb783e"
abi: TemplateStoreManager
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/ThresholdCondition/subgraph.yaml b/subgraphs/ThresholdCondition/subgraph.yaml
index f2fb1a7..69f164f 100644
--- a/subgraphs/ThresholdCondition/subgraph.yaml
+++ b/subgraphs/ThresholdCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: ThresholdCondition
- network: spree
+ network: hyperspace
source:
- address: "0xE911c4da793094b787D76CC24694cfE2e27C5362"
+ address: "0x9B5B7a1bd7c957c6F2d7803e501e8E0F22d8aF96"
abi: ThresholdCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/TransferDIDOwnershipCondition/subgraph.yaml b/subgraphs/TransferDIDOwnershipCondition/subgraph.yaml
index e33e7fa..3a24710 100644
--- a/subgraphs/TransferDIDOwnershipCondition/subgraph.yaml
+++ b/subgraphs/TransferDIDOwnershipCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: TransferDIDOwnershipCondition
- network: spree
+ network: hyperspace
source:
- address: "0x7848737493daf345d97CcC5a603D64f3A8A8540F"
+ address: "0x2a3479F6752f71682f6453F4c0B703Df2E903b28"
abi: TransferDIDOwnershipCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/TransferNFT721Condition/subgraph.yaml b/subgraphs/TransferNFT721Condition/subgraph.yaml
index 9db8c8e..de02779 100644
--- a/subgraphs/TransferNFT721Condition/subgraph.yaml
+++ b/subgraphs/TransferNFT721Condition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: TransferNFT721Condition
- network: spree
+ network: hyperspace
source:
- address: "0xCA48F7C4C7EB1E4a5D656825b713eEA40E11D763"
+ address: "0x7AfFeBBF05948f8b8D48aAa3b4fbeeC8Ce319Ea5"
abi: TransferNFT721Condition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/TransferNFTCondition/subgraph.yaml b/subgraphs/TransferNFTCondition/subgraph.yaml
index f111a97..2cef1a0 100644
--- a/subgraphs/TransferNFTCondition/subgraph.yaml
+++ b/subgraphs/TransferNFTCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: TransferNFTCondition
- network: spree
+ network: hyperspace
source:
- address: "0x7bb73f43abdDB61AD456414B04095c138184d23E"
+ address: "0x8A4260Cb37b311B18df73D20bFEb02b3e24444A0"
abi: TransferNFTCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/subgraphs/WhitelistingCondition/subgraph.yaml b/subgraphs/WhitelistingCondition/subgraph.yaml
index 5ebe6c8..ea55251 100644
--- a/subgraphs/WhitelistingCondition/subgraph.yaml
+++ b/subgraphs/WhitelistingCondition/subgraph.yaml
@@ -1,14 +1,13 @@
-specVersion: 0.0.2
+specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: WhitelistingCondition
- network: spree
+ network: hyperspace
source:
- address: "0x48A079061CA0de9D0BaccB56DC999b002699f86c"
+ address: "0xEC5453C14564f9Af57519e0bF524Ecf654c9Df0F"
abi: WhitelistingCondition
- startBlock: 10
mapping:
kind: ethereum/events
apiVersion: 0.0.5
diff --git a/yarn.lock b/yarn.lock
index 978025e..357a7b2 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1212,10 +1212,10 @@
dependencies:
"@openzeppelin/contracts-upgradeable" "^4.6.0"
-"@nevermined-io/graph-cli@0.30.4":
- version "0.30.4"
- resolved "https://registry.yarnpkg.com/@nevermined-io/graph-cli/-/graph-cli-0.30.4.tgz#faafe49f2be4871e40419351d6253e0cf6d5abe9"
- integrity sha512-w2OPqIjnZEgz2AH/v56ak4QqTBZt0WIXzbpqjFIBRgwVD2zm34cFDH+POiqku/fs2vSCW++CJ6OgcjO22hve6Q==
+"@nevermined-io/graph-cli@0.30.1":
+ version "0.30.1"
+ resolved "https://registry.yarnpkg.com/@nevermined-io/graph-cli/-/graph-cli-0.30.1.tgz#1cf56c3495bcb13a28419c0a28c0fea6577bea9b"
+ integrity sha512-pAOtaYyYpn4b+ziweclBpuBySbZCfks4WyYn4L4dT+B+msGnbXCem4jn4O8c1r11gjEUd5LZjWyqGqOtYqC1aQ==
dependencies:
assemblyscript "0.19.10"
binary-install-raw "0.0.13"