forked from TrueCloudLab/frostfs-aio
Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
d288e2c141 |
41 changed files with 61 additions and 347 deletions
2
.env
2
.env
|
@ -1,3 +1,3 @@
|
|||
FROSTFS_HUB_IMAGE=truecloudlab/frostfs
|
||||
AIO_IMAGE=truecloudlab/frostfs-aio
|
||||
AIO_VERSION=1.5.0
|
||||
AIO_VERSION=1.2.7-1
|
||||
|
|
22
Dockerfile
22
Dockerfile
|
@ -1,18 +1,17 @@
|
|||
ARG FROSTFS_HUB_IMAGE=truecloudlab/frostfs
|
||||
ARG NEOGO_HUB_IMAGE=nspccdev/neo-go
|
||||
|
||||
ARG FROSTFS_CORE_TAG=0.38.6
|
||||
ARG FROSTFS_HTTP_GATE_TAG=0.29.0
|
||||
ARG FROSTFS_S3_GATE_TAG=0.29.0
|
||||
ARG NEOGO_TAG=0.104.0
|
||||
ARG FROSTFS_CORE_TAG=0beb7ccf
|
||||
ARG FROSTFS_GATES_TAG=0.27.0-rc.2
|
||||
ARG NEOGO_TAG=0.101.1
|
||||
|
||||
FROM ${NEOGO_HUB_IMAGE}:${NEOGO_TAG} as neo-go
|
||||
FROM ${FROSTFS_HUB_IMAGE}-adm:${FROSTFS_CORE_TAG} as frostfs-adm
|
||||
FROM ${FROSTFS_HUB_IMAGE}-cli:${FROSTFS_CORE_TAG} as frostfs-cli
|
||||
FROM ${FROSTFS_HUB_IMAGE}-ir:${FROSTFS_CORE_TAG} as frostfs-ir
|
||||
FROM ${FROSTFS_HUB_IMAGE}-storage:${FROSTFS_CORE_TAG} as frostfs-storage
|
||||
FROM ${FROSTFS_HUB_IMAGE}-s3-gw:${FROSTFS_S3_GATE_TAG} as frostfs-s3-gw
|
||||
FROM ${FROSTFS_HUB_IMAGE}-http-gw:${FROSTFS_HTTP_GATE_TAG} as frostfs-http-gw
|
||||
FROM nspccdev/neofs-s3-gw:0.21.1 as neofs-s3-gw
|
||||
FROM ${FROSTFS_HUB_IMAGE}-http-gw:${FROSTFS_GATES_TAG} as frostfs-http-gw
|
||||
|
||||
# Executable image
|
||||
FROM alpine AS frostfs-aio
|
||||
|
@ -26,13 +25,15 @@ RUN apk add --no-cache \
|
|||
|
||||
WORKDIR /
|
||||
|
||||
COPY --from=neo-go /usr/bin/privnet-entrypoint.sh /usr/bin/privnet-entrypoint.sh
|
||||
COPY --from=neo-go /etc/ssl/certs /etc/ssl/certs
|
||||
COPY --from=neo-go /usr/bin/neo-go /usr/bin/neo-go
|
||||
COPY --from=frostfs-adm /bin/frostfs-adm /usr/bin/frostfs-adm
|
||||
COPY --from=frostfs-cli /bin/frostfs-cli /usr/bin/frostfs-cli
|
||||
COPY --from=frostfs-ir /bin/frostfs-ir /usr/bin/frostfs-ir
|
||||
COPY --from=frostfs-storage /bin/frostfs-node /usr/bin/frostfs-node
|
||||
COPY --from=frostfs-s3-gw /bin/frostfs-s3-gw /usr/bin/frostfs-s3-gw
|
||||
COPY --from=frostfs-s3-gw /bin/frostfs-s3-authmate /usr/bin/frostfs-s3-authmate
|
||||
COPY --from=neofs-s3-gw /bin/neofs-s3-gw /usr/bin/neofs-s3-gw
|
||||
COPY --from=neofs-s3-gw /bin/neofs-authmate /usr/bin/neofs-authmate
|
||||
COPY --from=frostfs-http-gw /bin/frostfs-http-gw /usr/bin/frostfs-http-gw
|
||||
|
||||
COPY ./adm/frostfs-adm.yml /config/frostfs-adm.yml
|
||||
|
@ -40,7 +41,6 @@ COPY ./ir/cli-cfg.yaml /config/cli-cfg-ir.yaml
|
|||
COPY ./ir/config.yaml /config/config-ir.yaml
|
||||
COPY ./morph/protocol.privnet.yml /config/protocol.privnet.yml
|
||||
COPY ./morph/node-wallet.json /config/alphabet/az.json
|
||||
COPY ./morph/node-wallet.json /config/alphabet/contract.json
|
||||
COPY ./morph/node-wallet.json /config/node-wallet.json
|
||||
COPY ./morph/node-config.yaml /config/node-config.yaml
|
||||
COPY ./http-gw/http-gw-config.yaml /config/http-gw-config.yaml
|
||||
|
@ -55,8 +55,8 @@ COPY ./sn/config.yaml /config/config-sn.yaml
|
|||
COPY ./vendor/locode_db /config/locode.db
|
||||
COPY ./vendor/contracts/ /config/contracts
|
||||
|
||||
COPY ./bin/init-aio.sh /usr/bin/init-aio.sh
|
||||
COPY ./bin/ /config/bin
|
||||
|
||||
ENV AUTHMATE_WALLET_PASSPHRASE=""
|
||||
|
||||
ENTRYPOINT ["/usr/bin/init-aio.sh"]
|
||||
ENTRYPOINT ["/config/bin/init-aio.sh"]
|
||||
|
|
|
@ -1,62 +0,0 @@
|
|||
ARG FROSTFS_HUB_IMAGE=truecloudlab/frostfs
|
||||
ARG NEOGO_HUB_IMAGE=nspccdev/neo-go
|
||||
|
||||
ARG FROSTFS_CORE_TAG=0.38.6
|
||||
ARG FROSTFS_HTTP_GATE_TAG=0.29.0
|
||||
ARG FROSTFS_S3_GATE_TAG=0.29.0
|
||||
ARG NEOGO_TAG=0.104.0
|
||||
|
||||
FROM ${NEOGO_HUB_IMAGE}:${NEOGO_TAG} as neo-go
|
||||
FROM ${FROSTFS_HUB_IMAGE}-adm:${FROSTFS_CORE_TAG} as frostfs-adm
|
||||
FROM ${FROSTFS_HUB_IMAGE}-cli:${FROSTFS_CORE_TAG} as frostfs-cli
|
||||
FROM ${FROSTFS_HUB_IMAGE}-ir:${FROSTFS_CORE_TAG} as frostfs-ir
|
||||
FROM ${FROSTFS_HUB_IMAGE}-storage:${FROSTFS_CORE_TAG} as frostfs-storage
|
||||
FROM ${FROSTFS_HUB_IMAGE}-s3-gw:${FROSTFS_S3_GATE_TAG} as frostfs-s3-gw
|
||||
FROM ${FROSTFS_HUB_IMAGE}-http-gw:${FROSTFS_HTTP_GATE_TAG} as frostfs-http-gw
|
||||
|
||||
# Executable image
|
||||
FROM alpine AS frostfs-aio
|
||||
RUN apk add --no-cache \
|
||||
bash \
|
||||
ca-certificates \
|
||||
jq \
|
||||
expect \
|
||||
iputils \
|
||||
curl
|
||||
|
||||
WORKDIR /
|
||||
|
||||
COPY --from=neo-go /usr/bin/neo-go /usr/bin/neo-go
|
||||
COPY --from=frostfs-adm /bin/frostfs-adm /usr/bin/frostfs-adm
|
||||
COPY --from=frostfs-cli /bin/frostfs-cli /usr/bin/frostfs-cli
|
||||
COPY --from=frostfs-ir /bin/frostfs-ir /usr/bin/frostfs-ir
|
||||
COPY --from=frostfs-storage /bin/frostfs-node /usr/bin/frostfs-node
|
||||
COPY --from=frostfs-s3-gw /bin/frostfs-s3-gw /usr/bin/frostfs-s3-gw
|
||||
COPY --from=frostfs-s3-gw /bin/frostfs-s3-authmate /usr/bin/frostfs-s3-authmate
|
||||
COPY --from=frostfs-http-gw /bin/frostfs-http-gw /usr/bin/frostfs-http-gw
|
||||
|
||||
COPY ./adm/frostfs-adm.yml /config/frostfs-adm.yml
|
||||
COPY ./ir/cli-cfg.yaml /config/cli-cfg-ir.yaml
|
||||
COPY ./ir/config.yaml /config/config-ir.yaml
|
||||
COPY ./morph/protocol.privnet.yml /config/protocol.privnet.yml
|
||||
COPY ./morph/node-wallet.json /config/alphabet/az.json
|
||||
COPY ./morph/node-wallet.json /config/alphabet/contract.json
|
||||
COPY ./morph/node-wallet.json /config/node-wallet.json
|
||||
COPY ./morph/node-config.yaml /config/node-config.yaml
|
||||
COPY ./http-gw/http-gw-config.yaml /config/http-gw-config.yaml
|
||||
COPY ./http-gw/http-gw-wallet.json /config/http-gw-wallet.json
|
||||
COPY ./s3-gw/rules.json /config/bearer-rules.json
|
||||
COPY ./s3-gw/s3-gw-config.yaml /config/s3-gw-config.yaml
|
||||
COPY ./s3-gw/s3-gw-wallet.json /config/s3-gw-wallet.json
|
||||
COPY ./s3-gw/user-wallet.json /config/user-wallet.json
|
||||
COPY ./sn/cli-cfg.yaml /config/cli-cfg-sn.yaml
|
||||
COPY ./sn/wallet.json /config/wallet-sn.json
|
||||
COPY ./sn/config.yaml /config/config-sn.yaml
|
||||
COPY ./vendor/locode_db /config/locode.db
|
||||
COPY ./vendor/contracts/ /config/contracts
|
||||
|
||||
COPY ./bin/* /usr/bin/
|
||||
|
||||
ENV AUTHMATE_WALLET_PASSPHRASE=""
|
||||
|
||||
ENTRYPOINT ["/usr/bin/init-aio.sh"]
|
|
@ -1,46 +0,0 @@
|
|||
# Executable image
|
||||
FROM alpine AS frostfs-aio
|
||||
RUN apk add --no-cache \
|
||||
bash \
|
||||
ca-certificates \
|
||||
jq \
|
||||
expect \
|
||||
iputils \
|
||||
curl
|
||||
|
||||
WORKDIR /
|
||||
|
||||
COPY ./bin/neo-go /usr/bin/neo-go
|
||||
COPY ./bin/frostfs-adm /usr/bin/frostfs-adm
|
||||
COPY ./bin/frostfs-cli /usr/bin/frostfs-cli
|
||||
COPY ./bin/frostfs-ir /usr/bin/frostfs-ir
|
||||
COPY ./bin/frostfs-node /usr/bin/frostfs-node
|
||||
COPY ./bin/frostfs-s3-gw /usr/bin/frostfs-s3-gw
|
||||
COPY ./bin/frostfs-s3-authmate /usr/bin/frostfs-s3-authmate
|
||||
COPY ./bin/frostfs-http-gw /usr/bin/frostfs-http-gw
|
||||
|
||||
COPY ./adm/frostfs-adm.yml /config/frostfs-adm.yml
|
||||
COPY ./ir/cli-cfg.yaml /config/cli-cfg-ir.yaml
|
||||
COPY ./ir/config.yaml /config/config-ir.yaml
|
||||
COPY ./morph/protocol.privnet.yml /config/protocol.privnet.yml
|
||||
COPY ./morph/node-wallet.json /config/alphabet/az.json
|
||||
COPY ./morph/node-wallet.json /config/alphabet/contract.json
|
||||
COPY ./morph/node-wallet.json /config/node-wallet.json
|
||||
COPY ./morph/node-config.yaml /config/node-config.yaml
|
||||
COPY ./http-gw/http-gw-config.yaml /config/http-gw-config.yaml
|
||||
COPY ./http-gw/http-gw-wallet.json /config/http-gw-wallet.json
|
||||
COPY ./s3-gw/rules.json /config/bearer-rules.json
|
||||
COPY ./s3-gw/s3-gw-config.yaml /config/s3-gw-config.yaml
|
||||
COPY ./s3-gw/s3-gw-wallet.json /config/s3-gw-wallet.json
|
||||
COPY ./s3-gw/user-wallet.json /config/user-wallet.json
|
||||
COPY ./sn/cli-cfg.yaml /config/cli-cfg-sn.yaml
|
||||
COPY ./sn/wallet.json /config/wallet-sn.json
|
||||
COPY ./sn/config.yaml /config/config-sn.yaml
|
||||
COPY ./vendor/locode_db /config/locode.db
|
||||
COPY ./vendor/contracts/ /config/contracts
|
||||
|
||||
COPY ./bin/init-aio.sh /usr/bin/init-aio.sh
|
||||
|
||||
ENV AUTHMATE_WALLET_PASSPHRASE=""
|
||||
|
||||
ENTRYPOINT ["/usr/bin/init-aio.sh"]
|
69
Makefile
69
Makefile
|
@ -8,16 +8,18 @@ REPO=$(notdir $(shell pwd))
|
|||
VERSION ?= "$(shell git describe --tags --match "v*" 2>/dev/null || git rev-parse --short HEAD | sed 's/^v//')"
|
||||
|
||||
# Variables for docker
|
||||
NEOGO_HUB_IMAGE ?= "nspccdev/neo-go"
|
||||
NEOGO_HUB_TAG ?= "0.101.1"
|
||||
FROSTFS_HUB_IMAGE ?= "truecloudlab/frostfs"
|
||||
FROSTFS_CORE_TAG ?= "0beb7ccf"
|
||||
FROSTFS_GATES_TAG ?= "0.27.0-rc.2"
|
||||
AIO_IMAGE ?= "truecloudlab/frostfs-aio"
|
||||
|
||||
# Variables for compose
|
||||
COMPOSE_CMD_UP ?= docker-compose up -d
|
||||
COMPOSE_CMD_DOWN ?= docker-compose down
|
||||
|
||||
COMPOSE_CMD ?= docker-compose up -d
|
||||
COMPOSE_V2 = "$(shell docker compose version --short | grep -q '^2' && echo true)"
|
||||
ifeq ($(COMPOSE_V2), "true")
|
||||
COMPOSE_CMD_UP = docker compose up -d --wait
|
||||
COMPOSE_CMD_DOWN = docker compose down
|
||||
COMPOSE_CMD = docker compose up -d --wait
|
||||
endif
|
||||
|
||||
# Variables for S3
|
||||
|
@ -26,67 +28,38 @@ S3_GATE_PUBLIC_KEY ?= "0312fe65b101565de74eedf477afb43417ff5f795732506cfddc8e044
|
|||
|
||||
# Build aio Docker image
|
||||
image-aio:
|
||||
@echo "⇒ Build aio docker image"
|
||||
@echo "⇒ Build aio docker image "
|
||||
@docker build \
|
||||
--rm \
|
||||
--build-arg FROSTFS_HUB_IMAGE=$(FROSTFS_HUB_IMAGE) \
|
||||
--build-arg FROSTFS_CORE_TAG=$(FROSTFS_CORE_TAG) \
|
||||
--build-arg FROSTFS_GATES_TAG=$(FROSTFS_GATES_TAG) \
|
||||
--build-arg NEOGO_HUB_IMAGE=$(NEOGO_HUB_IMAGE) \
|
||||
--build-arg NEOGO_TAG=$(NEOGO_HUB_TAG) \
|
||||
-f Dockerfile \
|
||||
-t $(AIO_IMAGE):$(AIO_VERSION) .
|
||||
|
||||
# Build aio Docker image from all local pre-built binaries
|
||||
image-aio-local:
|
||||
@echo "⇒ Build aio docker image from all local pre-built binaries"
|
||||
@docker build \
|
||||
--rm \
|
||||
-f Dockerfile.local \
|
||||
-t $(AIO_IMAGE):$(AIO_VERSION) .
|
||||
|
||||
# Build aio Docker image with custom binaries
|
||||
image-aio-custom:
|
||||
@echo "⇒ Build aio Docker image with custom binaries"
|
||||
@docker build \
|
||||
--rm \
|
||||
-f Dockerfile.custom \
|
||||
-t $(AIO_IMAGE):$(AIO_VERSION) .
|
||||
|
||||
# Start AIO
|
||||
up:
|
||||
@$(COMPOSE_CMD_UP)
|
||||
@$(COMPOSE_CMD)
|
||||
|
||||
# Stop AIO
|
||||
down:
|
||||
@$(COMPOSE_CMD_DOWN)
|
||||
@docker-compose down
|
||||
|
||||
# Clean up
|
||||
clean: down
|
||||
@$(COMPOSE_CMD_DOWN) --volumes
|
||||
clean:
|
||||
@docker volume rm frostfs-aio_data
|
||||
|
||||
# Generate S3 credentials
|
||||
s3cred:
|
||||
@docker exec aio /usr/bin/frostfs-s3-authmate issue-secret \
|
||||
@docker exec aio /usr/bin/neofs-authmate issue-secret \
|
||||
--wallet /config/user-wallet.json \
|
||||
--peer localhost:8080 \
|
||||
--gate-public-key $(S3_GATE_PUBLIC_KEY) \
|
||||
--container-placement-policy "REP 1"
|
||||
|
||||
# Generate S3 credentials based on imported wallets
|
||||
s3cred-custom:
|
||||
@docker exec aio /usr/bin/frostfs-s3-authmate issue-secret \
|
||||
--wallet /wallets/$(wallet) \
|
||||
--peer localhost:8080 \
|
||||
--gate-public-key $(S3_GATE_PUBLIC_KEY) \
|
||||
--container-placement-policy "REP 1"
|
||||
|
||||
enable-oracle:
|
||||
@docker exec aio neo-go contract invokefunction -r http://localhost:30333 \
|
||||
--wallet-config /config/node-config.yaml \
|
||||
--out /config/tx.json 49cf4e5378ffcd4dec034fd98a174c5491e395e2 designateAsRole \
|
||||
int:8 [ bytes:02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2 ] \
|
||||
-- NfgHwwTi3wHAS8aFAN243C5vGbkYDpqLHP
|
||||
@docker exec aio neo-go wallet sign --in /config/tx.json \
|
||||
-r http://localhost:30333 \
|
||||
--wallet-config /config/node-config.yaml \
|
||||
-a NfgHwwTi3wHAS8aFAN243C5vGbkYDpqLHP
|
||||
|
||||
--container-placement-policy "REP 1" \
|
||||
--bearer-rules $(S3_BEARER_RULES)
|
||||
|
||||
# Tick new epoch in side chain
|
||||
tick.epoch:
|
||||
@docker exec aio /usr/bin/frostfs-adm --config /config/frostfs-adm.yml morph force-new-epoch
|
||||
|
|
120
README.md
120
README.md
|
@ -96,44 +96,12 @@ Waiting for transactions to persist...
|
|||
|
||||
# Build images
|
||||
|
||||
## Standard image
|
||||
|
||||
Build frostfs-aio image with this command.
|
||||
Build frostfs-aio image locally with this command.
|
||||
|
||||
``` sh
|
||||
$ make image-aio
|
||||
```
|
||||
|
||||
## Image with local binaries
|
||||
|
||||
Put all the needed pre-built binaries to the `frostfs-aio/bin/`:
|
||||
|
||||
- neo-go
|
||||
- frostfs-adm
|
||||
- frostfs-cli
|
||||
- frostfs-ir
|
||||
- frostfs-node
|
||||
- frostfs-s3-gw
|
||||
- frostfs-s3-authmate
|
||||
- frostfs-http-gw
|
||||
|
||||
Make sure they all have the `x` right for the execution enabled.
|
||||
Build frostfs-aio image using pre-built local binaries for all the services.
|
||||
|
||||
``` sh
|
||||
$ make image-aio-local
|
||||
```
|
||||
|
||||
## Image with custom binaries
|
||||
|
||||
This target is useful when one needs to change only a few binaries and keep the others "as is".
|
||||
|
||||
Put the needed binaries to `frostfs-aio/bin/`. Make sure they all have the `x` right for the
|
||||
execution enabled. All the binaries will be copied to image.
|
||||
|
||||
``` sh
|
||||
$ make image-aio-custom
|
||||
```
|
||||
|
||||
# Simple storage
|
||||
|
||||
|
@ -201,92 +169,6 @@ $ aws s3api --endpoint http://localhost:8084 list-objects --bucket koty
|
|||
}
|
||||
```
|
||||
|
||||
### S3 credentials from custom wallets
|
||||
|
||||
Credentials made by `make s3cred` command are based on the private key from
|
||||
`s3-gw/user-wallet.json` file. If you need to create credential for different
|
||||
users, use wallets from `wallets` dir.
|
||||
|
||||
```sh
|
||||
$ make s3cred-custom wallet=wallet2.json
|
||||
{
|
||||
"access_key_id": "jHhL5B33o16R4jQsb8wm9A3RRdS6KrTB5N4bja9Jys904W7xXFNKqem2ACvTRWRYJsZMCUikYFSokN7pPJziWyDi",
|
||||
"secret_access_key": "21bb64fafa32c82417fd8b97ac56cc8a085998a3852632d52fe7042453daa440",
|
||||
"owner_private_key": "10f6f9d7a47bb0bf68363ad8a99fe69f1493f8b6e1665b3e4e83feb2d5c7ee39",
|
||||
"wallet_public_key": "03e38759973a6bb722baabc2dd84036a39f0b2f53d32fec45a4dacde8a50fe4b70",
|
||||
"container_id": "jHhL5B33o16R4jQsb8wm9A3RRdS6KrTB5N4bja9Jys9"
|
||||
}
|
||||
```
|
||||
|
||||
To get credentials from custom wallet, place it in `wallets` dir before start.
|
||||
Make sure that wallet account has empty password.
|
||||
|
||||
### Making a custom wallet
|
||||
|
||||
Command line interface of `neo-go` is used to create new wallets. Both `neo-go`
|
||||
from the image or [downloaded binary](https://github.com/nspcc-dev/neo-go/releases)
|
||||
can be used. We stick to the one in the image in this example.
|
||||
|
||||
Invoke a shell of the running container:
|
||||
```bash
|
||||
$ docker exec -it aio bash
|
||||
```
|
||||
|
||||
Create a new wallet:
|
||||
|
||||
```bash
|
||||
$ neo-go wallet init -a --wallet /wallets/new-wallet.json
|
||||
```
|
||||
|
||||
- key `-a` means the new wallet must have an account.
|
||||
- key `--wallet /wallets/new-wallet.json` sets the outputh path for the new wallet.
|
||||
The image keeps wallets at `/wallets` for simplicity.
|
||||
|
||||
Then `neo-go` asks for the account name and its password using interactive
|
||||
mode. Leave the password empty.
|
||||
|
||||
```bash
|
||||
Enter the name of the account > Some Name
|
||||
Enter new password >
|
||||
Confirm password >
|
||||
```
|
||||
|
||||
If everything is rigth, the stdout will show a pretty-printed contents of the wallet:
|
||||
```bash
|
||||
{
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "NapWfRshCv9T3UyGxSfPr6NKiTFa5sVwQx",
|
||||
"key": "6PYKKPtBRuKvTqjAuUZk5hVDgG5aZ3HQvp1hSQg5jDyUF9JaP5Jcy3kWiV",
|
||||
"label": "Some Name",
|
||||
"contract": {
|
||||
"script": "DCECGXJggQTMyMhYS9YtWzTP+3FbiGLn2h7za1zSNgMDkIxBVuezJw==",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "parameter0",
|
||||
"type": "Signature"
|
||||
}
|
||||
],
|
||||
"deployed": false
|
||||
},
|
||||
"lock": false,
|
||||
"isDefault": false
|
||||
}
|
||||
],
|
||||
"scrypt": {
|
||||
"n": 16384,
|
||||
"r": 8,
|
||||
"p": 8
|
||||
},
|
||||
"extra": {
|
||||
"Tokens": null
|
||||
}
|
||||
}
|
||||
|
||||
wallet successfully created, file location is /wallets/new-wallet.json
|
||||
```
|
||||
|
||||
|
||||
## frostfs-cli interface
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ die() {
|
|||
runBlockchain() {
|
||||
stage "Starting the blockchain"
|
||||
|
||||
/usr/bin/neo-go node --config-path /config --privnet &
|
||||
/usr/bin/privnet-entrypoint.sh node --config-path /config --privnet &
|
||||
|
||||
while [[ "$(curl -s -o /dev/null -w %{http_code} localhost:30333)" != "422" ]];
|
||||
do
|
||||
|
@ -27,11 +27,7 @@ configure() {
|
|||
|
||||
/usr/bin/frostfs-adm morph init --config /config/frostfs-adm.yml --contracts /config/contracts || die "Failed to initialize Alphabet wallets"
|
||||
|
||||
/usr/bin/frostfs-adm --config /config/frostfs-adm.yml morph ape add-rule-chain --target-type namespace --target-name "" --rule 'allow Container.* *' --chain-id "allow_container_ops" || die "Failed to set defaul policy"
|
||||
|
||||
/usr/bin/frostfs-adm morph refill-gas --config /config/frostfs-adm.yml --storage-wallet /config/wallet-sn.json --gas 10.0 || die "Failed to transfer GAS to alphabet wallets"
|
||||
|
||||
/usr/bin/frostfs-adm morph proxy-add-account --config /config/frostfs-adm.yml --account NN1RQ3qwnvDMVNsQw4WPkKi7BrjxdVTDZp || die "Failed to set s3 gateway wallet as proxy wallet"
|
||||
}
|
||||
|
||||
runServices() {
|
||||
|
@ -39,7 +35,7 @@ runServices() {
|
|||
|
||||
/usr/bin/frostfs-ir --config /config/config-ir.yaml &
|
||||
|
||||
while [[ -z "$(/usr/bin/frostfs-cli control ir healthcheck --endpoint localhost:16512 -c /config/cli-cfg-ir.yaml | grep 'Health status: READY')" ]];
|
||||
while [[ -z "$(/usr/bin/frostfs-cli control healthcheck --ir --endpoint localhost:16512 -c /config/cli-cfg-ir.yaml | grep 'Health status: READY')" ]];
|
||||
do
|
||||
sleep 2;
|
||||
done
|
||||
|
@ -58,12 +54,7 @@ runServices() {
|
|||
sleep 2
|
||||
done
|
||||
|
||||
while [[ -z "$(/usr/bin/frostfs-cli tree healthcheck -r 127.0.0.1:8080 -g -v | grep 'Successful healthcheck invocation')" ]];
|
||||
do
|
||||
sleep 2
|
||||
done
|
||||
|
||||
/usr/bin/frostfs-s3-gw --config /config/s3-gw-config.yaml &
|
||||
/usr/bin/neofs-s3-gw --config /config/s3-gw-config.yaml --wallet /config/s3-gw-wallet.json &
|
||||
/usr/bin/frostfs-http-gw --config /config/http-gw-config.yaml &
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ services:
|
|||
timeout: 2s
|
||||
volumes:
|
||||
- data:/data
|
||||
- ./wallets:/wallets
|
||||
ports:
|
||||
- "8081:8081" # HTTP Gateway
|
||||
- "30333:30333" # RPC
|
||||
|
|
|
@ -29,7 +29,7 @@ wallet:
|
|||
|
||||
peers:
|
||||
0:
|
||||
address: localhost:8080
|
||||
address: grpc://localhost:8080
|
||||
priority: 1
|
||||
weight: 1
|
||||
|
||||
|
|
|
@ -29,11 +29,6 @@ ApplicationConfiguration:
|
|||
AttemptConnPeers: 5
|
||||
MinPeers: 0
|
||||
Relay: true
|
||||
Consensus:
|
||||
Enabled: true
|
||||
UnlockWallet:
|
||||
Path: "/config/node-wallet.json"
|
||||
Password: "one"
|
||||
RPC:
|
||||
Addresses:
|
||||
- ":30333"
|
||||
|
@ -54,10 +49,6 @@ ApplicationConfiguration:
|
|||
Addresses:
|
||||
- ":20011"
|
||||
Enabled: false
|
||||
Oracle:
|
||||
Enabled: true
|
||||
Nodes:
|
||||
- http://127.0.0.1:30333
|
||||
UnlockWallet:
|
||||
Path: "/config/node-wallet.json"
|
||||
Password: "one"
|
||||
UnlockWallet:
|
||||
Path: "/config/node-wallet.json"
|
||||
Password: "one"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
wallet:
|
||||
path: /config/s3-gw-wallet.json
|
||||
passphrase: ""
|
||||
address: NN1RQ3qwnvDMVNsQw4WPkKi7BrjxdVTDZp
|
||||
|
||||
address: NN1RQ3qwnvDMVNsQw4WPkKi7BrjxdVTDZp
|
||||
|
||||
peers:
|
||||
0:
|
||||
|
@ -9,12 +9,14 @@ peers:
|
|||
priority: 1
|
||||
weight: 1
|
||||
|
||||
server:
|
||||
- address: 0.0.0.0:8084
|
||||
listen_address: 0.0.0.0:8084
|
||||
|
||||
logger:
|
||||
level: debug
|
||||
|
||||
tree:
|
||||
service: localhost:8080
|
||||
|
||||
rpc_endpoint: http://localhost:30333
|
||||
resolve_order:
|
||||
- nns
|
||||
|
@ -58,20 +60,6 @@ cache:
|
|||
lifetime: 1m
|
||||
size: 100000
|
||||
|
||||
placement_policy:
|
||||
default: REP 1
|
||||
default_policy: REP 1
|
||||
|
||||
features:
|
||||
md5:
|
||||
enabled: true
|
||||
|
||||
control:
|
||||
grpc:
|
||||
endpoint: localhost:16515
|
||||
|
||||
frostfsid:
|
||||
validation:
|
||||
enabled: false
|
||||
|
||||
kludge:
|
||||
use_default_xmlns: true
|
||||
|
|
|
@ -2,7 +2,6 @@ morph:
|
|||
rpc_endpoint:
|
||||
- address: ws://localhost:30333/ws
|
||||
dial_timeout: 20s
|
||||
ape_chain_cache_size: 0
|
||||
|
||||
control:
|
||||
grpc:
|
||||
|
@ -23,7 +22,7 @@ grpc:
|
|||
0:
|
||||
endpoint: 0.0.0.0:8080
|
||||
tls:
|
||||
enabled: false
|
||||
enables: false
|
||||
|
||||
logger:
|
||||
level: debug
|
||||
|
|
BIN
vendor/contracts/alphabet/alphabet_contract.nef
vendored
BIN
vendor/contracts/alphabet/alphabet_contract.nef
vendored
Binary file not shown.
2
vendor/contracts/alphabet/config.json
vendored
2
vendor/contracts/alphabet/config.json
vendored
|
@ -1 +1 @@
|
|||
{"name":"Alphabet","abi":{"methods":[{"name":"_initialize","offset":0,"parameters":[],"returntype":"Void","safe":false},{"name":"_deploy","offset":35,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"emit","offset":1038,"parameters":[],"returntype":"Void","safe":false},{"name":"gas","offset":859,"parameters":[],"returntype":"Integer","safe":true},{"name":"name","offset":1660,"parameters":[],"returntype":"String","safe":true},{"name":"neo","offset":873,"parameters":[],"returntype":"Integer","safe":true},{"name":"onNEP17Payment","offset":627,"parameters":[{"name":"from","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"update","offset":764,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"version","offset":1676,"parameters":[],"returntype":"Integer","safe":true},{"name":"vote","offset":1497,"parameters":[{"name":"epoch","type":"Integer"},{"name":"candidates","type":"Array"}],"returntype":"Void","safe":false}],"events":[]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["update","transfer","vote"]}],"supportedstandards":[],"trusts":[],"extra":null}
|
||||
{"name":"Alphabet","abi":{"methods":[{"name":"_initialize","offset":0,"parameters":[],"returntype":"Void","safe":false},{"name":"_deploy","offset":35,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"emit","offset":1191,"parameters":[],"returntype":"Void","safe":false},{"name":"gas","offset":1010,"parameters":[],"returntype":"Integer","safe":true},{"name":"name","offset":1813,"parameters":[],"returntype":"String","safe":true},{"name":"neo","offset":1024,"parameters":[],"returntype":"Integer","safe":true},{"name":"onNEP17Payment","offset":741,"parameters":[{"name":"from","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"update","offset":878,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"version","offset":1829,"parameters":[],"returntype":"Integer","safe":true},{"name":"vote","offset":1650,"parameters":[{"name":"epoch","type":"Integer"},{"name":"candidates","type":"Array"}],"returntype":"Void","safe":false}],"events":[]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["update","transfer","vote"]}],"supportedstandards":[],"trusts":[],"extra":null}
|
BIN
vendor/contracts/audit/audit_contract.nef
vendored
Executable file
BIN
vendor/contracts/audit/audit_contract.nef
vendored
Executable file
Binary file not shown.
1
vendor/contracts/audit/config.json
vendored
Executable file
1
vendor/contracts/audit/config.json
vendored
Executable file
|
@ -0,0 +1 @@
|
|||
{"name":"Audit","abi":{"methods":[{"name":"_deploy","offset":0,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"get","offset":886,"parameters":[{"name":"id","type":"ByteArray"}],"returntype":"ByteArray","safe":true},{"name":"list","offset":911,"parameters":[],"returntype":"Array","safe":true},{"name":"listByCID","offset":977,"parameters":[{"name":"epoch","type":"Integer"},{"name":"cid","type":"ByteArray"}],"returntype":"Array","safe":true},{"name":"listByEpoch","offset":945,"parameters":[{"name":"epoch","type":"Integer"}],"returntype":"Array","safe":true},{"name":"listByNode","offset":1020,"parameters":[{"name":"epoch","type":"Integer"},{"name":"cid","type":"ByteArray"},{"name":"key","type":"PublicKey"}],"returntype":"Array","safe":true},{"name":"put","offset":735,"parameters":[{"name":"rawAuditResult","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"update","offset":606,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"version","offset":1160,"parameters":[],"returntype":"Integer","safe":true}],"events":[]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["update"]}],"supportedstandards":[],"trusts":[],"extra":null}
|
BIN
vendor/contracts/balance/balance_contract.nef
vendored
BIN
vendor/contracts/balance/balance_contract.nef
vendored
Binary file not shown.
2
vendor/contracts/balance/config.json
vendored
2
vendor/contracts/balance/config.json
vendored
|
@ -1 +1 @@
|
|||
{"name":"Balance","abi":{"methods":[{"name":"_initialize","offset":0,"parameters":[],"returntype":"Void","safe":false},{"name":"_deploy","offset":93,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"balanceOf","offset":903,"parameters":[{"name":"account","type":"Hash160"}],"returntype":"Integer","safe":true},{"name":"burn","offset":1427,"parameters":[{"name":"from","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"txDetails","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"decimals","offset":881,"parameters":[],"returntype":"Integer","safe":true},{"name":"lock","offset":1042,"parameters":[{"name":"txDetails","type":"ByteArray"},{"name":"from","type":"Hash160"},{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"until","type":"Integer"}],"returntype":"Void","safe":false},{"name":"mint","offset":1294,"parameters":[{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"txDetails","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"newEpoch","offset":1172,"parameters":[{"name":"epochNum","type":"Integer"}],"returntype":"Void","safe":false},{"name":"symbol","offset":877,"parameters":[],"returntype":"String","safe":true},{"name":"totalSupply","offset":885,"parameters":[],"returntype":"Integer","safe":true},{"name":"transfer","offset":922,"parameters":[{"name":"from","type":"Hash160"},{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"data","type":"Any"}],"returntype":"Boolean","safe":false},{"name":"transferX","offset":946,"parameters":[{"name":"from","type":"Hash160"},{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"details","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"update","offset":783,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"version","offset":1590,"parameters":[],"returntype":"Integer","safe":true}],"events":[{"name":"Lock","parameters":[{"name":"txID","type":"ByteArray"},{"name":"from","type":"Hash160"},{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"until","type":"Integer"}]},{"name":"Transfer","parameters":[{"name":"from","type":"Hash160"},{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"}]},{"name":"TransferX","parameters":[{"name":"from","type":"Hash160"},{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"details","type":"ByteArray"}]},{"name":"Mint","parameters":[{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"}]},{"name":"Burn","parameters":[{"name":"from","type":"Hash160"},{"name":"amount","type":"Integer"}]}]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["update"]}],"supportedstandards":["NEP-17"],"trusts":[],"extra":null}
|
||||
{"name":"Balance","abi":{"methods":[{"name":"_initialize","offset":0,"parameters":[],"returntype":"Void","safe":false},{"name":"_deploy","offset":93,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"balanceOf","offset":988,"parameters":[{"name":"account","type":"Hash160"}],"returntype":"Integer","safe":true},{"name":"burn","offset":1522,"parameters":[{"name":"from","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"txDetails","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"decimals","offset":966,"parameters":[],"returntype":"Integer","safe":true},{"name":"lock","offset":1131,"parameters":[{"name":"txDetails","type":"ByteArray"},{"name":"from","type":"Hash160"},{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"until","type":"Integer"}],"returntype":"Void","safe":false},{"name":"mint","offset":1387,"parameters":[{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"txDetails","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"newEpoch","offset":1263,"parameters":[{"name":"epochNum","type":"Integer"}],"returntype":"Void","safe":false},{"name":"symbol","offset":962,"parameters":[],"returntype":"String","safe":true},{"name":"totalSupply","offset":970,"parameters":[],"returntype":"Integer","safe":true},{"name":"transfer","offset":1007,"parameters":[{"name":"from","type":"Hash160"},{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"data","type":"Any"}],"returntype":"Boolean","safe":false},{"name":"transferX","offset":1033,"parameters":[{"name":"from","type":"Hash160"},{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"details","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"update","offset":831,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"version","offset":1687,"parameters":[],"returntype":"Integer","safe":true}],"events":[{"name":"Lock","parameters":[{"name":"txID","type":"ByteArray"},{"name":"from","type":"Hash160"},{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"until","type":"Integer"}]},{"name":"Transfer","parameters":[{"name":"from","type":"Hash160"},{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"}]},{"name":"TransferX","parameters":[{"name":"from","type":"Hash160"},{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"details","type":"ByteArray"}]},{"name":"Mint","parameters":[{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"}]},{"name":"Burn","parameters":[{"name":"from","type":"Hash160"},{"name":"amount","type":"Integer"}]}]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["update"]}],"supportedstandards":["NEP-17"],"trusts":[],"extra":null}
|
2
vendor/contracts/container/config.json
vendored
2
vendor/contracts/container/config.json
vendored
|
@ -1 +1 @@
|
|||
{"name":"Container","abi":{"methods":[{"name":"_initialize","offset":0,"parameters":[],"returntype":"Void","safe":false},{"name":"_deploy","offset":83,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"containersOf","offset":2618,"parameters":[{"name":"owner","type":"ByteArray"}],"returntype":"InteropInterface","safe":true},{"name":"count","offset":2573,"parameters":[],"returntype":"Integer","safe":true},{"name":"delete","offset":2071,"parameters":[{"name":"containerID","type":"ByteArray"},{"name":"signature","type":"Signature"},{"name":"publicKey","type":"PublicKey"},{"name":"token","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"deletionInfo","offset":2358,"parameters":[{"name":"containerID","type":"ByteArray"}],"returntype":"Array","safe":true},{"name":"eACL","offset":2918,"parameters":[{"name":"containerID","type":"ByteArray"}],"returntype":"Array","safe":true},{"name":"get","offset":2460,"parameters":[{"name":"containerID","type":"ByteArray"}],"returntype":"Array","safe":true},{"name":"getContainerSize","offset":3178,"parameters":[{"name":"id","type":"ByteArray"}],"returntype":"Array","safe":true},{"name":"iterateContainerSizes","offset":3379,"parameters":[{"name":"epoch","type":"Integer"}],"returntype":"InteropInterface","safe":true},{"name":"list","offset":2672,"parameters":[{"name":"owner","type":"ByteArray"}],"returntype":"Array","safe":true},{"name":"listContainerSizes","offset":3218,"parameters":[{"name":"epoch","type":"Integer"}],"returntype":"Array","safe":true},{"name":"newEpoch","offset":3431,"parameters":[{"name":"epochNum","type":"Integer"}],"returntype":"Void","safe":false},{"name":"onNEP11Payment","offset":833,"parameters":[{"name":"a","type":"Hash160"},{"name":"b","type":"Integer"},{"name":"c","type":"ByteArray"},{"name":"d","type":"Any"}],"returntype":"Void","safe":false},{"name":"owner","offset":2522,"parameters":[{"name":"containerID","type":"ByteArray"}],"returntype":"ByteArray","safe":true},{"name":"put","offset":1075,"parameters":[{"name":"container","type":"ByteArray"},{"name":"signature","type":"Signature"},{"name":"publicKey","type":"PublicKey"},{"name":"token","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"putContainerSize","offset":2976,"parameters":[{"name":"epoch","type":"Integer"},{"name":"cid","type":"ByteArray"},{"name":"usedSize","type":"Integer"},{"name":"pubKey","type":"PublicKey"}],"returntype":"Void","safe":false},{"name":"putNamed","offset":1091,"parameters":[{"name":"container","type":"ByteArray"},{"name":"signature","type":"Signature"},{"name":"publicKey","type":"PublicKey"},{"name":"token","type":"ByteArray"},{"name":"name","type":"String"},{"name":"zone","type":"String"}],"returntype":"Void","safe":false},{"name":"setEACL","offset":2768,"parameters":[{"name":"eACL","type":"ByteArray"},{"name":"signature","type":"Signature"},{"name":"publicKey","type":"PublicKey"},{"name":"token","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"startContainerEstimation","offset":3454,"parameters":[{"name":"epoch","type":"Integer"}],"returntype":"Void","safe":false},{"name":"stopContainerEstimation","offset":3528,"parameters":[{"name":"epoch","type":"Integer"}],"returntype":"Void","safe":false},{"name":"update","offset":979,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"version","offset":3601,"parameters":[],"returntype":"Integer","safe":true}],"events":[{"name":"PutSuccess","parameters":[{"name":"containerID","type":"Hash256"},{"name":"publicKey","type":"PublicKey"}]},{"name":"DeleteSuccess","parameters":[{"name":"containerID","type":"ByteArray"}]},{"name":"SetEACLSuccess","parameters":[{"name":"containerID","type":"ByteArray"},{"name":"publicKey","type":"PublicKey"}]},{"name":"StartEstimation","parameters":[{"name":"epoch","type":"Integer"}]},{"name":"StopEstimation","parameters":[{"name":"epoch","type":"Integer"}]}]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["addRecord","deleteRecords","register","transferX","update"]}],"supportedstandards":[],"trusts":[],"extra":null}
|
||||
{"name":"Container","abi":{"methods":[{"name":"_initialize","offset":0,"parameters":[],"returntype":"Void","safe":false},{"name":"_deploy","offset":83,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"containersOf","offset":2867,"parameters":[{"name":"owner","type":"ByteArray"}],"returntype":"InteropInterface","safe":true},{"name":"count","offset":2822,"parameters":[],"returntype":"Integer","safe":true},{"name":"delete","offset":2422,"parameters":[{"name":"containerID","type":"ByteArray"},{"name":"signature","type":"Signature"},{"name":"token","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"eACL","offset":3167,"parameters":[{"name":"containerID","type":"ByteArray"}],"returntype":"Array","safe":true},{"name":"get","offset":2709,"parameters":[{"name":"containerID","type":"ByteArray"}],"returntype":"Array","safe":true},{"name":"getContainerSize","offset":3429,"parameters":[{"name":"id","type":"ByteArray"}],"returntype":"Array","safe":true},{"name":"iterateContainerSizes","offset":3630,"parameters":[{"name":"epoch","type":"Integer"}],"returntype":"InteropInterface","safe":true},{"name":"list","offset":2921,"parameters":[{"name":"owner","type":"ByteArray"}],"returntype":"Array","safe":true},{"name":"listContainerSizes","offset":3469,"parameters":[{"name":"epoch","type":"Integer"}],"returntype":"Array","safe":true},{"name":"newEpoch","offset":3682,"parameters":[{"name":"epochNum","type":"Integer"}],"returntype":"Void","safe":false},{"name":"onNEP11Payment","offset":1046,"parameters":[{"name":"a","type":"Hash160"},{"name":"b","type":"Integer"},{"name":"c","type":"ByteArray"},{"name":"d","type":"Any"}],"returntype":"Void","safe":false},{"name":"owner","offset":2771,"parameters":[{"name":"containerID","type":"ByteArray"}],"returntype":"ByteArray","safe":true},{"name":"put","offset":1331,"parameters":[{"name":"container","type":"ByteArray"},{"name":"signature","type":"Signature"},{"name":"publicKey","type":"PublicKey"},{"name":"token","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"putContainerSize","offset":3225,"parameters":[{"name":"epoch","type":"Integer"},{"name":"cid","type":"ByteArray"},{"name":"usedSize","type":"Integer"},{"name":"pubKey","type":"PublicKey"}],"returntype":"Void","safe":false},{"name":"putNamed","offset":1347,"parameters":[{"name":"container","type":"ByteArray"},{"name":"signature","type":"Signature"},{"name":"publicKey","type":"PublicKey"},{"name":"token","type":"ByteArray"},{"name":"name","type":"String"},{"name":"zone","type":"String"}],"returntype":"Void","safe":false},{"name":"setEACL","offset":3017,"parameters":[{"name":"eACL","type":"ByteArray"},{"name":"signature","type":"Signature"},{"name":"publicKey","type":"PublicKey"},{"name":"token","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"startContainerEstimation","offset":3705,"parameters":[{"name":"epoch","type":"Integer"}],"returntype":"Void","safe":false},{"name":"stopContainerEstimation","offset":3779,"parameters":[{"name":"epoch","type":"Integer"}],"returntype":"Void","safe":false},{"name":"update","offset":1198,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"version","offset":3852,"parameters":[],"returntype":"Integer","safe":true}],"events":[{"name":"containerPut","parameters":[{"name":"container","type":"ByteArray"},{"name":"signature","type":"Signature"},{"name":"publicKey","type":"PublicKey"},{"name":"token","type":"ByteArray"}]},{"name":"PutSuccess","parameters":[{"name":"containerID","type":"Hash256"},{"name":"publicKey","type":"PublicKey"}]},{"name":"containerDelete","parameters":[{"name":"containerID","type":"ByteArray"},{"name":"signature","type":"Signature"},{"name":"token","type":"ByteArray"}]},{"name":"DeleteSuccess","parameters":[{"name":"containerID","type":"ByteArray"}]},{"name":"setEACL","parameters":[{"name":"eACL","type":"ByteArray"},{"name":"signature","type":"Signature"},{"name":"publicKey","type":"PublicKey"},{"name":"token","type":"ByteArray"}]},{"name":"SetEACLSuccess","parameters":[{"name":"containerID","type":"ByteArray"},{"name":"publicKey","type":"PublicKey"}]},{"name":"StartEstimation","parameters":[{"name":"epoch","type":"Integer"}]},{"name":"StopEstimation","parameters":[{"name":"epoch","type":"Integer"}]}]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["update","addKey","transferX","register","addRecord","deleteRecords"]}],"supportedstandards":[],"trusts":[],"extra":null}
|
BIN
vendor/contracts/container/container_contract.nef
vendored
BIN
vendor/contracts/container/container_contract.nef
vendored
Binary file not shown.
2
vendor/contracts/frostfs/config.json
vendored
2
vendor/contracts/frostfs/config.json
vendored
|
@ -1 +1 @@
|
|||
{"name":"FrostFS","abi":{"methods":[{"name":"_initialize","offset":0,"parameters":[],"returntype":"Void","safe":false},{"name":"_deploy","offset":74,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"bind","offset":2084,"parameters":[{"name":"user","type":"ByteArray"},{"name":"keys","type":"Array"}],"returntype":"Void","safe":false},{"name":"cheque","offset":1962,"parameters":[{"name":"id","type":"ByteArray"},{"name":"user","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"lockAcc","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"config","offset":2364,"parameters":[{"name":"key","type":"ByteArray"}],"returntype":"Any","safe":true},{"name":"innerRingCandidateAdd","offset":1085,"parameters":[{"name":"key","type":"PublicKey"}],"returntype":"Void","safe":false},{"name":"innerRingCandidateRemove","offset":911,"parameters":[{"name":"key","type":"PublicKey"}],"returntype":"Void","safe":false},{"name":"innerRingCandidates","offset":839,"parameters":[],"returntype":"Array","safe":true},{"name":"listConfig","offset":2468,"parameters":[],"returntype":"Array","safe":true},{"name":"onNEP17Payment","offset":1335,"parameters":[{"name":"from","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"setConfig","offset":2382,"parameters":[{"name":"id","type":"ByteArray"},{"name":"key","type":"ByteArray"},{"name":"val","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"unbind","offset":2223,"parameters":[{"name":"user","type":"ByteArray"},{"name":"keys","type":"Array"}],"returntype":"Void","safe":false},{"name":"update","offset":756,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"version","offset":2550,"parameters":[],"returntype":"Integer","safe":true},{"name":"withdraw","offset":1668,"parameters":[{"name":"user","type":"Hash160"},{"name":"amount","type":"Integer"}],"returntype":"Void","safe":false}],"events":[{"name":"Deposit","parameters":[{"name":"from","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"receiver","type":"Hash160"},{"name":"txHash","type":"Hash256"}]},{"name":"Withdraw","parameters":[{"name":"user","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"txHash","type":"Hash256"}]},{"name":"Cheque","parameters":[{"name":"id","type":"ByteArray"},{"name":"user","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"lockAccount","type":"ByteArray"}]},{"name":"Bind","parameters":[{"name":"user","type":"ByteArray"},{"name":"keys","type":"Array"}]},{"name":"Unbind","parameters":[{"name":"user","type":"ByteArray"},{"name":"keys","type":"Array"}]},{"name":"AlphabetUpdate","parameters":[{"name":"id","type":"ByteArray"},{"name":"alphabet","type":"Array"}]},{"name":"SetConfig","parameters":[{"name":"id","type":"ByteArray"},{"name":"key","type":"ByteArray"},{"name":"value","type":"ByteArray"}]}]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["update","transfer"]}],"supportedstandards":[],"trusts":[],"extra":null}
|
||||
{"name":"FrostFS","abi":{"methods":[{"name":"_initialize","offset":0,"parameters":[],"returntype":"Void","safe":false},{"name":"_deploy","offset":74,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"alphabetAddress","offset":1028,"parameters":[],"returntype":"Hash160","safe":true},{"name":"bind","offset":2294,"parameters":[{"name":"user","type":"ByteArray"},{"name":"keys","type":"Array"}],"returntype":"Void","safe":false},{"name":"cheque","offset":2172,"parameters":[{"name":"id","type":"ByteArray"},{"name":"user","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"lockAcc","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"config","offset":2574,"parameters":[{"name":"key","type":"ByteArray"}],"returntype":"Any","safe":true},{"name":"innerRingCandidateAdd","offset":1295,"parameters":[{"name":"key","type":"PublicKey"}],"returntype":"Void","safe":false},{"name":"innerRingCandidateRemove","offset":1121,"parameters":[{"name":"key","type":"PublicKey"}],"returntype":"Void","safe":false},{"name":"innerRingCandidates","offset":1049,"parameters":[],"returntype":"Array","safe":true},{"name":"listConfig","offset":2678,"parameters":[],"returntype":"Array","safe":true},{"name":"onNEP17Payment","offset":1545,"parameters":[{"name":"from","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"setConfig","offset":2592,"parameters":[{"name":"id","type":"ByteArray"},{"name":"key","type":"ByteArray"},{"name":"val","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"unbind","offset":2433,"parameters":[{"name":"user","type":"ByteArray"},{"name":"keys","type":"Array"}],"returntype":"Void","safe":false},{"name":"update","offset":906,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"version","offset":2760,"parameters":[],"returntype":"Integer","safe":true},{"name":"withdraw","offset":1878,"parameters":[{"name":"user","type":"Hash160"},{"name":"amount","type":"Integer"}],"returntype":"Void","safe":false}],"events":[{"name":"Deposit","parameters":[{"name":"from","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"receiver","type":"Hash160"},{"name":"txHash","type":"Hash256"}]},{"name":"Withdraw","parameters":[{"name":"user","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"txHash","type":"Hash256"}]},{"name":"Cheque","parameters":[{"name":"id","type":"ByteArray"},{"name":"user","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"lockAccount","type":"ByteArray"}]},{"name":"Bind","parameters":[{"name":"user","type":"ByteArray"},{"name":"keys","type":"Array"}]},{"name":"Unbind","parameters":[{"name":"user","type":"ByteArray"},{"name":"keys","type":"Array"}]},{"name":"AlphabetUpdate","parameters":[{"name":"id","type":"ByteArray"},{"name":"alphabet","type":"Array"}]},{"name":"SetConfig","parameters":[{"name":"id","type":"ByteArray"},{"name":"key","type":"ByteArray"},{"name":"value","type":"ByteArray"}]}]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["update","transfer"]}],"supportedstandards":[],"trusts":[],"extra":null}
|
BIN
vendor/contracts/frostfs/frostfs_contract.nef
vendored
BIN
vendor/contracts/frostfs/frostfs_contract.nef
vendored
Binary file not shown.
2
vendor/contracts/frostfsid/config.json
vendored
2
vendor/contracts/frostfsid/config.json
vendored
File diff suppressed because one or more lines are too long
BIN
vendor/contracts/frostfsid/frostfsid_contract.nef
vendored
BIN
vendor/contracts/frostfsid/frostfsid_contract.nef
vendored
Binary file not shown.
2
vendor/contracts/netmap/config.json
vendored
2
vendor/contracts/netmap/config.json
vendored
|
@ -1 +1 @@
|
|||
{"name":"Netmap","abi":{"methods":[{"name":"_initialize","offset":0,"parameters":[],"returntype":"Void","safe":false},{"name":"_deploy","offset":93,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"addPeer","offset":960,"parameters":[{"name":"nodeInfo","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"addPeerIR","offset":920,"parameters":[{"name":"nodeInfo","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"config","offset":2356,"parameters":[{"name":"key","type":"ByteArray"}],"returntype":"Any","safe":true},{"name":"epoch","offset":1541,"parameters":[],"returntype":"Integer","safe":true},{"name":"lastEpochBlock","offset":1580,"parameters":[],"returntype":"Integer","safe":false},{"name":"listConfig","offset":2435,"parameters":[],"returntype":"Array","safe":true},{"name":"netmap","offset":1619,"parameters":[],"returntype":"Array","safe":true},{"name":"netmapCandidates","offset":1701,"parameters":[],"returntype":"Array","safe":true},{"name":"newEpoch","offset":1257,"parameters":[{"name":"epochNum","type":"Integer"}],"returntype":"Void","safe":false},{"name":"setConfig","offset":2374,"parameters":[{"name":"id","type":"ByteArray"},{"name":"key","type":"ByteArray"},{"name":"val","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"snapshot","offset":1717,"parameters":[{"name":"diff","type":"Integer"}],"returntype":"Array","safe":true},{"name":"snapshotByEpoch","offset":2308,"parameters":[{"name":"epoch","type":"Integer"}],"returntype":"Array","safe":true},{"name":"update","offset":827,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"updateSnapshotCount","offset":1871,"parameters":[{"name":"count","type":"Integer"}],"returntype":"Void","safe":false},{"name":"updateState","offset":1166,"parameters":[{"name":"state","type":"Integer"},{"name":"publicKey","type":"PublicKey"}],"returntype":"Void","safe":false},{"name":"updateStateIR","offset":1233,"parameters":[{"name":"state","type":"Integer"},{"name":"publicKey","type":"PublicKey"}],"returntype":"Void","safe":false},{"name":"version","offset":2517,"parameters":[],"returntype":"Integer","safe":true}],"events":[{"name":"AddPeer","parameters":[{"name":"nodeInfo","type":"ByteArray"}]},{"name":"AddPeerSuccess","parameters":[{"name":"publicKey","type":"PublicKey"}]},{"name":"UpdateState","parameters":[{"name":"state","type":"Integer"},{"name":"publicKey","type":"PublicKey"}]},{"name":"UpdateStateSuccess","parameters":[{"name":"publicKey","type":"PublicKey"},{"name":"state","type":"Integer"}]},{"name":"NewEpoch","parameters":[{"name":"epoch","type":"Integer"}]}]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["update","newEpoch"]}],"supportedstandards":[],"trusts":[],"extra":null}
|
||||
{"name":"Netmap","abi":{"methods":[{"name":"_initialize","offset":0,"parameters":[],"returntype":"Void","safe":false},{"name":"_deploy","offset":93,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"addPeer","offset":1111,"parameters":[{"name":"nodeInfo","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"addPeerIR","offset":1071,"parameters":[{"name":"nodeInfo","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"config","offset":2507,"parameters":[{"name":"key","type":"ByteArray"}],"returntype":"Any","safe":true},{"name":"epoch","offset":1692,"parameters":[],"returntype":"Integer","safe":true},{"name":"lastEpochBlock","offset":1731,"parameters":[],"returntype":"Integer","safe":false},{"name":"listConfig","offset":2586,"parameters":[],"returntype":"Array","safe":true},{"name":"netmap","offset":1770,"parameters":[],"returntype":"Array","safe":true},{"name":"netmapCandidates","offset":1852,"parameters":[],"returntype":"Array","safe":true},{"name":"newEpoch","offset":1408,"parameters":[{"name":"epochNum","type":"Integer"}],"returntype":"Void","safe":false},{"name":"setConfig","offset":2525,"parameters":[{"name":"id","type":"ByteArray"},{"name":"key","type":"ByteArray"},{"name":"val","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"snapshot","offset":1868,"parameters":[{"name":"diff","type":"Integer"}],"returntype":"Array","safe":true},{"name":"snapshotByEpoch","offset":2459,"parameters":[{"name":"epoch","type":"Integer"}],"returntype":"Array","safe":true},{"name":"update","offset":941,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"updateSnapshotCount","offset":2022,"parameters":[{"name":"count","type":"Integer"}],"returntype":"Void","safe":false},{"name":"updateState","offset":1317,"parameters":[{"name":"state","type":"Integer"},{"name":"publicKey","type":"PublicKey"}],"returntype":"Void","safe":false},{"name":"updateStateIR","offset":1384,"parameters":[{"name":"state","type":"Integer"},{"name":"publicKey","type":"PublicKey"}],"returntype":"Void","safe":false},{"name":"version","offset":2668,"parameters":[],"returntype":"Integer","safe":true}],"events":[{"name":"AddPeer","parameters":[{"name":"nodeInfo","type":"ByteArray"}]},{"name":"AddPeerSuccess","parameters":[{"name":"publicKey","type":"PublicKey"}]},{"name":"UpdateState","parameters":[{"name":"state","type":"Integer"},{"name":"publicKey","type":"PublicKey"}]},{"name":"UpdateStateSuccess","parameters":[{"name":"publicKey","type":"PublicKey"},{"name":"state","type":"Integer"}]},{"name":"NewEpoch","parameters":[{"name":"epoch","type":"Integer"}]}]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["update","newEpoch"]}],"supportedstandards":[],"trusts":[],"extra":null}
|
BIN
vendor/contracts/netmap/netmap_contract.nef
vendored
BIN
vendor/contracts/netmap/netmap_contract.nef
vendored
Binary file not shown.
2
vendor/contracts/nns/config.json
vendored
2
vendor/contracts/nns/config.json
vendored
|
@ -1 +1 @@
|
|||
{"name":"NameService","abi":{"methods":[{"name":"_initialize","offset":0,"parameters":[],"returntype":"Void","safe":false},{"name":"_deploy","offset":32,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"addRecord","offset":2681,"parameters":[{"name":"name","type":"String"},{"name":"typ","type":"Integer"},{"name":"data","type":"String"}],"returntype":"Void","safe":false},{"name":"balanceOf","offset":609,"parameters":[{"name":"owner","type":"Hash160"}],"returntype":"Integer","safe":true},{"name":"decimals","offset":520,"parameters":[],"returntype":"Integer","safe":true},{"name":"deleteRecords","offset":2816,"parameters":[{"name":"name","type":"String"},{"name":"typ","type":"Integer"}],"returntype":"Void","safe":false},{"name":"getAllRecords","offset":2972,"parameters":[{"name":"name","type":"String"}],"returntype":"InteropInterface","safe":false},{"name":"getPrice","offset":1013,"parameters":[],"returntype":"Integer","safe":true},{"name":"getRecords","offset":2773,"parameters":[{"name":"name","type":"String"},{"name":"typ","type":"Integer"}],"returntype":"Array","safe":true},{"name":"isAvailable","offset":1047,"parameters":[{"name":"name","type":"String"}],"returntype":"Boolean","safe":true},{"name":"ownerOf","offset":542,"parameters":[{"name":"tokenID","type":"ByteArray"}],"returntype":"Hash160","safe":true},{"name":"properties","offset":564,"parameters":[{"name":"tokenID","type":"ByteArray"}],"returntype":"Map","safe":true},{"name":"register","offset":1386,"parameters":[{"name":"name","type":"String"},{"name":"owner","type":"Hash160"},{"name":"email","type":"String"},{"name":"refresh","type":"Integer"},{"name":"retry","type":"Integer"},{"name":"expire","type":"Integer"},{"name":"ttl","type":"Integer"}],"returntype":"Boolean","safe":false},{"name":"renew","offset":2142,"parameters":[{"name":"name","type":"String"}],"returntype":"Integer","safe":false},{"name":"resolve","offset":2950,"parameters":[{"name":"name","type":"String"},{"name":"typ","type":"Integer"}],"returntype":"Array","safe":true},{"name":"roots","offset":907,"parameters":[],"returntype":"InteropInterface","safe":true},{"name":"setAdmin","offset":2353,"parameters":[{"name":"name","type":"String"},{"name":"admin","type":"Hash160"}],"returntype":"Void","safe":false},{"name":"setPrice","offset":935,"parameters":[{"name":"price","type":"Integer"}],"returntype":"Void","safe":false},{"name":"setRecord","offset":2487,"parameters":[{"name":"name","type":"String"},{"name":"typ","type":"Integer"},{"name":"id","type":"Integer"},{"name":"data","type":"String"}],"returntype":"Void","safe":false},{"name":"symbol","offset":514,"parameters":[],"returntype":"String","safe":true},{"name":"tokens","offset":685,"parameters":[],"returntype":"InteropInterface","safe":true},{"name":"tokensOf","offset":714,"parameters":[{"name":"owner","type":"Hash160"}],"returntype":"InteropInterface","safe":true},{"name":"totalSupply","offset":526,"parameters":[],"returntype":"Integer","safe":true},{"name":"transfer","offset":776,"parameters":[{"name":"to","type":"Hash160"},{"name":"tokenID","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Boolean","safe":false},{"name":"update","offset":455,"parameters":[{"name":"nef","type":"ByteArray"},{"name":"manifest","type":"String"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"updateSOA","offset":2263,"parameters":[{"name":"name","type":"String"},{"name":"email","type":"String"},{"name":"refresh","type":"Integer"},{"name":"retry","type":"Integer"},{"name":"expire","type":"Integer"},{"name":"ttl","type":"Integer"}],"returntype":"Void","safe":false},{"name":"version","offset":522,"parameters":[],"returntype":"Integer","safe":true}],"events":[{"name":"Transfer","parameters":[{"name":"from","type":"Hash160"},{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"tokenId","type":"ByteArray"}]}]},"features":{},"groups":[],"permissions":[{"contract":"0xfffdc93764dbaddd97c48f252a53ea4643faa3fd","methods":["update"]},{"contract":"*","methods":["onNEP11Payment"]}],"supportedstandards":["NEP-11"],"trusts":[],"extra":null}
|
||||
{"name":"NameService","abi":{"methods":[{"name":"_initialize","offset":0,"parameters":[],"returntype":"Void","safe":false},{"name":"_deploy","offset":32,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"addRecord","offset":2591,"parameters":[{"name":"name","type":"String"},{"name":"typ","type":"Integer"},{"name":"data","type":"String"}],"returntype":"Void","safe":false},{"name":"balanceOf","offset":568,"parameters":[{"name":"owner","type":"Hash160"}],"returntype":"Integer","safe":true},{"name":"decimals","offset":479,"parameters":[],"returntype":"Integer","safe":true},{"name":"deleteRecords","offset":2726,"parameters":[{"name":"name","type":"String"},{"name":"typ","type":"Integer"}],"returntype":"Void","safe":false},{"name":"getAllRecords","offset":2882,"parameters":[{"name":"name","type":"String"}],"returntype":"InteropInterface","safe":false},{"name":"getPrice","offset":976,"parameters":[],"returntype":"Integer","safe":true},{"name":"getRecords","offset":2683,"parameters":[{"name":"name","type":"String"},{"name":"typ","type":"Integer"}],"returntype":"Array","safe":true},{"name":"isAvailable","offset":1010,"parameters":[{"name":"name","type":"String"}],"returntype":"Boolean","safe":true},{"name":"ownerOf","offset":501,"parameters":[{"name":"tokenID","type":"ByteArray"}],"returntype":"Hash160","safe":true},{"name":"properties","offset":523,"parameters":[{"name":"tokenID","type":"ByteArray"}],"returntype":"Map","safe":true},{"name":"register","offset":1281,"parameters":[{"name":"name","type":"String"},{"name":"owner","type":"Hash160"},{"name":"email","type":"String"},{"name":"refresh","type":"Integer"},{"name":"retry","type":"Integer"},{"name":"expire","type":"Integer"},{"name":"ttl","type":"Integer"}],"returntype":"Boolean","safe":false},{"name":"renew","offset":2048,"parameters":[{"name":"name","type":"String"}],"returntype":"Integer","safe":false},{"name":"resolve","offset":2860,"parameters":[{"name":"name","type":"String"},{"name":"typ","type":"Integer"}],"returntype":"Array","safe":true},{"name":"roots","offset":870,"parameters":[],"returntype":"InteropInterface","safe":true},{"name":"setAdmin","offset":2259,"parameters":[{"name":"name","type":"String"},{"name":"admin","type":"Hash160"}],"returntype":"Void","safe":false},{"name":"setPrice","offset":898,"parameters":[{"name":"price","type":"Integer"}],"returntype":"Void","safe":false},{"name":"setRecord","offset":2393,"parameters":[{"name":"name","type":"String"},{"name":"typ","type":"Integer"},{"name":"id","type":"Integer"},{"name":"data","type":"String"}],"returntype":"Void","safe":false},{"name":"symbol","offset":473,"parameters":[],"returntype":"String","safe":true},{"name":"tokens","offset":644,"parameters":[],"returntype":"InteropInterface","safe":true},{"name":"tokensOf","offset":673,"parameters":[{"name":"owner","type":"Hash160"}],"returntype":"InteropInterface","safe":true},{"name":"totalSupply","offset":485,"parameters":[],"returntype":"Integer","safe":true},{"name":"transfer","offset":735,"parameters":[{"name":"to","type":"Hash160"},{"name":"tokenID","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Boolean","safe":false},{"name":"update","offset":386,"parameters":[{"name":"nef","type":"ByteArray"},{"name":"manifest","type":"String"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"updateSOA","offset":2169,"parameters":[{"name":"name","type":"String"},{"name":"email","type":"String"},{"name":"refresh","type":"Integer"},{"name":"retry","type":"Integer"},{"name":"expire","type":"Integer"},{"name":"ttl","type":"Integer"}],"returntype":"Void","safe":false},{"name":"version","offset":481,"parameters":[],"returntype":"Integer","safe":true}],"events":[{"name":"Transfer","parameters":[{"name":"from","type":"Hash160"},{"name":"to","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"tokenId","type":"ByteArray"}]}]},"features":{},"groups":[],"permissions":[{"contract":"0xfffdc93764dbaddd97c48f252a53ea4643faa3fd","methods":["update"]},{"contract":"*","methods":["onNEP11Payment"]}],"supportedstandards":["NEP-11"],"trusts":[],"extra":null}
|
BIN
vendor/contracts/nns/nns_contract.nef
vendored
BIN
vendor/contracts/nns/nns_contract.nef
vendored
Binary file not shown.
1
vendor/contracts/policy/config.json
vendored
1
vendor/contracts/policy/config.json
vendored
|
@ -1 +0,0 @@
|
|||
{"name":"APE","abi":{"methods":[{"name":"_initialize","offset":0,"parameters":[],"returntype":"Void","safe":false},{"name":"_deploy","offset":35,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"addChain","offset":968,"parameters":[{"name":"entity","type":"Integer"},{"name":"entityName","type":"String"},{"name":"name","type":"ByteArray"},{"name":"chain","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"getAdmin","offset":731,"parameters":[],"returntype":"Hash160","safe":true},{"name":"getChain","offset":1020,"parameters":[{"name":"entity","type":"Integer"},{"name":"entityName","type":"String"},{"name":"name","type":"ByteArray"}],"returntype":"ByteArray","safe":true},{"name":"iteratorChainsByPrefix","offset":1548,"parameters":[{"name":"entity","type":"Integer"},{"name":"entityName","type":"String"},{"name":"prefix","type":"ByteArray"}],"returntype":"InteropInterface","safe":true},{"name":"listChains","offset":1401,"parameters":[{"name":"namespace","type":"String"},{"name":"container","type":"String"},{"name":"name","type":"ByteArray"}],"returntype":"Array","safe":true},{"name":"listChainsByPrefix","offset":1457,"parameters":[{"name":"entity","type":"Integer"},{"name":"entityName","type":"String"},{"name":"prefix","type":"ByteArray"}],"returntype":"Array","safe":true},{"name":"listTargets","offset":1595,"parameters":[{"name":"entity","type":"Integer"}],"returntype":"InteropInterface","safe":true},{"name":"removeChain","offset":1107,"parameters":[{"name":"entity","type":"Integer"},{"name":"entityName","type":"String"},{"name":"name","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"removeChainsByPrefix","offset":1236,"parameters":[{"name":"entity","type":"Integer"},{"name":"entityName","type":"String"},{"name":"name","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"setAdmin","offset":698,"parameters":[{"name":"addr","type":"Hash160"}],"returntype":"Void","safe":false},{"name":"update","offset":605,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"version","offset":601,"parameters":[],"returntype":"Integer","safe":true}],"events":[]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["update"]}],"supportedstandards":[],"trusts":[],"extra":null}
|
BIN
vendor/contracts/policy/policy_contract.nef
vendored
BIN
vendor/contracts/policy/policy_contract.nef
vendored
Binary file not shown.
2
vendor/contracts/processing/config.json
vendored
2
vendor/contracts/processing/config.json
vendored
|
@ -1 +1 @@
|
|||
{"name":"Multi Signature Processing","abi":{"methods":[{"name":"_deploy","offset":0,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"onNEP17Payment","offset":327,"parameters":[{"name":"from","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"update","offset":419,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"verify","offset":551,"parameters":[],"returntype":"Boolean","safe":true},{"name":"version","offset":567,"parameters":[],"returntype":"Integer","safe":true}],"events":[]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["update"]}],"supportedstandards":[],"trusts":[],"extra":null}
|
||||
{"name":"Multi Signature Processing","abi":{"methods":[{"name":"_deploy","offset":0,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"onNEP17Payment","offset":417,"parameters":[{"name":"from","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"update","offset":509,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"verify","offset":680,"parameters":[],"returntype":"Boolean","safe":true},{"name":"version","offset":767,"parameters":[],"returntype":"Integer","safe":true}],"events":[]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["update"]}],"supportedstandards":[],"trusts":[],"extra":null}
|
BIN
vendor/contracts/processing/processing_contract.nef
vendored
BIN
vendor/contracts/processing/processing_contract.nef
vendored
Binary file not shown.
2
vendor/contracts/proxy/config.json
vendored
2
vendor/contracts/proxy/config.json
vendored
|
@ -1 +1 @@
|
|||
{"name":"Notary Proxy","abi":{"methods":[{"name":"_initialize","offset":0,"parameters":[],"returntype":"Void","safe":false},{"name":"_deploy","offset":26,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"addAccount","offset":827,"parameters":[{"name":"addr","type":"Hash160"}],"returntype":"Void","safe":false},{"name":"onNEP11Payment","offset":485,"parameters":[{"name":"from","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"token","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"onNEP17Payment","offset":398,"parameters":[{"name":"from","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"removeAccount","offset":883,"parameters":[{"name":"addr","type":"Hash160"}],"returntype":"Void","safe":false},{"name":"update","offset":565,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"verify","offset":657,"parameters":[],"returntype":"Boolean","safe":true},{"name":"version","offset":823,"parameters":[],"returntype":"Integer","safe":true}],"events":[]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["update"]}],"supportedstandards":[],"trusts":[],"extra":null}
|
||||
{"name":"Notary Proxy","abi":{"methods":[{"name":"_deploy","offset":0,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"onNEP17Payment","offset":337,"parameters":[{"name":"from","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"update","offset":424,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"verify","offset":553,"parameters":[],"returntype":"Boolean","safe":true},{"name":"version","offset":602,"parameters":[],"returntype":"Integer","safe":true}],"events":[]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["update"]}],"supportedstandards":[],"trusts":[],"extra":null}
|
BIN
vendor/contracts/proxy/proxy_contract.nef
vendored
BIN
vendor/contracts/proxy/proxy_contract.nef
vendored
Binary file not shown.
1
vendor/contracts/reputation/config.json
vendored
Executable file
1
vendor/contracts/reputation/config.json
vendored
Executable file
|
@ -0,0 +1 @@
|
|||
{"name":"Reputation","abi":{"methods":[{"name":"_deploy","offset":0,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"get","offset":706,"parameters":[{"name":"epoch","type":"Integer"},{"name":"peerID","type":"ByteArray"}],"returntype":"Array","safe":true},{"name":"getByID","offset":722,"parameters":[{"name":"id","type":"ByteArray"}],"returntype":"Array","safe":true},{"name":"listByEpoch","offset":812,"parameters":[{"name":"epoch","type":"Integer"}],"returntype":"Array","safe":true},{"name":"put","offset":563,"parameters":[{"name":"epoch","type":"Integer"},{"name":"peerID","type":"ByteArray"},{"name":"value","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"update","offset":432,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"version","offset":890,"parameters":[],"returntype":"Integer","safe":false}],"events":[{"name":"reputationPut","parameters":[{"name":"epoch","type":"Integer"},{"name":"peerID","type":"ByteArray"},{"name":"value","type":"ByteArray"}]}]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["update"]}],"supportedstandards":[],"trusts":[],"extra":null}
|
BIN
vendor/contracts/reputation/reputation_contract.nef
vendored
Executable file
BIN
vendor/contracts/reputation/reputation_contract.nef
vendored
Executable file
Binary file not shown.
1
vendor/contracts/subnet/config.json
vendored
Executable file
1
vendor/contracts/subnet/config.json
vendored
Executable file
|
@ -0,0 +1 @@
|
|||
{"name":"Subnet","abi":{"methods":[{"name":"_initialize","offset":0,"parameters":[],"returntype":"Void","safe":false},{"name":"_deploy","offset":64,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"addClientAdmin","offset":2071,"parameters":[{"name":"subnetID","type":"ByteArray"},{"name":"groupID","type":"ByteArray"},{"name":"adminPublicKey","type":"PublicKey"}],"returntype":"Void","safe":false},{"name":"addNode","offset":1467,"parameters":[{"name":"subnetID","type":"ByteArray"},{"name":"node","type":"PublicKey"}],"returntype":"Void","safe":false},{"name":"addNodeAdmin","offset":1102,"parameters":[{"name":"subnetID","type":"ByteArray"},{"name":"adminKey","type":"PublicKey"}],"returntype":"Void","safe":false},{"name":"addUser","offset":2522,"parameters":[{"name":"subnetID","type":"ByteArray"},{"name":"groupID","type":"ByteArray"},{"name":"userID","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"delete","offset":913,"parameters":[{"name":"id","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"get","offset":803,"parameters":[{"name":"id","type":"ByteArray"}],"returntype":"ByteArray","safe":false},{"name":"nodeAllowed","offset":1911,"parameters":[{"name":"subnetID","type":"ByteArray"},{"name":"node","type":"PublicKey"}],"returntype":"Boolean","safe":false},{"name":"put","offset":637,"parameters":[{"name":"id","type":"ByteArray"},{"name":"ownerKey","type":"PublicKey"},{"name":"info","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"removeClientAdmin","offset":2296,"parameters":[{"name":"subnetID","type":"ByteArray"},{"name":"groupID","type":"ByteArray"},{"name":"adminPublicKey","type":"PublicKey"}],"returntype":"Void","safe":false},{"name":"removeNode","offset":1672,"parameters":[{"name":"subnetID","type":"ByteArray"},{"name":"node","type":"PublicKey"}],"returntype":"Void","safe":false},{"name":"removeNodeAdmin","offset":1284,"parameters":[{"name":"subnetID","type":"ByteArray"},{"name":"adminKey","type":"PublicKey"}],"returntype":"Void","safe":false},{"name":"removeUser","offset":2766,"parameters":[{"name":"subnetID","type":"ByteArray"},{"name":"groupID","type":"ByteArray"},{"name":"userID","type":"ByteArray"}],"returntype":"Void","safe":false},{"name":"update","offset":507,"parameters":[{"name":"script","type":"ByteArray"},{"name":"manifest","type":"ByteArray"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"userAllowed","offset":3011,"parameters":[{"name":"subnetID","type":"ByteArray"},{"name":"user","type":"ByteArray"}],"returntype":"Boolean","safe":false},{"name":"version","offset":3187,"parameters":[],"returntype":"Integer","safe":true}],"events":[{"name":"Put","parameters":[{"name":"id","type":"ByteArray"},{"name":"ownerKey","type":"PublicKey"},{"name":"info","type":"ByteArray"}]},{"name":"Delete","parameters":[{"name":"id","type":"ByteArray"}]},{"name":"RemoveNode","parameters":[{"name":"subnetID","type":"ByteArray"},{"name":"node","type":"PublicKey"}]}]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":["update"]}],"supportedstandards":[],"trusts":[],"extra":null}
|
BIN
vendor/contracts/subnet/subnet_contract.nef
vendored
Executable file
BIN
vendor/contracts/subnet/subnet_contract.nef
vendored
Executable file
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
{"version":"1.0","accounts":[{"address":"NhCHDEtGgSph1v6PmjFC1gtzJWNKtNSadk","key":"6PYQVTyo4PHBvegpRzSCNijGw6Zj2qN4wLVxTj5CM8nvsoYxkzBHqPzjzq","label":"wallet1","contract":{"script":"DCEDsJuqv/P2EHx+msuHIab8VhjUW1AkejFNguVIcCzOjNVBVuezJw==","parameters":[{"name":"parameter0","type":"Signature"}],"deployed":false},"lock":false,"isDefault":false}],"scrypt":{"n":16384,"r":8,"p":8},"extra":{"Tokens":null}}
|
|
@ -1 +0,0 @@
|
|||
{"version":"1.0","accounts":[{"address":"NivQRezLwGP8xFPr87DD5XaYGUKK3BMsTa","key":"6PYWJrGbrRmY9eTagWhNaucN2PfuPmi1G3QStUwNX8uAtCjTs6UYj1V1J9","label":"wallet2","contract":{"script":"DCED44dZlzprtyK6q8LdhANqOfCy9T0y/sRaTazeilD+S3BBVuezJw==","parameters":[{"name":"parameter0","type":"Signature"}],"deployed":false},"lock":false,"isDefault":false}],"scrypt":{"n":16384,"r":8,"p":8},"extra":{"Tokens":null}}
|
|
@ -1 +0,0 @@
|
|||
{"version":"1.0","accounts":[{"address":"NR8qvrREk1eCeQJce9zBaDyPE3PHGZfT6t","key":"6PYWLJ3VAUcE8xLPnCbMp561b411u6qWoErdkx3hJugFZXrSckH9wTKRhe","label":"wallet3","contract":{"script":"DCECPwTRyxo1hHzMtjFAr5qmm8+WMm6X1qnlLX2lRkoSY+1BVuezJw==","parameters":[{"name":"parameter0","type":"Signature"}],"deployed":false},"lock":false,"isDefault":false}],"scrypt":{"n":16384,"r":8,"p":8},"extra":{"Tokens":null}}
|
Loading…
Reference in a new issue