{"_id":"@assetblock/arc-01","_rev":"4-534ed177cc45dbeb78ebd9faf2e85140","name":"@assetblock/arc-01","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.1":{"name":"@assetblock/arc-01","version":"1.0.1","description":"Token standard proposals for Algorand","publishConfig":{"access":"public"},"main":"index.js","scripts":{"test":"jest","release":"np"},"repository":{"type":"git","url":"git+https://github.com/AssetBlock/arc-01.git"},"keywords":["algorand","security token","standard proposal","compliance"],"author":{"name":"@jciruolo"},"license":"ISC","bugs":{"url":"https://github.com/AssetBlock/arc-01/issues"},"homepage":"https://github.com/AssetBlock/arc-01#readme","jest":{"verbose":true,"collectCoverage":true,"collectCoverageFrom":["**/*.{js,jsx}","!**/node_modules/**","!**/coverage/**"]},"np":{"yarn":false},"devDependencies":{"jest":"^24.8.0","np":"^5.0.3"},"dependencies":{"ajv":"^6.10.0"},"gitHead":"cfd11585245631624db3b402c23cada148f27f53","_id":"@assetblock/arc-01@1.0.1","_nodeVersion":"10.15.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-gfSlBONJjuQiBFebRFaDg9qQJZpTwyPNeDPYilaKlKtdDRvb2pNRYnyQ5yHN+ubmIwcYsZyjxVzhvJMeU7izKQ==","shasum":"b461add8b52c922c4aca2d1489c8f0c8c2bf5a58","tarball":"https://registry.npmjs.org/@assetblock/arc-01/-/arc-01-1.0.1.tgz","fileCount":28,"unpackedSize":58780,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAuV4CRA9TVsSAnZWagAAvbkP/RVxXUhvyBWLVRMaR+XW\nMcWOtspnRuAWt+ht0beWWKQ/Uvbqw6U8kqrR3VLcReULERJye3yF3QHdGmgk\n0tDH7csmNcHKTGXxX21h2zRK914Jz2+mR+HkNEZDdrySCuYWTtLrXJYrnm85\nkRJdjkrs64fvZzyc6Qd+Ve/YKv3+6Jc9bHHpL5W1k/K10B+/XpPBoenc2bd/\nPLfnyx1k1OIp4pKUlYl+ipdgPzDdXEhmbFpSZFWmy/+yx9PqfVwfI6RQJIEb\no6P4Zad0DCkdY8w/S5ekK2GAKFLQfMCyPBsH5a7ASHlVDAsiNo7cM73aj64X\niisnhpJ74VOFcaLLTP1LmnWIIoW1YQ9deg8pOCYAErVbDQyGYoaBb34aM0Uo\nHtltiLNKM93mMePmIp2BEd5JJfJEk5zJpaObA3mh3tOWJXtAeuJ+0KT6B5UJ\nNn2FyXqTnTvFamrCC4TNkbN8wDORzyrxNa8rnYgGe/sKrUwgZbMVVeyihoSC\ng3Liddonl1NlQM9YfzqPU6aaszqPO8HeGfnNKW9bfrrY4DwMrlMNjk/aT9cq\nz/Es8gvV+bjXzxn7bPBFqVlwVl9yefmaSF+5SiuBN5nkizgwr+NuxDKIcCup\nTF+vfZvBgF6LQgmYpqSOfxP3AtjuYkVCg+5tma2eer/NxxJFppHETvpJ3eGv\n6gOn\r\n=Me7D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICed6AgXQmrwd7+PHJuNq9pbSLg8s0Xl6An1gq9P6lleAiEA7VyGdm9Besw3A5wEzHPMPCxJdF0E7rOzFc19lR/Wy6I="}]},"maintainers":[{"name":"jciruolo","email":"jay@assetblock.com"}],"_npmUser":{"name":"jciruolo","email":"jay@assetblock.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arc-01_1.0.1_1560470903680_0.9700293949023395"},"_hasShrinkwrap":false},"1.0.2":{"name":"@assetblock/arc-01","version":"1.0.2","description":"Token standard proposals for Algorand","publishConfig":{"access":"public"},"main":"index.js","scripts":{"test":"jest","release":"np"},"repository":{"type":"git","url":"git+https://github.com/AssetBlock/arc-01.git"},"keywords":["algorand","security token","standard proposal","compliance"],"author":{"name":"@jciruolo"},"license":"ISC","bugs":{"url":"https://github.com/AssetBlock/arc-01/issues"},"homepage":"https://github.com/AssetBlock/arc-01#readme","jest":{"verbose":true,"collectCoverage":true,"collectCoverageFrom":["**/*.{js,jsx}","!**/node_modules/**","!**/coverage/**"]},"np":{"yarn":false},"devDependencies":{"jest":"^24.8.0","np":"^5.0.3"},"dependencies":{"ajv":"^6.10.0"},"gitHead":"dec456cf38247eb3584a2dab33f9f663ccd0b760","_id":"@assetblock/arc-01@1.0.2","_nodeVersion":"10.15.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-bN2GWWdbVU1ic1glAKNYjA43HxqopEAruNbdI68jYmkoDcq5gFl2hyiD3y0OI6Ef5QZ6zJUyPNAYgiwKCdXpsQ==","shasum":"1ae0361578d869094f0f9371c0438b651d40915e","tarball":"https://registry.npmjs.org/@assetblock/arc-01/-/arc-01-1.0.2.tgz","fileCount":28,"unpackedSize":58780,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAuX2CRA9TVsSAnZWagAAWXIP/2psZHhQkyir0pdqHwxB\n0JhJF5B32GY5Dh/7UymeuDHPJ9qn0u+v5coxBs7Y5BO9QO5ICWKoODrc26kW\n2hNEVHfKHkcrbuJTEi/VBFckH0Oh1va22aoQXHCke2mwHr5dTCAB1616ycka\nylkCKAUXXM2olkoB1ne3ZVp5TJGA0kLmjXxbVpBPKLc4iksmJDuyC/b7MEDM\nxTJytN/RfjY+hapruzQUmoTcewWgkKn5LEORsRV4I1Cc1JUqqWECwfO0ygvE\nq6+oRyb5kZkFkRzrxLhlj5I33qDw4wxmLDAqpjcoww4xMUboRvNjBRS5X8sG\n0qfZlTALMvEMHTQvAh94s2s9pcDxcS3yAYwVT2pOjX+ggEk/SzrJW6o7qHPq\nsk3AKDO6Z7B0o3azAx8DXFE3VwgDIpdNc8DprUBnB0QjNsByJxZgMCh441po\nzCohery3hXdGNOig2L6F32zQr9THhWwhQRkBPf/Wsj1mtBzre66MtSFrmDp4\nE52mCw5O+0YMBa4c3aKEZiDJiLKuII9NswLeXFypkVbqPJGYwC9LgLUMKODj\nGVq7LvNG9NKDD8UeufyjE/nN2ToapBfKMN5TAm0pg6L5197lXqGLDE2Pszwe\nbNxg8fJk/qDG9fhrtljUAvkVjTP1WbMGVeqbWp7819WyloQ8PENURXQFC++1\nqrd9\r\n=aLY1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCcpzYukG9MVuUo6EJbR7Ut0GrvwuutPd2uaP8KhztawIgRDuCdUcr0O24Q4wbHH/9YvESfr4Pfs5487OcKEjaELk="}]},"maintainers":[{"name":"jciruolo","email":"jay@assetblock.com"}],"_npmUser":{"name":"jciruolo","email":"jay@assetblock.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arc-01_1.0.2_1560471030053_0.8840201508983836"},"_hasShrinkwrap":false},"1.1.0":{"name":"@assetblock/arc-01","version":"1.1.0","description":"Token standard proposals for Algorand","publishConfig":{"access":"public"},"main":"index.js","scripts":{"test":"jest","release":"np"},"repository":{"type":"git","url":"git+https://github.com/AssetBlock/arc-01.git"},"keywords":["algorand","security token","standard proposal","compliance"],"author":{"name":"@jciruolo"},"license":"ISC","bugs":{"url":"https://github.com/AssetBlock/arc-01/issues"},"homepage":"https://github.com/AssetBlock/arc-01#readme","jest":{"verbose":true,"collectCoverage":true,"collectCoverageFrom":["**/*.{js,jsx}","!**/node_modules/**","!**/coverage/**"]},"np":{"yarn":false},"devDependencies":{"jest":"^24.8.0","np":"^5.0.3"},"dependencies":{"ajv":"^6.10.0"},"gitHead":"e1fdd2e59c1cb857a854c66e11c12c3002a625da","_id":"@assetblock/arc-01@1.1.0","_nodeVersion":"10.15.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-cC2Ii+ydFkaw1+bAoYd2uHiJdbXJbVzH99WpO3dMhBpR+kVg66zgVFqM3tgGbYuCgqsgDEFJmPJ1hsAMenWWaA==","shasum":"eae868c3e5642c4071672e9d1e6a8395f8a1d3ab","tarball":"https://registry.npmjs.org/@assetblock/arc-01/-/arc-01-1.1.0.tgz","fileCount":29,"unpackedSize":70164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCXCdCRA9TVsSAnZWagAAs0gP/3TZen37EBkIH0FXLZVt\n2Fx6uPKgGHfBTzF+dCqnPrSAWg/SPkSXl8bk50pcSDm0TvDSYYsDS69fdyq1\nCj/c815PljRnkORFss1JRw7ZVFMFds+5CECRyIg4IYkynn8AG4LVGgk9dKV5\n5ZxY/0M2o7AR0DzwJHQmkBV2Tvk4mvsinWZPOj5JjHPuFxrJz79w4BDjKMyP\nrXlTQRBSaR1QJQjQRa1SbGsNNM/acGuyd8wmxo+uwlUWrHLdyHJWOTfzGvn1\nf8MP+3WbCT5thAWMKIvndvb45a5LD4sQJQxfaQ5FDJsg9H2hFhsUbYbZxmQh\nqu1mD2PHcPniS6DWlTDX923rGt03xBtyei82OoBaVengGTN1DwzQNv1J0z3b\nob8QU6a4yzP/2OCSTEpUT4fHcMCGidOXVgYfpeqAucSwlIwI79Sr5i4RhU5E\nzWf1LAd8nxCRKjx8NmGkGCTT+UYpDc+YBkFWZK+TmHyoiRAwBwoyXz1cKb4A\nZa2O4I9fZltPZFzQ1537+8poRba9iJctwX9Ic7hyu1buK2n4X/JSBAj4GXMs\nCIegvnl3O/65DbxfEVb09uEkeFPOMi/5ErXYCIdxULASk3EUGUi0mVOo+cu3\nH2rs/ZpX4dw88imRzxAaORGVDYFt5zdsd3ufiKOoIxFJR7OK3KYOc3/grlC4\ncq+o\r\n=laaN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAmNO6ImFTLo1Cr8aQx+9B/RE8ZSvDHZU1+scP4HRZDvAiEA0P82BcLrADljSVHDcES0MGXfzuqV62nqbe+66wEtj8c="}]},"maintainers":[{"name":"jciruolo","email":"jay@assetblock.com"}],"_npmUser":{"name":"jciruolo","email":"jay@assetblock.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arc-01_1.1.0_1560899741085_0.6799703578493566"},"_hasShrinkwrap":false},"1.1.1":{"name":"@assetblock/arc-01","version":"1.1.1","description":"Token standard proposals for Algorand","publishConfig":{"access":"public"},"main":"index.js","scripts":{"test":"jest","release":"np"},"repository":{"type":"git","url":"git+https://github.com/AssetBlock/arc-01.git"},"keywords":["algorand","security token","standard proposal","compliance"],"author":{"name":"@jciruolo"},"license":"ISC","bugs":{"url":"https://github.com/AssetBlock/arc-01/issues"},"homepage":"https://github.com/AssetBlock/arc-01#readme","jest":{"verbose":true,"collectCoverage":true,"collectCoverageFrom":["**/*.{js,jsx}","!**/node_modules/**","!**/coverage/**"]},"np":{"yarn":false},"devDependencies":{"jest":"^24.8.0","np":"^5.0.3"},"dependencies":{"ajv":"^6.10.0"},"gitHead":"9c844b3f279e550b8937ad6231209462392637be","_id":"@assetblock/arc-01@1.1.1","_nodeVersion":"10.15.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-fLYTDbMuXtiAXOqzHR6Msad2QFdvlZSEqgXnHQRowylCaNvoOlTedujTcROSM1nSdl92k4hXhL4/iXhq+gpeiA==","shasum":"994a5f887757d7c3ae1d6f1d6ebb03dbdcef7ae6","tarball":"https://registry.npmjs.org/@assetblock/arc-01/-/arc-01-1.1.1.tgz","fileCount":31,"unpackedSize":71593,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLg1qCRA9TVsSAnZWagAA/qMP/3mX3O+B+yE+JY1H+His\njvjJWLtsL6GGIMBEYeK94G6ThTBKVB+2kf1dV/KYffYBDgu/y4MvCKgg2hRR\nVmqNC59NHPKMlXAbfo1HufJFsMMZ0V7un24OxJHGpUDKVOj+Qfxna/Qxl/wL\nYkeD8zcy4I2Zgp3LrizmyjoFnX2hH2hoN2B4WfJhZ8k5dpIYj6o1Lykj1MN2\nv1T4h1ZDkOdULU2jRqSQv2gncbpDMvobtegTqmubaxYQNmVvvXGIDJ2oIVth\nfOCPp69xT4erim6Y3+spMY8MOCMLSi52K3vtKyB4Fpg0IkmV0Sa+E5d+l4SX\nPgiU3mfdc3DQQI02ic7DEbP2213Y43D2Grk31WcjPDF72of7UKdLbYXPWdNB\nI6vvjNadwdUOsLWeLAKw4bkyv2gt7iS+Ro/E6+eqX6DtP5CiIrLxeBmTbbGM\nsZ87WfiFJE5+OvC3KqMfH/n1vJX3MzByFJIJNnADV/86di16wA6HLd2KtAcO\nDJ3q2pSqIQAsU9AQgKHQKzz0JMDA9sI/QdEtb7twngfWsiN3tlMWstF0XAaU\nHvrohKZ4TWu+38TBZegV3ht1kpEdXA04iF1rZSf8SSs0SrR5nIYjSm9OsoRw\nY4O+NhH4Q4rK0dIhbxnxQYobehtuQq1lMJhVzvn6Rll6ANHN8WkrLdZqQrW3\nhFVv\r\n=fBd6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZ1zhBXXxlg2AWkpZpxLlRIb+0PJD7Wu+kLpj1KZXe7wIhAOmQaM+uNabqVBqcu1F/z3Iy6TfyzPkvA7wqemdEnhhq"}]},"maintainers":[{"name":"jciruolo","email":"jay@assetblock.com"}],"_npmUser":{"name":"jciruolo","email":"jay@assetblock.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arc-01_1.1.1_1563299176530_0.4625587056645126"},"_hasShrinkwrap":false}},"time":{"created":"2019-06-14T00:08:23.470Z","1.0.1":"2019-06-14T00:08:23.794Z","modified":"2022-04-04T15:51:26.480Z","1.0.2":"2019-06-14T00:10:30.197Z","1.1.0":"2019-06-18T23:15:41.258Z","1.1.1":"2019-07-16T17:46:16.692Z"},"maintainers":[{"name":"jciruolo","email":"jay@assetblock.com"}],"description":"Token standard proposals for Algorand","homepage":"https://github.com/AssetBlock/arc-01#readme","keywords":["algorand","security token","standard proposal","compliance"],"repository":{"type":"git","url":"git+https://github.com/AssetBlock/arc-01.git"},"author":{"name":"@jciruolo"},"bugs":{"url":"https://github.com/AssetBlock/arc-01/issues"},"license":"ISC","readme":"# ARC-01\n\nAn open source hybrid token standard for Algorand\n\n## Summary\n\nWhile Algorand develops its borderless economy for business, it’s essential to design and develop a  token standard to drive adoption and provide a solid token issuer and participant experience. `ARC-01` seeks to establish a “hybrid” token framework that takes advantage of the technology that Algorand will release along with their MainNet, coupled with additional modules that take advantage of standard equity or securities tokens (accompanied by manual compliance verification processes) from trusted third-parties.\n\n### Basic Tokens\n\nBasic tokens are tracked via a structured data payload sent via the `notes` field of a standard Algorand transaction. This transaction should be sent from an issuer of the token back to the same issuer address as the issuer will be repsonsible for preventing dual spending and keeping track of available quantities.\n\n* [Basic Token Schema Docs](./docs/basic-tokens.md)\n\n#### Create Basic Token Example\n\nCreate a basic token note field payload\n\n```javascript\ncreateBasicToken({\n  tknName: 'AssetBlock Token',\n  tknSymbol: 'ABT',\n  qty: 10000,\n  decPlaces: 12,\n});\n\n// Returns:\n// {\"txType\":\"ARC01\",\"opType\":\"ISSUE\",\"tknName\":\"AssetBlock​ ​Token\",tknSymbol\":\"ABT\",\"qty\":10000,\"decPlaces\":12}\n```\n\n#### Transfer Basic Token Example\n\nTransfer a basic token note field payload from one account to another\n\n```javascript\n\ntransferBasicToken({\n  tknSymbol: 'ABT',\n  tfrTotal: 100,\n  toAddr: 'GIN5NAPB2RLDUCS3EVDLURZZD742TMWRQEZ4CBETY4QMOYXMH6RWRZEIEA',\n  fromAddr: 'GIN5NAPB2RLDUCS3EVDLURZZD742TMWRQEZ4CBETY4QMOYXMH6RWRZEIEA'\n});\n\n// Returns:\n// {\"txType\":\"ARC01\",\"opType\":\"TRANSFER\",\"tknSymbol\":\"ABT\",\"tfrTotal\":100,\"toAddr\":\"GIN5NAPB2RLDUCS3EVDLURZZD742TMWRQEZ4CBETY4QMOYXMH6RWRZEIEA\",fromAddr\":\"GIN5NAPB2RLDUCS3EVDLURZZD742TMWRQEZ4CBETY4QMOYXMH6RWRZEIEA\"}\n```\n\n#### Simple Algorand SDK Example\n\n```javascript\nconst txn = {\n  from: recoveredAccount.addr,\n  to: recoveredAccount.addr,\n  fee: params.fee,\n  amount: 0,\n  firstRound: params.lastRound,\n  lastRound: endRound,\n  genesisID: params.genesisID,\n  genesisHash: params.genesishashb64,\n  note: createBasicToken({\n    tknName: 'Example Token',\n    tknSymbol: 'EXT',\n    qty: 1000000,\n    decPlaces: 12,\n  }),\n};\nsignTransaction(txn, recoveredAccount.sk);\n```\n\n\n\n### Security Tokens (work in progress)\n\nThe security token standard aims to create an **economy of choice** for issuers of security tokens to decide who will manage and control the compliance of their tokens by proposing a standard for compliance verification including investor validation checks, distributions, interventions, and error states all published to the Algorand blockchain.\n\n* [Security Token Schema Documentation](./docs/security-tokens.md)\n\n\n### Security Token Examples\n\n#### Create new security token\nCreate a security token note field payload\n\n```javascript\nimport { createSecurityToken } from '@assetblock/arc-01';\n\ncreateSecurityToken({\n  tknName: 'TEST',\n  tknSymbol: 'ABT',\n  qty: 1000000,\n  managers: ['CINCNAPB2RLDUCS3EVDLURZZD742TMWRQEZ4CBEWF2QMOYXMH6RWRZEIEA'],\n  decPlaces: 18,\n  specLocation: 'HAPSLYCU5MICI7KJLQA5IYU2ZUIXRSJUUKGPXL6MIGJ2QNAKGL5Q',\n})\n```\n\n#### Request transfer of security tokens\nCreate a security token transfer request for use in a transaction's notes payload\n\n```javascript\nimport { requestSecurityTokenTransfer } from '@assetblock/arc-01';\n\nrequestSecurityTokenTransfer({\n  tknSymbol: 'ABT',\n  type: 'CHECK',\n  qty: 1000,\n  toAddr: 'CINCNAPB2RLDUCS3EVDLURZZD742TMWRQEZ4CBEWF2QMOYXMH6RWRZEIEA',\n});\n```\n\n#### Approve transfer of security tokens\nApprove a security token transfer request via a transaction's notes payload\n\n```javascript\nimport { approveSecurityTokenTransfer } from '@assetblock/arc-01';\n\napproveSecurityTokenTransfer({\n  tknSymbol: 'ABT',\n  tfrStatus: 'APPROVED',\n  tfrTotal: 1000,\n  fromAddr: 'CINCNAPB2RLDUCS3EVDLURZZD742TMWRQEZ4CBEWF2QMOYXMH6RWRZEIEA',\n  txnRef: 'HAPSLYCU5MICI7KJLQA5IYU2ZUIXRSJUUKGPXL6MIGJ2QNAKGL5Q',\n});\n```\n\n#### Deny transfer of security tokens\nDeny a security token transfer request via a transaction's notes payload\n\n```javascript\nimport { denySecurityTokenTransfer } from '@assetblock/arc-01';\n\ndenySecurityTokenTransfer({\n  tknSymbol: 'ABT',\n  tfrStatus: 'DENIED',\n  tfrTotal: 0,\n  fromAddr: 'CINCNAPB2RLDUCS3EVDLURZZD742TMWRQEZ4CBEWF2QMOYXMH6RWRZEIEA',\n  txnRef: 'HAPSLYCU5MICI7KJLQA5IYU2ZUIXRSJUUKGPXL6MIGJ2QNAKGL5Q',\n  errCode: 'NO_FUNDS'\n});\n```\n\n#### Update security token compliance details\nUpdate a security token's compliance profile via a transaction's notes payload\n\n```javascript\nimport { updateSecurityTokenCompliance } from '@assetblock/arc-01';\n\nupdateSecurityTokenCompliance({\n  tknSymbol: 'ABT',\n  managers: ['CINCNAPB2RLDUCS3EVDLURZZD742TMWRQEZ4CBEWF2QMOYXMH6RWRZEIEA'],\n  specTxn: 'HAPSLYCU5MICI7KJLQA5IYU2ZUIXRSJUUKGPXL6MIGJ2QNAKGL5Q',\n});\n```\n\n#### Add security token document\nAdd a document link to a security token's profile via a transaction's notes payload\n\n```javascript\nimport { addSecurityTokenDocument } from '@assetblock/arc-01';\n\naddSecurityTokenDocument({\n  tknSymbol: 'MYT',\n  docs: [{\n    link: 'https://token.com/1.json',\n    hash: '256:b5c9267b1710869e5d1c1b34de970d6594fe0010706e6b7366c42d7151728a50',\n  }],\n});\n```\n\n#### Update token distributions\nUpdate a security token's distribution details via a transaction's notes payload\n\n```javascript\nimport { updateSecurityTokenDistribution } from '@assetblock/arc-01';\n\n// Split\nupdateSecurityTokenDistribution({\n  tknSymbol: 'MYT',\n  type: 'SPLIT',\n  ratio: '3:1',\n});\n\n// Issue more equity\nupdateSecurityTokenDistribution({\n  tknSymbol: 'MYT',\n  type: 'ISSUE_MORE_EQUITY',\n  qty: 10000,\n});\n\n// Burn after buyback\nupdateSecurityTokenDistribution({\n  tknSymbol: 'MYT',\n  type: 'BURN_AFTER_BUYBACK',\n  qty: 2500,\n});\n\n```\n\n\n### Important Considerations\n\n- This standard is not appropriate for currency tokens as it always assumes a centralized manager will be responsible for distributions and avoiding \"double-spend\" scenarios\n- The standards in this repo rely on the transaction `notes` field to track and manage token distribution and compliance actions. Due to this requirement, all payloads must remain within the [maximum encoded 1k size](https://developer.algorand.org/docs/javascript-sdk#node-example-note-write)\n- When possible, this spec currently prioritizes a **transaction-only** approach, in that any computed properties that can be derived from looking at a history of transfers will not be specified in this document. This keeps the burden of proof purely on the chain, rather than on the issuer or investors having to update transaction details or totals. This also opens up a potential path for the development of custom interpretation engines or smart contract support to be added incrementally over time.\n  - Example: To approve a transfer of tokens from investor1 to investor2, the compliance manager is not required to update the chain with the total number of held tokens by each, but rather only show the number of tokens that were added or removed from their relative balances.\n\n### Contributing\n\nThis proposal is in active development, and is likely to change frequently with feedback from the community. We hope that this repository and the associated schemas serve as an inspiration for others to improve this specification moving forward.\n\n```javascript\n// Run tests on code change\nnpm run test -- --watchAll\n```\n","readmeFilename":"README.md"}