|
|
@@ -20,6 +20,7 @@
|
|
|
"target_chains/ethereum/entropy_sdk/solidity",
|
|
|
"target_chains/ethereum/sdk/js",
|
|
|
"target_chains/ethereum/sdk/solidity",
|
|
|
+ "target_chains/ethereum/examples/coin_flip/app",
|
|
|
"target_chains/ethereum/examples/oracle_swap/app",
|
|
|
"target_chains/sui/sdk/js",
|
|
|
"target_chains/sui/cli",
|
|
|
@@ -11760,6 +11761,10 @@
|
|
|
"resolved": "target_chains/ethereum/entropy_sdk/solidity",
|
|
|
"link": true
|
|
|
},
|
|
|
+ "node_modules/@pythnetwork/eth-coin-flip-example": {
|
|
|
+ "resolved": "target_chains/ethereum/examples/coin_flip/app",
|
|
|
+ "link": true
|
|
|
+ },
|
|
|
"node_modules/@pythnetwork/eth-oracle-swap-example-frontend": {
|
|
|
"resolved": "target_chains/ethereum/examples/oracle_swap/app",
|
|
|
"link": true
|
|
|
@@ -57995,6 +58000,7 @@
|
|
|
}
|
|
|
},
|
|
|
"target_chains/ethereum/entropy_sdk/solidity": {
|
|
|
+ "name": "@pythnetwork/entropy-sdk-solidity",
|
|
|
"version": "0.1.0",
|
|
|
"license": "Apache-2.0",
|
|
|
"devDependencies": {
|
|
|
@@ -58042,6 +58048,133 @@
|
|
|
"node": ">=10.0.0"
|
|
|
}
|
|
|
},
|
|
|
+ "target_chains/ethereum/examples/coin_flip/app": {
|
|
|
+ "name": "@pythnetwork/eth-coin-flip-example",
|
|
|
+ "version": "0.1.0",
|
|
|
+ "dependencies": {
|
|
|
+ "@pythnetwork/pyth-evm-js": "*",
|
|
|
+ "@pythnetwork/pyth-sdk-solidity": "*",
|
|
|
+ "@types/jest": "^27.5.2",
|
|
|
+ "@types/node": "^16.11.64",
|
|
|
+ "buffer": "^6.0.3",
|
|
|
+ "ethers": "^5.7.2",
|
|
|
+ "prettier": "^2.7.1",
|
|
|
+ "typescript": "^4.8.4"
|
|
|
+ },
|
|
|
+ "devDependencies": {
|
|
|
+ "ts-node": "^10.9.1"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "target_chains/ethereum/examples/coin_flip/app/node_modules/@types/jest": {
|
|
|
+ "version": "27.5.2",
|
|
|
+ "resolved": "https://registry.npmjs.org/@types/jest/-/jest-27.5.2.tgz",
|
|
|
+ "integrity": "sha512-mpT8LJJ4CMeeahobofYWIjFo0xonRS/HfxnVEPMPFSQdGUt1uHCnoPT7Zhb+sjDU2wz0oKV0OLUR0WzrHNgfeA==",
|
|
|
+ "dependencies": {
|
|
|
+ "jest-matcher-utils": "^27.0.0",
|
|
|
+ "pretty-format": "^27.0.0"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "target_chains/ethereum/examples/coin_flip/app/node_modules/@types/node": {
|
|
|
+ "version": "16.18.60",
|
|
|
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.60.tgz",
|
|
|
+ "integrity": "sha512-ZUGPWx5vKfN+G2/yN7pcSNLkIkXEvlwNaJEd4e0ppX7W2S8XAkdc/37hM4OUNJB9sa0p12AOvGvxL4JCPiz9DA=="
|
|
|
+ },
|
|
|
+ "target_chains/ethereum/examples/coin_flip/app/node_modules/ansi-styles": {
|
|
|
+ "version": "5.2.0",
|
|
|
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
|
|
|
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
|
|
|
+ "engines": {
|
|
|
+ "node": ">=10"
|
|
|
+ },
|
|
|
+ "funding": {
|
|
|
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "target_chains/ethereum/examples/coin_flip/app/node_modules/buffer": {
|
|
|
+ "version": "6.0.3",
|
|
|
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",
|
|
|
+ "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",
|
|
|
+ "funding": [
|
|
|
+ {
|
|
|
+ "type": "github",
|
|
|
+ "url": "https://github.com/sponsors/feross"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "patreon",
|
|
|
+ "url": "https://www.patreon.com/feross"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "consulting",
|
|
|
+ "url": "https://feross.org/support"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "dependencies": {
|
|
|
+ "base64-js": "^1.3.1",
|
|
|
+ "ieee754": "^1.2.1"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "target_chains/ethereum/examples/coin_flip/app/node_modules/diff-sequences": {
|
|
|
+ "version": "27.5.1",
|
|
|
+ "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-27.5.1.tgz",
|
|
|
+ "integrity": "sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ==",
|
|
|
+ "engines": {
|
|
|
+ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "target_chains/ethereum/examples/coin_flip/app/node_modules/jest-diff": {
|
|
|
+ "version": "27.5.1",
|
|
|
+ "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-27.5.1.tgz",
|
|
|
+ "integrity": "sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw==",
|
|
|
+ "dependencies": {
|
|
|
+ "chalk": "^4.0.0",
|
|
|
+ "diff-sequences": "^27.5.1",
|
|
|
+ "jest-get-type": "^27.5.1",
|
|
|
+ "pretty-format": "^27.5.1"
|
|
|
+ },
|
|
|
+ "engines": {
|
|
|
+ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "target_chains/ethereum/examples/coin_flip/app/node_modules/jest-get-type": {
|
|
|
+ "version": "27.5.1",
|
|
|
+ "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-27.5.1.tgz",
|
|
|
+ "integrity": "sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw==",
|
|
|
+ "engines": {
|
|
|
+ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "target_chains/ethereum/examples/coin_flip/app/node_modules/jest-matcher-utils": {
|
|
|
+ "version": "27.5.1",
|
|
|
+ "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz",
|
|
|
+ "integrity": "sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==",
|
|
|
+ "dependencies": {
|
|
|
+ "chalk": "^4.0.0",
|
|
|
+ "jest-diff": "^27.5.1",
|
|
|
+ "jest-get-type": "^27.5.1",
|
|
|
+ "pretty-format": "^27.5.1"
|
|
|
+ },
|
|
|
+ "engines": {
|
|
|
+ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "target_chains/ethereum/examples/coin_flip/app/node_modules/pretty-format": {
|
|
|
+ "version": "27.5.1",
|
|
|
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz",
|
|
|
+ "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==",
|
|
|
+ "dependencies": {
|
|
|
+ "ansi-regex": "^5.0.1",
|
|
|
+ "ansi-styles": "^5.0.0",
|
|
|
+ "react-is": "^17.0.1"
|
|
|
+ },
|
|
|
+ "engines": {
|
|
|
+ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "target_chains/ethereum/examples/coin_flip/app/node_modules/react-is": {
|
|
|
+ "version": "17.0.2",
|
|
|
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
|
|
|
+ "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w=="
|
|
|
+ },
|
|
|
"target_chains/ethereum/examples/oracle_swap/app": {
|
|
|
"name": "@pythnetwork/eth-oracle-swap-example-frontend",
|
|
|
"version": "0.1.0",
|
|
|
@@ -66441,6 +66574,97 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "@pythnetwork/eth-coin-flip-example": {
|
|
|
+ "version": "file:target_chains/ethereum/examples/coin_flip/app",
|
|
|
+ "requires": {
|
|
|
+ "@pythnetwork/pyth-evm-js": "*",
|
|
|
+ "@pythnetwork/pyth-sdk-solidity": "*",
|
|
|
+ "@types/jest": "^27.5.2",
|
|
|
+ "@types/node": "^16.11.64",
|
|
|
+ "buffer": "^6.0.3",
|
|
|
+ "ethers": "^5.7.2",
|
|
|
+ "prettier": "^2.7.1",
|
|
|
+ "ts-node": "^10.9.1",
|
|
|
+ "typescript": "^4.8.4"
|
|
|
+ },
|
|
|
+ "dependencies": {
|
|
|
+ "@types/jest": {
|
|
|
+ "version": "27.5.2",
|
|
|
+ "resolved": "https://registry.npmjs.org/@types/jest/-/jest-27.5.2.tgz",
|
|
|
+ "integrity": "sha512-mpT8LJJ4CMeeahobofYWIjFo0xonRS/HfxnVEPMPFSQdGUt1uHCnoPT7Zhb+sjDU2wz0oKV0OLUR0WzrHNgfeA==",
|
|
|
+ "requires": {
|
|
|
+ "jest-matcher-utils": "^27.0.0",
|
|
|
+ "pretty-format": "^27.0.0"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "@types/node": {
|
|
|
+ "version": "16.18.60",
|
|
|
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.60.tgz",
|
|
|
+ "integrity": "sha512-ZUGPWx5vKfN+G2/yN7pcSNLkIkXEvlwNaJEd4e0ppX7W2S8XAkdc/37hM4OUNJB9sa0p12AOvGvxL4JCPiz9DA=="
|
|
|
+ },
|
|
|
+ "ansi-styles": {
|
|
|
+ "version": "5.2.0",
|
|
|
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
|
|
|
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA=="
|
|
|
+ },
|
|
|
+ "buffer": {
|
|
|
+ "version": "6.0.3",
|
|
|
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",
|
|
|
+ "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",
|
|
|
+ "requires": {
|
|
|
+ "base64-js": "^1.3.1",
|
|
|
+ "ieee754": "^1.2.1"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "diff-sequences": {
|
|
|
+ "version": "27.5.1",
|
|
|
+ "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-27.5.1.tgz",
|
|
|
+ "integrity": "sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ=="
|
|
|
+ },
|
|
|
+ "jest-diff": {
|
|
|
+ "version": "27.5.1",
|
|
|
+ "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-27.5.1.tgz",
|
|
|
+ "integrity": "sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw==",
|
|
|
+ "requires": {
|
|
|
+ "chalk": "^4.0.0",
|
|
|
+ "diff-sequences": "^27.5.1",
|
|
|
+ "jest-get-type": "^27.5.1",
|
|
|
+ "pretty-format": "^27.5.1"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "jest-get-type": {
|
|
|
+ "version": "27.5.1",
|
|
|
+ "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-27.5.1.tgz",
|
|
|
+ "integrity": "sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw=="
|
|
|
+ },
|
|
|
+ "jest-matcher-utils": {
|
|
|
+ "version": "27.5.1",
|
|
|
+ "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz",
|
|
|
+ "integrity": "sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==",
|
|
|
+ "requires": {
|
|
|
+ "chalk": "^4.0.0",
|
|
|
+ "jest-diff": "^27.5.1",
|
|
|
+ "jest-get-type": "^27.5.1",
|
|
|
+ "pretty-format": "^27.5.1"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pretty-format": {
|
|
|
+ "version": "27.5.1",
|
|
|
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz",
|
|
|
+ "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==",
|
|
|
+ "requires": {
|
|
|
+ "ansi-regex": "^5.0.1",
|
|
|
+ "ansi-styles": "^5.0.0",
|
|
|
+ "react-is": "^17.0.1"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "react-is": {
|
|
|
+ "version": "17.0.2",
|
|
|
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
|
|
|
+ "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w=="
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"@pythnetwork/eth-oracle-swap-example-frontend": {
|
|
|
"version": "file:target_chains/ethereum/examples/oracle_swap/app",
|
|
|
"requires": {
|