.gitpod.yml
README.md
babel.config.js
contract
    Cargo.toml
    README.md
    build.sh
    compile.js
    src
        approval.rs
        enumeration.rs
        internal.rs
        lib.rs
        metadata.rs
        mint.rs
        nft_core.rs
        royalty.rs
    target
        .rustc_info.json
        debug
            .fingerprint
                Inflector-06148d2c304186ff
                    lib-inflector.json
                Inflector-4abb4462752984fb
                    lib-inflector.json
                ahash-1c17abfbf0b702c3
                    lib-ahash.json
                ahash-bcad2413ec9ad00c
                    lib-ahash.json
                aho-corasick-3fdcfa1f4e3e2f3a
                    lib-aho_corasick.json
                autocfg-64f397a6692f938f
                    lib-autocfg.json
                autocfg-f3b46e2e527130d4
                    lib-autocfg.json
                base64-a983726e8941ec52
                    lib-base64.json
                block-buffer-0ff4cbf5c32a137a
                    lib-block-buffer.json
                block-padding-f4cb3902cc767110
                    lib-block-padding.json
                borsh-7c9e9421f8ad31c5
                    lib-borsh.json
                borsh-derive-72143ef8115d42d5
                    lib-borsh-derive.json
                borsh-derive-dad6ff6ee1c2d4c6
                    lib-borsh-derive.json
                borsh-derive-internal-2ef908e8480c0c04
                    lib-borsh-derive-internal.json
                borsh-derive-internal-bcc3331bad496144
                    lib-borsh-derive-internal.json
                borsh-schema-derive-internal-7cdf0018bdcdcf5f
                    lib-borsh-schema-derive-internal.json
                borsh-schema-derive-internal-cf2c29ddb584475f
                    lib-borsh-schema-derive-internal.json
                bs58-97cf2055a3610592
                    lib-bs58.json
                byteorder-80a4e1eadc441aa9
                    lib-byteorder.json
                cfg-if-5ddddbabf5c3eba1
                    lib-cfg-if.json
                cfg-if-613c44da7bb11f95
                    lib-cfg-if.json
                cpuid-bool-2ca3e2920b80cd9e
                    lib-cpuid-bool.json
                derive_more-1745a1586169b6af
                    lib-derive_more.json
                derive_more-9135bc109f25bf60
                    lib-derive_more.json
                digest-4f85379fe79877f0
                    lib-digest.json
                generic-array-41fb1267c3c45840
                    lib-generic_array.json
                generic-array-9e5649d0713e2d93
                    build-script-build-script-build.json
                generic-array-a1a3c6a0f62e9ddf
                    run-build-script-build-script-build.json
                generic-array-f32539528af82669
                    build-script-build-script-build.json
                hashbrown-3d854870c00794ef
                    lib-hashbrown.json
                hashbrown-c58fbd289bd71af2
                    lib-hashbrown.json
                hex-14016c85ce952313
                    lib-hex.json
                indexmap-047637d7eb5f4371
                    lib-indexmap.json
                indexmap-7cafadaf7d78f279
                    build-script-build-script-build.json
                indexmap-89b06743256ff39a
                    run-build-script-build-script-build.json
                indexmap-acdf03cf66019190
                    lib-indexmap.json
                indexmap-c5002de4894d398f
                    run-build-script-build-script-build.json
                indexmap-ee09f8c76ee30355
                    build-script-build-script-build.json
                itoa-219a31c37272525d
                    lib-itoa.json
                itoa-41419b2d2541c4e2
                    lib-itoa.json
                keccak-cbea1ff283a98795
                    lib-keccak.json
                lazy_static-41f0f85adf52479b
                    lib-lazy_static.json
                libc-148a7bce0fa0fb7b
                    run-build-script-build-script-build.json
                libc-530a77fd5ec1e5c5
                    lib-libc.json
                libc-e53a2b11c49b67bc
                    build-script-build-script-build.json
                memchr-0dcb529d73611a51
                    build-script-build-script-build.json
                memchr-9f0dca5c236eaa3c
                    run-build-script-build-script-build.json
                memchr-c5ec7b2c5b22e550
                    lib-memchr.json
                memchr-d172e178d0380546
                    build-script-build-script-build.json
                memory_units-591c2963efd4a25d
                    lib-memory_units.json
                near-primitives-core-0a472b435516805f
                    lib-near-primitives-core.json
                near-rpc-error-core-670527e412817919
                    lib-near-rpc-error-core.json
                near-rpc-error-core-b2bd0771bf60a93f
                    lib-near-rpc-error-core.json
                near-rpc-error-macro-6abeeaa77d2f18b2
                    lib-near-rpc-error-macro.json
                near-rpc-error-macro-7a14a22fd258e845
                    lib-near-rpc-error-macro.json
                near-runtime-utils-85dca72dd1163b4b
                    lib-near-runtime-utils.json
                near-sdk-7ab30d31acca0274
                    lib-near-sdk.json
                near-sdk-core-3c86440c8e80c4e7
                    lib-near-sdk-core.json
                near-sdk-core-beb51b4969a713cb
                    lib-near-sdk-core.json
                near-sdk-macros-3c3b3de906d0b643
                    lib-near-sdk-macros.json
                near-sdk-macros-4acca8e4ecf0aec7
                    lib-near-sdk-macros.json
                near-vm-errors-9e45deef4761c333
                    lib-near-vm-errors.json
                near-vm-logic-33d588441bc5a10b
                    lib-near-vm-logic.json
                nft_simple-0a4ee16dd9cf8de9
                    test-lib-nft_simple.json
                nft_simple-322841616f66c026
                    lib-nft_simple.json
                num-bigint-73b5e63759d61ee9
                    build-script-build-script-build.json
                num-bigint-96d2b8935e7a7a4d
                    build-script-build-script-build.json
                num-bigint-a5204f3d748f4cf3
                    lib-num-bigint.json
                num-bigint-a9df2309dcbbe894
                    run-build-script-build-script-build.json
                num-integer-5a79c65d288748ff
                    build-script-build-script-build.json
                num-integer-86342a90829a401b
                    build-script-build-script-build.json
                num-integer-d3abb28762d7e420
                    lib-num-integer.json
                num-integer-eac8639d26e7cd85
                    run-build-script-build-script-build.json
                num-rational-9de26fd2dd4c5b03
                    build-script-build-script-build.json
                num-rational-b6c19ff7577aad1c
                    build-script-build-script-build.json
                num-rational-c61c53fdcd94cd38
                    run-build-script-build-script-build.json
                num-rational-f7a5c6dcff7b272e
                    lib-num-rational.json
                num-traits-624a6fb99a9443b0
                    build-script-build-script-build.json
                num-traits-bb06ab215d8a7b67
                    build-script-build-script-build.json
                num-traits-f1e83c81c2ff1ad5
                    lib-num-traits.json
                num-traits-f2f3beb85afcb183
                    run-build-script-build-script-build.json
                once_cell-9ee9c3543adfc5e0
                    lib-once_cell.json
                opaque-debug-049adf4a1adb9f02
                    lib-opaque-debug.json
                proc-macro-crate-06ea9e4008caba13
                    lib-proc-macro-crate.json
                proc-macro-crate-bb4fca651158338d
                    lib-proc-macro-crate.json
                proc-macro2-2c6a23d60ccd7f4e
                    run-build-script-build-script-build.json
                proc-macro2-2fada48822a17628
                    build-script-build-script-build.json
                proc-macro2-7fc0d891a3102dbd
                    run-build-script-build-script-build.json
                proc-macro2-8b5af9d397ead18a
                    build-script-build-script-build.json
                proc-macro2-8bf22a28dd603d8c
                    lib-proc-macro2.json
                proc-macro2-f16c80a3d465cb48
                    lib-proc-macro2.json
                quote-2e48e542eccd180d
                    lib-quote.json
                quote-5a2309f0ce818193
                    lib-quote.json
                regex-e9e6b9883b9bfda0
                    lib-regex.json
                regex-syntax-e44298668f766e38
                    lib-regex-syntax.json
                ryu-5a7f81b9b01c9286
                    lib-ryu.json
                ryu-6e495802e0dca2f8
                    lib-ryu.json
                ryu-8b1f09697f8c017e
                    run-build-script-build-script-build.json
                ryu-925eb7fa97cd33ae
                    run-build-script-build-script-build.json
                ryu-dbc3a66ea4f76593
                    build-script-build-script-build.json
                ryu-e40bb65242e3578d
                    build-script-build-script-build.json
                serde-01f301293599fe6a
                    lib-serde.json
                serde-0368b42a8acd2788
                    build-script-build-script-build.json
                serde-2f90d953cb65b67a
                    run-build-script-build-script-build.json
                serde-6434c5f31376b47d
                    run-build-script-build-script-build.json
                serde-7a35eca62f79e52d
                    build-script-build-script-build.json
                serde-f1f40aa5ec432555
                    lib-serde.json
                serde_derive-00af5bb3c7d2bdc2
                    lib-serde_derive.json
                serde_derive-44677aba9e0165d8
                    lib-serde_derive.json
                serde_derive-a1c037900a33ee65
                    build-script-build-script-build.json
                serde_derive-aa90e49a86c821c6
                    run-build-script-build-script-build.json
                serde_derive-e12e2bde5cedd064
                    build-script-build-script-build.json
                serde_derive-f9598176865ce7fc
                    run-build-script-build-script-build.json
                serde_json-2e55653c111d50d2
                    run-build-script-build-script-build.json
                serde_json-4034eaa8710db00f
                    build-script-build-script-build.json
                serde_json-79a9074a50d70089
                    run-build-script-build-script-build.json
                serde_json-9bffcea7e06cfbb2
                    lib-serde_json.json
                serde_json-b8afcbdbad7b8ca3
                    build-script-build-script-build.json
                serde_json-c57d8c072cbe3d42
                    lib-serde_json.json
                sha2-95f6b55780a46259
                    lib-sha2.json
                sha3-db7d6aef8f81016d
                    lib-sha3.json
                syn-4d72f68efd5c7071
                    run-build-script-build-script-build.json
                syn-7ef1875cd5364c26
                    build-script-build-script-build.json
                syn-826454db9fb54506
                    lib-syn.json
                syn-8355c825da72f633
                    run-build-script-build-script-build.json
                syn-e2d715caac2b17e8
                    lib-syn.json
                syn-ebf209806d57e738
                    build-script-build-script-build.json
                thread_local-d1dbfe96f2209dba
                    lib-thread_local.json
                toml-0e79c15f8a364238
                    lib-toml.json
                toml-f9eef3dc4c723062
                    lib-toml.json
                typenum-7b4d24d4a96154b9
                    lib-typenum.json
                typenum-82b9447c219d6833
                    build-script-build-script-main.json
                typenum-953d2dc8fd285aba
                    build-script-build-script-main.json
                typenum-d7bb8ece65951d8b
                    run-build-script-build-script-main.json
                unicode-xid-e840ec3af59faad0
                    lib-unicode-xid.json
                unicode-xid-fb6d37763bf8ceac
                    lib-unicode-xid.json
                version_check-8d4f6cc220b8064a
                    lib-version_check.json
                version_check-ba3081c26b883990
                    lib-version_check.json
                wee_alloc-340b5b8b107c691c
                    build-script-build-script-build.json
                wee_alloc-56d24b26c3f4ff71
                    build-script-build-script-build.json
                wee_alloc-68e4859245328cee
                    run-build-script-build-script-build.json
                wee_alloc-80f7f27621852060
                    lib-wee_alloc.json
            build
                num-bigint-a9df2309dcbbe894
                    out
                        radix_bases.rs
                typenum-d7bb8ece65951d8b
                    out
                        consts.rs
                        op.rs
                        tests.rs
                wee_alloc-68e4859245328cee
                    out
                        wee_alloc_static_array_backend_size_bytes.txt
        release
            .fingerprint
                Inflector-47325bbc0fd92d22
                    lib-inflector.json
                Inflector-bc1381d6c55347d3
                    lib-inflector.json
                ahash-8616850a272795d0
                    lib-ahash.json
                ahash-e2d3fd6c7fc0de35
                    lib-ahash.json
                autocfg-aa0b09c16e9d94c0
                    lib-autocfg.json
                autocfg-b630d04d1bf00e64
                    lib-autocfg.json
                borsh-derive-b167df75889b62cd
                    lib-borsh-derive.json
                borsh-derive-fddb3db8fa7a79c0
                    lib-borsh-derive.json
                borsh-derive-internal-1a0fb70563b024c3
                    lib-borsh-derive-internal.json
                borsh-derive-internal-3e1977c7dae8fc32
                    lib-borsh-derive-internal.json
                borsh-schema-derive-internal-b53c411f4f5c8710
                    lib-borsh-schema-derive-internal.json
                borsh-schema-derive-internal-bb4762e82d9cb1ee
                    lib-borsh-schema-derive-internal.json
                derive_more-8392488f9e4b238c
                    lib-derive_more.json
                derive_more-a3736367d314063f
                    lib-derive_more.json
                generic-array-9fe21b63c8bee14e
                    build-script-build-script-build.json
                generic-array-c882a88088773f4d
                    build-script-build-script-build.json
                hashbrown-0a6ead16d5c517e5
                    lib-hashbrown.json
                hashbrown-1fff5a9c1eca8f80
                    lib-hashbrown.json
                indexmap-4ee36bcea62add79
                    run-build-script-build-script-build.json
                indexmap-7c81e993e3ec2ddd
                    run-build-script-build-script-build.json
                indexmap-a327c09acd7dd5cb
                    lib-indexmap.json
                indexmap-adee5daa7d9bbe31
                    lib-indexmap.json
                indexmap-c616a93aa41f13e5
                    build-script-build-script-build.json
                indexmap-fef53e61e9417669
                    build-script-build-script-build.json
                itoa-98a4e3f7e5f81c17
                    lib-itoa.json
                itoa-b67e4c98186e85d8
                    lib-itoa.json
                memchr-5eb4b509081b7003
                    build-script-build-script-build.json
                memchr-fca5cfeae7fb0fa9
                    build-script-build-script-build.json
                near-rpc-error-core-7a72bb34ef5c44fd
                    lib-near-rpc-error-core.json
                near-rpc-error-core-e842e16f0d3fdcf2
                    lib-near-rpc-error-core.json
                near-rpc-error-macro-30636768dbe3da20
                    lib-near-rpc-error-macro.json
                near-rpc-error-macro-84961cfb334ea1b4
                    lib-near-rpc-error-macro.json
                near-sdk-core-2c7da95e43931695
                    lib-near-sdk-core.json
                near-sdk-core-9b773531a77418d7
                    lib-near-sdk-core.json
                near-sdk-macros-86340979b94b2bde
                    lib-near-sdk-macros.json
                near-sdk-macros-dd3f0e1fad6102aa
                    lib-near-sdk-macros.json
                num-bigint-38e74a0c53d13a98
                    build-script-build-script-build.json
                num-bigint-3bdba7b0d72c1bc4
                    build-script-build-script-build.json
                num-integer-e406db04dd8fdbb4
                    build-script-build-script-build.json
                num-integer-eed4cc7df8146a62
                    build-script-build-script-build.json
                num-rational-b5b2c74dc243d8a7
                    build-script-build-script-build.json
                num-rational-b9f4b375de719a04
                    build-script-build-script-build.json
                num-traits-a63048d311119c85
                    build-script-build-script-build.json
                num-traits-aa60644e3f1727e2
                    build-script-build-script-build.json
                proc-macro-crate-1d0e7d23337960d3
                    lib-proc-macro-crate.json
                proc-macro-crate-fbdeb5510a26f290
                    lib-proc-macro-crate.json
                proc-macro2-1157c790029c448d
                    run-build-script-build-script-build.json
                proc-macro2-5ed730caecf1c973
                    build-script-build-script-build.json
                proc-macro2-baa0386d75760aec
                    lib-proc-macro2.json
                proc-macro2-bc108ddc22f9a4e3
                    build-script-build-script-build.json
                proc-macro2-d293cb64287b99a5
                    run-build-script-build-script-build.json
                proc-macro2-e2de3cc4aa056f57
                    lib-proc-macro2.json
                quote-35c3a4952152d755
                    lib-quote.json
                quote-5ad1683b22871746
                    lib-quote.json
                ryu-021700068b168469
                    lib-ryu.json
                ryu-085ae0a45821cb37
                    build-script-build-script-build.json
                ryu-690eed39f961a1bc
                    run-build-script-build-script-build.json
                ryu-70f196535d318cc4
                    run-build-script-build-script-build.json
                ryu-7d8c8d9fad8abbd4
                    lib-ryu.json
                ryu-cad82c2357f6dacd
                    build-script-build-script-build.json
                serde-1900c9bf18b1844e
                    lib-serde.json
                serde-354a6d6c4ab3a714
                    build-script-build-script-build.json
                serde-8ea9ed34b7382c62
                    build-script-build-script-build.json
                serde-d615bceed9962712
                    lib-serde.json
                serde-e0d3f84363003663
                    run-build-script-build-script-build.json
                serde-e8ed40714181d636
                    run-build-script-build-script-build.json
                serde_derive-271ecb2f91d60efb
                    build-script-build-script-build.json
                serde_derive-4fb3cdf51502e3c0
                    run-build-script-build-script-build.json
                serde_derive-6527443bda4f5d71
                    lib-serde_derive.json
                serde_derive-a0c2d8ff5d498633
                    run-build-script-build-script-build.json
                serde_derive-da84bea42ca1c9bb
                    lib-serde_derive.json
                serde_derive-f02a3675a3bbbc95
                    build-script-build-script-build.json
                serde_json-5363febf08f51270
                    lib-serde_json.json
                serde_json-6b7891a43c11ecc0
                    run-build-script-build-script-build.json
                serde_json-6cbd238a774db7f7
                    run-build-script-build-script-build.json
                serde_json-90fbd091363f84f6
                    lib-serde_json.json
                serde_json-a9b146fa3a78ea48
                    build-script-build-script-build.json
                serde_json-e74105404f86d3a8
                    build-script-build-script-build.json
                syn-37f1f94c8752fd42
                    run-build-script-build-script-build.json
                syn-416fda134dc868c6
                    build-script-build-script-build.json
                syn-7bcad57cc1f283a2
                    lib-syn.json
                syn-969b1feeaf3c759a
                    lib-syn.json
                syn-a48e944b51c107d3
                    build-script-build-script-build.json
                syn-fa7c4834ff53021b
                    run-build-script-build-script-build.json
                toml-f52b17444a84c073
                    lib-toml.json
                toml-f8b73cfc0a540d0c
                    lib-toml.json
                typenum-51f640b077dba63d
                    build-script-build-script-main.json
                typenum-69a9c06de13af134
                    build-script-build-script-main.json
                unicode-xid-bb80b6411412ccf3
                    lib-unicode-xid.json
                unicode-xid-df4e0bfcf4790a63
                    lib-unicode-xid.json
                version_check-2a14ba9285885666
                    lib-version_check.json
                version_check-8fa8ec62526095a2
                    lib-version_check.json
                wee_alloc-bfbb50b9833bcb0b
                    build-script-build-script-build.json
                wee_alloc-f2f0f4dce1b3b6e1
                    build-script-build-script-build.json
        wasm32-unknown-unknown
            debug
                .fingerprint
                    ahash-8a394d8d9685b366
                        lib-ahash.json
                    ahash-d5743e3bf2752666
                        lib-ahash.json
                    aho-corasick-2c979cf76cafdb66
                        lib-aho_corasick.json
                    aho-corasick-483a9f7bc9378456
                        lib-aho_corasick.json
                    base64-16948a8d617392fc
                        lib-base64.json
                    base64-751e02a6803d39e9
                        lib-base64.json
                    block-buffer-63d590f7f3e35317
                        lib-block-buffer.json
                    block-buffer-d2df5de492bac8d9
                        lib-block-buffer.json
                    block-padding-8ea584ef145a47fe
                        lib-block-padding.json
                    block-padding-b475a20d4ee69ea5
                        lib-block-padding.json
                    borsh-7df7696b09371cd5
                        lib-borsh.json
                    borsh-9419081c638e4db7
                        lib-borsh.json
                    bs58-a6029119cf8e19b6
                        lib-bs58.json
                    bs58-ab01f27769b45f0f
                        lib-bs58.json
                    byteorder-68f7a521b6d0081d
                        lib-byteorder.json
                    byteorder-a9dde1d8a9238a56
                        lib-byteorder.json
                    cfg-if-10b30cdd8ee72c3a
                        lib-cfg-if.json
                    cfg-if-3273d8d291d4694c
                        lib-cfg-if.json
                    cfg-if-493fca5176c3ec4e
                        lib-cfg-if.json
                    cfg-if-73b98624ae7962d5
                        lib-cfg-if.json
                    digest-a17e7393f20062ac
                        lib-digest.json
                    digest-e67a9f960674c80f
                        lib-digest.json
                    generic-array-4ea6d3dc4d175f61
                        run-build-script-build-script-build.json
                    generic-array-7e17723b122e82a1
                        run-build-script-build-script-build.json
                    generic-array-86a31c829baca6c4
                        lib-generic_array.json
                    generic-array-a1518f87b1e75709
                        lib-generic_array.json
                    hashbrown-bbac5993c1b8861b
                        lib-hashbrown.json
                    hashbrown-dc2558c4889b8235
                        lib-hashbrown.json
                    hex-1bf5369483af3f88
                        lib-hex.json
                    hex-b1410aef20e9f1c4
                        lib-hex.json
                    indexmap-36a24cba0c5fe51d
                        run-build-script-build-script-build.json
                    indexmap-93fbf62d01c4083e
                        lib-indexmap.json
                    indexmap-bc9046a776e9d3cc
                        lib-indexmap.json
                    indexmap-e559e2fc570e9d77
                        run-build-script-build-script-build.json
                    itoa-aa4c5e95e9cf9c74
                        lib-itoa.json
                    itoa-c6f6ab7a608873a0
                        lib-itoa.json
                    keccak-00d467683040643f
                        lib-keccak.json
                    keccak-1923d0f80e96c8b2
                        lib-keccak.json
                    lazy_static-01e816bb544200b2
                        lib-lazy_static.json
                    lazy_static-a4c2e1c5c77171c4
                        lib-lazy_static.json
                    memchr-5ccbcb6b36708463
                        lib-memchr.json
                    memchr-91b522f39629515c
                        run-build-script-build-script-build.json
                    memchr-b6bccb00cce1faf7
                        lib-memchr.json
                    memchr-efef09016306df71
                        run-build-script-build-script-build.json
                    memory_units-6c8c1ba0d2e625ff
                        lib-memory_units.json
                    memory_units-eca18f7170267cc6
                        lib-memory_units.json
                    near-primitives-core-9120f1f69b80f6f4
                        lib-near-primitives-core.json
                    near-primitives-core-ba3ec6bf58ac0a4a
                        lib-near-primitives-core.json
                    near-runtime-utils-bc37c8c7c77d4b11
                        lib-near-runtime-utils.json
                    near-runtime-utils-dfbac6f7dd1bb592
                        lib-near-runtime-utils.json
                    near-sdk-13291a0acceb22d8
                        lib-near-sdk.json
                    near-sdk-9647f1915c4a1528
                        lib-near-sdk.json
                    near-vm-errors-b1897ab0cbfc781b
                        lib-near-vm-errors.json
                    near-vm-errors-d6c576da44f472d6
                        lib-near-vm-errors.json
                    near-vm-logic-391b65ea6e32cf21
                        lib-near-vm-logic.json
                    near-vm-logic-cfe7f0c53bc3ee66
                        lib-near-vm-logic.json
                    nft_simple-322841616f66c026
                        lib-nft_simple.json
                    num-bigint-0d9aad6ae2132ac1
                        run-build-script-build-script-build.json
                    num-bigint-22af1c0a513f8273
                        lib-num-bigint.json
                    num-bigint-3f5b7c1800c1a9d4
                        lib-num-bigint.json
                    num-bigint-80bfc0aa1498ae1a
                        run-build-script-build-script-build.json
                    num-integer-2e8b7b8c74413b4c
                        lib-num-integer.json
                    num-integer-786fe2d492227ef3
                        run-build-script-build-script-build.json
                    num-integer-7a10d76b037ce315
                        lib-num-integer.json
                    num-integer-7c1c230a0ddf9eaf
                        run-build-script-build-script-build.json
                    num-rational-02477f7b26397be3
                        run-build-script-build-script-build.json
                    num-rational-4b3bb94f94c98823
                        lib-num-rational.json
                    num-rational-6a0a2ff0206d7b8e
                        lib-num-rational.json
                    num-rational-dc0144290c45ef2d
                        run-build-script-build-script-build.json
                    num-traits-25fc271cf2f67c71
                        lib-num-traits.json
                    num-traits-5433d68603d7ccf5
                        run-build-script-build-script-build.json
                    num-traits-abc33c9c4e3e194a
                        lib-num-traits.json
                    num-traits-ca578983e91fe2e4
                        run-build-script-build-script-build.json
                    once_cell-069a4e38ca6b5e6d
                        lib-once_cell.json
                    once_cell-6f693468b202a6b7
                        lib-once_cell.json
                    opaque-debug-109ee7c6b11cd7f3
                        lib-opaque-debug.json
                    opaque-debug-40e71e3d1cd3d500
                        lib-opaque-debug.json
                    regex-2aeb9931a363e7fe
                        lib-regex.json
                    regex-456ffa93d9b40d73
                        lib-regex.json
                    regex-syntax-355af87715bc2bf8
                        lib-regex-syntax.json
                    regex-syntax-808dfa3cbd15c3c2
                        lib-regex-syntax.json
                    ryu-041695aba4fdaa0d
                        run-build-script-build-script-build.json
                    ryu-1e98f7b84b8c8254
                        lib-ryu.json
                    ryu-5b844f2c419618e9
                        lib-ryu.json
                    ryu-81c9ac9b90bf76b4
                        run-build-script-build-script-build.json
                    serde-5b0c69d6333d8fdc
                        lib-serde.json
                    serde-8c32ec7664fdfff9
                        run-build-script-build-script-build.json
                    serde-8f665936f4b62967
                        lib-serde.json
                    serde-a37053a903794c1d
                        run-build-script-build-script-build.json
                    serde_json-2354b90ec26a2d10
                        lib-serde_json.json
                    serde_json-39b8dfb0b0fc9102
                        run-build-script-build-script-build.json
                    serde_json-71f276c824bcaa95
                        lib-serde_json.json
                    serde_json-e6dcce59cf39c35b
                        run-build-script-build-script-build.json
                    sha2-8129592dcc434740
                        lib-sha2.json
                    sha2-da4bd63837be9053
                        lib-sha2.json
                    sha3-1fa88350ad7fb11a
                        lib-sha3.json
                    sha3-66d06f468e495959
                        lib-sha3.json
                    thread_local-205d2d4c119146e2
                        lib-thread_local.json
                    thread_local-630b08a0cd1e54b0
                        lib-thread_local.json
                    typenum-2cf134044b24c4a8
                        lib-typenum.json
                    typenum-332c243a6b371734
                        lib-typenum.json
                    typenum-857f4fb0f712b24f
                        run-build-script-build-script-main.json
                    typenum-e850512b0eed675b
                        run-build-script-build-script-main.json
                    wee_alloc-0dfc5acaaf964c6d
                        lib-wee_alloc.json
                    wee_alloc-0e4c95ab84521c02
                        lib-wee_alloc.json
                    wee_alloc-c9f983d37ef7991f
                        run-build-script-build-script-build.json
                    wee_alloc-da109d75bf09910e
                        run-build-script-build-script-build.json
                build
                    num-bigint-0d9aad6ae2132ac1
                        out
                            radix_bases.rs
                    num-bigint-80bfc0aa1498ae1a
                        out
                            radix_bases.rs
                    typenum-857f4fb0f712b24f
                        out
                            consts.rs
                            op.rs
                            tests.rs
                    typenum-e850512b0eed675b
                        out
                            consts.rs
                            op.rs
                            tests.rs
                    wee_alloc-c9f983d37ef7991f
                        out
                            wee_alloc_static_array_backend_size_bytes.txt
                    wee_alloc-da109d75bf09910e
                        out
                            wee_alloc_static_array_backend_size_bytes.txt
            release
                .fingerprint
                    ahash-068eaca494bbb38b
                        lib-ahash.json
                    ahash-44ce9f4f02fcc9de
                        lib-ahash.json
                    aho-corasick-3936d08b58e79253
                        lib-aho_corasick.json
                    aho-corasick-43c06c322ac60718
                        lib-aho_corasick.json
                    base64-9b13049f1ec77b14
                        lib-base64.json
                    base64-e722b1c9a362fee8
                        lib-base64.json
                    block-buffer-45b7e59a07a4cdd8
                        lib-block-buffer.json
                    block-buffer-ddf4a4ade052c296
                        lib-block-buffer.json
                    block-padding-761ca4c4449fcaf0
                        lib-block-padding.json
                    block-padding-e3832a64698d1d75
                        lib-block-padding.json
                    borsh-28d096dc4264033e
                        lib-borsh.json
                    borsh-d1b1ee2ce0291d75
                        lib-borsh.json
                    bs58-de3863388a7d7f88
                        lib-bs58.json
                    bs58-f74cd0e935fc8176
                        lib-bs58.json
                    byteorder-42cf92a00e34d00c
                        lib-byteorder.json
                    byteorder-668c5cbbe7fa1708
                        lib-byteorder.json
                    cfg-if-1b2bb3884756c43e
                        lib-cfg-if.json
                    cfg-if-22d82b2c4eabb68f
                        lib-cfg-if.json
                    cfg-if-af1d6acd631a5f27
                        lib-cfg-if.json
                    cfg-if-b145055effaaf655
                        lib-cfg-if.json
                    digest-8a5d8d4810fb9412
                        lib-digest.json
                    digest-fb72ad15279d0382
                        lib-digest.json
                    generic-array-2ea85f5661e25f4f
                        lib-generic_array.json
                    generic-array-5a4293ba16e49abc
                        run-build-script-build-script-build.json
                    generic-array-bfb05f3a31b6cd36
                        run-build-script-build-script-build.json
                    generic-array-c7baf9398ded2d7c
                        lib-generic_array.json
                    hashbrown-8e8d967e785f728e
                        lib-hashbrown.json
                    hashbrown-eeeec20fcd7e1672
                        lib-hashbrown.json
                    hex-7d941208c895b542
                        lib-hex.json
                    hex-aa8bf4ca6795aec4
                        lib-hex.json
                    indexmap-1aec0580a18db980
                        lib-indexmap.json
                    indexmap-46368f6863a6068c
                        run-build-script-build-script-build.json
                    indexmap-9a68b58f52730f8b
                        lib-indexmap.json
                    indexmap-dda5eba4135cd289
                        run-build-script-build-script-build.json
                    itoa-1159c0cddf2749e9
                        lib-itoa.json
                    itoa-231b08a1832fb498
                        lib-itoa.json
                    keccak-1e918539bbf517ad
                        lib-keccak.json
                    keccak-738dbd155339d2dd
                        lib-keccak.json
                    lazy_static-0daeaa0f0be95557
                        lib-lazy_static.json
                    lazy_static-ad88cb3ecd6944d1
                        lib-lazy_static.json
                    memchr-90e9887f8c0a8b1c
                        run-build-script-build-script-build.json
                    memchr-b377c4e592d77420
                        run-build-script-build-script-build.json
                    memchr-df09173109855c07
                        lib-memchr.json
                    memchr-e85213d1043f44ab
                        lib-memchr.json
                    memory_units-70d9b75db7e82cd5
                        lib-memory_units.json
                    memory_units-ead8a75859669555
                        lib-memory_units.json
                    near-primitives-core-5e43e81fdbe0b6bd
                        lib-near-primitives-core.json
                    near-primitives-core-c415dab7e9f82fca
                        lib-near-primitives-core.json
                    near-runtime-utils-253f021fff28ec53
                        lib-near-runtime-utils.json
                    near-runtime-utils-c843e492664d266e
                        lib-near-runtime-utils.json
                    near-sdk-7638eeec9ac1a90f
                        lib-near-sdk.json
                    near-sdk-d332055c367b93a5
                        lib-near-sdk.json
                    near-vm-errors-3ef8df55142fdd68
                        lib-near-vm-errors.json
                    near-vm-errors-874f7fb9723228b6
                        lib-near-vm-errors.json
                    near-vm-logic-80aa5b63c4bfd3bc
                        lib-near-vm-logic.json
                    near-vm-logic-ff50870475963490
                        lib-near-vm-logic.json
                    nft_simple-322841616f66c026
                        lib-nft_simple.json
                    num-bigint-0cac1e6baea3b498
                        run-build-script-build-script-build.json
                    num-bigint-1a7e1a893f30fd7c
                        lib-num-bigint.json
                    num-bigint-f13b51ae6c0ef54c
                        lib-num-bigint.json
                    num-bigint-f5b2108bdf731b45
                        run-build-script-build-script-build.json
                    num-integer-1f42743fd5185075
                        run-build-script-build-script-build.json
                    num-integer-3acdda1850241daa
                        lib-num-integer.json
                    num-integer-4d8ed5d03dd1fe55
                        lib-num-integer.json
                    num-integer-750f12ac01678f48
                        run-build-script-build-script-build.json
                    num-rational-3ac0af73acc85475
                        run-build-script-build-script-build.json
                    num-rational-64a0f9a5f1754f68
                        lib-num-rational.json
                    num-rational-9fc0735e07acd3ed
                        run-build-script-build-script-build.json
                    num-rational-d117854a14bc2c72
                        lib-num-rational.json
                    num-traits-364b394502b4aecc
                        run-build-script-build-script-build.json
                    num-traits-cbf5bd371181b54a
                        lib-num-traits.json
                    num-traits-ed249b0b6f2a36a9
                        run-build-script-build-script-build.json
                    num-traits-f2844e21a23b389e
                        lib-num-traits.json
                    once_cell-099b50f5b4c2d9d5
                        lib-once_cell.json
                    once_cell-b0e539bbc2a965d0
                        lib-once_cell.json
                    opaque-debug-1c7a384413db6e89
                        lib-opaque-debug.json
                    opaque-debug-d8741214d7dffd93
                        lib-opaque-debug.json
                    regex-15bd7c7e3c4ec671
                        lib-regex.json
                    regex-1a69727e6107b23b
                        lib-regex.json
                    regex-syntax-0fd8897d2696d285
                        lib-regex-syntax.json
                    regex-syntax-6ab13f96b6081785
                        lib-regex-syntax.json
                    ryu-2c21486dc485d98e
                        run-build-script-build-script-build.json
                    ryu-5f25239d7cc43003
                        lib-ryu.json
                    ryu-91b531878db9db4a
                        run-build-script-build-script-build.json
                    ryu-e7e3a595a285a29d
                        lib-ryu.json
                    serde-0ccfb5e817e1df34
                        run-build-script-build-script-build.json
                    serde-ac6b6a0f4c76fdc3
                        run-build-script-build-script-build.json
                    serde-df626cc6eb20f8f0
                        lib-serde.json
                    serde-f325c07ed761af93
                        lib-serde.json
                    serde_json-15eca16c5c29e261
                        lib-serde_json.json
                    serde_json-66ca336063f5a589
                        lib-serde_json.json
                    serde_json-a2b2f0004d075965
                        run-build-script-build-script-build.json
                    serde_json-e9509059f67e176d
                        run-build-script-build-script-build.json
                    sha2-6c0057db079f4f06
                        lib-sha2.json
                    sha2-885088a0f255aa46
                        lib-sha2.json
                    sha3-a147afeefd915cec
                        lib-sha3.json
                    sha3-f6e30ad4980d78b9
                        lib-sha3.json
                    thread_local-129dc52ca7cf80c0
                        lib-thread_local.json
                    thread_local-50fa332ae71ae73e
                        lib-thread_local.json
                    typenum-4a4ef5553b9187ce
                        lib-typenum.json
                    typenum-688ea293dea92634
                        lib-typenum.json
                    typenum-72517420b184440e
                        run-build-script-build-script-main.json
                    typenum-dcc089a3467441e6
                        run-build-script-build-script-main.json
                    wee_alloc-0fe291e115286e64
                        lib-wee_alloc.json
                    wee_alloc-38b53a2b5aa21828
                        run-build-script-build-script-build.json
                    wee_alloc-68cf2e26dab1f9da
                        run-build-script-build-script-build.json
                    wee_alloc-741f7b74a7bac76f
                        lib-wee_alloc.json
                build
                    num-bigint-0cac1e6baea3b498
                        out
                            radix_bases.rs
                    num-bigint-f5b2108bdf731b45
                        out
                            radix_bases.rs
                    typenum-72517420b184440e
                        out
                            consts.rs
                            op.rs
                            tests.rs
                    typenum-dcc089a3467441e6
                        out
                            consts.rs
                            op.rs
                            tests.rs
                    wee_alloc-38b53a2b5aa21828
                        out
                            wee_alloc_static_array_backend_size_bytes.txt
                    wee_alloc-68cf2e26dab1f9da
                        out
                            wee_alloc_static_array_backend_size_bytes.txt
package.json
src
    App.js
    __mocks__
        fileMock.js
    assets
        logo-black.svg
        logo-white.svg
    config.js
    global.css
    index.html
    index.js
    jest.init.js
    main.test.js
    utils.js
    wallet
        login
            index.html

near-challenge-5
==================

This [React] app was initialized with [create-near-app]

Quick Start
===========

To run this project locally:

1. Prerequisites: Make sure you've installed [Node.js] ≥ 12
2. Install dependencies: `yarn install`
3. Run the local development server: `yarn dev` (see `package.json` for a
   full list of `scripts` you can run with `yarn`)

Now you'll have a local development environment backed by the NEAR TestNet!

Go ahead and play with the app and the code. As you make code changes, the app will automatically reload.

Exploring The Code
==================

1. The "backend" code lives in the `/contract` folder. See the README there for
   more info.
2. The frontend code lives in the `/src` folder. `/src/index.html` is a great
   place to start exploring. Note that it loads in `/src/index.js`, where you
   can learn how the frontend connects to the NEAR blockchain.
3. Tests: there are different kinds of tests for the frontend and the smart
   contract. See `contract/README` for info about how it's tested. The frontend
   code gets tested with [jest]. You can run both of these at once with `yarn
   run test`.

Deploy
======

Every smart contract in NEAR has its [own associated account][NEAR accounts]. When you run `yarn dev`, your smart contract gets deployed to the live NEAR TestNet with a throwaway account. When you're ready to make it permanent, here's how.

Step 0: Install near-cli (optional)
-------------------------------------

[near-cli] is a command line interface (CLI) for interacting with the NEAR blockchain. It was installed to the local `node_modules` folder when you ran `yarn install`, but for best ergonomics you may want to install it globally:

    yarn install --global near-cli

Or, if you'd rather use the locally-installed version, you can prefix all `near` commands with `npx`

Ensure that it's installed with `near --version` (or `npx near --version`)

Step 1: Create an account for the contract
------------------------------------------

Each account on NEAR can have at most one contract deployed to it. If you've already created an account such as `your-name.testnet`, you can deploy your contract to `near-challenge-5.your-name.testnet`. Assuming you've already created an account on [NEAR Wallet], here's how to create `near-challenge-5.your-name.testnet`:

1. Authorize NEAR CLI, following the commands it gives you:

      near login

2. Create a subaccount (replace `YOUR-NAME` below with your actual account name):

      near create-account near-challenge-5.YOUR-NAME.testnet --masterAccount YOUR-NAME.testnet

Step 2: set contract name in code
---------------------------------

Modify the line in `src/config.js` that sets the account name of the contract. Set it to the account id you used above.

    const CONTRACT_NAME = process.env.CONTRACT_NAME || 'near-challenge-5.YOUR-NAME.testnet'

Step 3: deploy!
---------------

One command:

    yarn deploy

As you can see in `package.json`, this does two things:

1. builds & deploys smart contract to NEAR TestNet
2. builds & deploys frontend code to GitHub using [gh-pages]. This will only work if the project already has a repository set up on GitHub. Feel free to modify the `deploy` script in `package.json` to deploy elsewhere.

Troubleshooting
===============

On Windows, if you're seeing an error containing `EPERM` it may be related to spaces in your path. Please see [this issue](https://github.com/zkat/npx/issues/209) for more details.

  [React]: https://reactjs.org/
  [create-near-app]: https://github.com/near/create-near-app
  [Node.js]: https://nodejs.org/en/download/package-manager/
  [jest]: https://jestjs.io/
  [NEAR accounts]: https://docs.near.org/docs/concepts/account
  [NEAR Wallet]: https://wallet.testnet.near.org/
  [near-cli]: https://github.com/near/near-cli
  [gh-pages]: https://github.com/tschaub/gh-pages
# TBD
