{"_id":"@bulla-network/smart-contracts","_rev":"6-609727ee58530687821fee7c3f1129d2","name":"@bulla-network/smart-contracts","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.2":{"name":"@bulla-network/smart-contracts","version":"0.0.2","license":"MIT","scripts":{"compile":"npx hardhat compile && npx tsc typechain/index.ts typechain/**/*.ts","build":"npm run compile","test":"npx hardhat test","run-node":"npx hardhat node --fork https://rpc.xdaichain.com","dev":"npx hardhat node","deploy:hardhat":"npx hardhat run --network localhost scripts/deploy-hardhat.ts","deploy:rinkeby":"npx hardhat run --network rinkeby scripts/deploy-v1.ts","deploy:xdai":"npx hardhat run --network xdai scripts/deploy-v1.ts","deploy:rsk":"npx hardhat run --network rsk scripts/deploy-v1.ts","deploy:celo":"npx hardhat run --network celo scripts/deploy-v1.ts"},"dependencies":{"@types/node":"^16.9.1","ethers":"^5.4.2"},"devDependencies":{"@nomiclabs/hardhat-ethers":"npm:hardhat-deploy-ethers@^0.3.0-beta.10","@nomiclabs/hardhat-solhint":"^2.0.0","@nomiclabs/hardhat-waffle":"^2.0.1","@openzeppelin/contracts":"^4.2.0","@typechain/ethers-v5":"^7.1.0","@typechain/hardhat":"^2.3.0","@types/bs58":"^4.0.1","@types/mocha":"^8.2.0","bs58":"^4.0.1","chai":"^4.2.0","dotenv":"^8.2.0","ethereum-waffle":"^3.4.0","hardhat":"^2.5.0","hardhat-contract-sizer":"^2.0.3","hardhat-deploy":"^0.8.11","hardhat-gas-reporter":"^1.0.4","hardhat-typechain":"^0.3.5","tsc":"^2.0.3","typechain":"^5.1.0","solc":"0.7.5","ts-generator":"^0.1.1","ts-node":"^9.1.1","typescript":"^4.1.3"},"gitHead":"8e364d87b3efbd6045f05769f5d872de59ee6065","description":"","_id":"@bulla-network/smart-contracts@0.0.2","_nodeVersion":"15.12.0","_npmVersion":"7.6.3","dist":{"integrity":"sha512-hCbbvBYx8CN6g+aEBfxmIhStrGAU8/F+fCweCufIgbGykQRfAOcGLA6qJafx7AgUhyNRbc6Pz6TK9/xVgodcVA==","shasum":"92018db3ccdb23e5c1a6df17a47f062b901f3fca","tarball":"https://registry.npmjs.org/@bulla-network/smart-contracts/-/smart-contracts-0.0.2.tgz","fileCount":70,"unpackedSize":963105,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID8fgbG1yhPe+KLNfpEMfcuOQIuLTfj7wn9/J/DBnjxDAiEA11Fqxi4jb5Vg3n9Tn9ZHlOsn96WK5OFwwWGbbEnbwc0="}]},"_npmUser":{"name":"jfrank-summit","email":"jfrank@summitinvest.tech"},"directories":{},"maintainers":[{"name":"jfrank-summit","email":"jfrank@summitinvest.tech"},{"name":"trainface","email":"galladamj@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-contracts_0.0.2_1633552528315_0.5163080023587447"},"_hasShrinkwrap":false},"0.0.3":{"name":"@bulla-network/smart-contracts","version":"0.0.3","license":"MIT","scripts":{"compile":"npx hardhat compile && npx tsc typechain/index.ts typechain/**/*.ts","build":"npm run compile","test":"npx hardhat test","run-node":"npx hardhat node --fork https://rpc.xdaichain.com","dev":"npx hardhat node","deploy:hardhat":"npx hardhat run --network localhost scripts/deploy-hardhat.ts","deploy:rinkeby":"npx hardhat run --network rinkeby scripts/deploy-v1.ts","deploy:xdai":"npx hardhat run --network xdai scripts/deploy-v1.ts","deploy:rsk":"npx hardhat run --network rsk scripts/deploy-v1.ts","deploy:celo":"npx hardhat run --network celo scripts/deploy-v1.ts"},"dependencies":{"@types/node":"^16.9.1","ethers":"^5.4.2"},"devDependencies":{"@nomiclabs/hardhat-ethers":"npm:hardhat-deploy-ethers@^0.3.0-beta.10","@nomiclabs/hardhat-solhint":"^2.0.0","@nomiclabs/hardhat-waffle":"^2.0.1","@openzeppelin/contracts":"^4.2.0","@typechain/ethers-v5":"^7.1.0","@typechain/hardhat":"^2.3.0","@types/bs58":"^4.0.1","@types/mocha":"^8.2.0","bs58":"^4.0.1","chai":"^4.2.0","dotenv":"^8.2.0","ethereum-waffle":"^3.4.0","hardhat":"^2.5.0","hardhat-contract-sizer":"^2.0.3","hardhat-deploy":"^0.8.11","hardhat-gas-reporter":"^1.0.4","hardhat-typechain":"^0.3.5","tsc":"^2.0.3","typechain":"^5.1.0","solc":"0.7.5","ts-generator":"^0.1.1","ts-node":"^9.1.1","typescript":"^4.1.3"},"gitHead":"9f1c9777b50c972990b9bace04eec73416bf99c4","description":"## Setup","_id":"@bulla-network/smart-contracts@0.0.3","_nodeVersion":"16.6.2","_npmVersion":"7.20.3","dist":{"integrity":"sha512-TFc7lZbN7JK0yEnHTGPbYQfCY+KfWrwF168fndKObgTQ7cOjCEZWa6UW7/15nwkBEi1FfKl2HgPbTJXL934jHA==","shasum":"7ea46985e7d4052e90bb6750fe4d6b178206b962","tarball":"https://registry.npmjs.org/@bulla-network/smart-contracts/-/smart-contracts-0.0.3.tgz","fileCount":127,"unpackedSize":2064466,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzaX0CRA9TVsSAnZWagAAfoQP/2bTZOXaWSUkftN/v8uc\n3D0DaxjS9GUFVXQ2BtUM2ZkUn4mNF7muSys7pAfZYfSDuie1hUtaRnUc2sZb\nNmFfj+J6HJK1x/Mpu2Yo9W2CfVwj9N4A6p82iFA/T5LRvNDHwapPYmG1GdCT\nQB2YcuLPSQ7og/4ebDNvzIv0ZrNd/3hjwZUqdLvoNjKtABd1sHyjrM69+mHg\nx5fQMeouqM5vi4pdzzFslTvhFQGS7OXvFAZmhKmUA5eVhvrM/T08g+TPkS1E\nHRs9fnagSPz61omYkviv7cxGki22JkasZsCnbSeJ1Sek/pFlvpqTdMNC/w4k\ntgKfc4cCWnbo1SBUqoFH1A9sg5XQus1S4tORdtutliB3eKv3NEcZVmdWAApb\nrDSAnpY36n51T6awGHiUbWQDDWXgrhCO5/V69HWhhNt32nuqRJgafOiSltYU\n8Zgbge2bIbWQGpz5HXaJd2c/MqODxGC1XzQXaTm9QGzSv/kgCwi/AVMBjMBv\nJLaG8/JHkDZ0wfQNmxg1k00plsU1Tqf37yYICsg93V4YFqAELUbvyQWCUONt\nstJcNfPivRkc28CwLyhN9PdOz3opxiStVdvM1lfIz2NiAEmVwbKUZQuzjUGo\nQZt2KUrvPZzpxC1vBYj+ND02r3OMo7EacDYbxcJaVXhKlJ5UUrDWj/0VkmG9\nzOzh\r\n=DyUY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGUwmDOmMQ1Ljg8A53fl0scCZ8BhhV6RiW/msxsCjB+iAiEAjMqoHpdrRG0eEpkAyWpLmAs9kJqP8zfsMru2yLjPCiM="}]},"_npmUser":{"name":"colinnielsen","email":"colinrnielsen@gmail.com"},"directories":{},"maintainers":[{"name":"colinnielsen","email":"colinrnielsen@gmail.com"},{"name":"jfrank-summit","email":"jfrank@summitinvest.tech"},{"name":"trainface","email":"galladamj@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-contracts_0.0.3_1633962518608_0.13052369781048934"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-06T20:35:28.249Z","0.0.2":"2021-10-06T20:35:28.505Z","modified":"2022-06-02T12:48:07.350Z","0.0.3":"2021-10-11T14:28:38.787Z"},"maintainers":[{"email":"bkgobeil@gmail.com","name":"bengobeil"},{"email":"colinrnielsen@gmail.com","name":"colinnielsen"},{"email":"jfrank@summitinvest.tech","name":"jfrank-summit"}],"license":"MIT","readme":"# Bulla Contract Code\n\n## Setup\n\n- Install yarn globally\n- run ```yarn install```\n- run ```yarn build``` to compile contracts\n- run ```yarn test``` to test contracts\n\n## Ideas\n\n- https://medium.com/coinmonks/store-data-in-ethereum-by-logging-to-reduce-gas-cost-b70a13884485\n- https://media.consensys.net/introducing-openlaw-7a2ea410138b\n- https://media.consensys.net/technical-introduction-to-events-and-logs-in-ethereum-a074d65dd61e\n- https://consensys.net/blog/blockchain-development/guide-to-events-and-logs-in-ethereum-smart-contracts/\n- https://github.com/OriginProtocol/origin/blob/master/packages/contracts/contracts/marketplace/V01_Marketplace.sol\n\n- https://forum.ethereum.org/discussion/14362/structs-vs-nested-contracts\n- https://ethereum.stackexchange.com/questions/17094/how-to-store-ipfs-hash-using-bytes32/17112#17112\n- https://github.com/saurfang/ipfs-multihash-on-solidity\n- https://docs.ipfs.io/how-to/best-practices-for-nft-data/#metadata\n\n//TODO: Look into packing\n- https://docs.soliditylang.org/en/v0.8.3/internals/layout_in_storage.html\n- https://medium.com/coinmonks/gas-optimization-in-solidity-part-i-variables-9d5775e43dde\nremixd -s <path-to-the-shared-folder> -u --remix-ide https://remix.ethereum.org","readmeFilename":"readme.md","description":"## Setup"}