{"_id":"@ref-finance/ref-sdk","_rev":"41-cfc0bf3d052c5af3f77af7a7f08223b3","name":"@ref-finance/ref-sdk","dist-tags":{"beta.0":"1.1.9","beta":"1.4.6-beta.0-development","beta.0-development":"1.4.7","latest":"1.5.0"},"versions":{"1.1.3":{"name":"@ref-finance/ref-sdk","version":"1.1.3","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.1.3","maintainers":[{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"11583a324d989f8f7a9103ed5c178a91b67d458f","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.1.3.tgz","fileCount":39,"integrity":"sha512-e4tssXov9bdy6aDBMY//VbgXIKm1rfM7ClgsKCQSnGYge6tJvoMNAPXlhhBmefhkBnPfgyUki3g0kioyAzdluQ==","signatures":[{"sig":"MEYCIQCPcZkigkIK7dYcTWSKujHM/2Tp5LKRIxyEYyXqPpKnbgIhAIdjnKmohsYoN+6Dvr9kMINgB1OqrU/oQGPnd2t2vjxH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6244582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYd+oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrFsg/8Cm8Ppo37tdZOyv1FkrI8TFHcvX9l1+CjZ1dUG7pVdQ2z4TeF\r\nTQDpIgpyJX2iAThTNXNXAqTRcYVisAO/ztgZ1l4CudBpTG2hltPuhR0iNiak\r\nE4XPUZQMn+T6RZ9CsoWVzd3gkBQZbq5REYW6Y8ctvGMSRGEzvTvXK9FQbeMX\r\nj1MYINIlGkYPb05ubS7VmhIAMmvDAdygbd1R9FDz+YC1DFLnBedY6cOFg5bq\r\n4SsmI26k8wknWLSQtiVP6srnJa788rwzjgIJn4Cgz/sNKSmzoEjz7BvFV7he\r\n3cZ9ZkMsDTZdr8Bd85MjTkIpG2haUf4rLSEjdiv3RTFeEajrmsDCvaBnOHW2\r\nu8np3kAh1EAk3M+JPBfO4En6VqUSyL+tB2cVGercSELawZtEgXyJ+6CxRD7+\r\nXk8GuDBU0U+viJe1bviQ7Pq/bCcaiEYaqBIeoPjjcRWIyCMaXSC0a9Ma0AF7\r\nGarTgyeYaa3IO6XJv2FQKsKzfj4x3lyIvcgZzF1e5CBAH0PvDq9uBoLEUVXl\r\npQKSxZc2xUCUTX9bsE9wgfyD5CRxNpvNOGa8Lc5PGMcpX2hCbC3v3B2JGsoY\r\nPdvACn15oykrYDN4MCeAmdjRdrmN0AlePaLL3PYS0ngNKEotLps3euP2YDzP\r\njP8XefAYcuOFIYgwNwSs+BOZN9vNNPopdgY=\r\n=67Mx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"c20dfac81351086c7ae79c01fd164752d3741c45","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"max-ref","email":"max@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"6.14.15","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"_nodeVersion":"14.18.2","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@react-icons/all-files":"^4.1.0","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.1.3_1667358632537_0.1673521076768738","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"@ref-finance/ref-sdk","version":"1.1.4","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.1.4","maintainers":[{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"b5b33ff118a0c175ca5ffd3266bd21325c27bc6e","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.1.4.tgz","fileCount":39,"integrity":"sha512-7H3l744iguxfnzvvNEAWd2ZY7vxktYN4t7ftnOCWIYo8HWmtiKLgxASAtTBm/KM1uQBZ3JKppXTSvuAqYV98ZA==","signatures":[{"sig":"MEQCICJsZOH3zpfVshavhdabl8YZ13WvgG8CwituuhZQySQTAiAILe12/WiFzWEao6wWpP6NRaM6vYN3KcUrAGkdr+ZmuQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6248100,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjaOpwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoy6hAAmys4r+HTxGUJK6f49wBEgdXMVzSxc+YksfIidPmcS15hF93V\r\nnn+vCP8eK0+Ytcs1go+caVxiRlTFZ8OoeeFASbJp//bxXXJxjXBsM+RUUbeD\r\nY+lbnKi0DE2DSp3XohhRL9W1/oaVz+YsZDb5M+xH74KQOZHxFk0DRRRKXqAM\r\nbfpS0v3VwxTS4I4TNBYHa43x9F9OhUONCHVl7xhjVxvsASyAjIwc0raoBWS5\r\ngtF7OfuINwMjTAAxo29ibp0nH2eg28mP3YjJrEMQz1zdF02UPjEoy0nj8B1z\r\nFy5Y2SVdjvP7zVBQcPwzuvlzAqQDAm+n3x/XFOTrxSttrFYFPYdmoOvdwoOR\r\nrkxgilSKEegXo+xSPX8KGzfzWfr7G+7G7Sho1cvXGOX4zJlzFxGs+vOjL/J0\r\nUWXSOSeySzBScdEj9clSWhxosIj7gkBmrwKSfi5/DQB+MOKmyn0OCyMMTiJ+\r\nhfIPcrhZ1HKE1fd5aiAwKC8FYRFKX/7W3yfnzG9UvtG9NcMHCqlccGArHhft\r\nTHyeB+rqHebXXb+W32s9LlNH7IVD/Bg69XZpUYj2nIqHl9EGJTmxGh/NKm5S\r\nBFUhelH3BQO28nH36h7RBP49J8i+hwjuHI24rJgyd2KAYqk1Ns0wwOT2a/61\r\nbq5fv0lEl5DQKLjbgmWL4hQgDU/ULnOQI80=\r\n=ho19\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"c589a56fae857a20632f650c8f1e477bcb48f811","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"max-ref","email":"max@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"6.14.15","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","node-notifier":"^8.0.1"},"_nodeVersion":"14.18.2","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.1.4_1667820143919_0.3174287879121709","host":"s3://npm-registry-packages"}},"1.1.5":{"name":"@ref-finance/ref-sdk","version":"1.1.5","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.1.5","maintainers":[{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"792f5745b820a039c1b5ac256d4ea243a3fb51d0","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.1.5.tgz","fileCount":39,"integrity":"sha512-FLrGTLEVyS2siJNDBWvwvdEtzAgz3ZxXkvBPwb2oY5n+Pn2VKzk/bUSMNJZz8f6I5XkMJDwfr05gRqDBJmLmWg==","signatures":[{"sig":"MEUCIQCfN+xWT8PFCSOtl5WvYACM+piHWceJDJXVbPxPT02MeAIgaF5RIGyM6VEd9jlbbYZjzH6fiLlMQnG57w2im5YDSeM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6276336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjaf6+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo2XQ/+KlX7SNBcR62XvOU3IGTqqI25Np5IRouj0py6rID27M6xipCK\r\nMLVptQAyYNa7jFG4VHf5lZxeglXUuumBh2gj3pQLJEK0o6KLElO+mVZ2/ZAm\r\n3TItSnDY4KlAdrUZeXAOBFY+E2RXRf3R29CmI29gA6yF+DZSlM/FQrIPywop\r\n0X0fjtx5knS4owj+LYdk/sPl0KyjzQkV7XYvnmLnEpN5l5OFSGFaBwzpcqxD\r\nMLe+aASFdKSMCMQKKg8/HZsbKKVitbwH6AA9znEUO2mmw94NZhakYkzR1Q8+\r\ntGMPNvW2bvBWjeZBmmMQuN28KddJJTW1GxLn0X/F39wMcEJxDBj5ID0PGDKb\r\n/0oGbgWj//sVCEApmbiB6JYNEUWojWIKdxj7ATzWNHcJUY6v2Ovnyb/i7TCi\r\nax0QmbBnP0JEILZ/tlYSxLqwSm2cW9IZjzINNBXwjSf6X43jArYbNuRQgntm\r\nOahTYTmr/X+/OH7M5a3oGU1/geklqyWmvGvzNzsy5MvZKPO2O8EODET6DPcS\r\nBwwj2qmZWmkMzllt1jkF8Qi0AhGH+YHtyZxpx+9FpFA80n985PAfydi2YtBb\r\ngaKH0LBRtiJsH6+WjHrBvfrXz2gVUAXz7g4aN90nWGwhhrylX8ORgcmRqzh5\r\nfIMMcvcHVhnyXNMSFMjcOB2G71oMdCI8EnQ=\r\n=9oL1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"f5526458ea49bdd3c5ac2eae0aa937d42c9f9e34","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"max-ref","email":"max@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"6.14.15","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","node-notifier":"^8.0.1"},"_nodeVersion":"14.18.2","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.1.5_1667890878477_0.8716451405840362","host":"s3://npm-registry-packages"}},"1.1.6":{"name":"@ref-finance/ref-sdk","version":"1.1.6","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.1.6","maintainers":[{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"a63413fe957737de5ea47e62a6927c6b3636bef9","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.1.6.tgz","fileCount":39,"integrity":"sha512-ZjoVWMysgjW2U0LbrASzrr8aGQ8ttVgkmLb+ZbnlSUzpirPa6HKcrpR6oUUcjSEMakdzHviPheBi3Z1hW0m6Xw==","signatures":[{"sig":"MEUCIQDLZm1NEOCxZ06zaMDIBUovW/7tarTtv284v7HTvZXtEgIgNXdHU+yfs5gvBfwkDCSfnOTxE/Xbd264fl6+fA0xl4E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6264032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjxq+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmokng//YneQO9/rNjp6d2f7LOb8aDchNlJMWvXXK1q3YI/iQzbTlYAM\r\njAomJZ4mecFSl2RdnGEgG6aE5mgu1GSu1QS//9wfeseRey1kkXJOduU57gJF\r\nN8/JwAsFxIWDKKgVZ5o+sJx04T+8rrELXf4l15rzb6OhVSWiyOEAtl7i1PM7\r\nnpgmAhqkRqM3PJiZ/66+e1Qd7HRULcfPSNsktTxUdfaRJLubEcRl43G8Ta9S\r\nhsP39I2jCLqImQ6D/n5gdXiKON8db/lytNjnpm8RFKFEG/qc13IlM67KMYhr\r\neOR7UIAzOHTqtLFSC5t5sxN/r3zXVT66LnRb5xUd2Hp3M6V8DzDlNR1xPTgo\r\nk+8H7skc85qEv4EEOosZzx+1TxsmRu9iNtmpruUukSkxGX6TrGIgudnQg5Z1\r\nn5YIT2z21yDWbbkMKKfn63pSrmEhq9SORLlTpWt+M2XAE1n5RIP+3vItR2eL\r\nmSLICgO32geXuh129yOFY5gv8iKs+YJX8PCJADHSvybEnFpPNggV9taBSNY9\r\nfik4HNmovQvJRVd/W/zKAOXjyF5q839MwwC9wZWorqu+/WJLJnfCXWp5WyQm\r\nsJr18LgR2s5UU49mB3d7Nm1TnoFYAZl22ZvAiNQ3QGb7o2/B5YqNw40l0cy1\r\n+kcklZ4FeSV+icmseI2nf8Jt3PtmJPTWYKM=\r\n=yIBt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"de20777d344615fbde1dd5a9970c6e435c81392d","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"max-ref","email":"max@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"8.15.0","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","node-notifier":"^8.0.1"},"_nodeVersion":"16.17.0","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.1.6_1670322877839_0.11068285914478437","host":"s3://npm-registry-packages"}},"1.1.7":{"name":"@ref-finance/ref-sdk","version":"1.1.7","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.1.7","maintainers":[{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"d34799b4380ce030d1c03ab7d0c9b60b96864402","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.1.7.tgz","fileCount":39,"integrity":"sha512-nC6iFavzF99aHBziBXTk8Js+ahSh4RimP1/m/HLUPGcUF8aFggHfDxZHdtw70H7nphfGKutiCMJ/AJExGAnnEQ==","signatures":[{"sig":"MEYCIQDpk+8HlpZ3/5koe2wELxCNT5MdIN8NmpAD5I3AiKyA8wIhAIWdF+f5/JtuSX5l9NcEkhA4jh2+BLaKMU7XzQe/eEMr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6275682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjl05rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpiMw//UTaw+Ksa1bYT9xvIH3iAatmk6rE3FqQ4X0+cQ8CQkr6DSpry\r\noGdnXmuaX3lVSc0Ira/Jt6XGkHx0S8Ev8kPoNq0nyVrSf3JHrFJ4fjKwF0Fq\r\nDuH9tW7n6lQoI4IG03PAuEehH00eagcyONn+dZyYqtcZi5ksd0IYpFiXq5zF\r\nWNJJv+ECK5mcPSV8pMbkiRArSzr5sYvM2plo4fidLIorbDqpJiB4uxGkS1mi\r\nsBEckB1lbeWoJRtlOmNdueyQDKV6CY7r5Q9+9yrdw/IC6k+FvxUmAktWMDRr\r\nb3QFqA5yEACqjhFBkbtzQc0Bk82j9+8+oBY8hxiZ8hT+PjEfBWugMR76rujR\r\ntApXKF34FJamxp96jrISFpjmtzM3O7i20AB3WkewEklqi1t0A2ZXA6xX49JH\r\nyYyhmjGzhNDF2W2B3CVzDQJyYubHJV/b6gFrMJOHECzyUUdK/pPA+yHjFntI\r\noE9z4eeFbojfJu6AU192qN/65x4mEiJo1J6Zle1XVGQD90VfIeHcN8UqLuAL\r\nnt3PSrGthZ02NTYO/fafkCaNY98xCnnLZrHiYjHm8rzvHCJ6goQlxVmgN9ee\r\n38k0nEL4M+nW6/HmDYS75y6om66AjKQFP/rWyaxAM0uj2gfGudEuyyyEdEC8\r\nAwDegB8P2sUYEeNx9yXotAD81ZuLj3uySjM=\r\n=PJsW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"9e13a255ef968ccbfbfb17033abe3016ed2d1bfd","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"max-ref","email":"max@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"8.15.0","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"16.17.0","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.1.7_1670860394778_0.8570186067435857","host":"s3://npm-registry-packages"}},"1.1.8":{"name":"@ref-finance/ref-sdk","version":"1.1.8","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.1.8","maintainers":[{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"b85d5a4b2c91995d3607922e09e0f15511495663","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.1.8.tgz","fileCount":39,"integrity":"sha512-9cpv87OFKx2R+YoqrTbunbhAxHCDJkFlr+Jh4pKjC1zX1u/M2b97ye7IabN4yCY3Nl7ECfOSSIVU2OGNvUwUfg==","signatures":[{"sig":"MEYCIQC/+/0PwpOj3hPbwYNaSDEvQ/ynqSLamJkwiIcK8ZUpSgIhAKwGqlO6+5ifbuprYjXOFx131pMhTzU2aEw4kK5uDlUs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6280887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjobq+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpecA//UzE1BZKp4EDT0obShDY446CIMkX/Wy/cxqy1ClendZSMaKHq\r\nZ+W69paZYqaKD7VlUiwsRgkncxdA0asbnw04/3m13hWr7GYQmonGre0PEQ7J\r\n63CTK2MjG17PRbJ7AVto4mjr23lzWDB2GIEc7Mg2ZX2CQGIWbUC6moOhalDR\r\nF/4FrNBZ41yYy32475bmALF6aIgL4EWO8OEuiPGzKQ+xdoP7eBvRWv+1tYur\r\nHUVsr7uo1UTw1PAq9fTRXxl/TJ5ZLpetHB0U0DPOP2aVJPmbDRwzN+9D3PbW\r\n/3IPgUB8eG+HliXh49jwhhqgsUQjqh6iJ6pmcNGWIAytVoyC+g9b08DVFUJ0\r\n99qQlsov4ceSFbOUy5yZo4oPBDeRzSVNGrF+FYUEdLYTxs2RpeDltsCrlFJy\r\n7nvhoRbiz/oPE8TerHQMwXsPO1cEQdH338UHOAUbjW1sng2oesXqufFP4K59\r\nmaRJJqgPKVSboLR/qi6SUsp2665GSQfpuEhrtyFRu9DHaT/fY2PxGJU2Onlr\r\nqVlgMA5l9x5NNkJKHVXtFde/7LRihZiqRQvXBR6IaxFmLDHf5AXLOUye2HYg\r\nfGwaL30J20Lxknfnn+pt2cKX7gYE0WPtoAb0/hxNdHKhcOCr8AqDtLwQY/yN\r\ne9wS8Mb34wORpcNqdxUapAG+bkB2Syqq3uc=\r\n=hess\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"7fe4cef5ce142896caccdb8c02e188e5696559f4","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"max-ref","email":"max@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"8.15.0","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"16.17.0","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.1.8_1671543486187_0.35561632063483906","host":"s3://npm-registry-packages"}},"1.1.9":{"name":"@ref-finance/ref-sdk","version":"1.1.9","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.1.9","maintainers":[{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"1ada794cacd64508cb2b8515e4db3ce247bbef2a","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.1.9.tgz","fileCount":39,"integrity":"sha512-hYXY1/sPHt1qSv6Ii4INhAUviuuzyKxxjUE1ufYk1we1UOqsuIxY+vRA1QMqMYqnnxa0V6qwRR7uVsEmTEYhUA==","signatures":[{"sig":"MEUCIQCF71l+X8XquO+SnotXNgsZ8E0VUxO038IMVEUJeVpHSAIgLX7eBwJzB+JDoEZ5nZaorfNMO6pHgTYieluAXS77Swg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6280947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5J+7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp9Zg/8CNT3v/t+zJ7YuuwRrYeTLmGe250Ow5umVAQ3GwsaN5sYHzsm\r\nfRJ3lDU+oX+hKO369ysKuwzQHm0ay9kqWp+3cM9UyzRA+XUieEN6E6gWlS6R\r\ncoEapFjC4G7UNnXUwb+q0G9l5UQxlJiUJPzt4V2as27t+6w6t8eCzrBcUqCa\r\n6Ij9W5JcaPWzp+Jjdczhjf/q4kTM3aSpaoTigw12g2mytFqFCMNsR7isbxUY\r\nXQ4C0Gxcu7pePkQmrzx1iBjZJTqzrGAoZJtMORCZFvjkoSZAqFaWTtklOAHZ\r\nl9HyMsVB9hIOe/cXRfXSoGjFTS9fjW3+VNeu+ewN4CRfxW24YTLvTrTXwiOf\r\nFJglXJt7aZc9rrcqIsO9JWMqAfW+4Lom5MeRrAXUGhT0XE0PhBHkD30J/96w\r\ndCxnsofCp8t+pJY1jSsDzfJJaz/k9hpqqZNe6JHB0iDpYKIvbI0Pv3olFcVa\r\nNnK5dLYW/QIGTdsYqXR07LDOlBC0hQTnLo9/qeC1nkJjpejrt14nH9cphG2l\r\nfvnW8J3vzURVVikPZHijKXv3BTOKGhICtDne9JsQzMF9Jk/1IbI160GWfx1n\r\npdKV4SHSaDHoXjdnii0VNmKgZxNoObRyH7CLrhUJt6jZ/rzx87M/Pkq3g4SE\r\nwOb7faX8nojygZ/AXHUglkZ44NnlGdVtjIU=\r\n=ues4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"64f5be0ab3b203e95216bf64cd460cd6a1d2773f","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"max-ref","email":"max@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"8.15.0","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"16.17.0","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.1.9_1675927482984_0.15126788295715632","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@ref-finance/ref-sdk","version":"1.2.0","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.2.0","maintainers":[{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"9049b7caec8b0befde42474858218645a2379f0c","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.2.0.tgz","fileCount":39,"integrity":"sha512-sGcVxTooqV0PwRCK+qS0QFIZpxvnzc/pkZVV9ZSPgNBZLuR13MoGruQImZlSG+GV1+7UzMDqrcrLLuq4rkFlmQ==","signatures":[{"sig":"MEQCIEin0ysh8CCAhxvV7f99JNUtmsZU+k0/8aSGv5Fsju3bAiBCyn6mhlNp2ntdjEb6NGZfNJeEl65ZIQmz6M+K4orOEg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6281966,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj646DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZyw/6Au/X4QlMK9XbK+xbguG+QCOpq0yPWr/M0JtVUVgmHb0obbAT\r\nFTIFROjFHaApE1O41v54DAQsV+CpeQMYftr+ePDhNEM9VfPVrYpkmiQkW7pC\r\ny9UPOCJ9zhsbTte8PNNGXB1v0NBSjyhb85f2o2fD//JtFrXqM/GbmANJTn0j\r\nBo++m424W3zAy2oKdhQ98ZIzWwRT4tKcSlhPFCtLhwpTI0ReBmWfgRr8TGrW\r\nFVuDafhLQCem3P/n8vbhxyslMtElOMQ49XDxukwEAJmeEwXXVZn0JMQI4FJW\r\nL3AceNmGkN6uwPjhGSFG8pHqv9W1NI2Fdt1jt82Pmyl/G22iGhPPe3GQyo19\r\nTTxUlwQuZp+FqGBX/2A+HxshJzCqNXB+1lPlztFsYPdwZJVUo89ab7dNmjIX\r\nFNoeoio+Gb7wUYkvrEVxjdFPJYbWfNrXxNpJWvN23EtoG7T/gp4aeFSHq1OR\r\ngSYy0lzLi++I0DZ03HMYAvHMdbxq/nYWhhwjQCKoNTMJskHffHzErgL7XniE\r\nOILlby4j+jjkDxkcGk/BZPnDNe5/nd525Avg+eaxvdQFfMLjovYHop+i7xpP\r\noWKqSFSl/AP4J6H/yQ2Yk9Hp2aHksFnQNGAhq+3vYm5FXhu8mJwTTxbTosxa\r\nmC7ALAJ4CAVzTtqmcwZq5ngRS2wCZqhFJC4=\r\n=jpPZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"b2d75a0752a480e00ef2d34e47506506536dc8d8","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"max-ref","email":"max@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"8.15.0","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"16.17.0","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.2.0_1676381827682_0.6113786312415499","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@ref-finance/ref-sdk","version":"1.2.2","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.2.2","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"107ada33131681e8549cefffa736c0fba2148bf0","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.2.2.tgz","fileCount":39,"integrity":"sha512-DbSskwyP6/4bDND17kzYptc6YXmc5r9ef0n4vmb/xUTk/VCDXZrUv8lg5fPzUN8mqhDy/aTW29okdfsTD17PNw==","signatures":[{"sig":"MEQCIBKKmsINMsFklHTIdVL6eDi86XcMqSTAX0hw1lBFFHPmAiAT4zF+Z1CfHw14xrnRnTFnLTcKLwhz3E9+fZF9VLSFtQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6286065},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"4c5e4b767685ee4e02e0f11d657a15801f250a60","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"6.9.0","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"12.4.0","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.2.2_1700653286218_0.42725363649255144","host":"s3://npm-registry-packages"}},"1.2.3":{"name":"@ref-finance/ref-sdk","version":"1.2.3","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.2.3","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"428e45bccb8c72102f70ea4d76be7340661cd3e2","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.2.3.tgz","fileCount":39,"integrity":"sha512-9HbeMtzoBIuiYdMKG79+Xjvmh/bu36BW3UnL+R9n334zo9jp09Qb+XFnEQx0y55hx7aZOYVIpmgdjdAG6oMPNg==","signatures":[{"sig":"MEUCIEzq+iJNga72LjVfsjxk6D8mFWqU9uy3Pl9AkDx0rYDEAiEAyaAJRorVxz4vAJMP688N4eRokTpFlyrKbCisQVqOCxA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6286085},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"4ea6661c60c3bbdfb507ea4d177fb0b88d2759b9","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.5.1","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"18.16.1","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.2.3_1705241094662_0.5895582719228809","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@ref-finance/ref-sdk","version":"1.3.0","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.3.0","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"c3816c8149b0ffce2d82f4e1769e6e3fe56593cf","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.3.0.tgz","fileCount":39,"integrity":"sha512-cVjsO2Ois+ld+QOUTXl7+prCU/IIwHyQHZyagf/nIJl2xgSgDd54o1vVkWu/QS8SJ6fw7Kr1ZpKWLoy7BkDs6A==","signatures":[{"sig":"MEQCIFLOzyWrJeBiMoOazHaUVny3BDRRb9BNiHSpyYMI/BRSAiBervyZbtQxmQ9AVSR7DErGsOzDZElprv4mx5Uj7Q5Wdg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6286914},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"50ba91bf19630dd62a1968313ce49f043d2cdc0a","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.5.1","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"18.16.1","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"3.0.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.3.0_1708570575277_0.7306816118356432","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"@ref-finance/ref-sdk","version":"1.3.1","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.3.1","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"0ca35826e1436db50703ef94bd322d70c15ed448","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.3.1.tgz","fileCount":39,"integrity":"sha512-+FrdcPnJgaPjXiYfj3J1lE2WNw/LEumhE98fsI5OPB3LBS6HVfhjS+qqngo9Pq1Sj+55kmZp72rdxndUkpCL0w==","signatures":[{"sig":"MEUCIDO/SzoRAhDR6FNiUEfTz1UQANogttjetpLi6dv2ZLYWAiEA1wU5KPbszcJqhMjVCE2qKZG7ctxL/Wc44+doUPJkc0k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6300440},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"f16c257d071fce54889fe61914751eaa751ddd5a","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.5.1","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"18.16.1","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"3.0.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.3.1_1709039657683_0.17960992486256422","host":"s3://npm-registry-packages"}},"1.3.2":{"name":"@ref-finance/ref-sdk","version":"1.3.2","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.3.2","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"56dee753472a014baeaa9f6d1208e1c0d8e04078","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.3.2.tgz","fileCount":39,"integrity":"sha512-j7p/fa6q+nZLc4pykaL1I4JKU+CybIPc7AqhmSCB83eugj8VoYJUg27L7g3lYLtk+dmyiLKsNazQ3s8blo/OhA==","signatures":[{"sig":"MEUCIGzbYOPVi6ZPPSeBG8Dme/INTiqb8OQa6A+XbVi5Dg6VAiEAxeRjzNx7z2wEIr2bCJE3sObLFcDrerE5i0jXJoneUsk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6299509},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"4425df1e13efa538abc4a134e9897d9798ec3a9e","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.5.1","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"18.16.1","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.3.2_1709081650262_0.27435097063056735","host":"s3://npm-registry-packages"}},"1.3.3":{"name":"@ref-finance/ref-sdk","version":"1.3.3","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.3.3","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"e963b063d15f01001815270d786fc646aa29b8eb","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.3.3.tgz","fileCount":39,"integrity":"sha512-y7krmoCh2OxIWzvbtqmMpbmXJjGOcWQnR28a5exC6u/6nkIi5E/Q70T8k2+wKJcc/yqPHdzXQ/jnPSslonVi6g==","signatures":[{"sig":"MEYCIQD70L+g9AzPqeo530r0D+HRfB706G4ggEXPbOyKZdxTcwIhAObtP9RdWXn8j6V6LelypzBrxHKGrXOQmof2ll37ji6D","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6319093},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"12b6dc0bab15934750f3c6e6b6192a3f8970659e","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.5.1","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"18.16.1","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.3.3_1712197326384_0.264263109213692","host":"s3://npm-registry-packages"}},"1.3.4":{"name":"@ref-finance/ref-sdk","version":"1.3.4","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.3.4","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"170c77a8da666f9cb339465d62d8744dc58f9852","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.3.4.tgz","fileCount":39,"integrity":"sha512-P7K9pVgqIPnpOkqZLHlFi09RSml+DL7mFgUieZLIOqFIUecC4nprU/dIqOCgCKtnIA7hZzU3rnZ/FXdxyeowCw==","signatures":[{"sig":"MEUCIQCuyAKc1QBiHHDtzMGFdy9fzx3E/Ue2FT21qwWe8QRw2AIgSZms38MOOh6xdyiCf8K8ginjkjUSdzWckWnp0yKMTJQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6321730},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"b2f8b27608b18abd8089ce992cbf80f7c02185b8","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.5.1","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"18.16.1","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.3.4_1712907417775_0.54419556590517","host":"s3://npm-registry-packages"}},"1.3.5":{"name":"@ref-finance/ref-sdk","version":"1.3.5","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.3.5","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"136d35cb7c774c1ddce0b3066148a169bd485019","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.3.5.tgz","fileCount":39,"integrity":"sha512-wijmkmC0tUhswUKOpKEwtHOa6151vKJPWfjR4ko2562Ef7wvQcQcJ2/VavsQzk9cDM0HnBDVchMMYUdAlweEHw==","signatures":[{"sig":"MEUCIA6Jg+mAOGAdk0WMSPH+bEVMC3WKNIY2ToILGwG4r4BFAiEA72PSN4u4uSzvDG0kvO49awOTluYMo8g7RTaTP7JJb1Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6338622},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"162ef06eabee3dc07dbdf79d4be81647926fce48","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.5.1","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"18.16.1","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.3.5_1713061092689_0.26760922709405377","host":"s3://npm-registry-packages"}},"1.3.6":{"name":"@ref-finance/ref-sdk","version":"1.3.6","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.3.6","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"91834364b6418e41e10b7e02b5f099875aea838a","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.3.6.tgz","fileCount":39,"integrity":"sha512-msbObNAqJ6DJY/eI/K6F0Mh5DAIHS2+j0DgpQbStVyPid2oiEaGQnPSNd5gEMLpOpf3jAbP4A+67jqrWTcA8cg==","signatures":[{"sig":"MEUCIC2dkFIR6+ZGD11o6fcezMAO9ooR2pTtJN2XUS+CmZT1AiEA4rY2S7cqBBpTZSDSiPYpVmPW4VJqAhL5UVR1zM72HvQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6344587},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"c9f38c3d094fd03851767a1c791f39baf8f84264","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.5.1","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"18.16.1","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.3.6_1714234062245_0.7518423081439882","host":"s3://npm-registry-packages"}},"1.3.7":{"name":"@ref-finance/ref-sdk","version":"1.3.7","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.3.7","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"fbfdf63062dcbe464f108682543c191c310babbb","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.3.7.tgz","fileCount":39,"integrity":"sha512-9SG4fNwjRogm6mHCLtjUhaEYYrjzrZB1Xj1PYnSyq2m7ezO7h3TpWz1kd06HCCTlGbHVLctLegXydsZgardY0w==","signatures":[{"sig":"MEQCIEPkalIpW/ow8rBBJWUK1PvCfz7uzKF3Un2Z2DyWvJFFAiBCjvt411Tr6wpD4tN5S1DBguzpqsgSiqhVdnaqwXzbEA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6344417},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"49541a19d1d6b014914519946c1046b630523350","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.5.1","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"18.16.1","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.3.7_1716452485370_0.18449587359059483","host":"s3://npm-registry-packages"}},"1.3.8":{"name":"@ref-finance/ref-sdk","version":"1.3.8","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.3.8","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"4fa38cf91e57e31f99a73a67b1cbab62656aaf58","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.3.8.tgz","fileCount":39,"integrity":"sha512-PxgpLBCq91hX/fjtg+tt5mDFVxSBnJOaORjEHV4UuMZshI7ghrVqemo6kDWl4c7QpJw0oTW95rFH4ytFHHyubQ==","signatures":[{"sig":"MEQCID7s7ZtF1IcKYJiSOY5fdL/Q8MedkOswHfVzwKYVrVEvAiAygJRWAI9lnBnoB0a+QPU4BcxPerE4LrcKBM/rpoBlRQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6347750},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"2bcf1ccab4d829da4511718638fd21c6d9e1a90f","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.5.1","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"18.16.1","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.3.8_1718296236231_0.7759946061351255","host":"s3://npm-registry-packages"}},"1.3.9":{"name":"@ref-finance/ref-sdk","version":"1.3.9","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.3.9","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"e7baa292d9c17635db05246fb504baaa4022be5a","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.3.9.tgz","fileCount":39,"integrity":"sha512-QauOZo/4+Cxe4Zf4l/hVHHiPnsaspfWFhUvO/GGw+nlEg39HPtGJymZ8g7Xcnnf0dHHcN6zfPsvEq6qNqJimUg==","signatures":[{"sig":"MEQCIGlQiQ2T1OvDHdFscr1Sr4NmSTmtrwihXiL0zHPipxILAiBSzXQ4TP5eyUtsL1h+44Oxw5jFrgnf3X8u9ssR7PNnRQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6362085},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"55d1e89adabb7c7fc21ccc8b013cda90d7325a6e","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.8.0","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"20.5.0","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.3.9_1723702580315_0.4642647663512638","host":"s3://npm-registry-packages"}},"1.3.10":{"name":"@ref-finance/ref-sdk","version":"1.3.10","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.3.10","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"9162c8d18a53bb9b2e07934c28f98ea1a2ffc169","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.3.10.tgz","fileCount":39,"integrity":"sha512-DGweeQ6O9VqzKJh0HceeIRzDyGUc1aBrGkdzyWbVTmgemBQ7H7p04TYcxdX6XmkhbEA7v+rq+ztLqQ2kaf69qA==","signatures":[{"sig":"MEQCICFGX//YOIfuU7RXuRECJqe4+/nf5vJZjRYKUj8hjQocAiA6xxKs8rXXhryjCxE6ttfNVnvtc0OgkTrrg4Ca3yLnog==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6380156},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"3b28f0a0140ffa8324839e466196337ab45bdef2","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.5.1","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"18.16.1","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.3.10_1724237824278_0.7712424783867016","host":"s3://npm-registry-packages"}},"1.3.11":{"name":"@ref-finance/ref-sdk","version":"1.3.11","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.3.11","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"231444004fc93293e5d2ba7de8995287b81249bc","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.3.11.tgz","fileCount":39,"integrity":"sha512-NECe/Z2Yjp5gDfOWyFa1VPVGma7Y3Z4j6huRJJiwFRpvfCmaC5W2L8zcXQ1FTQ3AtJXb0/pqm6yPH5UoFpD9Kw==","signatures":[{"sig":"MEQCIAQiKnesaX92O9BtKiQtf08s7GXi+6WlarePn24Z8TaUAiBx17sb9f/V0OE2lxgSZBsxyFhxDUH+msfdg3sUVhYibg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6376458},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"4faf9dd55317d230e0337b2db5fdec4f692d349b","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.5.1","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"18.16.1","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.3.11_1724240887311_0.016110039541723076","host":"s3://npm-registry-packages"}},"1.3.12":{"name":"@ref-finance/ref-sdk","version":"1.3.12","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.3.12","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"42afd8721f10c3aa3738ea03902f860e0cb243d8","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.3.12.tgz","fileCount":39,"integrity":"sha512-u9UesaIpguYiVHbBvWXAJz/a9pyURKJBsu5RQ03c3dxNX/WYShUeCYOZN++QNPqjmJDhQRiBUpDozr6GXMyU+g==","signatures":[{"sig":"MEUCIQCkJVBazCs7RQHYYsDibHQBIeOWRqK8BGgUdL1/pb7mGwIgBe+g3YmrkW0B+MMRqweezcAExLv3LU3Kr+wQ9U2l8/0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6396083},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"9f86d907529a804c9ec490dd185f902f3c8a37b8","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.8.0","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"20.5.0","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.3.12_1724919371121_0.2805091664873134","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"@ref-finance/ref-sdk","version":"1.4.0","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.4.0","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"2e1849d52b403e229055ededc5ec408920c064ec","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.4.0.tgz","fileCount":39,"integrity":"sha512-lx14ixf7x5xkQO+qqme+0Pz816Gx+k20sEm7NqA4UaAd89FIPtZND+PtOYFELPIsrt6HvO6i+2DNN/5ZpM9R+A==","signatures":[{"sig":"MEQCIG/7e2csZvVSXZvQeCrU9BWHNvJyV1BCZapKf6trbIvRAiAxj/vfCZI/AI2iBk2XjSTFN9UvwPI1gMuDn+ekMpOMjA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6397620},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"0ac476a0608b60651c012a5926448729e6ad4dca","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.8.0","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"20.5.0","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.4.0_1725459850161_0.47382420221809274","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"@ref-finance/ref-sdk","version":"1.4.1","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.4.1","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"736fda7bd82e0745c9b805cacaeeb54b2ce8c004","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.4.1.tgz","fileCount":39,"integrity":"sha512-zkwOmhxWL1PU4E8Ma5tpmALYS8ld49RL4oGTWNv7st7ZVghSlLzqbvBSlqsw1teMheMBe7Dak0j8307Ccc98fg==","signatures":[{"sig":"MEYCIQDg0+c8yjOCB+Wxls3v4x5CtHBqjjStVk5Uyc7xJblJqgIhALNfBO5eQmIekJ4FF8vPL/SPcL6t08C5AU2vx3gOE6iW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6397543},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"c34fa8c2712f524e4b7e599895f05368a202f536","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.8.0","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"20.5.0","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.4.1_1729824871947_0.8606762262643861","host":"s3://npm-registry-packages"}},"1.4.2":{"name":"@ref-finance/ref-sdk","version":"1.4.2","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.4.2","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"2ddf57b313b78675c21ff4e163e62b3f78316a1d","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.4.2.tgz","fileCount":39,"integrity":"sha512-sjnRu9uB/UanqRNPfoL51fMZLLRY4Jr+XZNIBqNbl6T7oOmIQ+QzW31E4M4iNIjBqhMHUKKn9PJK8Legu+Q20Q==","signatures":[{"sig":"MEUCIQCcEyx/S1KkZOsU7niPp19uUTqbV6ojl5Vz3SQzBRjMPQIgNPWCofGka203hhdkBfER+tIYw/afkCyfAu+z3DTrlk4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6408770},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"ef1d0ae7ccc8212b22a066c2d257f2eade6d028a","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"10.2.0","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"21.1.0","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.4.2_1730713674526_0.54811010287545","host":"s3://npm-registry-packages"}},"1.4.3":{"name":"@ref-finance/ref-sdk","version":"1.4.3","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.4.3","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"f32d13d4ae9de2a8e9daf1a26ee943d1590ea534","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.4.3.tgz","fileCount":39,"integrity":"sha512-Dl5JXCPUFf9HK59Kcrl6vKJB/sAqXuZ+QEGvljc6FcIm6oJSONsRRBaAjD/kHvaxd6IKjaWIpmWya2lvkJoWMQ==","signatures":[{"sig":"MEUCIC2Lx8XdQnQ56prlF8Eeo57VLl4WCl/6m3sSUUapSYEsAiEAqULSBT2Lj/fbPTWlvuXFm7YOr5/13cAklVxTGy5haIU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6408365},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"fd72f9e0cf25c517b21476d3e1a9e64ad7ced07a","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.5.1","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"18.16.1","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.4.3_1731143668743_0.9892864533265409","host":"s3://npm-registry-packages"}},"1.4.4-beta.0-development":{"name":"@ref-finance/ref-sdk","version":"1.4.4-beta.0-development","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.4.4-beta.0-development","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"19cf0add6e52b4d2e2555e79bd3b73e05b781e76","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.4.4-beta.0-development.tgz","fileCount":39,"integrity":"sha512-ytg7to2W1S1DFnECdOOKqIbhGu8C+jbJtRBxCV3q8glKCzQ2g8hLne9ArnbnFDdkMsQ34foeC/Ie5IXyVTUNRg==","signatures":[{"sig":"MEUCIDlx+5fDMuF1RQ/4Tf1/oapxeiHrbCDsiAi3EuRgI2DDAiEAlMo4N2rdH2RaFpgddWGoo20iF+gZmb8t0JlLg7wf6gA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6419401},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"f50629141682d639403e602731073d3eb022e560","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.5.1","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"18.16.1","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.4.4-beta.0-development_1731853855701_0.14833058631214202","host":"s3://npm-registry-packages"}},"1.4.4-beta.1-development":{"name":"@ref-finance/ref-sdk","version":"1.4.4-beta.1-development","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.4.4-beta.1-development","maintainers":[{"name":"naturexie","email":"nature@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"joeatref","email":"joe@ref.finance"}],"dist":{"shasum":"56723d19f833bb5ba3579786a330f4a2ae4b3073","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.4.4-beta.1-development.tgz","fileCount":39,"integrity":"sha512-DJEwbSrQRjP/WhWtVyp2XokoABOwta5ZZzidbckbqKMCjNHqeRqlE1CcD8ozpzhSK4bRkwvBooUPnzTS7Ht0bQ==","signatures":[{"sig":"MEUCIQCF7TUMc8ELLmynk2xa7n/iNF5xNy0WbcSTHP+EZos/eAIgWC9i/UymLqmJA03uRjATT1ZwYh5A9ERpHaHGgep4ozk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6419401},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"7cfd05e1515abcb46ececee1b1bfac7d207ebafa","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.5.1","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"18.16.1","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.4.4-beta.1-development_1732331460153_0.9724738928311174","host":"s3://npm-registry-packages"}},"1.4.5":{"name":"@ref-finance/ref-sdk","version":"1.4.5","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.4.5","maintainers":[{"name":"joeatref","email":"joe@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"naturexie","email":"nature@ref.finance"}],"dist":{"shasum":"ed69177bf7fc158bb9a7d56672031d7f3f0de78c","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.4.5.tgz","fileCount":39,"integrity":"sha512-EQvjQQgY7DwBhxT53WFfGYmeFE8Ekz/tX3JK/qcryrIEALXNvSNchi3k6FoJCBlu/4shDUUdByeLx7y7uuUYhA==","signatures":[{"sig":"MEUCIQDXW/BDm+SzOMFsNTdHcY+Wa9+Hwb+MBJE/Bmcd7gOYEQIgBsT/sFrLqBBCufceTa8I6YNd69XxqVxcO3htikTDjuI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6429952},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"c1dc41a9ef60f6ed95a497d7727e36ff02d1b566","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.5.1","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"18.16.1","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.4.5_1732557464615_0.5241268013234304","host":"s3://npm-registry-packages"}},"1.4.6-beta.0-development":{"name":"@ref-finance/ref-sdk","version":"1.4.6-beta.0-development","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.4.6-beta.0-development","maintainers":[{"name":"joeatref","email":"joe@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"naturexie","email":"nature@ref.finance"}],"dist":{"shasum":"7e5e9774a8bc9dae8d6a62160aa9459c384ddc28","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.4.6-beta.0-development.tgz","fileCount":39,"integrity":"sha512-AZE2eBHxRETo+ypVr6NkD/fD2qSEamDu/yyXdGtyoSDN1PtnYA0SHNT9rLHWCqLLqd52d7FD73oJxmyBX/jhBQ==","signatures":[{"sig":"MEUCIBcM+YIyL9bXFWrBw6NXqcPzDeO12jAiM+TRx7sFwD4tAiEA/K/jZnmJ+4rJY7PEe4PwediaH/UXdpjxSmdxvPYauD4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6430370},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"c525152e47bc300a633402b07f60c8b8be9461c5","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"10.2.0","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"21.1.0","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.4.6-beta.0-development_1732632428827_0.7972544433328408","host":"s3://npm-registry-packages"}},"1.4.6":{"name":"@ref-finance/ref-sdk","version":"1.4.6","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.4.6","maintainers":[{"name":"joeatref","email":"joe@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"naturexie","email":"nature@ref.finance"}],"dist":{"shasum":"7e7a3b65776b47059cfb9f8496f20d38a488ea1c","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.4.6.tgz","fileCount":39,"integrity":"sha512-HVmcV+lhE+4+RwlDkgnFHwymrplHFlwsIwYZASE2XbGQjSY0sF3wceJkz671II3Us/KcRl1wp23ASSzza+/pbg==","signatures":[{"sig":"MEUCIQCSFtEDCsPINdmjAZ5qt+341P6cZthn+I5dpa4nk6gRCwIgNfNw46QwD4BGAUwcetC3RQ5GJ0QxvLmlyh74mFu/snU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6430351},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"f6eb6564f98ec3e1dd53ee0efa4d7e7a08df87d1","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"10.2.0","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"21.1.0","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.4.6_1732676143675_0.02927105966101662","host":"s3://npm-registry-packages"}},"1.4.7":{"name":"@ref-finance/ref-sdk","version":"1.4.7","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.4.7","maintainers":[{"name":"joeatref","email":"joe@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"naturexie","email":"nature@ref.finance"}],"dist":{"shasum":"396d9afe4e01457487415667acd53978dbebe42f","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.4.7.tgz","fileCount":39,"integrity":"sha512-9xc+UA2UeTzE0tpUsagetBoP4ci3tTLiR5eZtjwlZidOMW7dg63zLyIEG7KU3AFW46KV1DQOq0LWFvwXzbS7RQ==","signatures":[{"sig":"MEUCIQD/Sv4deh8MavYp76Jz0+c4xZct+Gh4xKwHOWSu1DBdZgIgXtxFfOGC9DK15lWV4e/anhKwA+R0FwZm6ucvdhWJTfk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6378124},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"47e8e9f1c32285d9a4cb8531921b25a9c0041955","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"9.5.1","description":"This SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"18.16.1","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.4.7_1740925616768_0.6730874094863799","host":"s3://npm-registry-packages-npm-production"}},"1.4.8":{"name":"@ref-finance/ref-sdk","version":"1.4.8","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.4.8","maintainers":[{"name":"joeatref","email":"joe@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"naturexie","email":"nature@ref.finance"}],"dist":{"shasum":"6d5d94f7e7a8cc95e55cc805b0460ab8dc79d93e","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.4.8.tgz","fileCount":39,"integrity":"sha512-flMNKuTPQxz/mbUkCllwqLNR3CwUuJVyn2xFjHUmY+FyVjM7GMk2Ka/AxeqGCrFY3RuKIJtHFIbqJjsBONIfUA==","signatures":[{"sig":"MEUCIBSVps5fGOyD3bEDaXGI8OabSVbKYMys5knz902pWhrqAiEA7ReAcZ2fIVyv+CLZhd2iQmO1g0UvfW+0Vfr76JROZaw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6430487},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"5b8602e83682c52e97c420610a3c8e7f0aba92f9","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"10.8.2","description":"Disclaimer:  Our SDK is provided by a third party, and we do not take any responsibility for any losses caused by the use of this SDK.","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"22.8.0","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.4.8_1759246349246_0.1310145371056166","host":"s3://npm-registry-packages-npm-production"}},"1.4.9":{"name":"@ref-finance/ref-sdk","version":"1.4.9","author":{"name":"Ref Finance"},"license":"MIT","_id":"@ref-finance/ref-sdk@1.4.9","maintainers":[{"name":"joeatref","email":"joe@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"naturexie","email":"nature@ref.finance"}],"dist":{"shasum":"62ca45f65081bd3e15193b016df484e07638e8ed","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.4.9.tgz","fileCount":39,"integrity":"sha512-YbQwE+4Oz+ZMxQKNuijzVVEWxXKVmEcGy6bti5Mcrhj0jGxyH7iqtjwq4PqKlQWu5h8jKpQ710/SnngMP+6HpQ==","signatures":[{"sig":"MEUCIEJmNVwGzSA6bRYdT1XcjzX2lQ/6i7ufNuxpmGgbO0bTAiEA+rGR+13rEdbE+QMjXc5rn1ZtBbCw/ONR9LyYBNjX+Zc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6428220},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ref-sdk.esm.js","engines":{"node":">=10"},"gitHead":"007aed221f42428206e0516be781af3cd8e704d6","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test --passWithNoTests","build":"tsdx build --format esm,cjs,umd","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build --format esm,cjs,umd"},"typings":"dist/index.d.ts","_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"10.8.2","description":"Disclaimer:  Our SDK is provided by a third party, and we do not take any responsibility for any losses caused by the use of this SDK.","directories":{},"resolutions":{"jsdom":"^16.5.0","loader-utils":"^3.2.1","node-notifier":"^8.0.1","decode-uri-component":"^0.2.1"},"_nodeVersion":"22.8.0","dependencies":{"bn.js":"^5.2.0","big.js":"^6.2.1","lodash":"^4.17.21","mathjs":"^9.3.0","lodash-es":"^4.17.21","near-api-js":"0.44.2","@types/bn.js":"^5.1.1","@types/big.js":"^6.1.5","@types/lodash":"^4.14.182","@react-icons/all-files":"^4.1.0","@near-wallet-selector/core":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^8.0.1","react":"^18.2.0","tslib":"^2.4.0","buffer":"^6.0.3","postcss":"^8.4.18","process":"^0.11.10","react-dom":"^18.2.0","size-limit":"^8.0.1","typescript":"^4.7.4","tailwindcss":"^3.1.8","@types/react":"^17.0.17","autoprefixer":"^10.4.12","os-browserify":"^0.3.0","@types/react-dom":"^17.0.6","rollup-plugin-postcss":"^4.0.2","@size-limit/preset-small-lib":"^8.0.1"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ref-sdk_1.4.9_1768967352274_0.43246307050069976","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"version":"1.5.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build --format esm,cjs,umd","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build --format esm,cjs,umd","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"@ref-finance/ref-sdk","author":{"name":"Ref Finance"},"module":"dist/ref-sdk.esm.js","size-limit":[{"path":"dist/ref-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ref-sdk.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^8.0.1","@types/react":"^17.0.17","@types/react-dom":"^17.0.6","autoprefixer":"^10.4.12","buffer":"^6.0.3","husky":"^8.0.1","os-browserify":"^0.3.0","postcss":"^8.4.18","process":"^0.11.10","react":"^18.2.0","react-dom":"^18.2.0","rollup-plugin-postcss":"^4.0.2","size-limit":"^8.0.1","tailwindcss":"^3.1.8","tsdx":"^0.14.1","tslib":"^2.4.0","typescript":"^4.7.4"},"dependencies":{"@near-wallet-selector/core":"^7.0.0","@react-icons/all-files":"^4.1.0","@types/big.js":"^6.1.5","@types/bn.js":"^5.1.1","@types/lodash":"^4.14.182","big.js":"^6.2.1","bn.js":"^5.2.0","lodash":"^4.17.21","lodash-es":"^4.17.21","mathjs":"^9.3.0","near-api-js":"0.44.2"},"resolutions":{"jsdom":"^16.5.0","node-notifier":"^8.0.1","loader-utils":"^3.2.1","decode-uri-component":"^0.2.1"},"_id":"@ref-finance/ref-sdk@1.5.0","gitHead":"e9ca3a55e74d745036b471dfd960db7a7477bd67","description":"Disclaimer:  Our SDK is provided by a third party, and we do not take any responsibility for any losses caused by the use of this SDK.","_nodeVersion":"22.8.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-5iMlACdPRmLgtFHDWe0/98FMj1HY010+k8eHSnphrhiMwl/RoaxHJ8BXOpelX7AAJNqvJEWeguzCxxj5q3sgaA==","shasum":"a68b9490b232a961c5bbaf5b463c6392e0ab1b2b","tarball":"https://registry.npmjs.org/@ref-finance/ref-sdk/-/ref-sdk-1.5.0.tgz","fileCount":39,"unpackedSize":6431844,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCKDa5DKEMcJgt9GYHx3JvXsM3wBpK3j7DyJ8JADKzDxQIgKPY+D/Kq+U/UEatU0eDH9hcKTveCJygnCjVMo+O4l1c="}]},"_npmUser":{"name":"naturexie","email":"nature@ref.finance"},"directories":{},"maintainers":[{"name":"joeatref","email":"joe@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"naturexie","email":"nature@ref.finance"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ref-sdk_1.5.0_1769951424762_0.12844021773503855"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-02T03:10:32.477Z","modified":"2026-02-01T13:10:25.162Z","1.1.3":"2022-11-02T03:10:32.780Z","1.1.4":"2022-11-07T11:22:24.100Z","1.1.5":"2022-11-08T07:01:18.711Z","1.1.6":"2022-12-06T10:34:38.046Z","1.1.7":"2022-12-12T15:53:15.030Z","1.1.8":"2022-12-20T13:38:06.405Z","1.1.9":"2023-02-09T07:24:43.293Z","1.2.0":"2023-02-14T13:37:07.915Z","0.1.4":"2023-11-22T11:38:40.254Z","1.2.2":"2023-11-22T11:41:26.428Z","1.2.3":"2024-01-14T14:04:54.843Z","1.3.0":"2024-02-22T02:56:15.517Z","1.3.1":"2024-02-27T13:14:17.947Z","1.3.2":"2024-02-28T00:54:10.445Z","1.3.3":"2024-04-04T02:22:06.564Z","1.3.4":"2024-04-12T07:36:57.935Z","1.3.5":"2024-04-14T02:18:12.876Z","1.3.6":"2024-04-27T16:07:42.440Z","1.3.7":"2024-05-23T08:21:25.703Z","1.3.8":"2024-06-13T16:30:36.546Z","1.3.9":"2024-08-15T06:16:20.508Z","1.3.10":"2024-08-21T10:57:04.440Z","1.3.11":"2024-08-21T11:48:07.591Z","1.3.12":"2024-08-29T08:16:11.374Z","1.4.0":"2024-09-04T14:24:10.359Z","1.4.1":"2024-10-25T02:54:32.217Z","1.4.2":"2024-11-04T09:47:54.741Z","1.4.3":"2024-11-09T09:14:28.940Z","1.4.4-beta.0-development":"2024-11-17T14:30:55.924Z","1.4.4-beta.1-development":"2024-11-23T03:11:00.376Z","1.4.4":"2024-11-25T13:42:04.107Z","1.4.5":"2024-11-25T17:57:44.872Z","1.4.6-beta.0-development":"2024-11-26T14:47:09.044Z","1.4.6":"2024-11-27T02:55:43.902Z","1.4.7":"2025-03-02T14:26:56.978Z","1.4.8":"2025-09-30T15:32:29.460Z","1.4.9":"2026-01-21T03:49:12.603Z","1.5.0":"2026-02-01T13:10:25.040Z"},"author":{"name":"Ref Finance"},"license":"MIT","description":"Disclaimer:  Our SDK is provided by a third party, and we do not take any responsibility for any losses caused by the use of this SDK.","maintainers":[{"name":"joeatref","email":"joe@ref.finance"},{"name":"max-ref","email":"max@ref.finance"},{"name":"naturexie","email":"nature@ref.finance"}],"readme":"# Ref SDK\nDisclaimer: \nOur SDK is provided by a third party, and we do not take any responsibility for any losses caused by the use of this SDK.\n\n\nThis SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:\n\n- Trade: Swap tokens with our Automated Market Maker (AMM).\n\n## Install\n\nyarn: `yarn add @ref-finance/ref-sdk`\n\nnpm: `npm install @ref-finance/ref-sdk`\n\n## Initialization\n\nRhea SDK identifies env variable NEAR_ENV or REACT_APP_REF_SDK_ENV to get global configuration.\n\n```plain\nexport function getConfig(\n  env: string | undefined = ENV ||\n    process.env.NEAR_ENV ||\n    process.env.REACT_APP_REF_SDK_ENV\n) {\n  ENV = env;\n  switch (env) {\n    case 'mainnet':\n      return {\n        networkId: 'mainnet',\n        nodeUrl: 'https://rpc.mainnet.near.org',\n        walletUrl: 'https://wallet.near.org',\n        WRAP_NEAR_CONTRACT_ID: 'wrap.near',\n        REF_FI_CONTRACT_ID: 'v2.ref-finance.near',\n        REF_TOKEN_ID: 'token.v2.ref-finance.near',\n        indexerUrl: 'https://indexer.ref.finance',\n        explorerUrl: 'https://testnet.nearblocks.io',\n        REF_DCL_SWAP_CONTRACT_ID: 'dclv2.ref-labs.near',\n      };\n    case 'testnet':\n      return {\n        networkId: 'testnet',\n        nodeUrl: 'https://rpc.testnet.near.org',\n        walletUrl: 'https://wallet.testnet.near.org',\n        indexerUrl: 'https://testnet-indexer.ref-finance.com',\n        WRAP_NEAR_CONTRACT_ID: 'wrap.testnet',\n        REF_FI_CONTRACT_ID: 'ref-finance-101.testnet',\n        REF_TOKEN_ID: 'ref.fakes.testnet',\n        explorerUrl: 'https://testnet.nearblocks.io',\n        REF_DCL_SWAP_CONTRACT_ID: 'dclv2.ref-dev.testnet',\n      };\n    default:\n      return {\n        networkId: 'mainnet',\n        nodeUrl: 'https://rpc.mainnet.near.org',\n        walletUrl: 'https://wallet.near.org',\n        REF_FI_CONTRACT_ID: 'v2.ref-finance.near',\n        WRAP_NEAR_CONTRACT_ID: 'wrap.near',\n        REF_TOKEN_ID: 'token.v2.ref-finance.near',\n        indexerUrl: 'https://indexer.ref.finance',\n        explorerUrl: 'https://nearblocks.io',\n        REF_DCL_SWAP_CONTRACT_ID: 'dclv2.ref-labs.near',\n      };\n  }\n}\n\n```\n\n\n\nAlso, the SDK provides `init_env`  to switch application environment. there is an optional parameter indexerUrl that you can use to replace the one in the SDK with your own deployed indexer service. We'd better call it at the entrance of the application, then the entire application environment switch takes effect. If you're not sure where to call,  you can call in more than one place.\n\nAn optional property nodeUrl has been added as the third parameter, allowing developers to pass their own nodeUrl to replace the default nodeUrl in the SDK.\n\nExample\n\n```\ninit_env('testnet');\ninit_env('mainnet');\ninit_env('testnet', 'https://xx-xx.xx-xxx.com');\ninit_env('mainnet', 'https://xx-xx.xx-xxx.com');\ninit_env('mainnet', 'https://xx-xx.xx-xxx.com', 'https://beta.rpc.mainnet.near.org');\ninit_env('mainnet', '', 'https://beta.rpc.mainnet.near.org');\n```\n\n\n\n## Rhea V1 Swap\n\n### Tokens\n\n#### ftGetTokenMetadata\n\nGet token metadata.\n\nParameters\n\n```plain\nid: string;\n```\n\nExample\n\n```plain\nconst WrapNear = await ftGetTokenMetadata('wrap.testnet');\n```\n\nResponse\n\n```plain\n{\n  decimals: 24;\n  icon: null;\n  id: 'wrap.testnet';\n  name: 'Wrapped NEAR fungible token';\n  reference: null;\n  reference_hash: null;\n  spec: 'ft-1.0.0';\n  symbol: 'wNEAR';\n}\n```\n\n---\n\n#### ftGetTokensMetadata\n\nGet tokens metadata and set token id as index.\n\nWill fetch token matadata if the token not included in the allTokens.\n\nParameters\n\n```plain\n(tokenIds: string[], allTokens: Record<string, TokenMetadata>)\n```\n\nExample\n\n```plain\nconst tokensMetadata = await ftGetTokensMetadata([\n  'ref.fakes.testnet',\n  'wrap.testnet',\n],{});\n```\n\nResponse\n\n```plain\n{\n  \"ref.fakes.testnet\":{\n    decimals: 18\n    icon: \"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='16 24 248 248' style='background: %23000'%3E%3Cpath d='M164,164v52h52Zm-45-45,20.4,20.4,20.6-20.6V81H119Zm0,18.39V216h41V137.19l-20.6,20.6ZM166.5,81H164v33.81l26.16-26.17A40.29,40.29,0,0,0,166.5,81ZM72,153.19V216h43V133.4l-11.6-11.61Zm0-18.38,31.4-31.4L115,115V81H72ZM207,121.5h0a40.29,40.29,0,0,0-7.64-23.66L164,133.19V162h2.5A40.5,40.5,0,0,0,207,121.5Z' fill='%23fff'/%3E%3Cpath d='M189 72l27 27V72h-27z' fill='%2300c08b'/%3E%3C/svg%3E%0A\"\n    id: \"ref.fakes.testnet\"\n    name: \"Ref Finance Token\"\n    reference: null\n    reference_hash: null\n    spec: \"ft-1.0.0\"\n    symbol: \"REF\"\n  },\n  \"wrap.testnet\":{\n    decimals: 24\n    icon: null\n    id: \"wrap.testnet\"\n    name: \"Wrapped NEAR fungible token\"\n    reference: null\n    reference_hash: null\n    spec: \"ft-1.0.0\"\n    symbol: \"wNEAR\"\n  }\n}\n```\n\n### Pools\n\n#### fetchAllPools\n\nFetch all existing pools, including vanilla/simple pools, stable pools and rated pools (designed for yield-bearing tokens).\n\nParameters\n\nperPage?：number\n\nExample\n\n```plain\nconst { ratedPools, unRatedPools, simplePools } = await fetchAllPools();\nconst { ratedPools, unRatedPools, simplePools } = await fetchAllPools(200);\n```\n\nResponse\n\n```plain\n{\n  ratedPools:[{\n    fee: 5,\n    id: 568,\n    pool_kind: \"RATED_SWAP\",\n    shareSupply: \"80676034815429711745720012070\",\n    supplies:{\n      \"meta-v2.pool.testnet\": \"1298314415249170366960739764\"\n    \t\"wrap.testnet\": \"80182803630538035347294614770\"\n  \t},\n    token0_ref_price: undefined,\n    tokenIds: [\"meta-v2.pool.testnet\", \"wrap.testnet\"],\n    tvl: undefined\n  },...]\n  unRatedPools:[...],\n  simplePools:[...],\n}\n```\n\n---\n\n#### getStablePools\n\nWe define `unRatedPools` and `ratedPools` as `stablePool`. You can use this function to get details of stable pools.\n\nParameters\n\n```plain\nstablePools: Pool[]\n```\n\nExample\n\n```plain\nconst stablePools: Pool[] = unRatedPools.concat(ratedPools);\n\nconst stablePoolsDetail: StablePool[] = await getStablePools(stablePools);\n```\n\nResponse\n\n```plain\n[\n  {\n    amounts: ['1298314415249170366960739764', '80182803630538035347294614770'],\n    amp: 240,\n    c_amounts:[\"1298314415249170366960739764\",\"80182803630538035347294614770\"],\n    decimals:[24,24],\n    id: 568,\n    pool_kind: \"RATED_SWAP\",\n    rates:[\"1972101024157559347385372\",\"1000000000000000000000000\"],\n    shares_total_supply: \"80676034815429711745720012070\",\n    token_account_ids:[\"meta-v2.pool.testnet\",\"wrap.testnet\"],\n    total_fee:5\n  },\n\t...\n]\n```\n\n---\n\n#### getPoolByIds\n\nInput pool id array to get according pools detail \n\nParameters\n\n```\nids: number[]\n```\n\nExample\n\n```\nconst pools = await getPoolByIds([1, 2, 20])\n```\n\nResponse\n\n```\n[\n    {\n        \"id\": 1,\n        \"tokenIds\": [\n            \"nusdt.ft-fin.testnet\",\n            \"nusdc.ft-fin.testnet\"\n        ],\n        \"supplies\": {\n            \"nusdt.ft-fin.testnet\": \"194177\",\n            \"nusdc.ft-fin.testnet\": \"54127\"\n        },\n        \"fee\": 20,\n        \"shareSupply\": \"1004672374319452764166320\",\n        \"pool_kind\": \"SIMPLE_POOL\"\n    },\n    {\n        \"id\": 2,\n        \"tokenIds\": [\n            \"wrap.testnet\",\n            \"rft.tokenfactory.testnet\"\n        ],\n        \"supplies\": {\n            \"wrap.testnet\": \"511569006838329327251856820\",\n            \"rft.tokenfactory.testnet\": \"860281941972\"\n        },\n        \"fee\": 20,\n        \"shareSupply\": \"935312501418615016412773941\",\n        \"pool_kind\": \"SIMPLE_POOL\"\n    },\n    {\n        \"id\": 20,\n        \"tokenIds\": [\n            \"usdc.fakes.testnet\",\n            \"nusdc.ft-fin.testnet\"\n        ],\n        \"supplies\": {\n            \"usdc.fakes.testnet\": \"129199395436\",\n            \"nusdc.ft-fin.testnet\": \"26747\"\n        },\n        \"fee\": 20,\n        \"shareSupply\": \"7084500646929369809446253\",\n        \"pool_kind\": \"SIMPLE_POOL\"\n    }\n]\n```\n\n\n\n---\n\n### Swap\n\n#### estimateSwap\n\nGet token output amount and corresponding route.\n\nAs there is a memory limitation on Ledger, note that we set `enableSmartRouting` option for developers.\n\nThis function integrates a smart routing algorithm, designed to deliver the best output token amount.\n\nParameters\n\n```plain\ninterface SwapParams {\n  tokenIn: TokenMetadata;\n  tokenOut: TokenMetadata;\n  amountIn: string;\n  simplePools: Pool[];\n  options?: SwapOptions;\n}\n\ninterface SwapOptions {\n  enableSmartRouting?: boolean;\n  stablePools?: Pool[];\n  stablePoolsDetail?: StablePool[];\n}\n```\n\nExample (enableSmartRouting == false)\n\n```plain\n// enableSmartRouting as FALSE, swap from Ref to wNear, with amount 1\nconst tokenIn = await ftGetTokenMetadata('ref.fakes.testnet');\nconst tokenOut = await ftGetTokenMetadata('wrap.testnet');\n\nconst swapTodos: EstimateSwapView[] = await estimateSwap({\n  tokenIn,\n  tokenOut,\n  amountIn: '1',\n  simplePools,\n});\n```\n\nResponse (enableSmartRouting == false)\n\n```plain\n// enableSmartRouting as FALSE, swap from Ref to wNear, with amount 1\n\n[\n  {\n    estimate: '0.7338604246699393',\n    inputToken: 'ref.fakes.testnet',\n    outputToken: 'wrap.testnet',\n    pool: {\n      fee: 30,\n      id: 38,\n      partialAmountIn: '1000000000000000000',\n      pool_kind: 'SIMPLE_POOL',\n      shareSupply: '1000587315520795219676332',\n      supplies: {\n        'ref.fakes.testnet': '7789776060978885018',\n        'wrap.testnet': '6467670222256390319335181',\n      },\n      token0_ref_price: undefined,\n      tokenIds: (2)[('ref.fakes.testnet', 'wrap.testnet')],\n      tvl: undefined,\n    },\n  },\n];\n```\n\nExample (enableSmartRouting == true)\n\n```plain\n// enableSmartRouting as TRUE, swap from Ref to wNear, with amount 1\nconst tokenIn = await ftGetTokenMetadata('ref.fakes.testnet');\nconst tokenOut = await ftGetTokenMetadata('wrap.testnet');\n\nconst options: SwapOptions = {\n  enableSmartRouting: true,\n  stablePools,\n  stablePoolsDetail,\n};\n\nconst swapTodos: EstimateSwapView[] = await estimateSwap({\n  tokenIn,\n  tokenOut,\n  amountIn: '1',\n  simplePools,\n  options,\n});\n```\n\nResponse (enableSmartRouting == true)\n\n```plain\n// enableSmartRouting as true, swap from Ref to wNear, with amount 1\n[\n  {\n    estimate: \"0.000225321544275095902371355566972009167\",\n    inputToken: \"ref.fakes.testnet\",\n    outputToken: \"nusdt.ft-fin.testnet\",\n    pool:{\n      id: 341,\n      partialAmountIn: \"836859596261755688\",\n      tokenIds: [\"ref.fakes.testnet\",\"nusdt.ft-fin.testnet\"],\n      ...\n    },\n    ...\n  },{\n    estimate: \"0.5203255327171591155634413370660973429264\",\n    inputToken: \"nusdt.ft-fin.testnet\",\n    outputToken: \"wrap.testnet\",\n    pool:{\n      id: 1625,\n      tokenIds: [\"nusdt.ft-fin.testnet\",\"wrap.testnet\"],\n      ...\n    },\n    ...\n  },{\n    estimate: \"5.3206339674140066489000963525772735539612\",\n    inputToken: \"ref.fakes.testnet\",\n    outputToken: \"usdn.testnet\",\n    pool:{\n      id: 376,\n      tokenIds: [\"usdn.testnet\",\"ref.fakes.testnet\"],\n      partialAmountIn: \"163140403738244312\",\n      ...\n    },\n    ...\n  },{\n    estimate: \"0.2036473132202839680683206178037243543302\",\n    inputToken: \"usdn.testnet\",\n    outputToken: \"wrap.testnet\",\n    pool:{\n      id: 385,\n      tokenIds: [\"usdn.testnet\",\"wrap.testnet\"],\n      ...\n    },\n    ...\n  }\n]\n```\n\n---\n\n#### getExpectedOutputFromSwapTodos\n\nGet token output amount from swapTodos.\n\nParameters\n\n```plain\n(swapTodos: EstimateSwapView[], outputToken: string)\n```\n\nExample\n\n```plain\nconst swapTodos: EstimateSwapView[] = await estimateSwap({\n  tokenIn,\n  tokenOut,\n  amountIn: '1',\n  simplePools,\n  options,\n});\n\nconst amountOut:string = getExpectedOutputFromSwapTodos(swapTodos, tokenOut.id);\n```\n\nResponse\n\n```plain\n\"0.723972845937443\"\n```\n\n---\n\n#### getPoolEstimate\n\nGet token output amount from one single pool. Method can be used for simple and stable pools.\n\nParameters\n\n```plain\n{\n  tokenIn: TokenMetadata;\n  tokenOut: TokenMetadata;\n  amountIn: string;\n  pool: Pool;\n  // please input stablePoolDetail if you want estimate output on stable pool or the pool will be recognized as simple pool\n  stablePoolDetail?: StablePool;\n}\n```\n\nExample (on simple pool)\n\n```plain\n// estimate on simple Pool\nconst estimate = await getPoolEstimate({\n  tokenIn,\n  tokenOut,\n  amountIn: '1',\n  pool,\n});\n```\n\nResponse (on simple pool)\n\n```plain\n// estimate on simple pool, swap from Ref to wNear, with amount 1\n{\n  estimate: \"0.7338604246699393\",\n  inputToken: \"ref.fakes.testnet\",\n  outputToken: \"wrap.testnet\",\n  pool:{\n    fee: 30,\n    id: 38,\n    partialAmountIn: \"1000000000000000000\",\n    pool_kind: \"SIMPLE_POOL\",\n    shareSupply: \"1000587315520795219676332\",\n    supplies: {\"ref.fakes.testnet\": '7789776060978885018', \"wrap.testnet\": \t\t\t\t\t\t\t\t'6467670222256390319335181'},\n    token0_ref_price: undefined,\n    tokenIds: (2) ['ref.fakes.testnet', 'wrap.testnet'],\n    tvl: undefined\n  }\n}\n```\n\nExample (on stable pool)\n\n```plain\n// estimate on stable pool\nconst estimate = await getPoolEstimate({\n  tokenIn,\n  tokenOut,\n  amountIn: '1',\n  pool: stablePool,\n  stablePoolDetail: stablePoolDetail,\n});\n```\n\nResponse (on stable pool)\n\n```plain\n// estimate on stable pool, swap from stNear to wNear, with amount 1\n{\n  estimate: \"2.4898866773442284\",\n  inputToken: \"meta-v2.pool.testnet\",\n  noFeeAmountOut: \"2.491132243465961\",\n  outputToken: \"wrap.testnet\",\n  pool:{\n    amounts:[\"1298314415249170366960739764\",\"80182803630538035347294614770\"],\n    amp: 240,\n    c_amounts:[\"1298314415249170366960739764\",\"80182803630538035347294614770\"],\n    decimals:[24,24],\n    id: 568,\n    pool_kind: \"RATED_SWAP\",\n    rates:[\"1972204647926836788049038\",\"1000000000000000000000000\"],\n    shares_total_supply: \"80676034815429711745720012070\",\n    token_account_ids:[\"meta-v2.pool.testnet\", \"wrap.testnet\"],\n    total_fee: 5,\n  }\n}\n```\n\n### Transactions\n\n#### instantSwap\n\nSet up transactions through swap routes. Please ensure that the AccountId has an active balance storage in the token-in contract, otherwise the transaction will fail and the user will lose the token input amount.\n\nParameters\n\n```plain\n{\n  tokenIn: TokenMetadata;\n  tokenOut: TokenMetadata;\n  amountIn: string;\n  slippageTolerance: number;\n  swapTodos: EstimateSwapView[];\n  AccountId: string;\n  referralId?: string;\n}\n```\n\nExample\n\n```plain\nconst transactionsRef: Transaction[] = await instantSwap({\n  tokenIn,\n  tokenOut,\n  amountIn: '1',\n  swapTodos,\n  slippageTolerance = 0.01,\n  AccountId: 'your-account-id.testnet',\n  referralId: 'ref-fee.testnet'\n});\n```\n\nResponse\n\n```plain\n[\n  {\n    functionCalls: [\n      {\n        amount: '0.000000000000000000000001',\n        args: {\n          amount: '1000000000000000000',\n          msg:\n            '{\"force\":0,\"referral_id\":\"ref-fee.testnet\" ,\"actions\":[{\"pool_id\":38,\"token_in\":\"ref.fakes.testnet\",\"token_out\":\"wrap.testnet\",\"amount_in\":\"1000000000000000000\",\"min_amount_out\":\"730191122546589600000000\"}]}',\n          receiver_id: 'ref-finance-101.testnet',\n        },\n        gas: '180000000000000',\n        methodName: 'ft_transfer_call',\n      },\n    ],\n    receiverId: 'ref.fakes.testnet',\n  },\n];\n```\n\n---\n\n#### getSignedTransactionsByMemoryKey (Node)\n\nIn the local env, developers can add credentials by `near login` .\n\nThis function utilizes credentials stored in the local env to sign transactions.\n\nParameters\n\n```plain\n{\n  transactionsRef: Transaction[];\n  AccountId: string;\n  keyPath: string;\n}\n```\n\nExample\n\n```plain\nconst signedTransactions:nearTransactions.SignedTransaction[] = await getSignedTransactionsByMemoryKey({\n  transactionsRef;\n  AccountId: \"your-account-id.testnet\",\n  keyPath: \"/.near-credentials/testnet/your-account-id.testnet.json\"\n})\n```\n\nResponse\n\n```plain\n[\n  SignedTransaction {\n    transaction: Transaction {\n      signerId: 'your-account-id.testnet',\n      publicKey: [PublicKey],\n      nonce: 91940092000042,\n      receiverId: 'ref.fakes.testnet',\n      actions: [Array],\n      blockHash: <Buffer 45 e5 fd 36 87 3b 10 59 81 d9 a7 b5 20 c7 29 33 f7 27 48 59 06 90 ca 8a 17 03 5c 25 f2 76 ab 7c>\n    },\n    signature: Signature { keyType: 0, data: [Uint8Array] }\n  }\n]\n```\n\n---\n\n#### sendTransactionsByMemoryKey (Node)\n\nThis function utilizes credentials stored in the local env to send transactions.\n\nParameters\n\n```plain\n{\n  signedTransactions: nearTransactions.SignedTransaction[];\n}\n```\n\nExample\n\n```plain\nsendTransactionsByMemoryKey({\n  signedTransactions,\n});\n```\n\nResponse\n\n```plain\n[\n  {\n    receipts_outcome: [\n      [Object], [Object],\n      [Object], [Object],\n      [Object], [Object],\n      [Object], [Object],\n      [Object], [Object]\n    ],\n    status: { SuccessValue: 'xxxxxx' },\n    transaction: {\n      actions: [Array],\n      hash: 'xxxxxxxx',\n      nonce: 91940092000042,\n      public_key: 'ed25519:xxxxxxxx',\n      receiver_id: 'ref.fakes.testnet',\n      signature: 'ed25519:xxxxxxxxxxxxx',\n      signer_id: 'your-account-id.testnet'\n    },\n    transaction_outcome: {\n      block_hash: '3QXEF941UvsHzXrMhwbchk7wmy3qmPNs3w9gkfvW84QK',\n      id: 'xxxxxxxx',\n      outcome: [Object],\n      proof: []\n    }\n  }\n]\n```\n\n\n\n## Rhea Swap Widget\n\n### Description\n\nThe Rhea Swap Widget is a useful tool, allowing any third party service to access Rhea's liquidity. Users of ecosystem dapps have the ability to swap via the Widget, without the need to go to Rhea app, thus improving the user experience.\n\nHere are some use cases:\n\n- Swapping stablecoins for your project's token\n- Swapping tokens to lend, farm or stake\n- Swapping one token for a specific token, which can be used to buy a NFT in the associated marketplace\n\nUsing the Rhea Swap Widget, with a few customizations, developers can integrate the Swap funtion directly into their dapps. Both mobile and/or website version are available.\n![图片](https://user-images.githubusercontent.com/50706666/199178215-f2b184dc-f683-4740-af9f-fd67efd41503.png)\n\nFor the default theme, developers can chose between the light mode and dark mode.\n\nMore themes can be selected: [Click here to check them on figma](https://www.figma.com/file/v069nTXfE8pXDJQcDcC5wl/Swap-Widget?node-id=0%3A1).\n\nTo integrate the Rhea Swap Widget, please follow this guide.\n\n### Getting started\n\nA QuickStart of Rhea Swap component.\n\n#### Props\n\n```plain\nexport interface SwapWidgetProps {\n    theme?: Theme;\n    defaultTokenList?: string[];\n    onSwap: (transactionsRef: Transaction[]) => void;\n    onDisConnect: () => void;\n    width: string;\n    height?: string;\n    enableSmartRouting?: boolean;\n    className?: string;\n    darkMode?: boolean;\n    connection: {\n        AccountId: string;\n        isSignedIn: boolean;\n    };\n    defaultTokenIn?: string;\n    defaultTokenOut?: string;\n    referralId?:string;\n    transactionState: {\n        state: SwapState;\n        setState: (state: SwapState) => void;\n        tx?: string;\n        detail?: string;\n    };\n    minNearAmountLeftForGasFees?: number; \n    onConnect: () => void;\n}\n```\n\n- theme: widget theme for customization.\n- defaultTokenList: default tokens with Rhea whitelist into  token list in the widget.\n- onSwap: Swap button triggers this function.\n- width: width of widget component.\n- height: height of widget component.\n- enableSmartRouting: option to choose if enable smart routing in swap routes estimation.\n- className: extra className added to widget component.\n- darkMode: if true, will automatically set theme to default dark mode.\n- connection: connection to wallets, input { AccountId:\"\", isSignedIn:false } if wallet not connected.\n- defaultTokenIn: default token-in.\n- defaultTokenOut: default token-out.\n- referralId: You can get referral fee from every swap routed by your app. But make sure that your referral_id is in Ref's referral list. For the details, please check https://gov.ref.finance/t/contract-upgrade-1-7-0-referral-fee/823 .  \n- transactionState: entry to input transaction states after you send transactions.\n  - state: denote if last transaction is failed or successfull.\n  - setState: used to change setState to interact with pop-up.\n  - tx: will add link to near explorer according to this tx.\n  - detail: you could input some tips to show on sucess pop-up.\n-  minNearAmountLeftForGasFees: minimun near value reserved for tx gas fees.\n\n![111](https://user-images.githubusercontent.com/50706666/199178453-8d09be3f-5a00-4b62-a6f1-af42ce4beae6.png)\n\n- onDisConnect: Disconnect button triggers this function.\n- onConnect: Connect to Near Wallet button triggers this function.\n\n### Usage\n\n#### Theme\n\n```plain\nexport interface Theme {\n  container: string; // container background\n  buttonBg: string; // button background\n  primary: string; // primary theme color\n  secondary: string; // secondary theme color\n  borderRadius: string; // border radius\n  fontFamily: string; // font family\n  hover: string; // hovering color\n  active: string; // active color\n  secondaryBg: string; // secondary background color\n  borderColor: string; // border color\n  iconDefault: string; // default icon color\n  iconHover: string; // icon hovering color\n  refIcon?: string; // ref icon color, default to be black\n}\n\nexport const defaultTheme: Theme = {\n  container: '#FFFFFF',\n  buttonBg: '#00C6A2',\n  primary: '#000000',\n  secondary: '#7E8A93',\n  borderRadius: '4px',\n  fontFamily: 'sans-serif',\n  hover: 'rgba(126, 138, 147, 0.2)',\n  active: 'rgba(126, 138, 147, 0.2)',\n  secondaryBg: '#F7F7F7',\n  borderColor: 'rgba(126, 138, 147, 0.2)',\n  iconDefault: '#7E8A93',\n  iconHover: '#B7C9D6',\n};\n\nexport const defaultDarkModeTheme: Theme = {\n  container: '#26343E',\n  buttonBg: '#00C6A2',\n  primary: '#FFFFFF',\n  secondary: '#7E8A93',\n  borderRadius: '4px',\n  fontFamily: 'sans-serif',\n  hover: 'rgba(126, 138, 147, 0.2)',\n  active: 'rgba(126, 138, 147, 0.2)',\n  secondaryBg: 'rgba(0, 0, 0, 0.2)',\n  borderColor: 'rgba(126, 138, 147, 0.2)',\n  iconDefault: '#7E8A93',\n  iconHover: '#B7C9D6',\n  refIcon: 'white',\n};\n```\n\n#### Component\n\n```plain\n// an example of combining SwapWidget with wallet-selector\nimport * as React from 'react';\nimport { SwapWidget } from '@ref-finance/ref-sdk';\n\n// please check on wallet-selector example about how to set WalletSelectorContext\nimport { useWalletSelector } from './WalletSelectorContext';\n\nimport { WalletSelectorTransactions, NotLoginError } from '@ref-finance/ref-sdk';\n\nexport const Widget = ()=>{\n  \n  const { modal, selector, accountId } = useWalletSelector();\n  \n  const [swapState, setSwapState] = React.useState<SwapState>(\n    null\n  );\n  const [tx, setTx] = React.useState<string | undefined>(undefined);\n  React.useEffect(() => {\n    const errorCode = new URLSearchParams(window.location.search).get(\n      'errorCode'\n    );\n\n    const transactions = new URLSearchParams(window.location.search).get(\n      'transactionHashes'\n    );\n\n    const lastTX = transactions?.split(',').pop();\n\n    setTx(lastTX);\n\n    setSwapState(!!errorCode ? 'fail' : !!lastTX ? 'success' : null);\n\n    window.history.replaceState(\n      {},\n      '',\n      window.location.origin + window.location.pathname\n    );\n  }, []);\n  \n  const onSwap = async (transactionsRef: Transaction[]) => {\n    const wallet = await selector.wallet();\n    if (!accountId) throw NotLoginError;\n\n    wallet.signAndSendTransactions(\n      WalletSelectorTransactions(transactionsRef, accountId)\n    );\n  };\n  \n  const onConnect = () => {\n    modal.show();\n  };\n\n  const onDisConnect = async () => {\n    const wallet = await selector.wallet();\n    return await wallet.signOut();\n  };\n\n  return (\n    <SwapWidget\n      onSwap={onSwap}\n      onDisConnect={onDisConnect}\n      width={'400px'}\n      connection={{\n        AccountId: accountId || '',\n        isSignedIn: !!accountId,\n      }}\n      transactionState={{\n        state: swapState,\n        setState: setSwapState,\n        tx,\n        detail: '(success details show here)',\n      }}\n      enableSmartRouting={true}\n      onConnect={onConnect}\n      defaultTokenIn={'wrap.testnet'}\n      defaultTokenOut={'ref.fakes.testnet'}\n    />\n  );\n}\n```\n\n### Integrating Rhea Swap function using the SDK\n\nThe SDK provides more flexibility/options.\n\nThe default Swap version can serve as a reference. [Click here to check on figma.](https://www.figma.com/file/v069nTXfE8pXDJQcDcC5wl/Swap-Widget?node-id=0%3A1)\n\nFor more details about the SDK, please refer to [here].\n\nSDK integration tips:\n\n- You can use 'ftGetTokensMetadata' function to get all available tokens, and list them in the token selector to allow users to select their trading pair. If you do not need all available tokens, you can limit the list at the frontend level, thus only displaying specific tokens such as REF, NEAR, and USDT, for example.\n- Please pay attention to the user's 'tokenIn' balance. If the balance is zero, you should **DISABLE** the swap button.\n- You can let the user set the slippage, or you can pre set a default number.\n- For a better user experience, before the execution of the swap, you can show more details about the swap (ex: fee, rate, route, etc.), allowing users to take better data-driven decisions.\n- You can redirect the user to the NEAR Explorer, once the transaction is confirmed.\n\n## Rhea V2(DCL) Swap\n\n#### An overview of Rhea V2\n\nThe launch of concentrated liquidity AMM is an achievement for Rhea Finance. In collaboration with Izumi Finance and Arctic, Rhea is glad to introduce discretized concentrated liquidity and limit order two new key features to the NEAR ecosystem. Using Rhea SDK, developers can dig more opportunities and implement various trading strategies.Before introducing SDK details, let's have an overview of V2 exciting features.\n\n#### Discretized concentrated liquidity\n\nDiscretized concentrated liquidity can improve as much as 4000x higher capital efficiency for liquidity providers(LPs).\n\nWhen adding liquidity, LPs are can allocate their capital to a certain price range thus providing greater amounts of liquidity at this range. The fees earned are decided by the volumes swapped in the price range. Logically, if you want to earn more, you should set the price range most desired by the market.\n\nHere are the advantages of using Ref V2 concentrated liquidity for LPS.\n\n- **Efficient swap fee earnings and less impermanent loss** by setting a price range\n- **Improved fee structure:** only LPs (and the protocol itself) can benefit from swap fees, <u>which means an LP can also benefit from a transaction between a taker and market makers as long the transaction closes at the price within the range set by him/her. This is quite different from Uniswap V3 by giving more benefits to LPS.</u>\n- **Versatile strategies for different pairs:** according to correlations of trading pairs, market demand and fee tiers, versatile strategies can be designed to make a profit and hedge against risk.\n\n#### Enhanced limit order\n\nIzumi's algorithm of constant sum formula on small price range fragment enables an enhanced limit order function that is different than Uniswap V3. The following remarkable improvements are noticeable.\n\n- **No price restrictions when placing a limit order:** Users can place limit buy orders at a price higher than current price or sell orders lower than current price. Ref V2 would auto match with best price first, similar to CLOBs (central limit order books) seen on centralized exchanges.\n- **No need to keep an eye on order progress:** As a kind of one-way liquidity, users can claim their order earning at any time without any concern that the earned token would be reverted.\n- **CEX order-book style user experience.**\n\nEnhanced limit order will give more convenience for strategy trading like grid trading, arbitrage, day trading, etc.\n\n#### Decreased swap slippage\n\nWith much thicker liquidity around the current price point, swap slippage has a notable decrease.\n\nAs mentioned above, we've compared our development features of this model in comparison to Uniswaps model, from Ethereum to NEAR, but far less costly. **Ref V2 provides a more capital efficient, user-friendly experience with dynamic pricing, reduced fees, and cross-chain integrations.**\n\nThe combination of concentrated liquidity, enhanced limit order and decreased swap slippage offers a good tool kit for trading in NEAR ecosystem. Enjoy it.\n\n---\n\n### DCL pool\n\n#### getDCLPoolId\n\nGet DCL pool id by tokenA, tokenB and fee.\n\nNote: the fee should be in one of [100, 400, 2000, 10000], which means we charge [0.01%, 0.04%, 0.2%, 1%] separately.\n\nParameters\n\n```plain\n(tokenA:string, tokenB:string, fee:number)\n```\n\nExample\n\n```plain\nconst tokenA = \"usdt.fakes.testnet\";\n\nconst tokenB = \"wrap.testnet\";\n\nconst fee = 2000\n\nconst pool_id = getDCLPoolId(tokenA, tokenB, fee)\n```\n\nResponse\n\n```\n\"usdt.fakes.testnet|wrap.testnet|2000\"\n```\n\n---\n\n#### listDCLPools\n\nList all DCL pools\n\nParameters\n\n```plain\nNone\n```\n\nExample\n\n```plain\nconst allDCLPools = await listDCLPools()\n```\n\nResponse\n\n```\n[\n  {\n    pool_id: 'usdt.fakes.testnet|wrap.testnet|100',\n    token_x: 'usdt.fakes.testnet',\n    token_y: 'wrap.testnet',\n    fee: 100,\n    point_delta: 1,\n    current_point: 391459,\n    liquidity: '0',\n    liquidity_x: '0',\n    max_liquidity_per_point: '212676346402870037870835460372692',\n    volume_x_in: '0',\n    volume_y_in: '0',\n    volume_x_out: '0',\n    volume_y_out: '0',\n    total_liquidity: '0',\n    total_order_x: '1000000000000',\n    total_order_y: '0',\n    total_x: '1000000000000',\n    total_y: '0',\n    state: 'Running'\n  },\n  ...\n]\n```\n\n---\n\n#### getDCLPool\n\nGet DCL pool by pool id\n\nParameters\n\n```plain\n(pool_id: string)\n```\n\nExample\n\n```plain\nconst tokenA = \"usdt.fakes.testnet\";\n\nconst tokenB = \"wrap.testnet\";\n\nconst fee = 2000\n\nconst pool_id = getDCLPoolId(tokenA, tokenB, fee)\n\nconst pool = await getDCLPool(pool_id)\n\n```\n\nResponse\n\n```\n{\n  pool_id: 'usdt.fakes.testnet|wrap.testnet|2000',\n  token_x: 'usdt.fakes.testnet',\n  token_y: 'wrap.testnet',\n  fee: 2000,\n  point_delta: 40,\n  current_point: 380120,\n  liquidity: '1110725876876975',\n  liquidity_x: '1110725876876975',\n  max_liquidity_per_point: '8506846501860915063707772491481918',\n  volume_x_in: '8754783773',\n  volume_y_in: '109748224827667685031216606',\n  volume_x_out: '1220525924',\n  volume_y_out: '1301582127053053120024924721',\n  total_liquidity: '9961756656973511',\n  total_order_x: '101475486843',\n  total_order_y: '31907047396923536842194449',\n  total_x: '125636676594',\n  total_y: '131645349254303605341104269',\n  state: 'Running'\n}\n```\n\n---\n\n### DCL Swap\n\n#### quote\n\nquote output amount by pool_ids, input_amount, input_token, output_token\n\nParameters\n\n```plain\n{\n  pool_ids: string[];\n  input_token: TokenMetadata;\n  output_token: TokenMetadata;\n  input_amount: string;\n  tag?: string;\n}\n```\n\nExample\n\n```plain\nconst tokenA = \"usdt.fakes.testnet\";\n\nconst tokenB = \"wrap.testnet\";\n\nconst fee = 10000\n\nconst pool_ids = [getDCLPoolId(tokenA, tokenB, fee)];\n\nconst tokenAMetadata = await ftGetTokenMetadata(tokenA)\n\nconst tokenBMetadata = await ftGetTokenMetadata(tokenB)\n\n\nconst res = await quote({\n        pool_ids,\n        input_amount,\n        input_token: tokenAMetadata,\n        output_token: tokenBMetadata,\n    });\n```\n\nResponse\n\n```\n{ amount: '203807761645099642566723', tag: null }\n```\n\n---\n\n#### quote_by_output\n\nquote in put amount by output amount to price by pool_ids, input_amount, input_token, output_token\n\nParameters\n\n```plain\n{\n  pool_ids: string[];\n  input_token: TokenMetadata;\n  output_token: TokenMetadata;\n  input_amount: string;\n  tag?: string;\n}\n```\n\nExample\n\n```plain\nconst tokenA = \"usdt.fakes.testnet\";\n\nconst tokenB = \"wrap.testnet\";\n\nconst fee = 10000\n\nconst pool_ids = [getDCLPoolId(tokenA, tokenB, fee)];\n\nconst tokenAMetadata = await ftGetTokenMetadata(tokenA)\n\nconst tokenBMetadata = await ftGetTokenMetadata(tokenB)\n\n\n\nconst res = await quote_by_output({\n        pool_ids,\n        output_amount: \"0.1\",\n        input_token: tokenAMetadata,\n        output_token: tokenBMetadata,\n    });\n```\n\nResponse\n\n```\n{ amount: '490370', tag: null }\n```\n\n---\n\n#### DCLSwap\n\nThis function integrates Swap, SwapByOutput and LimitOrderWithSwap apis.\n\n- Swap: swap from tokenA to get tokenB.\n- SwapByOutput: Swap to get specific tokenB and comsume tokenA.\n- LimitOrderWithSwap: compare the calculated price based on parameters with price in the pool, if calculated price is lower than the pool price, go to Swap, the left will generate an limit order higher than the pool price, and if no amount is left, no order generated; if the calculated price is higher than the pool price, will directly generate an limit order.\n\nParameters\n\n```\ninterface SwapInfo {\n  tokenA: TokenMetadata;\n  tokenB: TokenMetadata;\n  amountA: string;\n}\n\ninterface DCLSwapProps {\n  swapInfo: SwapInfo;\n  Swap?: {\n    pool_ids: string[];\n    min_output_amount: string;\n  };\n  SwapByOutput?: {\n    pool_ids: string[];\n    output_amount: string;\n  };\n  LimitOrderWithSwap?: {\n    pool_id: string;\n    output_amount: string;\n  };\n  SwapByStopPoint?: {\n    pool_id: string;\n    stop_point: number;\n    skip_unwrap_near: boolean;\n  };\n  AccountId: string;\n  referralId?: string;\n}\n```\n\nExample (Swap)\n\n```plain\nconst tokenA = \"usdt.fakes.testnet\";\n\nconst tokenB = \"wrap.testnet\";\n\nconst fee = 2000\n\nconst pool_ids = [getDCLPoolId(tokenA, tokenB, fee)];\n\nconst tokenAMetadata = await ftGetTokenMetadata(tokenA)\n\nconst tokenBMetadata = await ftGetTokenMetadata(tokenB)\n\n\nconst res = await DCLSwap({\n  swapInfo: {\n    amountA: input_amount,\n    tokenA: tokenAMetadata,\n    tokenB: tokenBMetadata,\n  },\n  Swap: {\n    min_output_amount: \"0\",\n    pool_ids,\n  },\n\tAccountId,\n  referralId: 'ref-fee.testnet', // optional: referral ID to earn referral fees\n});\n```\n\nResponse (Swap)\n\n```\n[\n  {\n    receiverId: \"usdt.fakes.testnet\",\n    functionCalls: [\n      {\n        methodName: \"ft_transfer_call\",\n        args: {\n          receiver_id: \"dcl.ref-dev.testnet\",\n          amount: \"1000000\",\n          msg: '{\"Swap\":{\"pool_ids\":[\"usdt.fakes.testnet|wrap.testnet|2000\"],\"output_token\":\"wrap.testnet\",\"min_output_amount\":\"0\"}}',\n        },\n        gas: \"180000000000000\",\n        amount: \"0.000000000000000000000001\",\n      },\n    ],\n  },\n];\n\n```\n\nExample (SwapByOutput)\n\n```plain\nconst tokenA = \"usdt.fakes.testnet\";\n\nconst tokenB = \"wrap.testnet\";\n\nconst fee = 2000\n\n\nconst tokenAMetadata = await ftGetTokenMetadata(tokenA)\n\nconst tokenBMetadata = await ftGetTokenMetadata(tokenB)\n\n\nconst pool_ids = [getDCLPoolId(tokenA, tokenB, fee)];\n\nconst res = await DCLSwap({\n  swapInfo: {\n    amountA: input_amount,\n    tokenA: tokenAMetadata,\n    tokenB: tokenBMetadata,\n  },\n  SwapByOutput: {\n  \tpool_ids,\n  \toutput_amount: \"4.89454792\",\n  },\n\tAccountId,\n  referralId: 'ref-fee.testnet', // optional: referral ID to earn referral fees\n});\n```\n\nResponse (SwapByOutput)\n\n```\n\n[\n  {\n    receiverId: \"usdt.fakes.testnet\",\n    functionCalls: [\n      {\n        methodName: \"ft_transfer_call\",\n        args: {\n          receiver_id: \"dcl.ref-dev.testnet\",\n          amount: \"900000\",\n          msg: '{\"SwapByOutput\":{\"pool_ids\":[\"usdt.fakes.testnet|wrap.testnet|2000\"],\"output_token\":\"wrap.testnet\",\"output_amount\":\"4894547920000000000000000\"}}',\n        },\n        gas: \"180000000000000\",\n        amount: \"0.000000000000000000000001\",\n      },\n    ],\n  },\n];\n```\n\nExample (LimitOrderWithSwap)\n\n```plain\nconst tokenA = \"usdt.fakes.testnet\";\n\nconst tokenB = \"wrap.testnet\";\n\nconst fee = 2000\n\nconst pool_ids = [getDCLPoolId(tokenA, tokenB, fee)];\n\n\nconst tokenAMetadata = await ftGetTokenMetadata(tokenA)\n\nconst tokenBMetadata = await ftGetTokenMetadata(tokenB)\n\n\nconst res = await DCLSwap({\n  swapInfo: {\n    amountA: input_amount,\n    tokenA: tokenAMetadata,\n    tokenB: tokenBMetadata,\n  },\n  LimitOrderWithSwap: {\n  \tpool_id,\n\t\toutput_amount: \"3217.929\",\n  },\n\tAccountId,\n  referralId: 'ref-fee.testnet', // optional: referral ID to earn referral fees\n});\n```\n\nResponse (LimitOrderWithSwap)\n\n```\n\n[\n  {\n    receiverId: \"usdt.fakes.testnet\",\n    functionCalls: [\n      {\n        methodName: \"ft_transfer_call\",\n        args: {\n          receiver_id: \"dcl.ref-dev.testnet\",\n          amount: \"1000000\",\n          msg: '{\"LimitOrderWithSwap\":{\"pool_id\":\"usdt.fakes.testnet|wrap.testnet|2000\",\"buy_token\":\"wrap.testnet\",\"point\":495240}}',\n        },\n        gas: \"180000000000000\",\n        amount: \"0.000000000000000000000001\",\n      },\n    ],\n  },\n];\n\n```\n\nExample (SwapByStopPoint)\n\n```plain\nconst tokenA = \"usdt.fakes.testnet\";\n\nconst tokenB = \"wrap.testnet\";\n\nconst fee = 2000\n\nconst pool_ids = [getDCLPoolId(tokenA, tokenB, fee)];\n\n\nconst tokenAMetadata = await ftGetTokenMetadata(tokenA)\n\nconst tokenBMetadata = await ftGetTokenMetadata(tokenB)\n\n\nconst res = await DCLSwap({\n  swapInfo: {\n    amountA: input_amount,\n    tokenA: tokenAMetadata,\n    tokenB: tokenBMetadata,\n  },\n  SwapByStopPoint: {\n      pool_id: pool_id,\n      stop_point: 405920,\n   },\n  AccountId,\n  referralId: 'ref-fee.testnet', // optional: referral ID to earn referral fees\n});\n```\n\nResponse (SwapByStopPoint)\n\n```\n\n[\n  {\n    receiverId: \"usdt.fakes.testnet\",\n    functionCalls: [\n      {\n        methodName: \"ft_transfer_call\",\n        args: {\n          receiver_id: \"dcl.ref-dev.testnet\",\n          amount: \"1000000\",\n          msg: '{\"SwapByStopPoint\":{\"pool_id\":\"usdt.fakes.testnet|wrap.testnet|2000\",\"stop_point\":495240}}',\n        },\n        gas: \"180000000000000\",\n        amount: \"0.000000000000000000000001\",\n      },\n    ],\n  },\n];\n\n```\n\n---\n\n#### DCLSwapByInputOnBestPool\n\nThis function helps to swap on best price pool of at most 4 candidate pools based on tokenA, tokenB, amountA (input amount) and slippageTolerance.\n\nParameters\n\n```plain\n{\n  tokenA: TokenMetadata;\n  tokenB: TokenMetadata;\n  amountA: string;\n  slippageTolerance: number;\n  AccountId: string;\n  referralId?: string;\n}\n```\n\nExample\n\n```plain\nconst tokenA = \"usdt.fakes.testnet\";\n\nconst tokenB = \"wrap.testnet\";\n\nconst tokenAMetadata = await ftGetTokenMetadata(tokenA)\n\nconst tokenBMetadata = await ftGetTokenMetadata(tokenB)\n\n\nconst res = await DCLSwapByInputOnBestPool({\n        tokenA:tokenAMetadata,\n        tokenB:tokenBMetadata,\n        amountA: \"1\",\n        slippageTolerance: 0.1,\n        AccountId,\n        referralId: 'ref-fee.testnet', // optional: referral ID to earn referral fees\n    });\n```\n\nResponse\n\n```\n[\n  {\n    receiverId: \"usdt.fakes.testnet\",\n    functionCalls: [\n      {\n        methodName: \"ft_transfer_call\",\n        args: {\n          receiver_id: \"dcl.ref-dev.testnet\",\n          amount: \"1000000\",\n          msg: '{\"Swap\":{\"pool_ids\":[\"usdt.fakes.testnet|wrap.testnet|10000\"],\"output_token\":\"wrap.testnet\",\"min_output_amount\":\"203606350172806050000000\"}}',\n        },\n        gas: \"180000000000000\",\n        amount: \"0.000000000000000000000001\",\n      },\n    ],\n  },\n];\n\n```\n\n---\n\n### Order\n\n#### UserOrderInfo (interface)\n\n```\ninterface UserOrderInfo {\n  order_id: string;\n  owner_id: string;\n  pool_id: string;\n  point: number;\n  sell_token: string;\n  created_at: string; // timestamp when this order created\n  original_amount: string; // original amount of sell_token\n  remain_amount: string; // remain amount to be swapped, 0 means a history order\n  cancel_amount: string; // amount after cancel an active order\n  original_deposit_amount: string; // the input amount of LimitOrderWithSwap through ft_transfer_call, maybe partially into instant Swap\n  swap_earn_amount: string;   // earn token amount through swap before actual place order\n  buy_token: string;\n  unclaimed_amount: string;\n  bought_amount: string; // accumalated amount you get\n}\n```\n\n#### list_active_orders\n\nGet your active orders\n\nParameters\n\n```plain\n(AccountId: string)\n```\n\nExample\n\n```plain\nconst res = await list_active_orders(AccountId)\n```\n\nResponse\n\n```\n[\n  {\n    order_id: \"usdt.fakes.testnet|wrap.testnet|10000#93\",\n    owner_id: \"your-account-id.testnet\",\n    pool_id: \"usdt.fakes.testnet|wrap.testnet|10000\",\n    point: 398600,\n    sell_token: \"wrap.testnet\",\n    buy_token: \"usdt.fakes.testnet\",\n    original_deposit_amount: \"1000000000000000000000000\",\n    swap_earn_amount: \"0\",\n    original_amount: \"1000000000000000000000000\",\n    cancel_amount: \"0\",\n    created_at: \"1667292669983952215\",\n    remain_amount: \"1000000000000000000000000\",\n    bought_amount: \"0\",\n    unclaimed_amount: \"0\",\n  },\n];\n\n```\n\n---\n\n#### list_history_orders\n\nGet your history orders\n\nParameters\n\n```plain\n(AccountId: string)\n```\n\nExample\n\n```plain\nconst res = await list_history_orders(AccountId)\n```\n\nResponse\n\n```\n[\n  {\n    order_id: \"usdc.fakes.testnet|wrap.testnet|2000#47\",\n    owner_id: \"juaner.testnet\",\n    pool_id: \"usdc.fakes.testnet|wrap.testnet|2000\",\n    point: 399120,\n    sell_token: \"wrap.testnet\",\n    buy_token: \"usdc.fakes.testnet\",\n    original_deposit_amount: \"1000000000000000000000000\",\n    swap_earn_amount: \"0\",\n    original_amount: \"1000000000000000000000000\",\n    cancel_amount: \"1000000000000000000000000\",\n    created_at: \"1665928620632469264\",\n    remain_amount: \"0\",\n    bought_amount: \"0\",\n    unclaimed_amount: null,\n  },\n];\n\n```\n\n---\n\n#### cancel_order\n\ncancel an active order\n\nParameters\n\n```plain\n(order_id: string)\n```\n\nExample\n\n```plain\nconst res = await cancel_order(\"usdt.fakes.testnet|wrap.testnet|10000#93\")\n```\n\nResponse\n\n```\n[\n  {\n    receiverId: \"dcl.ref-dev.testnet\",\n    functionCalls: [\n      {\n        methodName: \"cancel_order\",\n        args: {\n          order_id: \"usdt.fakes.testnet|wrap.testnet|10000#93\",\n          amount: \"1000000000000000000000000\",\n        },\n        gas: \"180000000000000\",\n      },\n    ],\n  },\n];\n\n```\n\n---\n\n#### claim_order\n\nClaim your unclaimed_amount in the order.\n\nParameters\n\n```plain\n(order_id: string)\n```\n\nExample\n\n```plain\nconst res = await claim_order(\"usdt.fakes.testnet|wrap.testnet|10000#93\")\n```\n\nResponse\n\n```\n[\n  {\n    receiverId: \"dcl.ref-dev.testnet\",\n    functionCalls: [\n      {\n        methodName: \"cancel_order\",\n        args: {\n          order_id: \"usdt.fakes.testnet|wrap.testnet|10000#93\",\n          amount: \"0\",\n        },\n        gas: \"180000000000000\",\n      },\n    ],\n  },\n];\n\n```\n\n---\n\n#### get_order\n\nGet order information by order_id\n\nParameters\n\n```plain\n(order_id: string)\n```\n\nExample\n\n```plain\nconst res = await get_order(\"usdt.fakes.testnet|wrap.testnet|10000#93\")\n```\n\nResponse\n\n```\n{\n  order_id: 'usdt.fakes.testnet|wrap.testnet|10000#93',\n  owner_id: 'juaner.testnet',\n  pool_id: 'usdt.fakes.testnet|wrap.testnet|10000',\n  point: 398600,\n  sell_token: 'wrap.testnet',\n  buy_token: 'usdt.fakes.testnet',\n  original_deposit_amount: '1000000000000000000000000',\n  swap_earn_amount: '0',\n  original_amount: '1000000000000000000000000',\n  cancel_amount: '0',\n  created_at: '1667292669983952215',\n  remain_amount: '1000000000000000000000000',\n  bought_amount: '0',\n  unclaimed_amount: '0'\n}\n```\n\n---\n\n### Asset\n\n#### list_user_assets\n\nGet user assets.\n\nParameters\n\n```plain\n(AccountId: string)\n```\n\nExample\n\n```plain\nconst res = await list_user_assets(\"your-account-id.testnet\")\n```\n\nResponse\n\n```\n{\n  'meta-v2.pool.testnet': '1000000000000000000000000',\n  'ref.fakes.testnet': '54795238623455655224444',\n  'usdc.fakes.testnet': '204436562555',\n  'eth.fakes.testnet': '112348196732799990900',\n  'usdt.fakes.testnet': '164044235810',\n  'wrap.testnet': '1004944616890200800000000'\n}\n```\n\n---\n\n### Utils\n\n#### priceToPoint\n\nGet point based on input price\n\nParameters\n\n```plain\n{\n  tokenA: TokenMetadata;\n  tokenB: TokenMetadata;\n  amountA: string;\n  amountB: string;\n  fee: number;\n}\n```\n\nExample\n\n```plain\nconst tokenA = await ftGetTokenMetadata(\"usdt.fakes.testnet\");\n\nconst tokenB = await ftGetTokenMetadata(\"wrap.testnet\");\n\nconst amountA = \"0.9\";\n\nconst amountB = \"4.89454792\";\n\nconst fee = 400;\n\nconst res = priceToPoint({\n  tokenA,\n  tokenB,\n  amountA,\n  amountB,\n  fee,\n});\n```\n\nResponse\n\n```\n431416\n```\n\n---\n\n#### pointToPrice\n\nGet price from tokenA to tokenB based on point\n\nParameters\n\n```plain\n{\n  tokenA: TokenMetadata;\n  tokenB: TokenMetadata;\n  point: number;\n}\n```\n\nExample\n\n```plain\nconst tokenA = await ftGetTokenMetadata(\"usdt.fakes.testnet\");\n\nconst tokenB = await ftGetTokenMetadata(\"wrap.testnet\");\n\nconst res = pointToPrice({\n  tokenA,\n  tokenB,\n  point: 431416,\n});\n```\n\nResponse\n\n```\n5.43528191708623\n```\n\n---\n\n###\n","readmeFilename":"README.md"}