{"_id":"@defund-protocol/v1-sdk","_rev":"17-9ec0f3b2c90fdbbec12f896f2ab84cce","name":"@defund-protocol/v1-sdk","dist-tags":{"latest":"0.4.10","beta":"0.5.0-beta.1"},"versions":{"0.1.0":{"name":"@defund-protocol/v1-sdk","version":"0.1.0","description":"DeFund Protocol v1 SDK","main":"lib/index.js","types":"lib/index.d.ts","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","format":"prettier --config .prettierrc 'src/**/*.ts' --write"},"keywords":[],"author":{"name":"Rex","email":"rex.s.bit@gmail.com"},"license":"MIT","dependencies":{"@defund-protocol/token-list":"github:DeFund-protocol/token-list","@uniswap/v3-sdk":"^3.9.0"},"devDependencies":{"@ethersproject/abstract-provider":"^5.7.0","ethers":"^5.7.2","prettier":"^2.8.7","typescript":"^5.0.3"},"gitHead":"72463e7aa1a97b08e95c467bbcde982391c749dd","_id":"@defund-protocol/v1-sdk@0.1.0","_nodeVersion":"19.8.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-gTQBMd95kUmK7xQjq3tKM4F8u6DtrEelWVYnBNmXK2rRB/djQWrl1HiFyVb+rCfincqvWw6RDbn/JK7X7nzA1w==","shasum":"ab78645c5d75aa801e71a157f8a137d36af8804e","tarball":"https://registry.npmjs.org/@defund-protocol/v1-sdk/-/v1-sdk-0.1.0.tgz","fileCount":35,"unpackedSize":160144,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmg/TECL506S2L/xHXf9rn0XeutUfiPNhIr9S4wgrZvgIhAMKyEqP8dBbot4GOO2Z/pad91FT1gFWRefXPWMgWSswS"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkM6/lACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoTmBAAlaMhAyOVYIlUnDUEAhzNPPHVt1dOY05GED5DzMttRMGUPdwz\r\nSfFLCv7AhGZiWYJ54jmKInanNxzSep2CLoCVNasVwFuQdnvkOwWfIJZUHa0U\r\nh56HN4Jyr4+qf5gKEGyL14g77iFfk4y5n5hS17HfKtgasgGRN+QUFdfGejjb\r\n32ZdoVq8EVx9r1nCf65LIb+oCNVgeaSjqbyW1ntgxJRkAGWdXUHvf2DSUaOe\r\nn9hu5azPG3gMX1QD3KWFLpEDcRctCHJUccGc9NKHkfw6sLE/jN7cRj4EZLuz\r\nzfl6HoxFDXfPHT9sJLEmLN1vW4yUnruY6pMaizYhc62dL6dVrkhYGVC6Jgrg\r\nORQxQDzW9yx1soT0VYLEueSMMpFQ9zBJ7y6HOJJ3CId28QNm04fHHccdu1jy\r\nyU8XmaoR8uZkwpLStGCWt+l5WPKzksGT0vDgCImKaAAsD67up1tu8V5yBard\r\ngJRjHPRzpE6QhngOlQFG8Sv8V+5yURDeeyZo5ciYYT8gnm1ZphdIyDt5zAbg\r\nWwoASZG01Ay1bw7Jraiji7La3qHiVUBSWvQDrJdo6aVLYBkdqw2dVr9XgZ4o\r\nG/gCDTODbrie7fT+nWPN3aUaYcgHa2bLqnc+WTwQsyReBnIqVdn3YL3St3wG\r\nVle9zDB0HIvTH8/ADFjI5eUa+2V2Wx0+ZBc=\r\n=sPAZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"defund_protocol","email":"contact@defund.io"},"directories":{},"maintainers":[{"name":"defund_protocol","email":"contact@defund.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v1-sdk_0.1.0_1681108965070_0.7289229261939003"},"_hasShrinkwrap":false},"0.2.0":{"name":"@defund-protocol/v1-sdk","version":"0.2.0","description":"DeFund Protocol v1 SDK","main":"lib/index.js","types":"lib/index.d.ts","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","format":"prettier --config .prettierrc 'src/**/*.ts' --write"},"keywords":[],"author":{"name":"Rex","email":"rex.s.bit@gmail.com"},"license":"MIT","dependencies":{"@defund-protocol/token-list":"^1.2.0","@uniswap/v3-sdk":"^3.9.0"},"devDependencies":{"@ethersproject/abstract-provider":"^5.7.0","ethers":"^5.7.2","prettier":"^2.8.7","typescript":"^5.0.3"},"gitHead":"ce2740a766731ee69dde7ba455ce285d11f49550","_id":"@defund-protocol/v1-sdk@0.2.0","_nodeVersion":"19.8.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-tTVdifw0QFiWPI53+ulcpJEtEFjEBqhfYzkSewWw9Mjkh48chJcsfNRpdILCJfb9stjeJce33ZyQ15beQJ+iUQ==","shasum":"fc90aa5895799ad70bcd540006f48dbbbd918d17","tarball":"https://registry.npmjs.org/@defund-protocol/v1-sdk/-/v1-sdk-0.2.0.tgz","fileCount":35,"unpackedSize":160118,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7huOpzV8bqhp1YDEG+5SU8Btm6G32vlJGTlzl/6RzpQIgKU8tvtAqqU7aCBt7zT+wbovP8Ii09kwe1NoKJqT8sUo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkM7JZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq14hAAkA/VDwThAxizoc5aPsUda2uTvre43GRPPd0S5lYmVKkGY4yl\r\n0v5srFfebrtQs7TLhT6nwEAYV1cM+tCulx49Mv/87Sdtedh3Y9/mT8F6UIBo\r\nyku3f2LmtsoP5EIlLZcD305m9JbSTF4z8ojmJXYi+leUM+NPra6phlplE35W\r\n2MS6dGDfZQTMFlDBKjTI0t2wqlY41GaU/wq4gyQZq4RQxu+S6Wm7wlX6JM7Q\r\nJwIp6tOZzHP4nQhnO32PMwBE4GiXus+EVtZDdjD8Jpjwjv2VfUQhgVIItVxA\r\n/vFqUNrJI+IDYmbISJrfydTuZGU+41ZWJlTJ2gzP1rDc/zmbfNV1u/Jt5q7s\r\nYm96lBc28YAKKNLrSU5kCDjxzjtI93hwgiGU7N08MuO38QrDNXR/+5iRAqiS\r\ne2SHjaMza1hgwg/OB8FR5lIjE5BVNmzXk19r8ozAs9EA8wft5d/YemvGwNpb\r\nnuwA28DqWN/bYaz0So0X4W1AXQbpjIpY+cbfLOKMvd8zgCmiLA7YYW9C6Qus\r\nXyWbh+5OlC0QLb96INZvjf7S3rX/2KtERTUhXfealMBfaGZDE8cqLrAic9Kl\r\nNLPtdbQXk8OZtc34FdH6j3AqYkQD8t3LkKt/Bux3UIG1xx/n5eIDfyonLBIg\r\nxd9WsWWxhp74fo7+/Rt6qoor5WT3kccy/G4=\r\n=ygjz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"defund_protocol","email":"contact@defund.io"},"directories":{},"maintainers":[{"name":"defund_protocol","email":"contact@defund.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v1-sdk_0.2.0_1681109593781_0.2207106338717666"},"_hasShrinkwrap":false},"0.3.0":{"name":"@defund-protocol/v1-sdk","version":"0.3.0","description":"DeFund Protocol v1 SDK","main":"lib/index.js","types":"lib/index.d.ts","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","format":"prettier --config .prettierrc 'src/**/*.ts' --write"},"keywords":[],"author":{"name":"Rex","email":"rex.s.bit@gmail.com"},"license":"MIT","dependencies":{"@defund-protocol/token-list":"^1.2.0","@uniswap/v3-sdk":"^3.9.0"},"devDependencies":{"@ethersproject/abstract-provider":"^5.7.0","ethers":"^5.7.2","prettier":"^2.8.7","typescript":"^5.0.3"},"gitHead":"7b7107f099b013286cf2a15f9f20b30be2b299ba","_id":"@defund-protocol/v1-sdk@0.3.0","_nodeVersion":"19.8.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-QHbmF5tSfROIBjtYG1axNidUo+D6H59Askx6cSZ6p6b+ffAT+0KzK0sPkdOt5zqrqQejVa3ymhBc/0+VfdAnFA==","shasum":"a1117051bd4334901b24b38e1526a0352379fe82","tarball":"https://registry.npmjs.org/@defund-protocol/v1-sdk/-/v1-sdk-0.3.0.tgz","fileCount":35,"unpackedSize":161100,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICAUdgnpWZJzw79QmTdDHqL0Px2Ekveq+zW9ke4DvdTrAiEArAHNdqhkd7l17BAT/wZnIghVo6ct1cW89eW4N3kVmik="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNL1/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpIHA/+K0kA74c5VlDueCP1WUYhPbh8R502xRIzHe6+4G+xd0pzKjyH\r\nfAF2Ay1GGuZvobecsx2vBGjPyGYU5tK+D+zg0dRBnG18StJvgeY3R0KJHK9V\r\nFv4q8alipzvD5ZhiTIBF8vCvmB2Ql++LK+NXHV7kZOHX0A2ITr2N0lIsB9BY\r\nVAuYgGbBaXoq+qDCusn+2LXCVV0yQpUI1X1rObdM/4X9g520t2jbYP7VtCAw\r\nrMSYoNZ7gEtyChImMbZRG7IHgj4WKBl5+2iZvkXY5bOZOh/BXv36peTPPe5z\r\n2f8FC9D8IL1pXOYKurCr9gZUlynDukKIsMJmSuHFxJxQM3VrUBz3qMgvntD3\r\n9a/eIAo3tdTbcDkJDoKk5yTpq7yySNe31WE0OZn1AGXzgva0gyOcpWOzpumN\r\nZJRwLuI4FeNWROL4He/JCFfJFCT8PToPIUrTtAOuNKJJfN21qBxi5KnEg4eq\r\nc2arRQ/X2V7NGbCMs4EnCADFLwqQXzCL+q6ywtTh+4owvszt+FE76tckVo90\r\n1r9XBvoEZ60EofO7xkjOt1CvsXjL3+pVC/ODwTWKk4sSDSrP2xD/0rl5l41a\r\nMOyC7T7JreVTBxEjJh9C9P0cpFWCtRzxUhyfjtGrRY3fSgQk7oItfQBVYUET\r\nSrcxeepnfY0WBWa4Ngui4X2F3GhZEsKNNdQ=\r\n=edbj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"defund_protocol","email":"contact@defund.io"},"directories":{},"maintainers":[{"name":"defund_protocol","email":"contact@defund.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v1-sdk_0.3.0_1681177982978_0.17603775307551572"},"_hasShrinkwrap":false},"0.4.0":{"name":"@defund-protocol/v1-sdk","version":"0.4.0","description":"DeFund Protocol v1 SDK","main":"lib/index.js","types":"lib/index.d.ts","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","format":"prettier --config .prettierrc 'src/**/*.ts' --write"},"keywords":[],"author":{"name":"Rex","email":"rex.s.bit@gmail.com"},"license":"MIT","dependencies":{"@defund-protocol/token-list":"^1.2.0","@uniswap/v3-sdk":"^3.9.0"},"devDependencies":{"@ethersproject/abstract-provider":"^5.7.0","ethers":"^5.7.2","prettier":"^2.8.7","typescript":"^5.0.3"},"gitHead":"8807b7823327f7ccecc922715f49d0d64df9cd4a","_id":"@defund-protocol/v1-sdk@0.4.0","_nodeVersion":"19.8.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-v6O/S40UQwptvHjJy5wHDQLyVKibhb0ptaA17+4LAhlwfpGgoII6PmvuZuJuHf7/r4IBK9PYoSv26hRr8aLhQA==","shasum":"b9e756a6f4fa2a8eed8b299a59e972fe34a38b71","tarball":"https://registry.npmjs.org/@defund-protocol/v1-sdk/-/v1-sdk-0.4.0.tgz","fileCount":37,"unpackedSize":162882,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4R+jD+MPTrF8AmaqLTmTwoBLWVUfuy9Xc4OKHys57WAIhANi9uWkl0z/78nzf/b3WLnwRk2N8yfShg69ma+IH8tp0"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNh8FACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmox9A//YJZaAC57kR2W0Vs/4XthIpKvygRdMwgOgfi0YDpy75mtclJ0\r\nlPao/jexc5ET3vKh0qt4D470X94O3YvcldClwg6eOaqJ5xTI+mUvPINr/ii0\r\n1vlSW4VYO5FkopCF7BXgEybViYnpL1fiAoHbwy5BxOTnUJSxvbuly7iiDTJW\r\nedPoiV3eaNHvmQIOZ2DT6I86tHa6uMPEB9lnBWRAjVKpkL+he431y72AeYEA\r\nyjO39bVHEVVLjPHyOqCsi0m+exUjXn0aHQ4K5VSe90uW6cIERPZH6LTAKIJ6\r\nboZSlk0SPZyyFCoTan0bDityDIanEMt+y0f0Inc+Ue6MClZVmea7kl9GyjMK\r\nUPDUefZD7/s6uF24ihNhSAAVwSsaoRaPY0QNUjgoX6f0z8oFm+BEanAnx6d2\r\n2nVhw1nf4Oh/FeZBzp6foKF2MPhKtbcq5Z9cEqmWQMSOSSwKIYn73/J0kRun\r\nbd9TbYf0VVMwVc8MQklqBmSbsO8TjJJOZdx+7f+SxYpcuy7e2Ir+JafSb8mn\r\nlGDnQ10iFY14XNtkay28PoWM9pXWb1j2bKVNM6MTls8HbPpNvn4rtx1aO+9q\r\niifOFqnH0oCL/V2jMFlZPPszouvPq1JEhWeqBwJ68lLjtYivyzkjEF+qaU4x\r\nsIBm/j7VFuz3SJz5JEhQlK7ExuU7wtgpXQA=\r\n=SzQL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"defund_protocol","email":"contact@defund.io"},"directories":{},"maintainers":[{"name":"defund_protocol","email":"contact@defund.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v1-sdk_0.4.0_1681268485551_0.3495536345942294"},"_hasShrinkwrap":false},"0.4.1":{"name":"@defund-protocol/v1-sdk","version":"0.4.1","description":"DeFund Protocol v1 SDK","main":"lib/index.js","types":"lib/index.d.ts","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","format":"prettier --config .prettierrc 'src/**/*.ts' --write"},"keywords":[],"author":{"name":"Rex","email":"rex.s.bit@gmail.com"},"license":"MIT","dependencies":{"@defund-protocol/token-list":"^1.2.0","@uniswap/v3-sdk":"^3.9.0"},"devDependencies":{"@ethersproject/abstract-provider":"^5.7.0","ethers":"^5.7.2","prettier":"^2.8.7","typescript":"^5.0.3"},"gitHead":"b51ca0a1f1b8068bb4fe4165dc77436762172882","_id":"@defund-protocol/v1-sdk@0.4.1","_nodeVersion":"19.8.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-VdHcDWR08KVE8CMeNduKa1gvNBIZq+9uDxBQG3b9SL2sVHqhNtyJ9mNpn0ZSilLaqRAAa1lYNDnyuimKZY9Npg==","shasum":"0946dbd1045a6547de2c7a6df1f76d5faf6834d3","tarball":"https://registry.npmjs.org/@defund-protocol/v1-sdk/-/v1-sdk-0.4.1.tgz","fileCount":37,"unpackedSize":164239,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkCHb+qd+geoufHEBt6LgvIKMHEXZ2+d+27br7/6IkDAIhAKUF+WmTEkeg7IgxjK5kCKSlu0yJajzH+XVwTOOaJvVQ"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNiIeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqkCBAAmxH0TJ5TMipUx+S8sxmHux038Jvb8SYY99aLT5joWGZ60F8q\r\nXs+lT+mXldPv512b387t4QtnpieGl/ScKyJXHOHo8aL3m0gvlmYDRPG64yOo\r\nOVTYl88EBxEx4QaB5Im/WfsZ1yxeP5iMJCrNPQf0xsVH0fB4rdCUzfO0ekIE\r\n4vutPFClat/MOqHoKkIkEPWwK9e9kSCvbgzvx78vX8MrX2kFPE4euwBOD+Z/\r\nZaTMy4K0ZpZRJ1wcTBaIr0JRX+O5xUhAJuBKqm+35+QetsEHfvyn5tExgrsg\r\nRi2NzHGasM2e5i7/Wtauyhatpaqn+murOH14JPT7PmJWFrhf/WofJDR2ctTr\r\nXNAdkzlrOCN3gmfgklsjrdwD2V71oMlQKseeOYP82hA4ldGehggDblYRFsJN\r\nPBW4EmkVe8VKd7rJQ9PdvSjDmORMzTN+aRY6BO9jC72H4prd3ycZY+AnR8xD\r\nDUaogYq/z8kTjq1d0IIE/GuGBbpGpMmtMujU/NhSCp3PwNkEDygtiq+9JQhJ\r\n2eYUJJmenp4/bkrlx3rKCmvL0l4NliifqMT5/QvpXS9B63gQ1hBPmz/+SK+J\r\nzfFeRmHOSmUa1AabjizKTWgt9YbVpVjJb7Fv8+EqYcQKYbYveWD4XTc42r97\r\nknVPhZFbi6KOGUapkA2wNvkYFls7o4FgEas=\r\n=9NJO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"defund_protocol","email":"contact@defund.io"},"directories":{},"maintainers":[{"name":"defund_protocol","email":"contact@defund.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v1-sdk_0.4.1_1681269277981_0.3785399977262873"},"_hasShrinkwrap":false},"0.4.2":{"name":"@defund-protocol/v1-sdk","version":"0.4.2","description":"DeFund Protocol v1 SDK","main":"lib/index.js","types":"lib/index.d.ts","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","format":"prettier --config .prettierrc 'src/**/*.ts' --write"},"keywords":["DeFund","DeFund protocol","defund","DeFi","Ethereum","fund","web3","ethers"],"homepage":"https://defund.io","bugs":{"url":"https://github.com/DeFund-protocol/v1-sdk/issues"},"repository":{"type":"git","url":"git+https://github.com/DeFund-protocol/v1-sdk.git"},"author":{"name":"Rex","email":"rex.s.bit@gmail.com"},"license":"MIT","dependencies":{"@defund-protocol/token-list":"^1.2.0","@uniswap/v3-sdk":"^3.9.0"},"devDependencies":{"@ethersproject/abstract-provider":"^5.7.0","ethers":"^5.7.2","prettier":"^2.8.7","typescript":"^5.0.3"},"gitHead":"5deec9af915731b0103a0c1d95e075a82284eca0","_id":"@defund-protocol/v1-sdk@0.4.2","_nodeVersion":"19.8.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-tkBHgZvowk55rbJYOvC/cYUYzbgGaij8yWdXGdZVjyyGO8xbcdbY/SGueGdtfDaZ5AWKJxdlTmI5tLWKtv9y7A==","shasum":"388761723a0943a4f96e5deb6e92ba3b002fda8f","tarball":"https://registry.npmjs.org/@defund-protocol/v1-sdk/-/v1-sdk-0.4.2.tgz","fileCount":37,"unpackedSize":164520,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2efO8LP/xnnA4FFActU3ppp8E58Q7pSOrJtced/73egIhAKDW+zQtCOrHUqFmaMroxd5f64K79XVHufuikQ/h8Xrz"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNiSOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXqQ//Ryu26Hu/yV6VOEB6E3ZFqyiP0u2Lf5+m+UYUEBdTkObO+qqy\r\nP6lP+tQ37fDe8yFHjoss2BlhkdeS3c+2RPAQaS8Cvr+eN/XJAccFnd9/VkVN\r\n4OUA42TwKV+Qvif3ZoDCwGGbDy8bVWKFwjGL1b+iRjO0bXW1NWEfDzc5eYdb\r\nEsxu9cdrjr5YEOloKqMbaJW8GXkk+JVzBmSvGm7beHoOxSzQOcMDFEj0JTKE\r\nipR9/DM1FvTm88SvdF3tOAKlAApLJ8kpQv99rbEyQIqt6ycsTt0T8wgjRbAS\r\nAFt4NeRWKdtWnyU6LWIBbKzvaxAGsVHDrPgwQB2U5mIGIkvurqjyNnY0XvXJ\r\nKlv2s14AiiedzUhdZML0Oy5WIYP9NtbSb+rmaBtJX1IIUQexa05qa13aNxnq\r\nTC6pN9PCflHms4V6+CRS4zO/88LZNVZZgUuot+eoZxrSZQIHfo91cpbKQLPR\r\nNXO0ymMm+KztlhQOHE96DA5CVX6e733y3NRGyEeDpYII0vjbkLmYNtkab2t8\r\nCnppxy/rTR4mbRgTDVWPHKsW7c3k6XWs5H4Y96fd3V8h6EhA2yk8rDwiD7eK\r\nlUzGOygco9fDJgj3nl6OsamrmRoENSq3r4IO36B5OZ+zPSSBT9ARFJBrLjgy\r\nO0dL1wsQyMt02+raPjEr/MxbiSF8wCoOdC8=\r\n=HSSU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"defund_protocol","email":"contact@defund.io"},"directories":{},"maintainers":[{"name":"defund_protocol","email":"contact@defund.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v1-sdk_0.4.2_1681269902523_0.39504633182704163"},"_hasShrinkwrap":false},"0.4.3":{"name":"@defund-protocol/v1-sdk","version":"0.4.3","description":"DeFund Protocol v1 SDK","main":"lib/index.js","types":"lib/index.d.ts","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","format":"prettier --config .prettierrc 'src/**/*.ts' --write"},"keywords":["DeFund","DeFund protocol","defund","DeFi","Ethereum","fund","web3","ethers"],"homepage":"https://defund.io","bugs":{"url":"https://github.com/DeFund-protocol/v1-sdk/issues"},"repository":{"type":"git","url":"git+https://github.com/DeFund-protocol/v1-sdk.git"},"author":{"name":"Rex","email":"rex.s.bit@gmail.com"},"license":"MIT","dependencies":{"@defund-protocol/token-list":"^1.2.0","@uniswap/v3-sdk":"^3.9.0"},"devDependencies":{"@ethersproject/abstract-provider":"^5.7.0","ethers":"^5.7.2","prettier":"^2.8.7","typescript":"^5.0.3"},"gitHead":"8ef7d4b3e591ace836d45a7a4e0c705448a74eb3","_id":"@defund-protocol/v1-sdk@0.4.3","_nodeVersion":"19.8.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-qFyk98oB2XTQNm9q1hqPCIJqUWsJNn8Jjno1rJajM/Py+hkqEt27TfRTLiCLcNAjKaB63Y34M9g7sVcqmN3KoA==","shasum":"973c8523cd81f7082280392655a608ef3643dd28","tarball":"https://registry.npmjs.org/@defund-protocol/v1-sdk/-/v1-sdk-0.4.3.tgz","fileCount":37,"unpackedSize":164520,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEXn/oW/mw6+pZ6pg/cCfiAgcYfH5ZJTgiIpPSkG+7kNAiEAxSDm3kEg1UyS5K9pppd1veyxpisYhfsjwsGuVdb77Eo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNiXRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmokvg/9EEuRz1DpTFxqWjo5Eb89QktRjrtuCUy5DtbtpZDyvtPL6s50\r\nVZY2stTJMJQ0EDtDTMHXDZzlho4zSC9YZZh4n18uCfTBDRmvSl+ixahO0iLJ\r\npkgyrwzfp9rMHONvMyRAGAOViBOGgNzecCK9p8f8qbcOmP4TTOjUb/YPjADD\r\n2GtaHnWcxVV+hQko25/Lq/sgk4jJorcb+FNKQ0CnmAAJ3TkV6KZp7cyDqxqm\r\ndCVYkIhTQR0Npzlck+fx1anGitgp26AtpMUPX6Pp7Gfl3l4GZS2ty/c1jJjd\r\nAwC9Pp02HQuC6PZDWtuyuyeFUY4E76DwieXr3f6mBK8iKGR6CJsee753FYhr\r\nJmULplz4Fjvxo5dJcaj2X2Bl/07s632HrR8eRS3Th6ey8xw+EvCow2GyOsjJ\r\n425sr52DGBN+xQbcZBLsiQe2era3nsLeRtiG6nwsVQIBOmmBjz07w3QBuDeF\r\ntdzEjOz6hGxey5WoD6kE8l+4utkWyo47HrJlXnIWhZ/hgl5d7Q0yi9Rb56Ts\r\nXPKExGMY7uWqeNptpQ2LlBC6Sn8jW6+OfvKnV/5512A2qLAU8YClrtfpaaCe\r\nVxDGHtbDkJIeWTfJPsPzcMO8loav5IRPSLhDNDeEtaWiEFSdnw3zIb60Mx3P\r\nDWuvFAgkAJjBDCMF4tF5QxzXpTOsyO188l0=\r\n=VmhE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"defund_protocol","email":"contact@defund.io"},"directories":{},"maintainers":[{"name":"defund_protocol","email":"contact@defund.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v1-sdk_0.4.3_1681270225324_0.21721916476004055"},"_hasShrinkwrap":false},"0.5.0-beta.0":{"name":"@defund-protocol/v1-sdk","version":"0.5.0-beta.0","description":"DeFund Protocol v1 SDK","main":"lib/index.js","types":"lib/index.d.ts","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","format":"prettier --config .prettierrc 'src/**/*.ts' --write"},"keywords":["DeFund","DeFund protocol","defund","DeFi","Ethereum","fund","web3","ethers"],"homepage":"https://defund.io","bugs":{"url":"https://github.com/DeFund-protocol/v1-sdk/issues"},"repository":{"type":"git","url":"git+https://github.com/DeFund-protocol/v1-sdk.git"},"author":{"name":"Rex","email":"rex.s.bit@gmail.com"},"license":"MIT","dependencies":{"@defund-protocol/token-list":"^1.2.0","@uniswap/sdk-core":"^3.2.2","@uniswap/v3-core":"^1.0.1","@uniswap/v3-sdk":"^3.9.0","mathjs":"^11.8.0"},"devDependencies":{"@ethersproject/abstract-provider":"^5.7.0","ethers":"^5.7.2","prettier":"^2.8.7","typescript":"^5.0.3"},"readme":"# v1-sdk\n\nDeFund Protocol v1 SDK\n\n## Installation\n\n```shell\nnpm install @defund-protocol/v1-sdk\n```\n\n## How to use\n\n### Base\n\nSDK initialization requires the following parameters\n\n| Param   | type   | description                                                  |\n| ------- | ------ | ------------------------------------------------------------ |\n| chainId | number | 1 for mainnet, 5 for goerli, 137 for matic, 80001 for mumbai |\n| signer  | Signer |                                                              |\n\n```typescript\nimport { UniversalSDK } from '@defund-protocol/v1-sdk';\nimport { Wallet, providers } from 'ethers';\n\nconst chainId = 1;\nconst provider = new providers.JsonRpcProvider('your json rpc url');\nconst signer = new Wallet('your signer privateKey', provider);\nconst sdk = new UniversalSDK(chainId, signer);\n```\n\n### Swap\n\n#### Swap Params\n\n| Param       | Type        | Description         |\n| ----------- | ----------- | ------------------- |\n| maker       | Address     | your signer address |\n| fundAddress | Address     | your fund address   |\n| swapDetails | SwapDetails |                     |\n| overrides   | Overrides   |                     |\n\n#### Swap Details\n\n| Param      | Type      | Description                                                    |\n| ---------- | --------- | -------------------------------------------------------------- |\n| opType     | string    | `exactInput`, `exactOutput`                                    |\n| tokenIn    | Address   |                                                                |\n| tokenOut   | Address   |                                                                |\n| amountIn   | BigNumber | amountIn for exactInput, amountInMaximum for exactOutput       |\n| amountOut  | BigNumber | amountOutMinimum for exactInput, amountOut for exactOutput     |\n| useNative  | Boolean   | set to true if you want to swap to or from ETH instead of WETH |\n| expiration | number    | optional, default expires in 10 minutes                        |\n\n#### Overrides\n\nYou can find out more about the overrides parameter from the [ethers document](https://docs.ethers.org/v5/api/contract/contract/#Contract--write)\n\n```typescript\nconst maker = signer.address;\nconst fundAddress = 'your fund address';\nconst swapDetails = {\n  opType: 'exactInput',\n  tokenIn: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', // WETH Address on mainnet\n  tokenOut: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // USDC Address on mainnet\n  amountIn: BigNumber.from('100000000000000000'), // 0.1 ETH\n  amountOut: BigNumber.from('1000000'), // 1 USDC\n  useNative: true, // use ETH\n  expiration: Math.round(new Date().getTime() / 1000 + 30 * 60) // 30 minutes\n};\n\nconst overrides = {};\n\nconst tx = await sdk.executeSwap(maker, fundAddress, swapDetails, overrides);\n```\n\n### AssetsConvert\n\n#### Convert Params\n\n| Param          | Type           | Description         |\n| -------------- | -------------- | ------------------- |\n| maker          | Address        | your signer address |\n| fundAddress    | Address        | your fund address   |\n| convertDetails | ConvertDetails |                     |\n| overrides      | Overrides      |                     |\n\n#### Convert Details\n\n| Param      | Type    | Description                                                    |\n| ---------- | ------- | -------------------------------------------------------------- |\n| ratio      | number  | ratio of tokenIn                                               |\n| tokenIn    | Address |                                                                |\n| tokenOut   | Address |                                                                |\n| slippage   | number  | 1 for 1%, minimum is 0.01 for 0.01%                            |\n| useNative  | Boolean | set to true if you want to swap to or from ETH instead of WETH |\n| expiration | number  | optional, default expires in 10 minutes                        |\n\n```typescript\nconst maker = signer.address;\nconst fundAddress = 'your fund address';\nconst convertDetails = {\n  opType: 'assetsConvert',\n  tokenIn: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', // WETH Address on mainnet\n  tokenOut: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // USDC Address on mainnet\n  ratio: 1000, // 10%\n  useNative: true // use ETH\n};\n\nconst overrides = {};\n\nconst tx = await sdk.executeAssetsConvert(\n  maker,\n  fundAddress,\n  convertDetails,\n  overrides\n);\n```\n\n### GetFundAssets\n\nYou can use this method to get the asset information of the fund\n\n```typescript\nconst maker = signer.address;\nconst fundAddress = 'your fund address';\n\nconst assets = await sdk.getFundAssets(fundAddress);\n```\n\n### GetFundInfo\n\nYou can use this method to get all the on-chain information of the fund\n\n#### Params\n\n| Param       | Type    | Description                                                                                          |\n| ----------- | ------- | ---------------------------------------------------------------------------------------------------- |\n| fundAddress | Address |                                                                                                      |\n| lpAddress   | Address | Optional, If you want to get share information about a specific lp, pass this parameter              |\n| withAssets  | Boolean | The default is true, return all information, if you don't need asset information, you can pass false |\n\n```typescript\nconst maker = signer.address;\nconst fundAddress = 'your fund address';\n\nconst lpAddress = 'this address of specific lp';\nconst witAssets = false;\n\nconst assets = await sdk.getFundAssets(fundAddress, lpAddress, withAssets);\n```\n\n### Examples\n\nExamples can be found at: [Examples](https://github.com/DeFund-protocol/defund-examples)\n","readmeFilename":"README.md","gitHead":"c70602d8a5e629bdb753a4535762a32583f91a02","_id":"@defund-protocol/v1-sdk@0.5.0-beta.0","_nodeVersion":"19.8.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-r2DkKmjWRymMQ3LbNNzXZ7heiU/ie7HdkjtT0jWaPQRPxqmZ+PWdeJNOHtQJ4FeR0T5uIzTekHTUvhXVqMNsNQ==","shasum":"6c50ad6d2f0f6172f4b01442f50389702ec7730c","tarball":"https://registry.npmjs.org/@defund-protocol/v1-sdk/-/v1-sdk-0.5.0-beta.0.tgz","fileCount":47,"unpackedSize":255205,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAJUbs1CIPTqvwzmucPbYHkQ048VWw6okge8sOEYyil4AiEA6tB+eVGEnEfJ9WWmrbQh5rHP9z8EJZ8U2tm4vkee5qY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOL8AACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqeYg/+J8s1Otd5ZZrXeAeorWFMxXoII5XRSU6RWd8YgGWdiClHwus3\r\n30moL83MTcq5bkEtdDy0C07rGiupgU0Y+CB/yZc4tflEEIRDZFfArjfXUuTT\r\nW3+6dLGq5Il3hg9duPnmCz4tIbIft1Ty8iTMteJeD5LDhf2jhuC9XyMs5cvq\r\naQU6fiO40SjuFA8BiK9W1yRAegweQg6C/RxU+LxoCPbBJBESlol5GK99kfkD\r\ni8tGNk74Wx7B3WiXBQJoFaCCsFvN5AX+vfmgaFFH1QiBokFSxpb4QMzLyDtM\r\nxeM6URv9KosgxLmkbkD8AIun2mGVZmSM7LK5Grf14uXlfjyatxoLlIPdWaLv\r\nrhflMlud4KAIf1GnIoxomj1FbzOLO08cv/3plnKO8TSQ7E1IhNdLj9H5GXHO\r\n95fCgBTLIOVNOY9GvnEMIBrEZK6VTMgrFjDdJD5cUvMnZkKKGEOQI1NUw5T3\r\nBmMlhhq5W3So9E6sW1s8uCvmi/kKhYAzFsATCsZdT5YEGt3Fd0a26ShoJkxN\r\nnQBYi2WkgVJJhS3BKVs4kNF1il2H3iXRXY2thhfDgQV7eXiUp6EzUNWl5N6k\r\nr+tm78M1lBIrGrV8hhlajVIYwDSZjG8S8Ra59JcKsBN0sLJndlJzUss8zc7c\r\nSXX3KuPGLYn30IVWBcn/GxRl6sVKfVR5nys=\r\n=2WSF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"defund_protocol","email":"contact@defund.io"},"directories":{},"maintainers":[{"name":"defund_protocol","email":"contact@defund.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v1-sdk_0.5.0-beta.0_1681440512112_0.3206836052166748"},"_hasShrinkwrap":false},"0.5.0-beta.1":{"name":"@defund-protocol/v1-sdk","version":"0.5.0-beta.1","description":"DeFund Protocol v1 SDK","main":"lib/index.cjs","module":"lib/index.mjs","types":"lib/index.d.ts","type":"module","exports":{".":{"require":"./lib/index.cjs","import":"./lib/index.mjs","types":"./lib/index.d.ts"}},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc && rollup -c","format":"prettier --config .prettierrc 'src/**/*.ts' --write"},"keywords":["DeFund","DeFund protocol","defund","DeFi","Ethereum","fund","web3","ethers"],"homepage":"https://defund.io","bugs":{"url":"https://github.com/DeFund-protocol/v1-sdk/issues"},"repository":{"type":"git","url":"git+https://github.com/DeFund-protocol/v1-sdk.git"},"author":{"name":"Rex","email":"rex.s.bit@gmail.com"},"license":"MIT","dependencies":{"@defund-protocol/token-list":"^1.2.0","@uniswap/sdk-core":"^3.2.2","@uniswap/v3-core":"^1.0.1","@uniswap/v3-sdk":"^3.9.0","mathjs":"^11.8.0","ethers":"^5.7.2"},"devDependencies":{"@ethersproject/abstract-provider":"^5.7.0","@rollup/plugin-json":"^6.0.0","@rollup/plugin-typescript":"^11.1.0","prettier":"^2.8.7","rollup":"^3.20.2","tslib":"^2.5.0","typescript":"^5.0.3"},"readme":"# v1-sdk\n\nDeFund Protocol v1 SDK\n\n## Installation\n\n```shell\nnpm install @defund-protocol/v1-sdk\n```\n\n## How to use\n\n### Base\n\nSDK initialization requires the following parameters\n\n| Param   | type   | description                                                  |\n| ------- | ------ | ------------------------------------------------------------ |\n| chainId | number | 1 for mainnet, 5 for goerli, 137 for matic, 80001 for mumbai |\n| signer  | Signer |                                                              |\n\n```typescript\nimport { UniversalSDK } from '@defund-protocol/v1-sdk';\nimport { Wallet, providers } from 'ethers';\n\nconst chainId = 1;\nconst provider = new providers.JsonRpcProvider('your json rpc url');\nconst signer = new Wallet('your signer privateKey', provider);\nconst sdk = new UniversalSDK(chainId, signer);\n```\n\n### Swap\n\n#### Swap Params\n\n| Param       | Type        | Description         |\n| ----------- | ----------- | ------------------- |\n| maker       | Address     | your signer address |\n| fundAddress | Address     | your fund address   |\n| swapDetails | SwapDetails |                     |\n| overrides   | Overrides   |                     |\n\n#### Swap Details\n\n| Param      | Type      | Description                                                    |\n| ---------- | --------- | -------------------------------------------------------------- |\n| opType     | string    | `exactInput`, `exactOutput`                                    |\n| tokenIn    | Address   |                                                                |\n| tokenOut   | Address   |                                                                |\n| amountIn   | BigNumber | amountIn for exactInput, amountInMaximum for exactOutput       |\n| amountOut  | BigNumber | amountOutMinimum for exactInput, amountOut for exactOutput     |\n| useNative  | Boolean   | set to true if you want to swap to or from ETH instead of WETH |\n| expiration | number    | optional, default expires in 10 minutes                        |\n\n#### Overrides\n\nYou can find out more about the overrides parameter from the [ethers document](https://docs.ethers.org/v5/api/contract/contract/#Contract--write)\n\n```typescript\nconst maker = signer.address;\nconst fundAddress = 'your fund address';\nconst swapDetails = {\n  opType: 'exactInput',\n  tokenIn: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', // WETH Address on mainnet\n  tokenOut: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // USDC Address on mainnet\n  amountIn: BigNumber.from('100000000000000000'), // 0.1 ETH\n  amountOut: BigNumber.from('1000000'), // 1 USDC\n  useNative: true, // use ETH\n  expiration: Math.round(new Date().getTime() / 1000 + 30 * 60) // 30 minutes\n};\n\nconst overrides = {};\n\nconst tx = await sdk.executeSwap(maker, fundAddress, swapDetails, overrides);\n```\n\n### AssetsConvert\n\n#### Convert Params\n\n| Param          | Type           | Description         |\n| -------------- | -------------- | ------------------- |\n| maker          | Address        | your signer address |\n| fundAddress    | Address        | your fund address   |\n| convertDetails | ConvertDetails |                     |\n| overrides      | Overrides      |                     |\n\n#### Convert Details\n\n| Param      | Type    | Description                                                    |\n| ---------- | ------- | -------------------------------------------------------------- |\n| ratio      | number  | ratio of tokenIn                                               |\n| tokenIn    | Address |                                                                |\n| tokenOut   | Address |                                                                |\n| slippage   | number  | 1 for 1%, minimum is 0.01 for 0.01%                            |\n| useNative  | Boolean | set to true if you want to swap to or from ETH instead of WETH |\n| expiration | number  | optional, default expires in 10 minutes                        |\n\n```typescript\nconst maker = signer.address;\nconst fundAddress = 'your fund address';\nconst convertDetails = {\n  opType: 'assetsConvert',\n  tokenIn: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', // WETH Address on mainnet\n  tokenOut: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // USDC Address on mainnet\n  ratio: 1000, // 10%\n  useNative: true // use ETH\n};\n\nconst overrides = {};\n\nconst tx = await sdk.executeAssetsConvert(\n  maker,\n  fundAddress,\n  convertDetails,\n  overrides\n);\n```\n\n### GetFundAssets\n\nYou can use this method to get the asset information of the fund\n\n```typescript\nconst maker = signer.address;\nconst fundAddress = 'your fund address';\n\nconst assets = await sdk.getFundAssets(fundAddress);\n```\n\n### GetFundInfo\n\nYou can use this method to get all the on-chain information of the fund\n\n#### Params\n\n| Param       | Type    | Description                                                                                          |\n| ----------- | ------- | ---------------------------------------------------------------------------------------------------- |\n| fundAddress | Address |                                                                                                      |\n| lpAddress   | Address | Optional, If you want to get share information about a specific lp, pass this parameter              |\n| withAssets  | Boolean | The default is true, return all information, if you don't need asset information, you can pass false |\n\n```typescript\nconst maker = signer.address;\nconst fundAddress = 'your fund address';\n\nconst lpAddress = 'this address of specific lp';\nconst witAssets = false;\n\nconst assets = await sdk.getFundAssets(fundAddress, lpAddress, withAssets);\n```\n\n### Examples\n\nExamples can be found at: [Examples](https://github.com/DeFund-protocol/defund-examples)\n","readmeFilename":"README.md","gitHead":"945f91712cf4502bab598686cad8d74e13d1f196","_id":"@defund-protocol/v1-sdk@0.5.0-beta.1","_nodeVersion":"19.8.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-exQcASjH6xB3rrJ0//lQ0P7aXTIH7VwFaAJEiqKZ8l4OAMlstCy1xI5bCUMmM8teO7bXPP6uWyt7OKVknCiDCQ==","shasum":"ff89f75bce203550c91738b50a2139f65573cd29","tarball":"https://registry.npmjs.org/@defund-protocol/v1-sdk/-/v1-sdk-0.5.0-beta.1.tgz","fileCount":46,"unpackedSize":461525,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAznwxU4F1Mz7SiSAUeFnpoEtxm+//HP6bxRXr+oLs1bAiAP+iGPqs4JATWgLE16H017TuUuwJ2QhBoE7I0BBSq8FQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOPjZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpuUg/+LqX+RzL8Mux20LBSwdeM12xx55fb+rwsdQGL1OLbDbM/FdJb\r\nHswiciUUPv/oDzFWlBg7dpaKJF/rPwItPo/rPQyr857s0m66aKOxaFPOfLFJ\r\nzrwEF22GwqtSCVOxInMYrvjGEpsUoRx/uhsov2Qkl7IevdciqStsquuO2CkH\r\nh/bU+2JL+FBaV1Rjya4Ww/Qf4VEfUg08NTqSZZZbuX49Ex85np067I6iVNkd\r\nuJUYChkoiOD6TNizBJI73/aeEpEk7rccXteCZULr5Hc4BDQl4oAUi5VQZsUf\r\nvW02E40Vekmzy7bi+5K9+/RvJLV2x8rftsm0tZ3PRs0g4Ebcy5e1AZ8kEHaS\r\nbSkKF4Aw/GF8sdYgBm7/hLeqxnAZt5/bJNrrGLT1huuNN9/dZBQDTsn4xZ6P\r\na7TVzLk/N85QwoY8OAi/eeLaialfhchEp43LuDB6EqCwMdxikjHyplfsXDUj\r\nUvgV47LPYvyT1qDBaApnbGhH5nZa2V+IwWK6E6xXWNs3pyQC6p8GLmWjK75C\r\nHROuZuI552Is32tOZXiD4KCRt+i5Jlt0lY9i3W3mRI2NsHne+mYvflBeR2Yt\r\neO5P8MwjFq0E8JFXIt/YmzJ5eo0if3cevTemaPWf++sHYWTZeX19nM+Cx7xg\r\nazFnk44WD+b5GmLVd3UshD+hprr3tUI2OWY=\r\n=dF1M\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"defund_protocol","email":"contact@defund.io"},"directories":{},"maintainers":[{"name":"defund_protocol","email":"contact@defund.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v1-sdk_0.5.0-beta.1_1681455320962_0.026841536267392385"},"_hasShrinkwrap":false},"0.4.4":{"name":"@defund-protocol/v1-sdk","version":"0.4.4","description":"DeFund Protocol v1 SDK","main":"lib/index.cjs","module":"lib/index.mjs","types":"lib/index.d.ts","exports":{".":{"require":"./lib/index.cjs","import":"./lib/index.mjs","types":"./lib/index.d.ts"}},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc && rollup -c","format":"prettier --config .prettierrc 'src/**/*.ts' --write"},"keywords":["DeFund","DeFund protocol","defund","DeFi","Ethereum","fund","web3","ethers"],"homepage":"https://defund.io","bugs":{"url":"https://github.com/DeFund-protocol/v1-sdk/issues"},"repository":{"type":"git","url":"git+https://github.com/DeFund-protocol/v1-sdk.git"},"author":{"name":"Rex","email":"rex.s.bit@gmail.com"},"license":"MIT","dependencies":{"@defund-protocol/token-list":"^1.2.0","@uniswap/sdk-core":"^3.2.2","@uniswap/v3-core":"^1.0.1","@uniswap/v3-sdk":"^3.9.0","mathjs":"^11.8.0","ethers":"^5.7.2"},"devDependencies":{"@ethersproject/abstract-provider":"^5.7.0","@rollup/plugin-json":"^6.0.0","@rollup/plugin-typescript":"^11.1.0","prettier":"^2.8.7","rollup":"^3.20.2","tslib":"^2.5.0","typescript":"^5.0.3"},"gitHead":"aadd8d47cc7ba05867d7ce57664c552855110ec0","_id":"@defund-protocol/v1-sdk@0.4.4","_nodeVersion":"20.0.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-xwTaVSFHoytr0pPtpa+1282ck2hHtJh1Qr3/E18S7EY7Q3DkTazy/PurSZCpR12ng0SXnJ32SR4V8HBYaz0pIw==","shasum":"4ac5bb8119170eeb01e384fb52be5c0c83d65ad9","tarball":"https://registry.npmjs.org/@defund-protocol/v1-sdk/-/v1-sdk-0.4.4.tgz","fileCount":46,"unpackedSize":461943,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGPMttgWvq+JEBnVzsiBN25746aO9Gm+wIZJklWz1ZlWAiAarvxt6sBSEKiXk0zn3guJ1qDEsGnpIMgbWBy5DBSphA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUzZiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo0fRAAk7r4/NcMDzq/k6A8fj4LSy+l2/Ofy19MSD9+iO9nySheAO9l\r\nXCvFcLSAQj0JTUmqoxL2hAlkJTxUrZycHj9QGIZ4oPp0Gbgkls5I4KTOdcAK\r\nmHU6almnKFuypejz+X9sivoyJEWL6shS4DAGrQ4/YWFVjoi85xRHBwabqbSG\r\n3SiB6RtFmbHiF2bZ6PlkM1WTiLckfrRrKBxexzYGCxJlqneuFhVSJWjQ/OtD\r\nPxkALh63Rf2KYF9u1tMVNjdxUXFFUK5tVIwK1OXwZ14WECnwDsetG/P5obGz\r\n7pGseU+RWaz7+f1fqKmB28hEnLO8IGC7pCPyu7CU6ymlUTtrOEVYeqVECX93\r\niAb1dwqXQdQ+9i83W5NQ9wNPhN5A18DRaKnEi2zjhhdtn1r3qCgbFi5tCIIW\r\nNiqi0CVZabTvDrmzdmq9raMuJYnxz/aN2KR/n7sTnPeJaXEtRPlAIzwZwCYi\r\nUPMm/ckocfkZNVNiyZTzU/VW+e0gsL/W5vYlLzLvVI0M47pDEgc4wpAGHkaZ\r\nEqJ6EOXnIpiJIh1TMCXlQZZTP/os5l0Lb+QiP8zx2lSoIN0ESNlh+XR8ZA9u\r\nlEaYg09rnbp9m4OMSUxiePvy12B9n9BsrMUQahCO7ZIUo4ZuOc7PSnGMyo9R\r\nJjGuHXBZyH4mb9vWZ5rog6nibP5baVuc5io=\r\n=xTv5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"defund_protocol","email":"contact@defund.io"},"directories":{},"maintainers":[{"name":"defund_protocol","email":"contact@defund.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v1-sdk_0.4.4_1683175010319_0.4393117961289257"},"_hasShrinkwrap":false},"0.4.5":{"name":"@defund-protocol/v1-sdk","version":"0.4.5","description":"DeFund Protocol v1 SDK","main":"lib/index.cjs","module":"lib/index.mjs","types":"lib/index.d.ts","exports":{".":{"require":"./lib/index.cjs","import":"./lib/index.mjs","types":"./lib/index.d.ts"}},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","format":"prettier --config .prettierrc 'src/**/*.ts' --write"},"keywords":["DeFund","DeFund protocol","defund","DeFi","Ethereum","fund","web3","ethers"],"homepage":"https://defund.io","bugs":{"url":"https://github.com/DeFund-protocol/v1-sdk/issues"},"repository":{"type":"git","url":"git+https://github.com/DeFund-protocol/v1-sdk.git"},"author":{"name":"Rex","email":"rex.s.bit@gmail.com"},"license":"MIT","dependencies":{"@defund-protocol/token-list":"^1.2.0","@uniswap/sdk-core":"^3.2.2","@uniswap/v3-core":"^1.0.1","@uniswap/v3-sdk":"^3.9.0","mathjs":"^11.8.0","ethers":"^5.7.2"},"devDependencies":{"@ethersproject/abstract-provider":"^5.7.0","@rollup/plugin-json":"^6.0.0","@rollup/plugin-typescript":"^11.1.0","prettier":"^2.8.7","rollup":"^3.20.2","tslib":"^2.5.0","typescript":"^5.0.3"},"gitHead":"e0a4a6d4a5176a3602846974c321364a5ffbfe3f","_id":"@defund-protocol/v1-sdk@0.4.5","_nodeVersion":"20.0.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-rr1p40tCERNDJyJME/u+1L0d3xTcmZqfoA+18s5PNi+58S2wAmSSu1mf1nJNKqfwyK2K0UovMK+TwC2cRq9W3Q==","shasum":"74833a95814d1bd898a9475bb04134eb57d8b7a5","tarball":"https://registry.npmjs.org/@defund-protocol/v1-sdk/-/v1-sdk-0.4.5.tgz","fileCount":46,"unpackedSize":463809,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWNgC0SanwPdBm+pcEGO/T+B+vqu6YSpi+o4PKE82qzQIhAMlA3CkTDWPALNrUfLILKhYMVEXR4y5SIE3C+e0c7RQk"}]},"_npmUser":{"name":"defund_protocol","email":"contact@defund.io"},"directories":{},"maintainers":[{"name":"defund_protocol","email":"contact@defund.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v1-sdk_0.4.5_1683354069010_0.7292558028581662"},"_hasShrinkwrap":false},"0.4.6":{"name":"@defund-protocol/v1-sdk","version":"0.4.6","description":"DeFund Protocol v1 SDK","main":"lib/index.cjs","module":"lib/index.mjs","types":"lib/index.d.ts","type":"module","exports":{".":{"require":"./lib/index.cjs","import":"./lib/index.mjs","types":"./lib/index.d.ts"}},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc && rollup -c","format":"prettier --config .prettierrc 'src/**/*.ts' --write"},"keywords":["DeFund","DeFund protocol","defund","DeFi","Ethereum","fund","web3","ethers"],"homepage":"https://defund.io","bugs":{"url":"https://github.com/DeFund-protocol/v1-sdk/issues"},"repository":{"type":"git","url":"git+https://github.com/DeFund-protocol/v1-sdk.git"},"author":{"name":"Rex","email":"rex.s.bit@gmail.com"},"license":"MIT","dependencies":{"@defund-protocol/token-list":"^1.2.0","@uniswap/sdk-core":"^3.2.2","@uniswap/v3-core":"^1.0.1","@uniswap/v3-sdk":"^3.9.0","ethers":"^5.7.2","mathjs":"^11.8.0"},"devDependencies":{"@ethersproject/abstract-provider":"^5.7.0","@rollup/plugin-json":"^6.0.0","@rollup/plugin-typescript":"^11.1.0","microbundle":"^0.15.1","prettier":"^2.8.7","rollup":"^3.20.2","tslib":"^2.5.0","typescript":"^5.0.3"},"gitHead":"e0a4a6d4a5176a3602846974c321364a5ffbfe3f","_id":"@defund-protocol/v1-sdk@0.4.6","_nodeVersion":"20.0.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-v6avQp26gwHcoc5RRRMw03xjmVVb6eTdzySxxjIESqno3HatOD/mC5AEDfWRa3XUgdgLhhUG3lvOirzVJL4ULA==","shasum":"41c48fd3b5ea6ef3a2ba72a239e030cd762316fd","tarball":"https://registry.npmjs.org/@defund-protocol/v1-sdk/-/v1-sdk-0.4.6.tgz","fileCount":46,"unpackedSize":467286,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoIPnrgCsrFUYIcFSybFAevoqc5/O6138N2w2ebTSoywIgZF+vK9JsCgMOPXBAQDxZMuOg+6lzUJ1aj29Q0mYwM3g="}]},"_npmUser":{"name":"defund_protocol","email":"contact@defund.io"},"directories":{},"maintainers":[{"name":"defund_protocol","email":"contact@defund.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v1-sdk_0.4.6_1683355421772_0.4607620417448961"},"_hasShrinkwrap":false},"0.4.7":{"name":"@defund-protocol/v1-sdk","version":"0.4.7","description":"DeFund Protocol v1 SDK","main":"lib/index.cjs","module":"lib/index.mjs","types":"lib/index.d.ts","type":"module","exports":{".":{"require":"./lib/index.cjs","import":"./lib/index.mjs","types":"./lib/index.d.ts"}},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc && rollup -c","format":"prettier --config .prettierrc 'src/**/*.ts' --write"},"keywords":["DeFund","DeFund protocol","defund","DeFi","Ethereum","fund","web3","ethers"],"homepage":"https://defund.io","bugs":{"url":"https://github.com/DeFund-protocol/v1-sdk/issues"},"repository":{"type":"git","url":"git+https://github.com/DeFund-protocol/v1-sdk.git"},"author":{"name":"Rex","email":"rex.s.bit@gmail.com"},"license":"MIT","dependencies":{"@defund-protocol/token-list":"^1.2.0","@uniswap/sdk-core":"^3.2.2","@uniswap/v3-core":"^1.0.1","@uniswap/v3-sdk":"^3.9.0","ethers":"^5.7.2","mathjs":"^11.8.0"},"devDependencies":{"@ethersproject/abstract-provider":"^5.7.0","@rollup/plugin-json":"^6.0.0","@rollup/plugin-typescript":"^11.1.0","microbundle":"^0.15.1","prettier":"^2.8.7","rollup":"^3.20.2","tslib":"^2.5.0","typescript":"^5.0.3"},"gitHead":"7cdc00ccca5f0bff1795d24750d26fa46e284348","_id":"@defund-protocol/v1-sdk@0.4.7","_nodeVersion":"20.1.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-xm1YVsThb3hQ584yTx7lZgwWIeGNUr7ZIsyl2+i0AyX/6HB9g4LDXIvHw9fKRaWz7dfS0H2c+HBUdFCd3chB6Q==","shasum":"afc2b8d80bcc624016a574eab4816fad0b438b21","tarball":"https://registry.npmjs.org/@defund-protocol/v1-sdk/-/v1-sdk-0.4.7.tgz","fileCount":46,"unpackedSize":467341,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnBX6SjsHe4M5HrjyDc/iqNUOa31hjmcAuKeXbcUPjLgIhAPqiZBAvVyf5Z+hGRYYesig7nurvVJWH7S/tDLBi0i8N"}]},"_npmUser":{"name":"defund_protocol","email":"contact@defund.io"},"directories":{},"maintainers":[{"name":"defund_protocol","email":"contact@defund.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v1-sdk_0.4.7_1683724895739_0.04873430544830648"},"_hasShrinkwrap":false},"0.4.8":{"name":"@defund-protocol/v1-sdk","version":"0.4.8","description":"DeFund Protocol v1 SDK","main":"lib/index.cjs","module":"lib/index.mjs","types":"lib/index.d.ts","type":"module","exports":{".":{"require":"./lib/index.cjs","import":"./lib/index.mjs","types":"./lib/index.d.ts"}},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc && rollup -c","format":"prettier --config .prettierrc 'src/**/*.ts' --write"},"keywords":["DeFund","DeFund protocol","defund","DeFi","Ethereum","fund","web3","ethers"],"homepage":"https://defund.io","bugs":{"url":"https://github.com/DeFund-protocol/v1-sdk/issues"},"repository":{"type":"git","url":"git+https://github.com/DeFund-protocol/v1-sdk.git"},"author":{"name":"Rex","email":"rex.s.bit@gmail.com"},"license":"MIT","dependencies":{"@defund-protocol/token-list":"^1.2.0","@uniswap/sdk-core":"^3.2.2","@uniswap/v3-core":"^1.0.1","@uniswap/v3-sdk":"^3.9.0","ethers":"^5.7.2","mathjs":"^11.8.0"},"devDependencies":{"@ethersproject/abstract-provider":"^5.7.0","@rollup/plugin-json":"^6.0.0","@rollup/plugin-typescript":"^11.1.0","microbundle":"^0.15.1","prettier":"^2.8.7","rollup":"^3.20.2","tslib":"^2.5.0","typescript":"^5.0.3"},"gitHead":"a3d4fe402d78695b25745497e13c402d27e5d950","_id":"@defund-protocol/v1-sdk@0.4.8","_nodeVersion":"20.1.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-7luB31fVZ9WC8DJ9W56lgJQyq7MSOoEeRt2TWhGd9LB9Tl0qz2aSak664lCSxMgam5N6cpUSuSuE9GAWsuvXRw==","shasum":"313643eca9a5d1eb6d6f5ef5acb5faae7abce112","tarball":"https://registry.npmjs.org/@defund-protocol/v1-sdk/-/v1-sdk-0.4.8.tgz","fileCount":47,"unpackedSize":569086,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYdGZb9oq9lyfNkeoRAj25NLsMJJo30vT8uwogZWz2pAIhAOcua0MuN+xqnhCUQ/cwzFJ6Viri5teb8edPSSnDIrb2"}]},"_npmUser":{"name":"defund_protocol","email":"contact@defund.io"},"directories":{},"maintainers":[{"name":"defund_protocol","email":"contact@defund.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v1-sdk_0.4.8_1684919617195_0.5942633270099376"},"_hasShrinkwrap":false},"0.4.9":{"name":"@defund-protocol/v1-sdk","version":"0.4.9","description":"DeFund Protocol v1 SDK","main":"lib/index.cjs","module":"lib/index.mjs","types":"lib/index.d.ts","type":"module","exports":{".":{"require":"./lib/index.cjs","import":"./lib/index.mjs","types":"./lib/index.d.ts"}},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc && rollup -c","format":"prettier --config .prettierrc 'src/**/*.ts' --write"},"keywords":["DeFund","DeFund protocol","defund","DeFi","Ethereum","fund","web3","ethers"],"homepage":"https://defund.io","bugs":{"url":"https://github.com/DeFund-protocol/v1-sdk/issues"},"repository":{"type":"git","url":"git+https://github.com/DeFund-protocol/v1-sdk.git"},"author":{"name":"Rex","email":"rex.s.bit@gmail.com"},"license":"MIT","dependencies":{"@defund-protocol/token-list":"^1.2.0","@uniswap/sdk-core":"^3.2.2","@uniswap/v3-core":"^1.0.1","@uniswap/v3-sdk":"^3.9.0","ethers":"^5.7.2","mathjs":"^11.8.0"},"devDependencies":{"@ethersproject/abstract-provider":"^5.7.0","@rollup/plugin-json":"^6.0.0","@rollup/plugin-typescript":"^11.1.0","microbundle":"^0.15.1","prettier":"^2.8.7","rollup":"^3.20.2","tslib":"^2.5.0","typescript":"^5.0.3"},"gitHead":"fe75a426a0effe0ee376b5e7114bf0029d5cb5dc","_id":"@defund-protocol/v1-sdk@0.4.9","_nodeVersion":"20.1.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-I0Q4xy0DrOmYwfYEseH7gzSa/HahcQd9D0wzyY0RDmu/NLOiD5ig/8mKklpUPcvTx+AkTAE1+fNaqNrSysRL/Q==","shasum":"328a919cd4c930ae7ba135c111a106bb5fdef22e","tarball":"https://registry.npmjs.org/@defund-protocol/v1-sdk/-/v1-sdk-0.4.9.tgz","fileCount":47,"unpackedSize":570703,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBM7Dih5PnObeaExxjd086UKhETCKTVRXhCgwIVaQMxsAiBLdxbW9eKmZTSnzu4I3Cs6Z/ecmSZIR7kDD+PGJr3rmA=="}]},"_npmUser":{"name":"defund_protocol","email":"contact@defund.io"},"directories":{},"maintainers":[{"name":"defund_protocol","email":"contact@defund.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v1-sdk_0.4.9_1684921637218_0.3996500218161654"},"_hasShrinkwrap":false},"0.4.10":{"name":"@defund-protocol/v1-sdk","version":"0.4.10","description":"DeFund Protocol v1 SDK","main":"lib/index.cjs","module":"lib/index.mjs","types":"lib/index.d.ts","type":"module","exports":{".":{"require":"./lib/index.cjs","import":"./lib/index.mjs","types":"./lib/index.d.ts"}},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc && rollup -c","format":"prettier --config .prettierrc 'src/**/*.ts' --write"},"keywords":["DeFund","DeFund protocol","defund","DeFi","Ethereum","fund","web3","ethers"],"homepage":"https://defund.io","bugs":{"url":"https://github.com/DeFund-protocol/v1-sdk/issues"},"repository":{"type":"git","url":"git+https://github.com/DeFund-protocol/v1-sdk.git"},"author":{"name":"Rex","email":"rex.s.bit@gmail.com"},"license":"MIT","dependencies":{"@defund-protocol/token-list":"^1.2.0","@uniswap/sdk-core":"^3.2.2","@uniswap/v3-core":"^1.0.1","@uniswap/v3-sdk":"^3.9.0","ethers":"^5.7.2","mathjs":"^11.8.0"},"devDependencies":{"@ethersproject/abstract-provider":"^5.7.0","@rollup/plugin-json":"^6.0.0","@rollup/plugin-typescript":"^11.1.0","microbundle":"^0.15.1","prettier":"^2.8.7","rollup":"^3.20.2","tslib":"^2.5.0","typescript":"^5.0.3"},"gitHead":"18b025f13096bf3da9ff30b4a606782252ba45b4","_id":"@defund-protocol/v1-sdk@0.4.10","_nodeVersion":"20.1.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-khGiKvR4qNJls3EUNW8IU6wM7W6N8LKbQXeUu+ki+j/A5/lW2lN/OiK8J/RmoKW+d4ouIMhifaeea0tjU6vwZA==","shasum":"4d08d3a97491fb5caa8d01c891a073140e3c1715","tarball":"https://registry.npmjs.org/@defund-protocol/v1-sdk/-/v1-sdk-0.4.10.tgz","fileCount":47,"unpackedSize":572342,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDwKginvWQmcjh5MeGPcWwqwUGII7mxrB3NllR0N9sZlAiBygz0bt4oJfTQuMpMdK2hr/mi82wFB/LwXa13og9uN/g=="}]},"_npmUser":{"name":"defund_protocol","email":"contact@defund.io"},"directories":{},"maintainers":[{"name":"defund_protocol","email":"contact@defund.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v1-sdk_0.4.10_1684926281184_0.08828768575907109"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-10T06:42:45.014Z","0.1.0":"2023-04-10T06:42:45.278Z","modified":"2023-05-24T11:04:41.502Z","0.2.0":"2023-04-10T06:53:13.958Z","0.3.0":"2023-04-11T01:53:03.144Z","0.4.0":"2023-04-12T03:01:25.776Z","0.4.1":"2023-04-12T03:14:38.133Z","0.4.2":"2023-04-12T03:25:02.742Z","0.4.3":"2023-04-12T03:30:25.461Z","0.5.0":"2023-04-14T02:45:55.441Z","0.5.0-beta.0":"2023-04-14T02:48:32.345Z","0.5.0-beta.1":"2023-04-14T06:55:21.165Z","0.4.4":"2023-05-04T04:36:50.604Z","0.4.5":"2023-05-06T06:21:09.250Z","0.4.6":"2023-05-06T06:43:42.008Z","0.4.7":"2023-05-10T13:21:35.899Z","0.4.8":"2023-05-24T09:13:37.457Z","0.4.9":"2023-05-24T09:47:17.410Z","0.4.10":"2023-05-24T11:04:41.364Z"},"maintainers":[{"name":"defund_protocol","email":"contact@defund.io"}],"description":"DeFund Protocol v1 SDK","keywords":["DeFund","DeFund protocol","defund","DeFi","Ethereum","fund","web3","ethers"],"author":{"name":"Rex","email":"rex.s.bit@gmail.com"},"license":"MIT","readme":"# v1-sdk\n\nDeFund Protocol v1 SDK\n\n## Installation\n\n```shell\nnpm install @defund-protocol/v1-sdk\n```\n\n## How to use\n\n### Base\n\nSDK initialization requires the following parameters\n\n| Param   | type   | description                                                  |\n| ------- | ------ | ------------------------------------------------------------ |\n| chainId | number | 1 for mainnet, 5 for goerli, 137 for matic, 80001 for mumbai |\n| signer  | Signer |                                                              |\n\n```typescript\nimport { UniversalSDK } from '@defund-protocol/v1-sdk';\nimport { Wallet, providers } from 'ethers';\n\nconst chainId = 1;\nconst provider = new providers.JsonRpcProvider('your json rpc url');\nconst signer = new Wallet('your signer privateKey', provider);\nconst sdk = new UniversalSDK(chainId, signer);\n```\n\n### Swap\n\n#### Swap Params\n\n| Param       | Type        | Description         |\n| ----------- | ----------- | ------------------- |\n| maker       | Address     | your signer address |\n| fundAddress | Address     | your fund address   |\n| swapDetails | SwapDetails |                     |\n| overrides   | Overrides   |                     |\n\n#### Swap Details\n\n| Param      | Type      | Description                                                                             |\n| ---------- | --------- | --------------------------------------------------------------------------------------- |\n| opType     | string    | `exactInput`, `exactOutput`                                                             |\n| tokenIn    | Address   |                                                                                         |\n| tokenOut   | Address   |                                                                                         |\n| amountIn   | BigNumber | amountIn for exactInput, amountInMaximum for exactOutput                                |\n| amountOut  | BigNumber | amountOutMinimum for exactInput, amountOut for exactOutput                              |\n| useNative  | Boolean   | set to true if you want to swap to or from native Token instead of warpped native Token |\n| expiration | number    | optional, default expires in 10 minutes                                                 |\n\n#### Overrides\n\nYou can find out more about the overrides parameter from the [ethers document](https://docs.ethers.org/v5/api/contract/contract/#Contract--write)\n\n```typescript\nconst maker = signer.address;\nconst fundAddress = 'your fund address';\nconst swapDetails = {\n  opType: 'exactInput',\n  tokenIn: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', // WETH Address on mainnet\n  tokenOut: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // USDC Address on mainnet\n  amountIn: BigNumber.from('100000000000000000'), // 0.1 ETH\n  amountOut: BigNumber.from('1000000'), // 1 USDC\n  useNative: true, // use native token, use ETH in this demo\n  expiration: Math.round(new Date().getTime() / 1000 + 30 * 60) // 30 minutes\n};\n\nconst overrides = {};\n\nconst tx = await sdk.executeSwap(maker, fundAddress, swapDetails, overrides);\n```\n\n### AssetsConvert\n\n#### Convert Params\n\n| Param          | Type           | Description         |\n| -------------- | -------------- | ------------------- |\n| maker          | Address        | your signer address |\n| fundAddress    | Address        | your fund address   |\n| convertDetails | ConvertDetails |                     |\n| overrides      | Overrides      |                     |\n\n#### Convert Details\n\n| Param      | Type    | Description                                                                             |\n| ---------- | ------- | --------------------------------------------------------------------------------------- |\n| ratio      | number  | ratio of tokenIn                                                                        |\n| tokenIn    | Address |                                                                                         |\n| tokenOut   | Address |                                                                                         |\n| slippage   | number  | 1 for 1%, minimum is 0.01 for 0.01%                                                     |\n| useNative  | Boolean | set to true if you want to swap to or from native Token instead of warpped native Token |\n| expiration | number  | optional, default expires in 10 minutes                                                 |\n\n```typescript\nconst maker = signer.address;\nconst fundAddress = 'your fund address';\nconst convertDetails = {\n  opType: 'assetsConvert',\n  tokenIn: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', // WETH Address on mainnet\n  tokenOut: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // USDC Address on mainnet\n  ratio: 1000, // 10%\n  useNative: true\n};\n\nconst overrides = {};\n\nconst tx = await sdk.executeAssetsConvert(\n  maker,\n  fundAddress,\n  convertDetails,\n  overrides\n);\n```\n\n### ApproveToken\n\n#### Approve Token Params\n\n| Param          | Type           | Description         |\n| -------------- | -------------- | ------------------- |\n| maker          | Address        | your signer address |\n| fundAddress    | Address        | your fund address   |\n| approveDetails | ApproveDetails |                     |\n| overrides      | Overrides      |                     |\n\n#### Approve Details\n\n| Param  | Type      | Description                          |\n| ------ | --------- | ------------------------------------ |\n| opType | string    | locked to `fund` for now             |\n| token  | Address   | your token address                   |\n| amount | BigNumber | Optional, default value is MaxInt256 |\n\n```typescript\nconst maker = signer.address;\nconst fundAddress = 'your fund address';\nconst approveDetails = {\n  opType: 'fund',\n  token: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', // WETH Address on mainnet\n};\n\nconst overrides = {};\n\nconst tx = await sdk.executeApproveToken(\n  maker,\n  fundAddress,\n  approveDetails,\n  overrides\n);\n```\n\n### GetFundAssets\n\nYou can use this method to get the asset information of the fund\n\n```typescript\nconst maker = signer.address;\nconst fundAddress = 'your fund address';\n\nconst assets = await sdk.getFundAssets(fundAddress);\n```\n\n### GetFundInfo\n\nYou can use this method to get all the on-chain information of the fund\n\n#### Params\n\n| Param       | Type    | Description                                                                                          |\n| ----------- | ------- | ---------------------------------------------------------------------------------------------------- |\n| fundAddress | Address |                                                                                                      |\n| lpAddress   | Address | Optional, If you want to get share information about a specific lp, pass this parameter              |\n| withAssets  | Boolean | The default is true, return all information, if you don't need asset information, you can pass false |\n\n```typescript\nconst maker = signer.address;\nconst fundAddress = 'your fund address';\n\nconst lpAddress = 'this address of specific lp';\nconst witAssets = false;\n\nconst assets = await sdk.getFundAssets(fundAddress, lpAddress, withAssets);\n```\n\n### Approve Token\n\n```typescript\nconst maker = signer.address;\nconst fundAddress = 'your fund address';\n\nconst tx = await sdk.executeApproveToken(maker, fundAddress, {token: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48'});\n```\n\nIf approve is not required, tx returns null, otherwise returns the transaction.\n\n### Buy Fund\n\n```typescript\nconst maker = signer.address;\nconst fundAddress = 'your fund address';\nconst amount = BigNumber.from(\"10000000000000000\") // 0.01 ETH\n\nconst tx = await sdk.executeBuyFund(\n  maker,\n  fundAddress,\n  amount,\n);\n```\n\n### Sell Fund\n\n```typescript\nconst maker = signer.address;\nconst fundAddress = 'your fund address';\nconst amount = BigNumber.from(\"10000000000000000\") // 0.01 ETH\n\nconst tx = await sdk.executeSellFund(\n  maker,\n  fundAddress,\n  10, // 10 percent\n);\n```\n\n### Get Your Funds list\n\n#### Role\n| Role     | Value | Description           |\n| -------- | ----- | --------------------- |\n| Manager  | 1     | funds you manage      |\n| Operator | 2     | funds you can operate |\n| Investor | 3     | funds you invest in   |\n\n```typescript\n  const managerList = await sdk.getFundList(signer.address, 1);\n  const operatorList = await sdk.getFundList(signer.address, 2);\n  const investorList = await sdk.getFundList(signer.address, 3);\n```\n\n### Get Fund's Lps\n\n```typescript\nconst fundAddress = 'your fund address';\nconst lps = await sdk.getFundInvestors(fundAddress);\n```\n\n### Examples\n\nExamples can be found at: [Examples](https://github.com/DeFund-protocol/defund-examples)\n","readmeFilename":"README.md","homepage":"https://defund.io","repository":{"type":"git","url":"git+https://github.com/DeFund-protocol/v1-sdk.git"},"bugs":{"url":"https://github.com/DeFund-protocol/v1-sdk/issues"}}