add makefile task to build docker image and deploy factory and buckets

This commit is contained in:
Andrea Franz 2020-06-29 17:41:28 +02:00
parent 9befd72459
commit 5be3c57ab8
No known key found for this signature in database
GPG Key ID: 4F0D2F2D9DE7F29D
9 changed files with 341 additions and 192 deletions

View File

@ -1,3 +1,5 @@
.env
/keystores
/.git
/.embark
/yarn-error.log

5
.gitignore vendored
View File

@ -1,4 +1,5 @@
*keystore*
.env
/keystores
.embark
chains.json
config/livenet/password
@ -9,5 +10,5 @@ build
embarkArtifacts
node_modules
yarn-error.log
/scripts/contracts
/src/react-app-env.d.ts
/scripts/contracts

View File

@ -1,10 +1,9 @@
CONTRACTS_PATH="./contracts"
RELAYER_DOCKER_FILE="./_assets/Dockerfile.relayer"
RELAYER_DOCKER_IMAGE="redeem-relayer"
RELAYER_DOCKER_CONTAINER_NAME="redeem-relayer"
RELAYER_CONTRACTS_PATH=$$(realpath ./scripts/contracts)
build-relayer-image:
docker build -t $(RELAYER_DOCKER_IMAGE) -f $(RELAYER_DOCKER_FILE) .
CONTAINER_KEYSTORES_PATH="/usr/keystores"
build-relayer-contracts:
rm -rf $(RELAYER_CONTRACTS_PATH); \
@ -13,3 +12,60 @@ build-relayer-contracts:
newName=$${fileName##*_}; \
mv $(RELAYER_CONTRACTS_PATH)/$${fileName} $(RELAYER_CONTRACTS_PATH)/$${newName}; \
done;
check-relayer-env-variables:
ifndef ENDPOINT
$(error ENDPOINT is undefined)
endif
ifndef KEYSTORES_PATH
$(error KEYSTORES_PATH is undefined)
endif
ifndef RELAYER_BUCKET
$(error RELAYER_BUCKET is undefined)
endif
run-relayer: check-relayer-env-variables
node scripts/relay.js \
--endpoint $(ENDPOINT) \
--account=$(KEYSTORES_PATH)/keystore.json \
--passfile=$(KEYSTORES_PATH)/keystore-passfile.txt \
--bucket=$(RELAYER_BUCKET)
build-relayer-docker-image:
docker build -t $(RELAYER_DOCKER_IMAGE) -f $(RELAYER_DOCKER_FILE) .
docker-run-relayer: check-relayer-env-variables
docker run \
-v $$(realpath $(KEYSTORES_PATH)):$(CONTAINER_KEYSTORES_PATH) \
-e KEYSTORES_PATH=$(CONTAINER_KEYSTORES_PATH) \
-e ENDPOINT=$(ENDPOINT) \
-e RELAYER_BUCKET=$(RELAYER_BUCKET) \
-e PORT=$(PORT) \
--name $(RELAYER_DOCKER_CONTAINER_NAME) \
--rm \
-P \
$(RELAYER_DOCKER_IMAGE) make run-relayer
docker-kill-relayer:
docker kill $(RELAYER_DOCKER_CONTAINER_NAME)
docker-stop-relayer:
docker stop $(RELAYER_DOCKER_CONTAINER_NAME)
deploy-erc20-factory:
node scripts/create-redeemable.js \
--endpoint $(ENDPOINT) \
--account=$(ACCOUNT) \
--passfile=$(PASSFILE) \
--deploy-factory
deploy-erc20-bucket:
node scripts/create-redeemable.js \
--endpoint $(ENDPOINT) \
--account=$(ACCOUNT) \
--passfile=$(PASSFILE) \
--deploy-bucket \
--factory=$(ERC20_FACTORY) \
--token=$(ERC20_TOKEN_ADDRESS) \
--validity-in-days=$(ERC20_BUCKET_VALIDITY) \

View File

@ -94,4 +94,4 @@ The http interface is very simple
2. `message`: the entire content of the Redeem message
3. `sig`: the signature generated by Keycard over the message
* `GET /bucket/:address`: returns 200 if the given address in the list of allowed buckets and 404 if it is not.
* `GET /bucket/:address`: returns 200 if the given address in the list of allowed buckets and 404 if it is not.

View File

@ -58,4 +58,4 @@ module.exports = class Account {
return this.sender.address;
}
}
}
}

View File

@ -17,7 +17,7 @@ const classPrefix = argv["nft"] ? "NFT" : "ERC20";
const BucketFactoryCode = utils.loadContractCode(`${classPrefix}BucketFactory`);
const BucketFactory = utils.loadContract(web3, `${classPrefix}BucketFactory`);
const Bucket = utils.loadContract(web3, `${classPrefix}Bucket.json`);
const Bucket = utils.loadContract(web3, `${classPrefix}Bucket`);
const ERC721 = utils.loadContract(web3, "IERC721");
const ERC20 = utils.loadContract(web3, "IERC20Detailed");

View File

@ -8,6 +8,6 @@
"express": "^4.17.1",
"minimist": "^1.2.5",
"morgan": "^1.10.0",
"web3": "^1.2.8"
"web3": "^1.2.7"
}
}

View File

@ -9,7 +9,7 @@ module.exports.loadContractFile = (fileName) => {
};
module.exports.loadContractCode = (contractName) => {
return loadContractFile(`${contractName}.bin`);
return this.loadContractFile(`${contractName}.bin`);
};
module.exports.loadContract = (web3, contractName) => {

View File

@ -29,6 +29,18 @@
"@ethersproject/rlp" ">=5.0.0-beta.132"
bn.js "^4.4.0"
"@ethersproject/address@^5.0.0":
version "5.0.1"
resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.0.1.tgz#882424fbbec1111abc1aa3482e647a72683c5377"
integrity sha512-kfQtXpBP2pI2TfoRRAYv8grHGiYw8U0c1KbMsC58/W33TIBy7gFSf/oAzOd94lNzdIUenKU0OuSzrHQfVcDDDA==
dependencies:
"@ethersproject/bignumber" "^5.0.0"
"@ethersproject/bytes" "^5.0.0"
"@ethersproject/keccak256" "^5.0.0"
"@ethersproject/logger" "^5.0.0"
"@ethersproject/rlp" "^5.0.0"
bn.js "^4.4.0"
"@ethersproject/bignumber@>=5.0.0-beta.130", "@ethersproject/bignumber@>=5.0.0-beta.138":
version "5.0.0-beta.139"
resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.0.0-beta.139.tgz#12a4fa5a76ee90f77932326311caf04e1de1cae0"
@ -39,6 +51,16 @@
"@ethersproject/properties" ">=5.0.0-beta.140"
bn.js "^4.4.0"
"@ethersproject/bignumber@^5.0.0":
version "5.0.2"
resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.0.2.tgz#797e0b8955e49509d297a42e50db9159a902ed83"
integrity sha512-fy27wYrrgXCHSG1Y8WMrcZQC8L28X2+yRHvSMr/dXAS0BDqIjcT+QdiVAynbIzShALklZdMkKHBe0qA45nLNEQ==
dependencies:
"@ethersproject/bytes" "^5.0.0"
"@ethersproject/logger" "^5.0.0"
"@ethersproject/properties" "^5.0.0"
bn.js "^4.4.0"
"@ethersproject/bytes@>=5.0.0-beta.129", "@ethersproject/bytes@>=5.0.0-beta.137":
version "5.0.0-beta.138"
resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.0.0-beta.138.tgz#86e1f6c4016443f2b5236627fa656e7c56077a56"
@ -46,6 +68,13 @@
dependencies:
"@ethersproject/logger" ">=5.0.0-beta.137"
"@ethersproject/bytes@^5.0.0":
version "5.0.1"
resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.0.1.tgz#da8cd9b3e3b2800be9b46fda7036fc441b334680"
integrity sha512-Y198536UW9Jb9RBXuqmCsCa9mYJUsxJn+5aGr2XjNMpLBc6vEn/44GHnbQXYgRCzh4rnWtJ9bTgSwDjme9Hgnw==
dependencies:
"@ethersproject/logger" "^5.0.0"
"@ethersproject/constants@>=5.0.0-beta.128", "@ethersproject/constants@>=5.0.0-beta.133":
version "5.0.0-beta.134"
resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.0.0-beta.134.tgz#b81c42373a00cb21604a94aa8642454fb35bb764"
@ -53,6 +82,13 @@
dependencies:
"@ethersproject/bignumber" ">=5.0.0-beta.138"
"@ethersproject/constants@^5.0.0":
version "5.0.1"
resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.0.1.tgz#51426b1d673661e905418ddeefca1f634866860d"
integrity sha512-Xec07hFCPN4wfC3WDiRay7KipkApl2msiKTrBHCuAwNMOM8M92+mlQp8tgfEL51DPwCZkmdk1f02kArc6caVSw==
dependencies:
"@ethersproject/bignumber" "^5.0.0"
"@ethersproject/hash@>=5.0.0-beta.128":
version "5.0.0-beta.134"
resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.0.0-beta.134.tgz#e1fdb69b42f5d31c343bcbf183043853b9b8e9dd"
@ -71,11 +107,24 @@
"@ethersproject/bytes" ">=5.0.0-beta.137"
js-sha3 "0.5.7"
"@ethersproject/keccak256@^5.0.0":
version "5.0.1"
resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.0.1.tgz#be91c11a8bdf4e94c8b900502d2a46b223fbdeb3"
integrity sha512-AtFm/4qHRQUvZcG3WYmaT7zV79dz72+N01w0XphcIBaD/7UZXyW85Uf08sirVlckHmh9fvc4UDWyHiroKsBT6Q==
dependencies:
"@ethersproject/bytes" "^5.0.0"
js-sha3 "0.5.7"
"@ethersproject/logger@>=5.0.0-beta.129", "@ethersproject/logger@>=5.0.0-beta.137":
version "5.0.0-beta.137"
resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.0.0-beta.137.tgz#781582b8b04d0ced01e9c1608c9887d31d95b8ee"
integrity sha512-H36iMhWOY+tco1+o2NZUdQT8Gc6Y9795RSPgvluatvjvyt3X6mHtWXes4F8Rc5N/95px++a/ODYVSkSmlr68+A==
"@ethersproject/logger@^5.0.0":
version "5.0.2"
resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.0.2.tgz#f24aa14a738a428d711c1828b44d50114a461b8b"
integrity sha512-NQe3O1/Nwkcp6bto6hsTvrcCeR/cOGK+RhOMn0Zi2FND6gdWsf1g+5ie8gQ1REqDX4MTGP/Y131dZas985ls/g==
"@ethersproject/properties@>=5.0.0-beta.131", "@ethersproject/properties@>=5.0.0-beta.140":
version "5.0.0-beta.141"
resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.0.0-beta.141.tgz#063e5a870f8bfb249de4de6218e6a104e253f24a"
@ -83,6 +132,13 @@
dependencies:
"@ethersproject/logger" ">=5.0.0-beta.137"
"@ethersproject/properties@^5.0.0":
version "5.0.1"
resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.0.1.tgz#e1fecbfcb24f23bf3b64a2ac74f2751113d116e0"
integrity sha512-b3VZ/NpYIf64/hFXeWNxVCbY1xoMPIYM3n6Qnu6Ayr3bLt1olFPQfAaaRB0aOsLz7tMtmkT3DrA1KG/IrOgBRw==
dependencies:
"@ethersproject/logger" "^5.0.0"
"@ethersproject/rlp@>=5.0.0-beta.132":
version "5.0.0-beta.133"
resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.0.0-beta.133.tgz#e51b2e8d51fd70a5872f85f11741193a6b118110"
@ -91,6 +147,24 @@
"@ethersproject/bytes" ">=5.0.0-beta.137"
"@ethersproject/logger" ">=5.0.0-beta.137"
"@ethersproject/rlp@^5.0.0":
version "5.0.1"
resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.0.1.tgz#3407b0cb78f82a1a219aecff57578c0558ae26c8"
integrity sha512-3F8XE1zS4w8w4xiK1hMtFuVs6UnhQlmrEHLT85GanqK8vG5wGi81IQmkukL9tQIu2a5jykoO46ibja+6N1fpFg==
dependencies:
"@ethersproject/bytes" "^5.0.0"
"@ethersproject/logger" "^5.0.0"
"@ethersproject/signing-key@^5.0.0":
version "5.0.2"
resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.0.2.tgz#ca3cff00d92220fcf7d124e03a139182d627cff3"
integrity sha512-kgpCdtgoLoKXJTwJPw3ggRW7EO93YCQ98zY8hBpIb4OK3FxFCR3UUjlrGEwjMnLHDjFrxpKCeJagGWf477RyMQ==
dependencies:
"@ethersproject/bytes" "^5.0.0"
"@ethersproject/logger" "^5.0.0"
"@ethersproject/properties" "^5.0.0"
elliptic "6.5.3"
"@ethersproject/strings@>=5.0.0-beta.130", "@ethersproject/strings@>=5.0.0-beta.136":
version "5.0.0-beta.137"
resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.0.0-beta.137.tgz#1e9730a701e7a44c3f1b4e1c7e134665cdd51d7b"
@ -100,6 +174,21 @@
"@ethersproject/constants" ">=5.0.0-beta.133"
"@ethersproject/logger" ">=5.0.0-beta.137"
"@ethersproject/transactions@^5.0.0-beta.135":
version "5.0.1"
resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.0.1.tgz#61480dc600f4a49eb99627778e3b46b381f8bdd9"
integrity sha512-IGc6/5hri3PrqR/ZCj89osDiq3Lt0CSrycn6vlRl8SjpBKYDdcT+Ru5xkeC7YcsnqcdBmTL+jyR3SLudU+x2Kw==
dependencies:
"@ethersproject/address" "^5.0.0"
"@ethersproject/bignumber" "^5.0.0"
"@ethersproject/bytes" "^5.0.0"
"@ethersproject/constants" "^5.0.0"
"@ethersproject/keccak256" "^5.0.0"
"@ethersproject/logger" "^5.0.0"
"@ethersproject/properties" "^5.0.0"
"@ethersproject/rlp" "^5.0.0"
"@ethersproject/signing-key" "^5.0.0"
"@sindresorhus/is@^0.14.0":
version "0.14.0"
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea"
@ -134,25 +223,6 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.42.tgz#d0d1149336bd07540dd1ea576692829d575dec34"
integrity sha512-R/9QdYFLL9dE9l5cWWzWIZByVGFd7lk7JVOJ7KD+E1SJ4gni7XJRLz9QTjyYQiHIqEAgku9VgxdLjMlhhUaAFg==
"@web3-js/scrypt-shim@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@web3-js/scrypt-shim/-/scrypt-shim-0.1.0.tgz#0bf7529ab6788311d3e07586f7d89107c3bea2cc"
integrity sha512-ZtZeWCc/s0nMcdx/+rZwY1EcuRdemOK9ag21ty9UsHkFxsNb/AaoucUz0iPuyGe0Ku+PFuRmWZG7Z7462p9xPw==
dependencies:
scryptsy "^2.1.0"
semver "^6.3.0"
"@web3-js/websocket@^1.0.29":
version "1.0.30"
resolved "https://registry.yarnpkg.com/@web3-js/websocket/-/websocket-1.0.30.tgz#9ea15b7b582cf3bf3e8bc1f4d3d54c0731a87f87"
integrity sha512-fDwrD47MiDrzcJdSeTLF75aCcxVVt8B1N74rA+vh2XCAvFy4tEWJjtnUtj2QG7/zlQ6g9cQ88bZFBxwd9/FmtA==
dependencies:
debug "^2.2.0"
es5-ext "^0.10.50"
nan "^2.14.0"
typedarray-to-buffer "^3.1.5"
yaeti "^0.0.6"
accepts@~1.3.7:
version "1.3.7"
resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd"
@ -651,6 +721,19 @@ ee-first@1.1.1:
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=
elliptic@6.5.3:
version "6.5.3"
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.3.tgz#cb59eb2efdaf73a0bd78ccd7015a62ad6e0f93d6"
integrity sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==
dependencies:
bn.js "^4.4.0"
brorand "^1.0.1"
hash.js "^1.0.0"
hmac-drbg "^1.0.0"
inherits "^2.0.1"
minimalistic-assert "^1.0.0"
minimalistic-crypto-utils "^1.0.0"
elliptic@^6.0.0, elliptic@^6.4.0, elliptic@^6.5.2:
version "6.5.2"
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.2.tgz#05c5678d7173c049d8ca433552224a495d0e3762"
@ -1761,10 +1844,10 @@ safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2,
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
scryptsy@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/scryptsy/-/scryptsy-2.1.0.tgz#8d1e8d0c025b58fdd25b6fa9a0dc905ee8faa790"
integrity sha512-1CdSqHQowJBnMAFyPEBRfqag/YP9OF394FV+4YREIJX4ljD7OxvQRDayyoyyCk+senRjSkP6VnUNQmVQqB6g7w==
scrypt-js@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/scrypt-js/-/scrypt-js-3.0.1.tgz#d314a57c2aef69d1ad98a138a21fe9eafa9ee312"
integrity sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==
secp256k1@^3.0.1:
version "3.8.0"
@ -1780,11 +1863,6 @@ secp256k1@^3.0.1:
nan "^2.14.0"
safe-buffer "^5.1.2"
semver@^6.3.0:
version "6.3.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
send@0.17.1:
version "0.17.1"
resolved "https://registry.yarnpkg.com/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8"
@ -2081,221 +2159,222 @@ verror@1.10.0:
core-util-is "1.0.2"
extsprintf "^1.2.0"
web3-bzz@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-bzz/-/web3-bzz-1.2.8.tgz#7ff2c2de362f82ae3825e48c70ec63b3aca2b8ef"
integrity sha512-jbi24/s2tT7FYuN+ktRvTa5em0GxhqcIYQ8FnD3Zb/ZoEPi+/7rH0Hh+WDol0pSZL+wdz/iM+Z2C9NE42z6EmQ==
web3-bzz@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-bzz/-/web3-bzz-1.2.9.tgz#25f8a373bc2dd019f47bf80523546f98b93c8790"
integrity sha512-ogVQr9jHodu9HobARtvUSmWG22cv2EUQzlPeejGWZ7j5h20HX40EDuWyomGY5VclIj5DdLY76Tmq88RTf/6nxA==
dependencies:
"@types/node" "^10.12.18"
got "9.6.0"
swarm-js "^0.1.40"
underscore "1.9.1"
web3-core-helpers@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-core-helpers/-/web3-core-helpers-1.2.8.tgz#86776d8f658b63bb630c84a314686661e599aa68"
integrity sha512-Wrl7ZPKn3Xyg0Hl5+shDnJcLP+EtTfThmQ1eCJLcg/BZqvLUR1SkOslNlhEojcYeBwhhymAKs8dfQbtYi+HMnw==
web3-core-helpers@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-core-helpers/-/web3-core-helpers-1.2.9.tgz#6381077c3e01c127018cb9e9e3d1422697123315"
integrity sha512-t0WAG3orLCE3lqi77ZoSRNFok3VQWZXTniZigDQjyOJYMAX7BU3F3js8HKbjVnAxlX3tiKoDxI0KBk9F3AxYuw==
dependencies:
underscore "1.9.1"
web3-eth-iban "1.2.8"
web3-utils "1.2.8"
web3-eth-iban "1.2.9"
web3-utils "1.2.9"
web3-core-method@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-core-method/-/web3-core-method-1.2.8.tgz#f28a79935432aebfa019e4a50f9b6ae6c9ef4297"
integrity sha512-69qbvOgx0Frw46dXvEKzYgtaPXpUaQAlQmczgb0ZUBHsEU2K7jTtFgBy6kVBgAwsXDvoZ99AX4SjpY2dTMwPkw==
web3-core-method@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-core-method/-/web3-core-method-1.2.9.tgz#3fb538751029bea570e4f86731e2fa5e4945e462"
integrity sha512-bjsIoqP3gs7A/gP8+QeLUCyOKJ8bopteCSNbCX36Pxk6TYfYWNuC6hP+2GzUuqdP3xaZNe+XEElQFUNpR3oyAg==
dependencies:
"@ethersproject/transactions" "^5.0.0-beta.135"
underscore "1.9.1"
web3-core-helpers "1.2.8"
web3-core-promievent "1.2.8"
web3-core-subscriptions "1.2.8"
web3-utils "1.2.8"
web3-core-helpers "1.2.9"
web3-core-promievent "1.2.9"
web3-core-subscriptions "1.2.9"
web3-utils "1.2.9"
web3-core-promievent@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-core-promievent/-/web3-core-promievent-1.2.8.tgz#a93ca2a19cae8b60883412619e04e69e11804eb5"
integrity sha512-3EdRieaHpBVVhfGjoREQfdoCM3xC0WwWjXXzT6oTldotfYC38kwk/GW8c8txYiLP/KxhslAN1cJSlXNOJjKSog==
web3-core-promievent@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-core-promievent/-/web3-core-promievent-1.2.9.tgz#bb1c56aa6fac2f4b3c598510f06554d25c11c553"
integrity sha512-0eAUA2zjgXTleSrnc1wdoKQPPIHU6KHf4fAscu4W9kKrR+mqP1KsjYrxY9wUyjNnXxfQ+5M29ipvbiaK8OqdOw==
dependencies:
eventemitter3 "3.1.2"
web3-core-requestmanager@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-core-requestmanager/-/web3-core-requestmanager-1.2.8.tgz#da7259e72a433858d04c59b999c5116bfb797c09"
integrity sha512-bwc2ABG6yzgTy28fv4t59g+tf6+UmTRMoF8HqTeiNDffoMKP2akyKFZeu1oD2gE7j/7GA75TAUjwJ7pH9ek1MA==
web3-core-requestmanager@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-core-requestmanager/-/web3-core-requestmanager-1.2.9.tgz#dd6d855256c4dd681434fe0867f8cd742fe10503"
integrity sha512-1PwKV2m46ALUnIN5VPPgjOj8yMLJhhqZYvYJE34hTN5SErOkwhzx5zScvo5MN7v7KyQGFnpVCZKKGCiEnDmtFA==
dependencies:
underscore "1.9.1"
web3-core-helpers "1.2.8"
web3-providers-http "1.2.8"
web3-providers-ipc "1.2.8"
web3-providers-ws "1.2.8"
web3-core-helpers "1.2.9"
web3-providers-http "1.2.9"
web3-providers-ipc "1.2.9"
web3-providers-ws "1.2.9"
web3-core-subscriptions@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-core-subscriptions/-/web3-core-subscriptions-1.2.8.tgz#50945498fb0bd655f842cbcc13873d96956aa93e"
integrity sha512-wmsRJ4ipwoF1mlOR+Oo8JdKigpkoVNQtqiRUuyQrTVhJx7GBuSaAIenpBYlkucC+RgByoGybR7Q3tTNJ6z/2tQ==
web3-core-subscriptions@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-core-subscriptions/-/web3-core-subscriptions-1.2.9.tgz#335fd7d15dfce5d78b4b7bef05ce4b3d7237b0e4"
integrity sha512-Y48TvXPSPxEM33OmXjGVDMzTd0j8X0t2+sDw66haeBS8eYnrEzasWuBZZXDq0zNUsqyxItgBGDn+cszkgEnFqg==
dependencies:
eventemitter3 "3.1.2"
underscore "1.9.1"
web3-core-helpers "1.2.8"
web3-core-helpers "1.2.9"
web3-core@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-core/-/web3-core-1.2.8.tgz#2a488bb11519b71e7738265329bddc00fc200dd3"
integrity sha512-hvlYWyE1UcLoGa6qF1GoxGgi1quFsZOdwIUIVsAp+sp0plXp/Nqva2lAjJ+FFyWtVKbC7Zq+qwTJ4iP1aN0vTg==
web3-core@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-core/-/web3-core-1.2.9.tgz#2cba57aa259b6409db532d21bdf57db8d504fd3e"
integrity sha512-fSYv21IP658Ty2wAuU9iqmW7V+75DOYMVZsDH/c14jcF/1VXnedOcxzxSj3vArsCvXZNe6XC5/wAuGZyQwR9RA==
dependencies:
"@types/bn.js" "^4.11.4"
"@types/node" "^12.6.1"
bignumber.js "^9.0.0"
web3-core-helpers "1.2.8"
web3-core-method "1.2.8"
web3-core-requestmanager "1.2.8"
web3-utils "1.2.8"
web3-core-helpers "1.2.9"
web3-core-method "1.2.9"
web3-core-requestmanager "1.2.9"
web3-utils "1.2.9"
web3-eth-abi@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-eth-abi/-/web3-eth-abi-1.2.8.tgz#7537138f3e5cd1ccf98233fa07f388aa8dc1fff1"
integrity sha512-OKp/maLdKHPpQxZhEd0HgnCJFQajsGe42WOG6SVftlgzyR8Jjv4KNm46TKvb3hv5OJTKZWU7nZIxkEG+fyI58w==
web3-eth-abi@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-eth-abi/-/web3-eth-abi-1.2.9.tgz#14bedd7e4be04fcca35b2ac84af1400574cd8280"
integrity sha512-3YwUYbh/DMfDbhMWEebAdjSd5bj3ZQieOjLzWFHU23CaLEqT34sUix1lba+hgUH/EN6A7bKAuKOhR3p0OvTn7Q==
dependencies:
"@ethersproject/abi" "5.0.0-beta.153"
underscore "1.9.1"
web3-utils "1.2.8"
web3-utils "1.2.9"
web3-eth-accounts@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-eth-accounts/-/web3-eth-accounts-1.2.8.tgz#e63afc6d4902f2beb0cf60e6b755c86fa5b5ccd7"
integrity sha512-QODqSD4SZN/1oWfvlvsuum6Ud9+2FUTW4VTPJh245YTewCpa0M5+Fzug3UTeUZNv88STwC//dV72zReITNh4ZQ==
web3-eth-accounts@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-eth-accounts/-/web3-eth-accounts-1.2.9.tgz#7ec422df90fecb5243603ea49dc28726db7bdab6"
integrity sha512-jkbDCZoA1qv53mFcRHCinoCsgg8WH+M0YUO1awxmqWXRmCRws1wW0TsuSQ14UThih5Dxolgl+e+aGWxG58LMwg==
dependencies:
"@web3-js/scrypt-shim" "^0.1.0"
crypto-browserify "3.12.0"
eth-lib "^0.2.8"
ethereumjs-common "^1.3.2"
ethereumjs-tx "^2.1.1"
scrypt-js "^3.0.1"
underscore "1.9.1"
uuid "3.3.2"
web3-core "1.2.8"
web3-core-helpers "1.2.8"
web3-core-method "1.2.8"
web3-utils "1.2.8"
web3-core "1.2.9"
web3-core-helpers "1.2.9"
web3-core-method "1.2.9"
web3-utils "1.2.9"
web3-eth-contract@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-eth-contract/-/web3-eth-contract-1.2.8.tgz#ff75920ac698a70781edcebbf75287a6d0f14499"
integrity sha512-EWRLVhZksbzGAyHd7RaOsakjCJBA2BREWiJmBDlrxDBqw8HltXFzKdkRug/mwVNa5ZYMabKSRF/MMh0Sx06CFw==
web3-eth-contract@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-eth-contract/-/web3-eth-contract-1.2.9.tgz#713d9c6d502d8c8f22b696b7ffd8e254444e6bfd"
integrity sha512-PYMvJf7EG/HyssUZa+pXrc8IB06K/YFfWYyW4R7ed3sab+9wWUys1TlWxBCBuiBXOokSAyM6H6P6/cKEx8FT8Q==
dependencies:
"@types/bn.js" "^4.11.4"
underscore "1.9.1"
web3-core "1.2.8"
web3-core-helpers "1.2.8"
web3-core-method "1.2.8"
web3-core-promievent "1.2.8"
web3-core-subscriptions "1.2.8"
web3-eth-abi "1.2.8"
web3-utils "1.2.8"
web3-core "1.2.9"
web3-core-helpers "1.2.9"
web3-core-method "1.2.9"
web3-core-promievent "1.2.9"
web3-core-subscriptions "1.2.9"
web3-eth-abi "1.2.9"
web3-utils "1.2.9"
web3-eth-ens@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-eth-ens/-/web3-eth-ens-1.2.8.tgz#247daddfdbf7533adb0f45cd2f75c75e52f7e678"
integrity sha512-zsFXY26BMGkihPkEO5qj9AEqyxPH4mclbzYs1dyrw7sHFmrUvhZc+jLGT9WyQGoujq37RN2l/tlOpCaFVVR8ng==
web3-eth-ens@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-eth-ens/-/web3-eth-ens-1.2.9.tgz#577b9358c036337833fb2bdc59c11be7f6f731b6"
integrity sha512-kG4+ZRgZ8I1WYyOBGI8QVRHfUSbbJjvJAGA1AF/NOW7JXQ+x7gBGeJw6taDWJhSshMoEKWcsgvsiuoG4870YxQ==
dependencies:
content-hash "^2.5.2"
eth-ens-namehash "2.0.8"
underscore "1.9.1"
web3-core "1.2.8"
web3-core-helpers "1.2.8"
web3-core-promievent "1.2.8"
web3-eth-abi "1.2.8"
web3-eth-contract "1.2.8"
web3-utils "1.2.8"
web3-core "1.2.9"
web3-core-helpers "1.2.9"
web3-core-promievent "1.2.9"
web3-eth-abi "1.2.9"
web3-eth-contract "1.2.9"
web3-utils "1.2.9"
web3-eth-iban@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-eth-iban/-/web3-eth-iban-1.2.8.tgz#414e80a7fb2d1ea16490bc2c8fc29a996aec5612"
integrity sha512-xgPUOuDOQJYloUS334/wot6jvp6K8JBz8UvQ1tAxU9LO2v2DW+IDTJ5gQ6TdutTmzdDi97KdwhwnQwhQh5Z1PA==
web3-eth-iban@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-eth-iban/-/web3-eth-iban-1.2.9.tgz#4ebf3d8783f34d04c4740dc18938556466399f7a"
integrity sha512-RtdVvJE0pyg9dHLy0GzDiqgnLnssSzfz/JYguhC1wsj9+Gnq1M6Diy3NixACWUAp6ty/zafyOaZnNQ+JuH9TjQ==
dependencies:
bn.js "4.11.8"
web3-utils "1.2.8"
web3-utils "1.2.9"
web3-eth-personal@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-eth-personal/-/web3-eth-personal-1.2.8.tgz#8ebb27210b4c9c9555a30c5bb2ce8db12f84cd24"
integrity sha512-sWhxF1cpF9pB1wMISrOSy/i8IB1NWtvoXT9dfkWtvByGf3JfC2DlnllLaA1f9ohyvxnR+QTgPKgOQDknmqDstw==
web3-eth-personal@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-eth-personal/-/web3-eth-personal-1.2.9.tgz#9b95eb159b950b83cd8ae15873e1d57711b7a368"
integrity sha512-cFiNrktxZ1C/rIdJFzQTvFn3/0zcsR3a+Jf8Y3KxeQDHszQtosjLWptP7bsUmDwEh4hzh0Cy3KpOxlYBWB8bJQ==
dependencies:
"@types/node" "^12.6.1"
web3-core "1.2.8"
web3-core-helpers "1.2.8"
web3-core-method "1.2.8"
web3-net "1.2.8"
web3-utils "1.2.8"
web3-core "1.2.9"
web3-core-helpers "1.2.9"
web3-core-method "1.2.9"
web3-net "1.2.9"
web3-utils "1.2.9"
web3-eth@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-eth/-/web3-eth-1.2.8.tgz#cf6a16fae4d7c12b90cfb6ef570cb1a2acc34c1b"
integrity sha512-CEnVIIR1zZQ9vQh/kPFAUbvbbHYkC84y15jdhRUDDGR6bs4FxO2NNWR2YDtNe038lrz747tZahsC9kEiGkJFZQ==
web3-eth@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-eth/-/web3-eth-1.2.9.tgz#e40e7b88baffc9b487193211c8b424dc944977b3"
integrity sha512-sIKO4iE9FEBa/CYUd6GdPd7GXt/wISqxUd8PlIld6+hvMJj02lgO7Z7p5T9mZIJcIZJGvZX81ogx8oJ9yif+Ag==
dependencies:
underscore "1.9.1"
web3-core "1.2.8"
web3-core-helpers "1.2.8"
web3-core-method "1.2.8"
web3-core-subscriptions "1.2.8"
web3-eth-abi "1.2.8"
web3-eth-accounts "1.2.8"
web3-eth-contract "1.2.8"
web3-eth-ens "1.2.8"
web3-eth-iban "1.2.8"
web3-eth-personal "1.2.8"
web3-net "1.2.8"
web3-utils "1.2.8"
web3-core "1.2.9"
web3-core-helpers "1.2.9"
web3-core-method "1.2.9"
web3-core-subscriptions "1.2.9"
web3-eth-abi "1.2.9"
web3-eth-accounts "1.2.9"
web3-eth-contract "1.2.9"
web3-eth-ens "1.2.9"
web3-eth-iban "1.2.9"
web3-eth-personal "1.2.9"
web3-net "1.2.9"
web3-utils "1.2.9"
web3-net@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-net/-/web3-net-1.2.8.tgz#582fc2d4ba32c2e5c7761624e4be7c5434142d66"
integrity sha512-Nsq6qgncvvThOjC+sQ+NfDH8L7jclQCFzLFYa9wsd5J6HJ6f5gJl/mv6rsZQX9iDEYDPKkDfyqHktynOBgKWMQ==
web3-net@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-net/-/web3-net-1.2.9.tgz#51d248ed1bc5c37713c4ac40c0073d9beacd87d3"
integrity sha512-d2mTn8jPlg+SI2hTj2b32Qan6DmtU9ap/IUlJTeQbZQSkTLf0u9suW8Vjwyr4poJYXTurdSshE7OZsPNn30/ZA==
dependencies:
web3-core "1.2.8"
web3-core-method "1.2.8"
web3-utils "1.2.8"
web3-core "1.2.9"
web3-core-method "1.2.9"
web3-utils "1.2.9"
web3-providers-http@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-providers-http/-/web3-providers-http-1.2.8.tgz#cd7fc4d49df6980b5dd0fb1b5a808bc4b6a0069d"
integrity sha512-Esj4SpgabmBDOR4QD3qYapzwFYWHigcdgdjvt/VWT5/7TD10o52hr+Nsvp3/XV5AFrcCMdY+lzKFLVH24u0sww==
web3-providers-http@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-providers-http/-/web3-providers-http-1.2.9.tgz#e698aa5377e2019c24c5a1e6efa0f51018728934"
integrity sha512-F956tCIj60Ttr0UvEHWFIhx+be3He8msoPzyA44/kfzzYoMAsCFRn5cf0zQG6al0znE75g6HlWVSN6s3yAh51A==
dependencies:
web3-core-helpers "1.2.8"
web3-core-helpers "1.2.9"
xhr2-cookies "1.1.0"
web3-providers-ipc@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-providers-ipc/-/web3-providers-ipc-1.2.8.tgz#47be918ddd077999aa14703169b76c807f45d894"
integrity sha512-ts3/UXCTRADPASdJ27vBVmcfM+lfG9QVBxGedY6+oNIo5EPxBUtsz94R32sfvFd6ofPsz6gOhK/M/ZKiJoi1sg==
web3-providers-ipc@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-providers-ipc/-/web3-providers-ipc-1.2.9.tgz#6159eacfcd7ac31edc470d93ef10814fe874763b"
integrity sha512-NQ8QnBleoHA2qTJlqoWu7EJAD/FR5uimf7Ielzk4Z2z+m+6UAuJdJMSuQNj+Umhz9L/Ys6vpS1vHx9NizFl+aQ==
dependencies:
oboe "2.1.4"
underscore "1.9.1"
web3-core-helpers "1.2.8"
web3-core-helpers "1.2.9"
web3-providers-ws@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-providers-ws/-/web3-providers-ws-1.2.8.tgz#9e6454edc82d753d398c8d1e044632c234434a46"
integrity sha512-Gcm0n82wd/XVeGFGTx+v56UqyrV9EyB2r1QFaBx4mS+VHbW2MCOdiRbNDfoZQslflnCWl8oHsivJ8Tya9kqlTQ==
web3-providers-ws@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-providers-ws/-/web3-providers-ws-1.2.9.tgz#22c2006655ec44b4ad2b41acae62741a6ae7a88c"
integrity sha512-6+UpvINeI//dglZoAKStUXqxDOXJy6Iitv2z3dbgInG4zb8tkYl/VBDL80UjUg3ZvzWG0g7EKY2nRPEpON2TFA==
dependencies:
"@web3-js/websocket" "^1.0.29"
eventemitter3 "^4.0.0"
underscore "1.9.1"
web3-core-helpers "1.2.8"
web3-core-helpers "1.2.9"
websocket "^1.0.31"
web3-shh@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-shh/-/web3-shh-1.2.8.tgz#5162d9d13bc6838d390df1cd39e5f87235c1c2ae"
integrity sha512-e29qKSfuZWDmxCG/uB48Nth6DCFFr2h2U+uI/fHEuhEjAEkBHopPNLc3ixrCTc6pqMocfJRPHJq/yET9PYN3oQ==
web3-shh@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-shh/-/web3-shh-1.2.9.tgz#c4ba70d6142cfd61341a50752d8cace9a0370911"
integrity sha512-PWa8b/EaxaMinFaxy6cV0i0EOi2M7a/ST+9k9nhyhCjVa2vzXuNoBNo2IUOmeZ0WP2UQB8ByJ2+p4htlJaDOjA==
dependencies:
web3-core "1.2.8"
web3-core-method "1.2.8"
web3-core-subscriptions "1.2.8"
web3-net "1.2.8"
web3-core "1.2.9"
web3-core-method "1.2.9"
web3-core-subscriptions "1.2.9"
web3-net "1.2.9"
web3-utils@1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.2.8.tgz#5321d91715cd4c0869005705a33c4c042a532b18"
integrity sha512-9SIVGFLajwlmo5joC4DGxuy2OeDkRCXVWT8JWcDQ+BayNVHyAWGvn0oGkQ0ys14Un0KK6bjjKoD0xYs4k+FaVw==
web3-utils@1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.2.9.tgz#abe11735221627da943971ef1a630868fb9c61f3"
integrity sha512-9hcpuis3n/LxFzEVjwnVgvJzTirS2S9/MiNAa7l4WOEoywY+BSNwnRX4MuHnjkh9NY25B6QOjuNG6FNnSjTw1w==
dependencies:
bn.js "4.11.8"
eth-lib "0.2.7"
@ -2306,18 +2385,29 @@ web3-utils@1.2.8:
underscore "1.9.1"
utf8 "3.0.0"
web3@^1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/web3/-/web3-1.2.8.tgz#20b24baa769e0224a708ef5bf196a5b83d19540b"
integrity sha512-rXUn16VKxn2aIe9v0KX+bSm2JXdq/Vnj3lZ0Rub2Q5YUSycHdCBaDtJRukl/jB5ygAdyr5/cUwvJzhNDJSYsGw==
web3@^1.2.7:
version "1.2.9"
resolved "https://registry.yarnpkg.com/web3/-/web3-1.2.9.tgz#cbcf1c0fba5e213a6dfb1f2c1f4b37062e4ce337"
integrity sha512-Mo5aBRm0JrcNpN/g4VOrDzudymfOnHRC3s2VarhYxRA8aWgF5rnhQ0ziySaugpic1gksbXPe105pUWyRqw8HUA==
dependencies:
web3-bzz "1.2.8"
web3-core "1.2.8"
web3-eth "1.2.8"
web3-eth-personal "1.2.8"
web3-net "1.2.8"
web3-shh "1.2.8"
web3-utils "1.2.8"
web3-bzz "1.2.9"
web3-core "1.2.9"
web3-eth "1.2.9"
web3-eth-personal "1.2.9"
web3-net "1.2.9"
web3-shh "1.2.9"
web3-utils "1.2.9"
websocket@^1.0.31:
version "1.0.31"
resolved "https://registry.yarnpkg.com/websocket/-/websocket-1.0.31.tgz#e5d0f16c3340ed87670e489ecae6144c79358730"
integrity sha512-VAouplvGKPiKFDTeCCO65vYHsyay8DqoBSlzIO3fayrfOgU94lQN5a1uWVnFrMLceTJw/+fQXR5PGbUVRaHshQ==
dependencies:
debug "^2.2.0"
es5-ext "^0.10.50"
nan "^2.14.0"
typedarray-to-buffer "^3.1.5"
yaeti "^0.0.6"
wrappy@1:
version "1.0.2"