From e243f7a422f95f7d4022c2fe605dbf172a79d24e Mon Sep 17 00:00:00 2001 From: Jessie Mongeon Date: Fri, 20 Sep 2024 15:41:18 -0500 Subject: [PATCH 1/2] Archive examples 2 --- .../motoko-actor_reference-example.yaml | 40 -------- .github/workflows/motoko-calc-example.yaml | 40 -------- .github/workflows/motoko-defi-example.yml | 48 ---------- .github/workflows/motoko-dip721-example.yml | 42 --------- .github/workflows/motoko-echo-example.yaml | 40 -------- .../workflows/motoko-factorial-example.yaml | 40 -------- .github/workflows/motoko-hello-example.yml | 40 -------- .../workflows/motoko-hello-world-example.yaml | 40 -------- .../workflows/motoko-icp-transfer-example.yml | 39 -------- .../motoko-ios-notifications-example.yml | 38 -------- .../motoko-persistent-storage-example.yaml | 40 -------- .../workflows/motoko-phone-book-example.yaml | 40 -------- .../workflows/motoko-quicksort-example.yaml | 40 -------- .../motoko-simple-to-do-example.yaml | 40 -------- archive/README.md | 3 + .../motoko}/actor_reference/Makefile | 0 .../motoko}/actor_reference/README.md | 0 .../motoko}/actor_reference/dfx.json | 0 .../src/actor_reference/main.mo | 0 .../.github/workflows/release.yml | 0 .../motoko}/auth_client_demo/.gitignore | 0 .../motoko}/auth_client_demo/README.md | 0 .../auth_client_demo/canister_ids.json | 0 .../candid/rdmx6-jaaaa-aaaaa-aaadq-cai.did | 0 .../motoko}/auth_client_demo/deps/init.json | 0 .../motoko}/auth_client_demo/deps/pulled.json | 0 .../dfinity-auth-client-0.15.1.tgz | Bin .../motoko}/auth_client_demo/dfx.json | 0 .../motoko}/auth_client_demo/meta.json | 0 .../auth_client_demo/package-lock.json | 0 .../motoko}/auth_client_demo/package.json | 0 .../motoko}/auth_client_demo/release.mjs | 0 .../src/auth_client_demo_assets/react/App.jsx | 0 .../react/LoggedIn.jsx | 0 .../react/LoggedOut.jsx | 0 .../react/assets/main.css | 0 .../auth_client_demo_assets/react/index.html | 0 .../auth_client_demo_assets/react/index.jsx | 0 .../react/use-auth-client.jsx | 0 .../auth_client_demo_assets/svelte/.gitignore | 0 .../src/auth_client_demo_assets/svelte/.npmrc | 0 .../auth_client_demo_assets/svelte/README.md | 0 .../svelte/jsconfig.json | 0 .../svelte/package-lock.json | 0 .../svelte/package.json | 0 .../svelte/src/app.d.ts | 0 .../svelte/src/app.html | 0 .../svelte/src/components/LoggedIn.svelte | 0 .../svelte/src/components/LoggedOut.svelte | 0 .../svelte/src/routes/+page.svelte | 0 .../svelte/src/stores/auth.js | 0 .../svelte/static/favicon.png | Bin .../svelte/static/main.css | 0 .../svelte/svelte.config.js | 0 .../svelte/vite.config.js | 0 .../vanilla/assets/main.css | 0 .../vanilla/index.html | 0 .../auth_client_demo_assets/vanilla/index.ts | 0 .../vanilla/views/index.ts | 0 .../vanilla/views/loggedIn.ts | 0 .../src/auth_client_demo_assets/vue/App.vue | 0 .../vue/assets/favicon.ico | Bin .../vue/assets/main.css | 0 .../vue/components/LoggedIn.vue | 0 .../vue/components/LoggedOut.vue | 0 .../auth_client_demo_assets/vue/index.html | 0 .../src/auth_client_demo_assets/vue/main.js | 0 .../auth_client_demo_assets/vue/store/auth.js | 0 .../auth_client_demo/src/whoami/main.mo | 0 .../motoko}/auth_client_demo/svelte.config.js | 0 .../motoko}/auth_client_demo/tsconfig.json | 0 .../motoko}/auth_client_demo/vite.config.js | 0 .../auth_client_demo/vite.config.react.js | 0 .../auth_client_demo/vite.config.vue.js | 0 {motoko => archive/motoko}/calc/Makefile | 0 {motoko => archive/motoko}/calc/README.md | 0 {motoko => archive/motoko}/calc/dfx.json | 0 {motoko => archive/motoko}/calc/src/Main.mo | 0 {motoko => archive/motoko}/defi/.gitignore | 0 {motoko => archive/motoko}/defi/.gitmodules | 0 {motoko => archive/motoko}/defi/Makefile | 0 {motoko => archive/motoko}/defi/README.md | 0 .../motoko}/defi/architecture.md | 0 {motoko => archive/motoko}/defi/dfx.json | 0 .../motoko}/defi/scripts/deploy_dip20.sh | 0 .../defi/scripts/initalize_local_balance.sh | 0 .../motoko}/defi/scripts/install.sh | 0 .../principal_to_default_account_id.py | 0 .../motoko}/defi/src/defi_dapp/Account.mo | 0 .../motoko}/defi/src/defi_dapp/CRC32.mo | 0 .../motoko}/defi/src/defi_dapp/SHA224.mo | 0 .../motoko}/defi/src/defi_dapp/book.mo | 0 .../motoko}/defi/src/defi_dapp/exchange.mo | 0 .../motoko}/defi/src/defi_dapp/main.mo | 0 .../motoko}/defi/src/defi_dapp/types.mo | 0 .../motoko}/defi/src/frontend/README.md | 0 .../defi/src/frontend/package-lock.json | 0 .../motoko}/defi/src/frontend/package.json | 0 .../defi/src/frontend/rollup.config.js | 0 .../motoko}/defi/src/frontend/src/App.svelte | 0 .../src/frontend/src/components/Auth.svelte | 0 .../src/components/BalanceInfo.svelte | 0 .../src/components/CanisterIds.svelte | 0 .../src/frontend/src/components/Links.svelte | 0 .../src/frontend/src/components/Nav.svelte | 0 .../src/frontend/src/components/Orders.svelte | 0 .../motoko}/defi/src/frontend/src/main.js | 0 .../defi/src/frontend/src/store/auth.js | 0 .../defi/src/frontend/src/store/order.js | 0 .../defi/src/frontend/src/store/store.js | 0 .../defi/src/frontend/src/utils/helpers.js | 0 .../defi/src/frontend_assets/favicon.png | Bin .../defi/src/frontend_assets/global.css | 0 .../src/frontend_assets/images/dfinity.svg | 0 .../src/frontend_assets/images/ic-badge.png | Bin .../src/frontend_assets/images/plug_logo.png | Bin .../defi/src/frontend_assets/index.html | 0 .../defi/src/ledger/ledger.private.did | 0 .../motoko}/defi/src/ledger/ledger.public.did | 0 .../motoko}/defi/src/ledger/ledger.wasm | Bin .../motoko}/defi/src/ledger/ledger/index.d.ts | 0 .../motoko}/defi/src/ledger/ledger/index.js | 0 .../defi/src/ledger/ledger/ledger.did.d.ts | 0 .../defi/src/ledger/ledger/ledger.did.js | 0 {motoko => archive/motoko}/defi/test/demo.sh | 0 {motoko => archive/motoko}/defi/test/trade.sh | 0 .../motoko}/defi/test/transfer.sh | 0 .../motoko}/dip721-nft-container/README.md | 0 .../motoko}/dip721-nft-container/demo.sh | 0 .../motoko}/dip721-nft-container/dfx.json | 0 .../motoko}/dip721-nft-container/src/Main.mo | 0 .../motoko}/dip721-nft-container/src/Types.mo | 0 {motoko => archive/motoko}/echo/Makefile | 0 {motoko => archive/motoko}/echo/README.md | 0 {motoko => archive/motoko}/echo/dfx.json | 0 {motoko => archive/motoko}/echo/src/Main.mo | 0 {motoko => archive/motoko}/factorial/Makefile | 0 .../motoko}/factorial/README.md | 0 {motoko => archive/motoko}/factorial/dfx.json | 0 .../motoko}/factorial/src/Main.mo | 0 .../motoko}/hello-world/Makefile | 0 .../motoko}/hello-world/README.md | 0 .../motoko}/hello-world/dfx.json | 0 {motoko => archive/motoko}/hello-world/ii.did | 0 .../motoko}/hello-world/src/Main.mo | 0 .../declarations/hello_world/hello_world.did | 0 .../hello_world/hello_world.did.d.ts | 0 .../hello_world/hello_world.did.js | 0 .../src/declarations/hello_world/index.d.ts | 0 .../src/declarations/hello_world/index.js | 0 {motoko => archive/motoko}/hello/Makefile | 0 {motoko => archive/motoko}/hello/README.md | 0 {motoko => archive/motoko}/hello/dfx.json | 0 .../motoko}/hello/package-lock.json | 0 {motoko => archive/motoko}/hello/package.json | 0 .../motoko}/hello/src/hello/main.mo | 0 .../hello/src/hello_assets/assets/favicon.ico | Bin .../hello/src/hello_assets/assets/logo.png | Bin .../hello/src/hello_assets/assets/main.css | 0 .../src/hello_assets/assets/sample-asset.txt | 0 .../hello/src/hello_assets/src/index.html | 0 .../hello/src/hello_assets/src/index.js | 0 .../motoko}/hello/webpack.config.js | 0 .../motoko}/icp_transfer/.gitignore | 0 .../motoko}/icp_transfer/README.md | 0 .../motoko}/icp_transfer/demo.sh | 0 .../motoko}/icp_transfer/dfx.json | 0 .../src/icp_transfer_backend/main.mo | 0 .../motoko}/ios-notifications/.gitignore | 0 .../motoko}/ios-notifications/README.md | 0 .../ios-notifications/dapp-demo/.gitignore | 0 .../ios-notifications/dapp-demo/Makefile | 0 .../ios-notifications/dapp-demo/README.md | 0 .../dapp-demo/canister_ids.json | 0 .../ios-notifications/dapp-demo/dfx.json | 0 .../dapp-demo/package-lock.json | 0 .../ios-notifications/dapp-demo/package.json | 0 .../dapp-demo/src/api/main.mo | 0 .../dapp-demo/src/www/assets/.ic-assets.json | 0 .../.well-known/apple-app-site-association | 0 .../dapp-demo/src/www/assets/main.css | 0 .../dapp-demo/src/www/src/auth.ts | 0 .../dapp-demo/src/www/src/index.html | 0 .../dapp-demo/src/www/src/index.ts | 0 .../dapp-demo/src/www/src/pages/about.ts | 0 .../dapp-demo/src/www/src/pages/home.ts | 0 .../dapp-demo/src/www/src/pages/index.ts | 0 .../dapp-demo/src/www/src/pages/login.ts | 0 .../dapp-demo/src/www/src/router.ts | 0 .../dapp-demo/src/www/src/types.ts | 0 .../ios-notifications/dapp-demo/test_api.sh | 0 .../ios-notifications/dapp-demo/tsconfig.json | 0 .../dapp-demo/webpack.config.js | 0 .../ios-dapp-demo/DAppExample-Info.plist | 0 .../DAppExample.xcodeproj/project.pbxproj | 0 .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/swiftpm/Package.resolved | 0 .../AccentColor.colorset/Contents.json | 0 .../AppIcon.appiconset/Contents.json | 0 .../DAppExample/Assets.xcassets/Contents.json | 0 .../DAppExample/ContentView.swift | 0 .../ios-dapp-demo/DAppExample/DApp.swift | 0 .../DAppExample/DAppDelegate.swift | 0 .../DAppExample/DAppExample.entitlements | 0 .../DAppExample/DAppWebView.swift | 0 .../DAppExample/DappConfig.swift | 0 .../DAppExample/IdentityKeyPair.swift | 0 .../DAppExample/LoadingScreen.swift | 0 .../DAppExample/LoginSession.swift | 0 .../Preview Assets.xcassets/Contents.json | 0 .../ios-notifications/ios-dapp-demo/README.md | 0 .../ios-notifications/send-notification.sh | 0 .../motoko}/persistent-storage/Makefile | 0 .../motoko}/persistent-storage/README.md | 0 .../README_images/candid_ui.png | Bin .../motoko}/persistent-storage/dfx.json | 0 .../src/persistent_storage/main.mo | 0 .../motoko}/phone-book/Makefile | 0 .../motoko}/phone-book/README.md | 0 .../motoko}/phone-book/dfx.json | 0 .../motoko}/phone-book/package-lock.json | 0 .../motoko}/phone-book/package.json | 0 .../src/declarations/phone_book/index.d.ts | 0 .../src/declarations/phone_book/index.js | 0 .../declarations/phone_book/phone_book.did | 0 .../phone_book/phone_book.did.d.ts | 0 .../declarations/phone_book/phone_book.did.js | 0 .../motoko}/phone-book/src/phone-book/Main.mo | 0 .../src/www/assets/sample-asset.txt | 0 .../motoko}/phone-book/src/www/src/index.html | 0 .../motoko}/phone-book/src/www/src/index.jsx | 0 .../motoko}/phone-book/tsconfig.json | 0 .../motoko}/phone-book/webpack.config.js | 0 {motoko => archive/motoko}/quicksort/Makefile | 0 .../motoko}/quicksort/README.md | 0 {motoko => archive/motoko}/quicksort/dfx.json | 0 .../motoko}/quicksort/src/Main.mo | 0 .../motoko}/quicksort/src/Quicksort.mo | 0 .../motoko}/simple-to-do/Makefile | 0 .../motoko}/simple-to-do/README.md | 0 .../motoko}/simple-to-do/dfx.json | 0 .../motoko}/simple-to-do/src/Main.mo | 0 motoko/defi/src/DIP20 | 1 - motoko/defi/src/ledger/ledger.did | 87 ------------------ 245 files changed, 3 insertions(+), 655 deletions(-) delete mode 100644 .github/workflows/motoko-actor_reference-example.yaml delete mode 100644 .github/workflows/motoko-calc-example.yaml delete mode 100644 .github/workflows/motoko-defi-example.yml delete mode 100644 .github/workflows/motoko-dip721-example.yml delete mode 100644 .github/workflows/motoko-echo-example.yaml delete mode 100644 .github/workflows/motoko-factorial-example.yaml delete mode 100644 .github/workflows/motoko-hello-example.yml delete mode 100644 .github/workflows/motoko-hello-world-example.yaml delete mode 100644 .github/workflows/motoko-icp-transfer-example.yml delete mode 100644 .github/workflows/motoko-ios-notifications-example.yml delete mode 100644 .github/workflows/motoko-persistent-storage-example.yaml delete mode 100644 .github/workflows/motoko-phone-book-example.yaml delete mode 100644 .github/workflows/motoko-quicksort-example.yaml delete mode 100644 .github/workflows/motoko-simple-to-do-example.yaml create mode 100644 archive/README.md rename {motoko => archive/motoko}/actor_reference/Makefile (100%) rename {motoko => archive/motoko}/actor_reference/README.md (100%) rename {motoko => archive/motoko}/actor_reference/dfx.json (100%) rename {motoko => archive/motoko}/actor_reference/src/actor_reference/main.mo (100%) rename {motoko => archive/motoko}/auth_client_demo/.github/workflows/release.yml (100%) rename {motoko => archive/motoko}/auth_client_demo/.gitignore (100%) rename {motoko => archive/motoko}/auth_client_demo/README.md (100%) rename {motoko => archive/motoko}/auth_client_demo/canister_ids.json (100%) rename {motoko => archive/motoko}/auth_client_demo/deps/candid/rdmx6-jaaaa-aaaaa-aaadq-cai.did (100%) rename {motoko => archive/motoko}/auth_client_demo/deps/init.json (100%) rename {motoko => archive/motoko}/auth_client_demo/deps/pulled.json (100%) rename {motoko => archive/motoko}/auth_client_demo/dfinity-auth-client-0.15.1.tgz (100%) rename {motoko => archive/motoko}/auth_client_demo/dfx.json (100%) rename {motoko => archive/motoko}/auth_client_demo/meta.json (100%) rename {motoko => archive/motoko}/auth_client_demo/package-lock.json (100%) rename {motoko => archive/motoko}/auth_client_demo/package.json (100%) rename {motoko => archive/motoko}/auth_client_demo/release.mjs (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/react/App.jsx (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/react/LoggedIn.jsx (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/react/LoggedOut.jsx (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/react/assets/main.css (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/react/index.html (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/react/index.jsx (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/react/use-auth-client.jsx (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/svelte/.gitignore (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/svelte/.npmrc (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/svelte/README.md (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/svelte/jsconfig.json (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/svelte/package-lock.json (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/svelte/package.json (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/svelte/src/app.d.ts (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/svelte/src/app.html (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/svelte/src/components/LoggedIn.svelte (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/svelte/src/components/LoggedOut.svelte (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/svelte/src/routes/+page.svelte (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/svelte/src/stores/auth.js (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/svelte/static/favicon.png (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/svelte/static/main.css (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/svelte/svelte.config.js (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/svelte/vite.config.js (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/vanilla/assets/main.css (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/vanilla/index.html (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/vanilla/index.ts (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/vanilla/views/index.ts (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/vanilla/views/loggedIn.ts (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/vue/App.vue (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/vue/assets/favicon.ico (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/vue/assets/main.css (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/vue/components/LoggedIn.vue (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/vue/components/LoggedOut.vue (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/vue/index.html (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/vue/main.js (100%) rename {motoko => archive/motoko}/auth_client_demo/src/auth_client_demo_assets/vue/store/auth.js (100%) rename {motoko => archive/motoko}/auth_client_demo/src/whoami/main.mo (100%) rename {motoko => archive/motoko}/auth_client_demo/svelte.config.js (100%) rename {motoko => archive/motoko}/auth_client_demo/tsconfig.json (100%) rename {motoko => archive/motoko}/auth_client_demo/vite.config.js (100%) rename {motoko => archive/motoko}/auth_client_demo/vite.config.react.js (100%) rename {motoko => archive/motoko}/auth_client_demo/vite.config.vue.js (100%) rename {motoko => archive/motoko}/calc/Makefile (100%) rename {motoko => archive/motoko}/calc/README.md (100%) rename {motoko => archive/motoko}/calc/dfx.json (100%) rename {motoko => archive/motoko}/calc/src/Main.mo (100%) rename {motoko => archive/motoko}/defi/.gitignore (100%) rename {motoko => archive/motoko}/defi/.gitmodules (100%) rename {motoko => archive/motoko}/defi/Makefile (100%) rename {motoko => archive/motoko}/defi/README.md (100%) rename {motoko => archive/motoko}/defi/architecture.md (100%) rename {motoko => archive/motoko}/defi/dfx.json (100%) rename {motoko => archive/motoko}/defi/scripts/deploy_dip20.sh (100%) rename {motoko => archive/motoko}/defi/scripts/initalize_local_balance.sh (100%) rename {motoko => archive/motoko}/defi/scripts/install.sh (100%) rename {motoko => archive/motoko}/defi/scripts/principal_to_default_account_id.py (100%) rename {motoko => archive/motoko}/defi/src/defi_dapp/Account.mo (100%) rename {motoko => archive/motoko}/defi/src/defi_dapp/CRC32.mo (100%) rename {motoko => archive/motoko}/defi/src/defi_dapp/SHA224.mo (100%) rename {motoko => archive/motoko}/defi/src/defi_dapp/book.mo (100%) rename {motoko => archive/motoko}/defi/src/defi_dapp/exchange.mo (100%) rename {motoko => archive/motoko}/defi/src/defi_dapp/main.mo (100%) rename {motoko => archive/motoko}/defi/src/defi_dapp/types.mo (100%) rename {motoko => archive/motoko}/defi/src/frontend/README.md (100%) rename {motoko => archive/motoko}/defi/src/frontend/package-lock.json (100%) rename {motoko => archive/motoko}/defi/src/frontend/package.json (100%) rename {motoko => archive/motoko}/defi/src/frontend/rollup.config.js (100%) rename {motoko => archive/motoko}/defi/src/frontend/src/App.svelte (100%) rename {motoko => archive/motoko}/defi/src/frontend/src/components/Auth.svelte (100%) rename {motoko => archive/motoko}/defi/src/frontend/src/components/BalanceInfo.svelte (100%) rename {motoko => archive/motoko}/defi/src/frontend/src/components/CanisterIds.svelte (100%) rename {motoko => archive/motoko}/defi/src/frontend/src/components/Links.svelte (100%) rename {motoko => archive/motoko}/defi/src/frontend/src/components/Nav.svelte (100%) rename {motoko => archive/motoko}/defi/src/frontend/src/components/Orders.svelte (100%) rename {motoko => archive/motoko}/defi/src/frontend/src/main.js (100%) rename {motoko => archive/motoko}/defi/src/frontend/src/store/auth.js (100%) rename {motoko => archive/motoko}/defi/src/frontend/src/store/order.js (100%) rename {motoko => archive/motoko}/defi/src/frontend/src/store/store.js (100%) rename {motoko => archive/motoko}/defi/src/frontend/src/utils/helpers.js (100%) rename {motoko => archive/motoko}/defi/src/frontend_assets/favicon.png (100%) rename {motoko => archive/motoko}/defi/src/frontend_assets/global.css (100%) rename {motoko => archive/motoko}/defi/src/frontend_assets/images/dfinity.svg (100%) rename {motoko => archive/motoko}/defi/src/frontend_assets/images/ic-badge.png (100%) rename {motoko => archive/motoko}/defi/src/frontend_assets/images/plug_logo.png (100%) rename {motoko => archive/motoko}/defi/src/frontend_assets/index.html (100%) rename {motoko => archive/motoko}/defi/src/ledger/ledger.private.did (100%) rename {motoko => archive/motoko}/defi/src/ledger/ledger.public.did (100%) rename {motoko => archive/motoko}/defi/src/ledger/ledger.wasm (100%) rename {motoko => archive/motoko}/defi/src/ledger/ledger/index.d.ts (100%) rename {motoko => archive/motoko}/defi/src/ledger/ledger/index.js (100%) rename {motoko => archive/motoko}/defi/src/ledger/ledger/ledger.did.d.ts (100%) rename {motoko => archive/motoko}/defi/src/ledger/ledger/ledger.did.js (100%) rename {motoko => archive/motoko}/defi/test/demo.sh (100%) rename {motoko => archive/motoko}/defi/test/trade.sh (100%) rename {motoko => archive/motoko}/defi/test/transfer.sh (100%) rename {motoko => archive/motoko}/dip721-nft-container/README.md (100%) rename {motoko => archive/motoko}/dip721-nft-container/demo.sh (100%) rename {motoko => archive/motoko}/dip721-nft-container/dfx.json (100%) rename {motoko => archive/motoko}/dip721-nft-container/src/Main.mo (100%) rename {motoko => archive/motoko}/dip721-nft-container/src/Types.mo (100%) rename {motoko => archive/motoko}/echo/Makefile (100%) rename {motoko => archive/motoko}/echo/README.md (100%) rename {motoko => archive/motoko}/echo/dfx.json (100%) rename {motoko => archive/motoko}/echo/src/Main.mo (100%) rename {motoko => archive/motoko}/factorial/Makefile (100%) rename {motoko => archive/motoko}/factorial/README.md (100%) rename {motoko => archive/motoko}/factorial/dfx.json (100%) rename {motoko => archive/motoko}/factorial/src/Main.mo (100%) rename {motoko => archive/motoko}/hello-world/Makefile (100%) rename {motoko => archive/motoko}/hello-world/README.md (100%) rename {motoko => archive/motoko}/hello-world/dfx.json (100%) rename {motoko => archive/motoko}/hello-world/ii.did (100%) rename {motoko => archive/motoko}/hello-world/src/Main.mo (100%) rename {motoko => archive/motoko}/hello-world/src/declarations/hello_world/hello_world.did (100%) rename {motoko => archive/motoko}/hello-world/src/declarations/hello_world/hello_world.did.d.ts (100%) rename {motoko => archive/motoko}/hello-world/src/declarations/hello_world/hello_world.did.js (100%) rename {motoko => archive/motoko}/hello-world/src/declarations/hello_world/index.d.ts (100%) rename {motoko => archive/motoko}/hello-world/src/declarations/hello_world/index.js (100%) rename {motoko => archive/motoko}/hello/Makefile (100%) rename {motoko => archive/motoko}/hello/README.md (100%) rename {motoko => archive/motoko}/hello/dfx.json (100%) rename {motoko => archive/motoko}/hello/package-lock.json (100%) rename {motoko => archive/motoko}/hello/package.json (100%) rename {motoko => archive/motoko}/hello/src/hello/main.mo (100%) rename {motoko => archive/motoko}/hello/src/hello_assets/assets/favicon.ico (100%) rename {motoko => archive/motoko}/hello/src/hello_assets/assets/logo.png (100%) rename {motoko => archive/motoko}/hello/src/hello_assets/assets/main.css (100%) rename {motoko => archive/motoko}/hello/src/hello_assets/assets/sample-asset.txt (100%) rename {motoko => archive/motoko}/hello/src/hello_assets/src/index.html (100%) rename {motoko => archive/motoko}/hello/src/hello_assets/src/index.js (100%) rename {motoko => archive/motoko}/hello/webpack.config.js (100%) rename {motoko => archive/motoko}/icp_transfer/.gitignore (100%) rename {motoko => archive/motoko}/icp_transfer/README.md (100%) rename {motoko => archive/motoko}/icp_transfer/demo.sh (100%) rename {motoko => archive/motoko}/icp_transfer/dfx.json (100%) rename {motoko => archive/motoko}/icp_transfer/src/icp_transfer_backend/main.mo (100%) rename {motoko => archive/motoko}/ios-notifications/.gitignore (100%) rename {motoko => archive/motoko}/ios-notifications/README.md (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/.gitignore (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/Makefile (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/README.md (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/canister_ids.json (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/dfx.json (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/package-lock.json (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/package.json (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/src/api/main.mo (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/src/www/assets/.ic-assets.json (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/src/www/assets/.well-known/apple-app-site-association (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/src/www/assets/main.css (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/src/www/src/auth.ts (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/src/www/src/index.html (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/src/www/src/index.ts (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/src/www/src/pages/about.ts (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/src/www/src/pages/home.ts (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/src/www/src/pages/index.ts (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/src/www/src/pages/login.ts (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/src/www/src/router.ts (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/src/www/src/types.ts (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/test_api.sh (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/tsconfig.json (100%) rename {motoko => archive/motoko}/ios-notifications/dapp-demo/webpack.config.js (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample-Info.plist (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.pbxproj (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample/Assets.xcassets/AccentColor.colorset/Contents.json (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample/Assets.xcassets/Contents.json (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample/ContentView.swift (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample/DApp.swift (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample/DAppDelegate.swift (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample/DAppExample.entitlements (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample/DAppWebView.swift (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample/DappConfig.swift (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample/IdentityKeyPair.swift (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample/LoadingScreen.swift (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample/LoginSession.swift (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/DAppExample/Preview Content/Preview Assets.xcassets/Contents.json (100%) rename {motoko => archive/motoko}/ios-notifications/ios-dapp-demo/README.md (100%) rename {motoko => archive/motoko}/ios-notifications/send-notification.sh (100%) rename {motoko => archive/motoko}/persistent-storage/Makefile (100%) rename {motoko => archive/motoko}/persistent-storage/README.md (100%) rename {motoko => archive/motoko}/persistent-storage/README_images/candid_ui.png (100%) rename {motoko => archive/motoko}/persistent-storage/dfx.json (100%) rename {motoko => archive/motoko}/persistent-storage/src/persistent_storage/main.mo (100%) rename {motoko => archive/motoko}/phone-book/Makefile (100%) rename {motoko => archive/motoko}/phone-book/README.md (100%) rename {motoko => archive/motoko}/phone-book/dfx.json (100%) rename {motoko => archive/motoko}/phone-book/package-lock.json (100%) rename {motoko => archive/motoko}/phone-book/package.json (100%) rename {motoko => archive/motoko}/phone-book/src/declarations/phone_book/index.d.ts (100%) rename {motoko => archive/motoko}/phone-book/src/declarations/phone_book/index.js (100%) rename {motoko => archive/motoko}/phone-book/src/declarations/phone_book/phone_book.did (100%) rename {motoko => archive/motoko}/phone-book/src/declarations/phone_book/phone_book.did.d.ts (100%) rename {motoko => archive/motoko}/phone-book/src/declarations/phone_book/phone_book.did.js (100%) rename {motoko => archive/motoko}/phone-book/src/phone-book/Main.mo (100%) rename {motoko => archive/motoko}/phone-book/src/www/assets/sample-asset.txt (100%) rename {motoko => archive/motoko}/phone-book/src/www/src/index.html (100%) rename {motoko => archive/motoko}/phone-book/src/www/src/index.jsx (100%) rename {motoko => archive/motoko}/phone-book/tsconfig.json (100%) rename {motoko => archive/motoko}/phone-book/webpack.config.js (100%) rename {motoko => archive/motoko}/quicksort/Makefile (100%) rename {motoko => archive/motoko}/quicksort/README.md (100%) rename {motoko => archive/motoko}/quicksort/dfx.json (100%) rename {motoko => archive/motoko}/quicksort/src/Main.mo (100%) rename {motoko => archive/motoko}/quicksort/src/Quicksort.mo (100%) rename {motoko => archive/motoko}/simple-to-do/Makefile (100%) rename {motoko => archive/motoko}/simple-to-do/README.md (100%) rename {motoko => archive/motoko}/simple-to-do/dfx.json (100%) rename {motoko => archive/motoko}/simple-to-do/src/Main.mo (100%) delete mode 160000 motoko/defi/src/DIP20 delete mode 100644 motoko/defi/src/ledger/ledger.did diff --git a/.github/workflows/motoko-actor_reference-example.yaml b/.github/workflows/motoko-actor_reference-example.yaml deleted file mode 100644 index 1d66ffab9..000000000 --- a/.github/workflows/motoko-actor_reference-example.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: motoko-actor-reference -on: - push: - branches: - - master - pull_request: - paths: - - motoko/actor_reference/** - - .github/workflows/provision-darwin.sh - - .github/workflows/provision-linux.sh - - .github/workflows/motoko-actor_reference-example.yaml - - .ic-commit -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true -jobs: - motoko-actor-reference-darwin: - runs-on: macos-12 - steps: - - uses: actions/checkout@v1 - - name: Provision Darwin - run: bash .github/workflows/provision-darwin.sh - - name: Motoko Actor Reference Darwin - run: | - dfx start --background - pushd motoko/actor_reference - make test - popd - motoko-actor-reference-linux: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v1 - - name: Provision Linux - run: bash .github/workflows/provision-linux.sh - - name: Motoko Actor Reference Linux - run: | - dfx start --background - pushd motoko/actor_reference - make test - popd diff --git a/.github/workflows/motoko-calc-example.yaml b/.github/workflows/motoko-calc-example.yaml deleted file mode 100644 index 761d72095..000000000 --- a/.github/workflows/motoko-calc-example.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: motoko-calc -on: - push: - branches: - - master - pull_request: - paths: - - motoko/calc/** - - .github/workflows/provision-darwin.sh - - .github/workflows/provision-linux.sh - - .github/workflows/motoko-calc-example.yaml - - .ic-commit -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true -jobs: - motoko-calc-example-darwin: - runs-on: macos-12 - steps: - - uses: actions/checkout@v1 - - name: Provision Darwin - run: bash .github/workflows/provision-darwin.sh - - name: Motoko Calc Darwin - run: | - dfx start --background - pushd motoko/calc - make test - popd - motoko-calc-example-linux: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v1 - - name: Provision Linux - run: bash .github/workflows/provision-linux.sh - - name: Motoko Calc Linux - run: | - dfx start --background - pushd motoko/calc - make test - popd diff --git a/.github/workflows/motoko-defi-example.yml b/.github/workflows/motoko-defi-example.yml deleted file mode 100644 index 9974d4d31..000000000 --- a/.github/workflows/motoko-defi-example.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: motoko-defi -on: - push: - branches: - - master - pull_request: - paths: - - motoko/defi/** - - .github/workflows/provision-darwin.sh - - .github/workflows/provision-linux.sh - - .github/workflows/motoko-defi-example.yml - - .ic-commit -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true -jobs: - motoko-defi-darwin: - runs-on: macos-12 - steps: - - uses: actions/checkout@v2 - with: - submodules: recursive - - name: Provision Darwin - run: bash .github/workflows/provision-darwin.sh - - name: Motoko Defi Darwin - run: | - pushd motoko/defi - bash ./scripts/install.sh - bash ./test/demo.sh - bash ./test/trade.sh - bash ./test/transfer.sh - popd - motoko-defi-linux: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v2 - with: - submodules: recursive - - name: Provision Linux - run: bash .github/workflows/provision-linux.sh - - name: Motoko Defi Linux - run: | - pushd motoko/defi - bash ./scripts/install.sh - bash ./test/demo.sh - bash ./test/trade.sh - bash ./test/transfer.sh - popd diff --git a/.github/workflows/motoko-dip721-example.yml b/.github/workflows/motoko-dip721-example.yml deleted file mode 100644 index 55c739951..000000000 --- a/.github/workflows/motoko-dip721-example.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: motoko-dip721 -on: - push: - branches: - - master - pull_request: - paths: - - motoko/dip721-nft-container/** - - .github/workflows/provision-darwin.sh - - .github/workflows/provision-linux.sh - - .github/workflows/motoko-dip721-example.yml - - .ic-commit -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true -jobs: - motoko-dip721-darwin: - runs-on: macos-12 - steps: - - uses: actions/checkout@v2 - with: - submodules: recursive - - name: Provision Darwin - run: bash .github/workflows/provision-darwin.sh - - name: Motoko DIP-721 Darwin - run: | - pushd motoko/dip721-nft-container - bash ./demo.sh - popd - motoko-dip721-linux: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v2 - with: - submodules: recursive - - name: Provision Linux - run: bash .github/workflows/provision-linux.sh - - name: Motoko DIP-721 Linux - run: | - pushd motoko/dip721-nft-container - bash ./demo.sh - popd diff --git a/.github/workflows/motoko-echo-example.yaml b/.github/workflows/motoko-echo-example.yaml deleted file mode 100644 index 3bd1a9fd2..000000000 --- a/.github/workflows/motoko-echo-example.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: motoko-echo -on: - push: - branches: - - master - pull_request: - paths: - - motoko/echo/** - - .github/workflows/provision-darwin.sh - - .github/workflows/provision-linux.sh - - .github/workflows/motoko-echo-example.yaml - - .ic-commit -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true -jobs: - motoko-echo-example-darwin: - runs-on: macos-12 - steps: - - uses: actions/checkout@v1 - - name: Provision Darwin - run: bash .github/workflows/provision-darwin.sh - - name: Motoko Echo Darwin - run: | - dfx start --background - pushd motoko/echo - make test - popd - motoko-echo-example-linux: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v1 - - name: Provision Linux - run: bash .github/workflows/provision-linux.sh - - name: Motoko Echo Linux - run: | - dfx start --background - pushd motoko/echo - make test - popd diff --git a/.github/workflows/motoko-factorial-example.yaml b/.github/workflows/motoko-factorial-example.yaml deleted file mode 100644 index 69e3bd2c6..000000000 --- a/.github/workflows/motoko-factorial-example.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: motoko-factorial -on: - push: - branches: - - master - pull_request: - paths: - - motoko/factorial/** - - .github/workflows/provision-darwin.sh - - .github/workflows/provision-linux.sh - - .github/workflows/motoko-factorial-example.yaml - - .ic-commit -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true -jobs: - motoko-factorial-example-darwin: - runs-on: macos-12 - steps: - - uses: actions/checkout@v1 - - name: Provision Darwin - run: bash .github/workflows/provision-darwin.sh - - name: Motoko Factorial Darwin - run: | - dfx start --background - pushd motoko/factorial - make test - popd - motoko-factorial-example-linux: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v1 - - name: Provision Linux - run: bash .github/workflows/provision-linux.sh - - name: Motoko Factorial Linux - run: | - dfx start --background - pushd motoko/factorial - make test - popd diff --git a/.github/workflows/motoko-hello-example.yml b/.github/workflows/motoko-hello-example.yml deleted file mode 100644 index 2d2cfbb1c..000000000 --- a/.github/workflows/motoko-hello-example.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: motoko-hello -on: - push: - branches: - - master - pull_request: - paths: - - motoko/hello/** - - .github/workflows/provision-darwin.sh - - .github/workflows/provision-linux.sh - - .github/workflows/motoko-hello-example.yml - - .ic-commit -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true -jobs: - motoko-hello-darwin: - runs-on: macos-12 - steps: - - uses: actions/checkout@v1 - - name: Provision Darwin - run: bash .github/workflows/provision-darwin.sh - - name: Motoko Hello Darwin - run: | - dfx start --background - pushd motoko/hello - make test - popd - motoko-hello-linux: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v1 - - name: Provision Linux - run: bash .github/workflows/provision-linux.sh - - name: Motoko Hello Linux - run: | - dfx start --background - pushd motoko/hello - make test - popd \ No newline at end of file diff --git a/.github/workflows/motoko-hello-world-example.yaml b/.github/workflows/motoko-hello-world-example.yaml deleted file mode 100644 index 368f7b473..000000000 --- a/.github/workflows/motoko-hello-world-example.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: motoko-hello-world -on: - push: - branches: - - master - pull_request: - paths: - - motoko/hello-world/** - - .github/workflows/provision-darwin.sh - - .github/workflows/provision-linux.sh - - .github/workflows/motoko-hello-world-example.yaml - - .ic-commit -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true -jobs: - motoko-hello-world-example-darwin: - runs-on: macos-12 - steps: - - uses: actions/checkout@v1 - - name: Provision Darwin - run: bash .github/workflows/provision-darwin.sh - - name: Motoko Hello World Darwin - run: | - dfx start --background - pushd motoko/hello-world - make test - popd - motoko-hello-world-example-linux: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v1 - - name: Provision Linux - run: bash .github/workflows/provision-linux.sh - - name: Motoko Hello World Linux - run: | - dfx start --background - pushd motoko/hello-world - make test - popd diff --git a/.github/workflows/motoko-icp-transfer-example.yml b/.github/workflows/motoko-icp-transfer-example.yml deleted file mode 100644 index 185b8dc5f..000000000 --- a/.github/workflows/motoko-icp-transfer-example.yml +++ /dev/null @@ -1,39 +0,0 @@ -# Known failure: https://dfinity.atlassian.net/browse/EM-5 -name: motoko-icp_transfer -on: - push: - branches: - - master - pull_request: - paths: - - motoko/icp_transfer/** - - .github/workflows/provision-darwin.sh - - .github/workflows/provision-linux.sh - - .github/workflows/motoko-icp-transfer-example.yml - - .ic-commit -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true -jobs: - motoko-icp_transfer-darwin: - runs-on: macos-12 - steps: - - uses: actions/checkout@v1 - - name: Provision Darwin - run: bash .github/workflows/provision-darwin.sh - - name: Motoko Ledger Transfer Darwin - run: | - pushd motoko/icp_transfer - bash ./demo.sh - popd - motoko-icp_transfer-linux: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v1 - - name: Provision Linux - run: bash .github/workflows/provision-linux.sh - - name: Motoko Ledger Transfer Linux - run: | - pushd motoko/icp_transfer - bash ./demo.sh - popd diff --git a/.github/workflows/motoko-ios-notifications-example.yml b/.github/workflows/motoko-ios-notifications-example.yml deleted file mode 100644 index bf859ef66..000000000 --- a/.github/workflows/motoko-ios-notifications-example.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: motoko-ios-notifications -on: - push: - branches: - - master - pull_request: - paths: - - motoko/ios-notifications/** - - .github/workflows/provision-darwin.sh - - .github/workflows/provision-linux.sh - - .github/workflows/ios-notifications-example.yml - - .ic-commit -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true -jobs: - motoko-ios-notifications-darwin: - runs-on: macos-12 - steps: - - uses: actions/checkout@v1 - - name: Provision Darwin - run: bash .github/workflows/provision-darwin.sh - - name: Motoko iOS Notifications Darwin - run: | - pushd motoko/ios-notifications/dapp-demo - make test - popd - motoko-ios-notifications-linux: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v1 - - name: Provision Linux - run: bash .github/workflows/provision-linux.sh - - name: Motoko iOS Notifications Linux - run: | - pushd motoko/ios-notifications/dapp-demo - make test - popd diff --git a/.github/workflows/motoko-persistent-storage-example.yaml b/.github/workflows/motoko-persistent-storage-example.yaml deleted file mode 100644 index 403c78358..000000000 --- a/.github/workflows/motoko-persistent-storage-example.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: motoko-persistent-storage -on: - push: - branches: - - master - pull_request: - paths: - - motoko/persistent-storage/** - - .github/workflows/provision-darwin.sh - - .github/workflows/provision-linux.sh - - .github/workflows/motoko-persistent-storage-example.yaml - - .ic-commit -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true -jobs: - motoko-persistent-storage-darwin: - runs-on: macos-12 - steps: - - uses: actions/checkout@v1 - - name: Provision Darwin - run: bash .github/workflows/provision-darwin.sh - - name: Motoko Persistent Storage Darwin - run: | - dfx start --background - pushd motoko/persistent-storage - make test - popd - motoko-persistent-storage-linux: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v1 - - name: Provision Linux - run: bash .github/workflows/provision-linux.sh - - name: Motoko Persistent Storage Linux - run: | - dfx start --background - pushd motoko/persistent-storage - make test - popd diff --git a/.github/workflows/motoko-phone-book-example.yaml b/.github/workflows/motoko-phone-book-example.yaml deleted file mode 100644 index 46002b63b..000000000 --- a/.github/workflows/motoko-phone-book-example.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: motoko-phone-book -on: - push: - branches: - - master - pull_request: - paths: - - motoko/phone-book/** - - .github/workflows/provision-darwin.sh - - .github/workflows/provision-linux.sh - - .github/workflows/motoko-phone-book-example.yaml - - .ic-commit -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true -jobs: - motoko-phone-book-example-darwin: - runs-on: macos-12 - steps: - - uses: actions/checkout@v1 - - name: Provision Darwin - run: bash .github/workflows/provision-darwin.sh - - name: Motoko Phone Book Darwin - run: | - dfx start --background - pushd motoko/phone-book - make test - popd - motoko-phone-book-example-linux: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v1 - - name: Provision Linux - run: bash .github/workflows/provision-linux.sh - - name: Motoko Phone Book Linux - run: | - dfx start --background - pushd motoko/phone-book - make test - popd diff --git a/.github/workflows/motoko-quicksort-example.yaml b/.github/workflows/motoko-quicksort-example.yaml deleted file mode 100644 index c447a49b3..000000000 --- a/.github/workflows/motoko-quicksort-example.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: motoko-quicksort -on: - push: - branches: - - master - pull_request: - paths: - - motoko/quicksort/** - - .github/workflows/provision-darwin.sh - - .github/workflows/provision-linux.sh - - .github/workflows/motoko-quicksort-example.yaml - - .ic-commit -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true -jobs: - motoko-quicksort-example-darwin: - runs-on: macos-12 - steps: - - uses: actions/checkout@v1 - - name: Provision Darwin - run: bash .github/workflows/provision-darwin.sh - - name: Motoko Quicksort Darwin - run: | - dfx start --background - pushd motoko/quicksort - make test - popd - motoko-quicksort-example-linux: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v1 - - name: Provision Linux - run: bash .github/workflows/provision-linux.sh - - name: Motoko Quicksort Linux - run: | - dfx start --background - pushd motoko/quicksort - make test - popd diff --git a/.github/workflows/motoko-simple-to-do-example.yaml b/.github/workflows/motoko-simple-to-do-example.yaml deleted file mode 100644 index ddfbba987..000000000 --- a/.github/workflows/motoko-simple-to-do-example.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: motoko-simple-to-do -on: - push: - branches: - - master - pull_request: - paths: - - motoko/simple-to-do/** - - .github/workflows/provision-darwin.sh - - .github/workflows/provision-linux.sh - - .github/workflows/motoko-simple-to-do-example.yaml - - .ic-commit -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true -jobs: - motoko-simple-to-do-example-darwin: - runs-on: macos-12 - steps: - - uses: actions/checkout@v1 - - name: Provision Darwin - run: bash .github/workflows/provision-darwin.sh - - name: Motoko Simple To-Do Darwin - run: | - dfx start --background - pushd motoko/simple-to-do - make test - popd - motoko-simple-to-do-example-linux: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v1 - - name: Provision Linux - run: bash .github/workflows/provision-linux.sh - - name: Motoko Simple To-Do Linux - run: | - dfx start --background - pushd motoko/simple-to-do - make test - popd diff --git a/archive/README.md b/archive/README.md new file mode 100644 index 000000000..28c0a436d --- /dev/null +++ b/archive/README.md @@ -0,0 +1,3 @@ +# Archived examples + +The examples in this folder are archived and will no longer be maintained. \ No newline at end of file diff --git a/motoko/actor_reference/Makefile b/archive/motoko/actor_reference/Makefile similarity index 100% rename from motoko/actor_reference/Makefile rename to archive/motoko/actor_reference/Makefile diff --git a/motoko/actor_reference/README.md b/archive/motoko/actor_reference/README.md similarity index 100% rename from motoko/actor_reference/README.md rename to archive/motoko/actor_reference/README.md diff --git a/motoko/actor_reference/dfx.json b/archive/motoko/actor_reference/dfx.json similarity index 100% rename from motoko/actor_reference/dfx.json rename to archive/motoko/actor_reference/dfx.json diff --git a/motoko/actor_reference/src/actor_reference/main.mo b/archive/motoko/actor_reference/src/actor_reference/main.mo similarity index 100% rename from motoko/actor_reference/src/actor_reference/main.mo rename to archive/motoko/actor_reference/src/actor_reference/main.mo diff --git a/motoko/auth_client_demo/.github/workflows/release.yml b/archive/motoko/auth_client_demo/.github/workflows/release.yml similarity index 100% rename from motoko/auth_client_demo/.github/workflows/release.yml rename to archive/motoko/auth_client_demo/.github/workflows/release.yml diff --git a/motoko/auth_client_demo/.gitignore b/archive/motoko/auth_client_demo/.gitignore similarity index 100% rename from motoko/auth_client_demo/.gitignore rename to archive/motoko/auth_client_demo/.gitignore diff --git a/motoko/auth_client_demo/README.md b/archive/motoko/auth_client_demo/README.md similarity index 100% rename from motoko/auth_client_demo/README.md rename to archive/motoko/auth_client_demo/README.md diff --git a/motoko/auth_client_demo/canister_ids.json b/archive/motoko/auth_client_demo/canister_ids.json similarity index 100% rename from motoko/auth_client_demo/canister_ids.json rename to archive/motoko/auth_client_demo/canister_ids.json diff --git a/motoko/auth_client_demo/deps/candid/rdmx6-jaaaa-aaaaa-aaadq-cai.did b/archive/motoko/auth_client_demo/deps/candid/rdmx6-jaaaa-aaaaa-aaadq-cai.did similarity index 100% rename from motoko/auth_client_demo/deps/candid/rdmx6-jaaaa-aaaaa-aaadq-cai.did rename to archive/motoko/auth_client_demo/deps/candid/rdmx6-jaaaa-aaaaa-aaadq-cai.did diff --git a/motoko/auth_client_demo/deps/init.json b/archive/motoko/auth_client_demo/deps/init.json similarity index 100% rename from motoko/auth_client_demo/deps/init.json rename to archive/motoko/auth_client_demo/deps/init.json diff --git a/motoko/auth_client_demo/deps/pulled.json b/archive/motoko/auth_client_demo/deps/pulled.json similarity index 100% rename from motoko/auth_client_demo/deps/pulled.json rename to archive/motoko/auth_client_demo/deps/pulled.json diff --git a/motoko/auth_client_demo/dfinity-auth-client-0.15.1.tgz b/archive/motoko/auth_client_demo/dfinity-auth-client-0.15.1.tgz similarity index 100% rename from motoko/auth_client_demo/dfinity-auth-client-0.15.1.tgz rename to archive/motoko/auth_client_demo/dfinity-auth-client-0.15.1.tgz diff --git a/motoko/auth_client_demo/dfx.json b/archive/motoko/auth_client_demo/dfx.json similarity index 100% rename from motoko/auth_client_demo/dfx.json rename to archive/motoko/auth_client_demo/dfx.json diff --git a/motoko/auth_client_demo/meta.json b/archive/motoko/auth_client_demo/meta.json similarity index 100% rename from motoko/auth_client_demo/meta.json rename to archive/motoko/auth_client_demo/meta.json diff --git a/motoko/auth_client_demo/package-lock.json b/archive/motoko/auth_client_demo/package-lock.json similarity index 100% rename from motoko/auth_client_demo/package-lock.json rename to archive/motoko/auth_client_demo/package-lock.json diff --git a/motoko/auth_client_demo/package.json b/archive/motoko/auth_client_demo/package.json similarity index 100% rename from motoko/auth_client_demo/package.json rename to archive/motoko/auth_client_demo/package.json diff --git a/motoko/auth_client_demo/release.mjs b/archive/motoko/auth_client_demo/release.mjs similarity index 100% rename from motoko/auth_client_demo/release.mjs rename to archive/motoko/auth_client_demo/release.mjs diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/react/App.jsx b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/react/App.jsx similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/react/App.jsx rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/react/App.jsx diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/react/LoggedIn.jsx b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/react/LoggedIn.jsx similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/react/LoggedIn.jsx rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/react/LoggedIn.jsx diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/react/LoggedOut.jsx b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/react/LoggedOut.jsx similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/react/LoggedOut.jsx rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/react/LoggedOut.jsx diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/react/assets/main.css b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/react/assets/main.css similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/react/assets/main.css rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/react/assets/main.css diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/react/index.html b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/react/index.html similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/react/index.html rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/react/index.html diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/react/index.jsx b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/react/index.jsx similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/react/index.jsx rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/react/index.jsx diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/react/use-auth-client.jsx b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/react/use-auth-client.jsx similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/react/use-auth-client.jsx rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/react/use-auth-client.jsx diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/.gitignore b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/.gitignore similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/svelte/.gitignore rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/.gitignore diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/.npmrc b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/.npmrc similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/svelte/.npmrc rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/.npmrc diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/README.md b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/README.md similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/svelte/README.md rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/README.md diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/jsconfig.json b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/jsconfig.json similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/svelte/jsconfig.json rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/jsconfig.json diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/package-lock.json b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/package-lock.json similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/svelte/package-lock.json rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/package-lock.json diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/package.json b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/package.json similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/svelte/package.json rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/package.json diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/app.d.ts b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/app.d.ts similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/app.d.ts rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/app.d.ts diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/app.html b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/app.html similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/app.html rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/app.html diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/components/LoggedIn.svelte b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/components/LoggedIn.svelte similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/components/LoggedIn.svelte rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/components/LoggedIn.svelte diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/components/LoggedOut.svelte b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/components/LoggedOut.svelte similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/components/LoggedOut.svelte rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/components/LoggedOut.svelte diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/routes/+page.svelte b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/routes/+page.svelte similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/routes/+page.svelte rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/routes/+page.svelte diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/stores/auth.js b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/stores/auth.js similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/stores/auth.js rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/src/stores/auth.js diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/static/favicon.png b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/static/favicon.png similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/svelte/static/favicon.png rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/static/favicon.png diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/static/main.css b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/static/main.css similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/svelte/static/main.css rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/static/main.css diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/svelte.config.js b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/svelte.config.js similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/svelte/svelte.config.js rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/svelte.config.js diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/vite.config.js b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/vite.config.js similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/svelte/vite.config.js rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/svelte/vite.config.js diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/assets/main.css b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/assets/main.css similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/assets/main.css rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/assets/main.css diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/index.html b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/index.html similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/index.html rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/index.html diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/index.ts b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/index.ts similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/index.ts rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/index.ts diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/views/index.ts b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/views/index.ts similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/views/index.ts rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/views/index.ts diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/views/loggedIn.ts b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/views/loggedIn.ts similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/views/loggedIn.ts rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/vanilla/views/loggedIn.ts diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/vue/App.vue b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/vue/App.vue similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/vue/App.vue rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/vue/App.vue diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/vue/assets/favicon.ico b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/vue/assets/favicon.ico similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/vue/assets/favicon.ico rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/vue/assets/favicon.ico diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/vue/assets/main.css b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/vue/assets/main.css similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/vue/assets/main.css rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/vue/assets/main.css diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/vue/components/LoggedIn.vue b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/vue/components/LoggedIn.vue similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/vue/components/LoggedIn.vue rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/vue/components/LoggedIn.vue diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/vue/components/LoggedOut.vue b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/vue/components/LoggedOut.vue similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/vue/components/LoggedOut.vue rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/vue/components/LoggedOut.vue diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/vue/index.html b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/vue/index.html similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/vue/index.html rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/vue/index.html diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/vue/main.js b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/vue/main.js similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/vue/main.js rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/vue/main.js diff --git a/motoko/auth_client_demo/src/auth_client_demo_assets/vue/store/auth.js b/archive/motoko/auth_client_demo/src/auth_client_demo_assets/vue/store/auth.js similarity index 100% rename from motoko/auth_client_demo/src/auth_client_demo_assets/vue/store/auth.js rename to archive/motoko/auth_client_demo/src/auth_client_demo_assets/vue/store/auth.js diff --git a/motoko/auth_client_demo/src/whoami/main.mo b/archive/motoko/auth_client_demo/src/whoami/main.mo similarity index 100% rename from motoko/auth_client_demo/src/whoami/main.mo rename to archive/motoko/auth_client_demo/src/whoami/main.mo diff --git a/motoko/auth_client_demo/svelte.config.js b/archive/motoko/auth_client_demo/svelte.config.js similarity index 100% rename from motoko/auth_client_demo/svelte.config.js rename to archive/motoko/auth_client_demo/svelte.config.js diff --git a/motoko/auth_client_demo/tsconfig.json b/archive/motoko/auth_client_demo/tsconfig.json similarity index 100% rename from motoko/auth_client_demo/tsconfig.json rename to archive/motoko/auth_client_demo/tsconfig.json diff --git a/motoko/auth_client_demo/vite.config.js b/archive/motoko/auth_client_demo/vite.config.js similarity index 100% rename from motoko/auth_client_demo/vite.config.js rename to archive/motoko/auth_client_demo/vite.config.js diff --git a/motoko/auth_client_demo/vite.config.react.js b/archive/motoko/auth_client_demo/vite.config.react.js similarity index 100% rename from motoko/auth_client_demo/vite.config.react.js rename to archive/motoko/auth_client_demo/vite.config.react.js diff --git a/motoko/auth_client_demo/vite.config.vue.js b/archive/motoko/auth_client_demo/vite.config.vue.js similarity index 100% rename from motoko/auth_client_demo/vite.config.vue.js rename to archive/motoko/auth_client_demo/vite.config.vue.js diff --git a/motoko/calc/Makefile b/archive/motoko/calc/Makefile similarity index 100% rename from motoko/calc/Makefile rename to archive/motoko/calc/Makefile diff --git a/motoko/calc/README.md b/archive/motoko/calc/README.md similarity index 100% rename from motoko/calc/README.md rename to archive/motoko/calc/README.md diff --git a/motoko/calc/dfx.json b/archive/motoko/calc/dfx.json similarity index 100% rename from motoko/calc/dfx.json rename to archive/motoko/calc/dfx.json diff --git a/motoko/calc/src/Main.mo b/archive/motoko/calc/src/Main.mo similarity index 100% rename from motoko/calc/src/Main.mo rename to archive/motoko/calc/src/Main.mo diff --git a/motoko/defi/.gitignore b/archive/motoko/defi/.gitignore similarity index 100% rename from motoko/defi/.gitignore rename to archive/motoko/defi/.gitignore diff --git a/motoko/defi/.gitmodules b/archive/motoko/defi/.gitmodules similarity index 100% rename from motoko/defi/.gitmodules rename to archive/motoko/defi/.gitmodules diff --git a/motoko/defi/Makefile b/archive/motoko/defi/Makefile similarity index 100% rename from motoko/defi/Makefile rename to archive/motoko/defi/Makefile diff --git a/motoko/defi/README.md b/archive/motoko/defi/README.md similarity index 100% rename from motoko/defi/README.md rename to archive/motoko/defi/README.md diff --git a/motoko/defi/architecture.md b/archive/motoko/defi/architecture.md similarity index 100% rename from motoko/defi/architecture.md rename to archive/motoko/defi/architecture.md diff --git a/motoko/defi/dfx.json b/archive/motoko/defi/dfx.json similarity index 100% rename from motoko/defi/dfx.json rename to archive/motoko/defi/dfx.json diff --git a/motoko/defi/scripts/deploy_dip20.sh b/archive/motoko/defi/scripts/deploy_dip20.sh similarity index 100% rename from motoko/defi/scripts/deploy_dip20.sh rename to archive/motoko/defi/scripts/deploy_dip20.sh diff --git a/motoko/defi/scripts/initalize_local_balance.sh b/archive/motoko/defi/scripts/initalize_local_balance.sh similarity index 100% rename from motoko/defi/scripts/initalize_local_balance.sh rename to archive/motoko/defi/scripts/initalize_local_balance.sh diff --git a/motoko/defi/scripts/install.sh b/archive/motoko/defi/scripts/install.sh similarity index 100% rename from motoko/defi/scripts/install.sh rename to archive/motoko/defi/scripts/install.sh diff --git a/motoko/defi/scripts/principal_to_default_account_id.py b/archive/motoko/defi/scripts/principal_to_default_account_id.py similarity index 100% rename from motoko/defi/scripts/principal_to_default_account_id.py rename to archive/motoko/defi/scripts/principal_to_default_account_id.py diff --git a/motoko/defi/src/defi_dapp/Account.mo b/archive/motoko/defi/src/defi_dapp/Account.mo similarity index 100% rename from motoko/defi/src/defi_dapp/Account.mo rename to archive/motoko/defi/src/defi_dapp/Account.mo diff --git a/motoko/defi/src/defi_dapp/CRC32.mo b/archive/motoko/defi/src/defi_dapp/CRC32.mo similarity index 100% rename from motoko/defi/src/defi_dapp/CRC32.mo rename to archive/motoko/defi/src/defi_dapp/CRC32.mo diff --git a/motoko/defi/src/defi_dapp/SHA224.mo b/archive/motoko/defi/src/defi_dapp/SHA224.mo similarity index 100% rename from motoko/defi/src/defi_dapp/SHA224.mo rename to archive/motoko/defi/src/defi_dapp/SHA224.mo diff --git a/motoko/defi/src/defi_dapp/book.mo b/archive/motoko/defi/src/defi_dapp/book.mo similarity index 100% rename from motoko/defi/src/defi_dapp/book.mo rename to archive/motoko/defi/src/defi_dapp/book.mo diff --git a/motoko/defi/src/defi_dapp/exchange.mo b/archive/motoko/defi/src/defi_dapp/exchange.mo similarity index 100% rename from motoko/defi/src/defi_dapp/exchange.mo rename to archive/motoko/defi/src/defi_dapp/exchange.mo diff --git a/motoko/defi/src/defi_dapp/main.mo b/archive/motoko/defi/src/defi_dapp/main.mo similarity index 100% rename from motoko/defi/src/defi_dapp/main.mo rename to archive/motoko/defi/src/defi_dapp/main.mo diff --git a/motoko/defi/src/defi_dapp/types.mo b/archive/motoko/defi/src/defi_dapp/types.mo similarity index 100% rename from motoko/defi/src/defi_dapp/types.mo rename to archive/motoko/defi/src/defi_dapp/types.mo diff --git a/motoko/defi/src/frontend/README.md b/archive/motoko/defi/src/frontend/README.md similarity index 100% rename from motoko/defi/src/frontend/README.md rename to archive/motoko/defi/src/frontend/README.md diff --git a/motoko/defi/src/frontend/package-lock.json b/archive/motoko/defi/src/frontend/package-lock.json similarity index 100% rename from motoko/defi/src/frontend/package-lock.json rename to archive/motoko/defi/src/frontend/package-lock.json diff --git a/motoko/defi/src/frontend/package.json b/archive/motoko/defi/src/frontend/package.json similarity index 100% rename from motoko/defi/src/frontend/package.json rename to archive/motoko/defi/src/frontend/package.json diff --git a/motoko/defi/src/frontend/rollup.config.js b/archive/motoko/defi/src/frontend/rollup.config.js similarity index 100% rename from motoko/defi/src/frontend/rollup.config.js rename to archive/motoko/defi/src/frontend/rollup.config.js diff --git a/motoko/defi/src/frontend/src/App.svelte b/archive/motoko/defi/src/frontend/src/App.svelte similarity index 100% rename from motoko/defi/src/frontend/src/App.svelte rename to archive/motoko/defi/src/frontend/src/App.svelte diff --git a/motoko/defi/src/frontend/src/components/Auth.svelte b/archive/motoko/defi/src/frontend/src/components/Auth.svelte similarity index 100% rename from motoko/defi/src/frontend/src/components/Auth.svelte rename to archive/motoko/defi/src/frontend/src/components/Auth.svelte diff --git a/motoko/defi/src/frontend/src/components/BalanceInfo.svelte b/archive/motoko/defi/src/frontend/src/components/BalanceInfo.svelte similarity index 100% rename from motoko/defi/src/frontend/src/components/BalanceInfo.svelte rename to archive/motoko/defi/src/frontend/src/components/BalanceInfo.svelte diff --git a/motoko/defi/src/frontend/src/components/CanisterIds.svelte b/archive/motoko/defi/src/frontend/src/components/CanisterIds.svelte similarity index 100% rename from motoko/defi/src/frontend/src/components/CanisterIds.svelte rename to archive/motoko/defi/src/frontend/src/components/CanisterIds.svelte diff --git a/motoko/defi/src/frontend/src/components/Links.svelte b/archive/motoko/defi/src/frontend/src/components/Links.svelte similarity index 100% rename from motoko/defi/src/frontend/src/components/Links.svelte rename to archive/motoko/defi/src/frontend/src/components/Links.svelte diff --git a/motoko/defi/src/frontend/src/components/Nav.svelte b/archive/motoko/defi/src/frontend/src/components/Nav.svelte similarity index 100% rename from motoko/defi/src/frontend/src/components/Nav.svelte rename to archive/motoko/defi/src/frontend/src/components/Nav.svelte diff --git a/motoko/defi/src/frontend/src/components/Orders.svelte b/archive/motoko/defi/src/frontend/src/components/Orders.svelte similarity index 100% rename from motoko/defi/src/frontend/src/components/Orders.svelte rename to archive/motoko/defi/src/frontend/src/components/Orders.svelte diff --git a/motoko/defi/src/frontend/src/main.js b/archive/motoko/defi/src/frontend/src/main.js similarity index 100% rename from motoko/defi/src/frontend/src/main.js rename to archive/motoko/defi/src/frontend/src/main.js diff --git a/motoko/defi/src/frontend/src/store/auth.js b/archive/motoko/defi/src/frontend/src/store/auth.js similarity index 100% rename from motoko/defi/src/frontend/src/store/auth.js rename to archive/motoko/defi/src/frontend/src/store/auth.js diff --git a/motoko/defi/src/frontend/src/store/order.js b/archive/motoko/defi/src/frontend/src/store/order.js similarity index 100% rename from motoko/defi/src/frontend/src/store/order.js rename to archive/motoko/defi/src/frontend/src/store/order.js diff --git a/motoko/defi/src/frontend/src/store/store.js b/archive/motoko/defi/src/frontend/src/store/store.js similarity index 100% rename from motoko/defi/src/frontend/src/store/store.js rename to archive/motoko/defi/src/frontend/src/store/store.js diff --git a/motoko/defi/src/frontend/src/utils/helpers.js b/archive/motoko/defi/src/frontend/src/utils/helpers.js similarity index 100% rename from motoko/defi/src/frontend/src/utils/helpers.js rename to archive/motoko/defi/src/frontend/src/utils/helpers.js diff --git a/motoko/defi/src/frontend_assets/favicon.png b/archive/motoko/defi/src/frontend_assets/favicon.png similarity index 100% rename from motoko/defi/src/frontend_assets/favicon.png rename to archive/motoko/defi/src/frontend_assets/favicon.png diff --git a/motoko/defi/src/frontend_assets/global.css b/archive/motoko/defi/src/frontend_assets/global.css similarity index 100% rename from motoko/defi/src/frontend_assets/global.css rename to archive/motoko/defi/src/frontend_assets/global.css diff --git a/motoko/defi/src/frontend_assets/images/dfinity.svg b/archive/motoko/defi/src/frontend_assets/images/dfinity.svg similarity index 100% rename from motoko/defi/src/frontend_assets/images/dfinity.svg rename to archive/motoko/defi/src/frontend_assets/images/dfinity.svg diff --git a/motoko/defi/src/frontend_assets/images/ic-badge.png b/archive/motoko/defi/src/frontend_assets/images/ic-badge.png similarity index 100% rename from motoko/defi/src/frontend_assets/images/ic-badge.png rename to archive/motoko/defi/src/frontend_assets/images/ic-badge.png diff --git a/motoko/defi/src/frontend_assets/images/plug_logo.png b/archive/motoko/defi/src/frontend_assets/images/plug_logo.png similarity index 100% rename from motoko/defi/src/frontend_assets/images/plug_logo.png rename to archive/motoko/defi/src/frontend_assets/images/plug_logo.png diff --git a/motoko/defi/src/frontend_assets/index.html b/archive/motoko/defi/src/frontend_assets/index.html similarity index 100% rename from motoko/defi/src/frontend_assets/index.html rename to archive/motoko/defi/src/frontend_assets/index.html diff --git a/motoko/defi/src/ledger/ledger.private.did b/archive/motoko/defi/src/ledger/ledger.private.did similarity index 100% rename from motoko/defi/src/ledger/ledger.private.did rename to archive/motoko/defi/src/ledger/ledger.private.did diff --git a/motoko/defi/src/ledger/ledger.public.did b/archive/motoko/defi/src/ledger/ledger.public.did similarity index 100% rename from motoko/defi/src/ledger/ledger.public.did rename to archive/motoko/defi/src/ledger/ledger.public.did diff --git a/motoko/defi/src/ledger/ledger.wasm b/archive/motoko/defi/src/ledger/ledger.wasm similarity index 100% rename from motoko/defi/src/ledger/ledger.wasm rename to archive/motoko/defi/src/ledger/ledger.wasm diff --git a/motoko/defi/src/ledger/ledger/index.d.ts b/archive/motoko/defi/src/ledger/ledger/index.d.ts similarity index 100% rename from motoko/defi/src/ledger/ledger/index.d.ts rename to archive/motoko/defi/src/ledger/ledger/index.d.ts diff --git a/motoko/defi/src/ledger/ledger/index.js b/archive/motoko/defi/src/ledger/ledger/index.js similarity index 100% rename from motoko/defi/src/ledger/ledger/index.js rename to archive/motoko/defi/src/ledger/ledger/index.js diff --git a/motoko/defi/src/ledger/ledger/ledger.did.d.ts b/archive/motoko/defi/src/ledger/ledger/ledger.did.d.ts similarity index 100% rename from motoko/defi/src/ledger/ledger/ledger.did.d.ts rename to archive/motoko/defi/src/ledger/ledger/ledger.did.d.ts diff --git a/motoko/defi/src/ledger/ledger/ledger.did.js b/archive/motoko/defi/src/ledger/ledger/ledger.did.js similarity index 100% rename from motoko/defi/src/ledger/ledger/ledger.did.js rename to archive/motoko/defi/src/ledger/ledger/ledger.did.js diff --git a/motoko/defi/test/demo.sh b/archive/motoko/defi/test/demo.sh similarity index 100% rename from motoko/defi/test/demo.sh rename to archive/motoko/defi/test/demo.sh diff --git a/motoko/defi/test/trade.sh b/archive/motoko/defi/test/trade.sh similarity index 100% rename from motoko/defi/test/trade.sh rename to archive/motoko/defi/test/trade.sh diff --git a/motoko/defi/test/transfer.sh b/archive/motoko/defi/test/transfer.sh similarity index 100% rename from motoko/defi/test/transfer.sh rename to archive/motoko/defi/test/transfer.sh diff --git a/motoko/dip721-nft-container/README.md b/archive/motoko/dip721-nft-container/README.md similarity index 100% rename from motoko/dip721-nft-container/README.md rename to archive/motoko/dip721-nft-container/README.md diff --git a/motoko/dip721-nft-container/demo.sh b/archive/motoko/dip721-nft-container/demo.sh similarity index 100% rename from motoko/dip721-nft-container/demo.sh rename to archive/motoko/dip721-nft-container/demo.sh diff --git a/motoko/dip721-nft-container/dfx.json b/archive/motoko/dip721-nft-container/dfx.json similarity index 100% rename from motoko/dip721-nft-container/dfx.json rename to archive/motoko/dip721-nft-container/dfx.json diff --git a/motoko/dip721-nft-container/src/Main.mo b/archive/motoko/dip721-nft-container/src/Main.mo similarity index 100% rename from motoko/dip721-nft-container/src/Main.mo rename to archive/motoko/dip721-nft-container/src/Main.mo diff --git a/motoko/dip721-nft-container/src/Types.mo b/archive/motoko/dip721-nft-container/src/Types.mo similarity index 100% rename from motoko/dip721-nft-container/src/Types.mo rename to archive/motoko/dip721-nft-container/src/Types.mo diff --git a/motoko/echo/Makefile b/archive/motoko/echo/Makefile similarity index 100% rename from motoko/echo/Makefile rename to archive/motoko/echo/Makefile diff --git a/motoko/echo/README.md b/archive/motoko/echo/README.md similarity index 100% rename from motoko/echo/README.md rename to archive/motoko/echo/README.md diff --git a/motoko/echo/dfx.json b/archive/motoko/echo/dfx.json similarity index 100% rename from motoko/echo/dfx.json rename to archive/motoko/echo/dfx.json diff --git a/motoko/echo/src/Main.mo b/archive/motoko/echo/src/Main.mo similarity index 100% rename from motoko/echo/src/Main.mo rename to archive/motoko/echo/src/Main.mo diff --git a/motoko/factorial/Makefile b/archive/motoko/factorial/Makefile similarity index 100% rename from motoko/factorial/Makefile rename to archive/motoko/factorial/Makefile diff --git a/motoko/factorial/README.md b/archive/motoko/factorial/README.md similarity index 100% rename from motoko/factorial/README.md rename to archive/motoko/factorial/README.md diff --git a/motoko/factorial/dfx.json b/archive/motoko/factorial/dfx.json similarity index 100% rename from motoko/factorial/dfx.json rename to archive/motoko/factorial/dfx.json diff --git a/motoko/factorial/src/Main.mo b/archive/motoko/factorial/src/Main.mo similarity index 100% rename from motoko/factorial/src/Main.mo rename to archive/motoko/factorial/src/Main.mo diff --git a/motoko/hello-world/Makefile b/archive/motoko/hello-world/Makefile similarity index 100% rename from motoko/hello-world/Makefile rename to archive/motoko/hello-world/Makefile diff --git a/motoko/hello-world/README.md b/archive/motoko/hello-world/README.md similarity index 100% rename from motoko/hello-world/README.md rename to archive/motoko/hello-world/README.md diff --git a/motoko/hello-world/dfx.json b/archive/motoko/hello-world/dfx.json similarity index 100% rename from motoko/hello-world/dfx.json rename to archive/motoko/hello-world/dfx.json diff --git a/motoko/hello-world/ii.did b/archive/motoko/hello-world/ii.did similarity index 100% rename from motoko/hello-world/ii.did rename to archive/motoko/hello-world/ii.did diff --git a/motoko/hello-world/src/Main.mo b/archive/motoko/hello-world/src/Main.mo similarity index 100% rename from motoko/hello-world/src/Main.mo rename to archive/motoko/hello-world/src/Main.mo diff --git a/motoko/hello-world/src/declarations/hello_world/hello_world.did b/archive/motoko/hello-world/src/declarations/hello_world/hello_world.did similarity index 100% rename from motoko/hello-world/src/declarations/hello_world/hello_world.did rename to archive/motoko/hello-world/src/declarations/hello_world/hello_world.did diff --git a/motoko/hello-world/src/declarations/hello_world/hello_world.did.d.ts b/archive/motoko/hello-world/src/declarations/hello_world/hello_world.did.d.ts similarity index 100% rename from motoko/hello-world/src/declarations/hello_world/hello_world.did.d.ts rename to archive/motoko/hello-world/src/declarations/hello_world/hello_world.did.d.ts diff --git a/motoko/hello-world/src/declarations/hello_world/hello_world.did.js b/archive/motoko/hello-world/src/declarations/hello_world/hello_world.did.js similarity index 100% rename from motoko/hello-world/src/declarations/hello_world/hello_world.did.js rename to archive/motoko/hello-world/src/declarations/hello_world/hello_world.did.js diff --git a/motoko/hello-world/src/declarations/hello_world/index.d.ts b/archive/motoko/hello-world/src/declarations/hello_world/index.d.ts similarity index 100% rename from motoko/hello-world/src/declarations/hello_world/index.d.ts rename to archive/motoko/hello-world/src/declarations/hello_world/index.d.ts diff --git a/motoko/hello-world/src/declarations/hello_world/index.js b/archive/motoko/hello-world/src/declarations/hello_world/index.js similarity index 100% rename from motoko/hello-world/src/declarations/hello_world/index.js rename to archive/motoko/hello-world/src/declarations/hello_world/index.js diff --git a/motoko/hello/Makefile b/archive/motoko/hello/Makefile similarity index 100% rename from motoko/hello/Makefile rename to archive/motoko/hello/Makefile diff --git a/motoko/hello/README.md b/archive/motoko/hello/README.md similarity index 100% rename from motoko/hello/README.md rename to archive/motoko/hello/README.md diff --git a/motoko/hello/dfx.json b/archive/motoko/hello/dfx.json similarity index 100% rename from motoko/hello/dfx.json rename to archive/motoko/hello/dfx.json diff --git a/motoko/hello/package-lock.json b/archive/motoko/hello/package-lock.json similarity index 100% rename from motoko/hello/package-lock.json rename to archive/motoko/hello/package-lock.json diff --git a/motoko/hello/package.json b/archive/motoko/hello/package.json similarity index 100% rename from motoko/hello/package.json rename to archive/motoko/hello/package.json diff --git a/motoko/hello/src/hello/main.mo b/archive/motoko/hello/src/hello/main.mo similarity index 100% rename from motoko/hello/src/hello/main.mo rename to archive/motoko/hello/src/hello/main.mo diff --git a/motoko/hello/src/hello_assets/assets/favicon.ico b/archive/motoko/hello/src/hello_assets/assets/favicon.ico similarity index 100% rename from motoko/hello/src/hello_assets/assets/favicon.ico rename to archive/motoko/hello/src/hello_assets/assets/favicon.ico diff --git a/motoko/hello/src/hello_assets/assets/logo.png b/archive/motoko/hello/src/hello_assets/assets/logo.png similarity index 100% rename from motoko/hello/src/hello_assets/assets/logo.png rename to archive/motoko/hello/src/hello_assets/assets/logo.png diff --git a/motoko/hello/src/hello_assets/assets/main.css b/archive/motoko/hello/src/hello_assets/assets/main.css similarity index 100% rename from motoko/hello/src/hello_assets/assets/main.css rename to archive/motoko/hello/src/hello_assets/assets/main.css diff --git a/motoko/hello/src/hello_assets/assets/sample-asset.txt b/archive/motoko/hello/src/hello_assets/assets/sample-asset.txt similarity index 100% rename from motoko/hello/src/hello_assets/assets/sample-asset.txt rename to archive/motoko/hello/src/hello_assets/assets/sample-asset.txt diff --git a/motoko/hello/src/hello_assets/src/index.html b/archive/motoko/hello/src/hello_assets/src/index.html similarity index 100% rename from motoko/hello/src/hello_assets/src/index.html rename to archive/motoko/hello/src/hello_assets/src/index.html diff --git a/motoko/hello/src/hello_assets/src/index.js b/archive/motoko/hello/src/hello_assets/src/index.js similarity index 100% rename from motoko/hello/src/hello_assets/src/index.js rename to archive/motoko/hello/src/hello_assets/src/index.js diff --git a/motoko/hello/webpack.config.js b/archive/motoko/hello/webpack.config.js similarity index 100% rename from motoko/hello/webpack.config.js rename to archive/motoko/hello/webpack.config.js diff --git a/motoko/icp_transfer/.gitignore b/archive/motoko/icp_transfer/.gitignore similarity index 100% rename from motoko/icp_transfer/.gitignore rename to archive/motoko/icp_transfer/.gitignore diff --git a/motoko/icp_transfer/README.md b/archive/motoko/icp_transfer/README.md similarity index 100% rename from motoko/icp_transfer/README.md rename to archive/motoko/icp_transfer/README.md diff --git a/motoko/icp_transfer/demo.sh b/archive/motoko/icp_transfer/demo.sh similarity index 100% rename from motoko/icp_transfer/demo.sh rename to archive/motoko/icp_transfer/demo.sh diff --git a/motoko/icp_transfer/dfx.json b/archive/motoko/icp_transfer/dfx.json similarity index 100% rename from motoko/icp_transfer/dfx.json rename to archive/motoko/icp_transfer/dfx.json diff --git a/motoko/icp_transfer/src/icp_transfer_backend/main.mo b/archive/motoko/icp_transfer/src/icp_transfer_backend/main.mo similarity index 100% rename from motoko/icp_transfer/src/icp_transfer_backend/main.mo rename to archive/motoko/icp_transfer/src/icp_transfer_backend/main.mo diff --git a/motoko/ios-notifications/.gitignore b/archive/motoko/ios-notifications/.gitignore similarity index 100% rename from motoko/ios-notifications/.gitignore rename to archive/motoko/ios-notifications/.gitignore diff --git a/motoko/ios-notifications/README.md b/archive/motoko/ios-notifications/README.md similarity index 100% rename from motoko/ios-notifications/README.md rename to archive/motoko/ios-notifications/README.md diff --git a/motoko/ios-notifications/dapp-demo/.gitignore b/archive/motoko/ios-notifications/dapp-demo/.gitignore similarity index 100% rename from motoko/ios-notifications/dapp-demo/.gitignore rename to archive/motoko/ios-notifications/dapp-demo/.gitignore diff --git a/motoko/ios-notifications/dapp-demo/Makefile b/archive/motoko/ios-notifications/dapp-demo/Makefile similarity index 100% rename from motoko/ios-notifications/dapp-demo/Makefile rename to archive/motoko/ios-notifications/dapp-demo/Makefile diff --git a/motoko/ios-notifications/dapp-demo/README.md b/archive/motoko/ios-notifications/dapp-demo/README.md similarity index 100% rename from motoko/ios-notifications/dapp-demo/README.md rename to archive/motoko/ios-notifications/dapp-demo/README.md diff --git a/motoko/ios-notifications/dapp-demo/canister_ids.json b/archive/motoko/ios-notifications/dapp-demo/canister_ids.json similarity index 100% rename from motoko/ios-notifications/dapp-demo/canister_ids.json rename to archive/motoko/ios-notifications/dapp-demo/canister_ids.json diff --git a/motoko/ios-notifications/dapp-demo/dfx.json b/archive/motoko/ios-notifications/dapp-demo/dfx.json similarity index 100% rename from motoko/ios-notifications/dapp-demo/dfx.json rename to archive/motoko/ios-notifications/dapp-demo/dfx.json diff --git a/motoko/ios-notifications/dapp-demo/package-lock.json b/archive/motoko/ios-notifications/dapp-demo/package-lock.json similarity index 100% rename from motoko/ios-notifications/dapp-demo/package-lock.json rename to archive/motoko/ios-notifications/dapp-demo/package-lock.json diff --git a/motoko/ios-notifications/dapp-demo/package.json b/archive/motoko/ios-notifications/dapp-demo/package.json similarity index 100% rename from motoko/ios-notifications/dapp-demo/package.json rename to archive/motoko/ios-notifications/dapp-demo/package.json diff --git a/motoko/ios-notifications/dapp-demo/src/api/main.mo b/archive/motoko/ios-notifications/dapp-demo/src/api/main.mo similarity index 100% rename from motoko/ios-notifications/dapp-demo/src/api/main.mo rename to archive/motoko/ios-notifications/dapp-demo/src/api/main.mo diff --git a/motoko/ios-notifications/dapp-demo/src/www/assets/.ic-assets.json b/archive/motoko/ios-notifications/dapp-demo/src/www/assets/.ic-assets.json similarity index 100% rename from motoko/ios-notifications/dapp-demo/src/www/assets/.ic-assets.json rename to archive/motoko/ios-notifications/dapp-demo/src/www/assets/.ic-assets.json diff --git a/motoko/ios-notifications/dapp-demo/src/www/assets/.well-known/apple-app-site-association b/archive/motoko/ios-notifications/dapp-demo/src/www/assets/.well-known/apple-app-site-association similarity index 100% rename from motoko/ios-notifications/dapp-demo/src/www/assets/.well-known/apple-app-site-association rename to archive/motoko/ios-notifications/dapp-demo/src/www/assets/.well-known/apple-app-site-association diff --git a/motoko/ios-notifications/dapp-demo/src/www/assets/main.css b/archive/motoko/ios-notifications/dapp-demo/src/www/assets/main.css similarity index 100% rename from motoko/ios-notifications/dapp-demo/src/www/assets/main.css rename to archive/motoko/ios-notifications/dapp-demo/src/www/assets/main.css diff --git a/motoko/ios-notifications/dapp-demo/src/www/src/auth.ts b/archive/motoko/ios-notifications/dapp-demo/src/www/src/auth.ts similarity index 100% rename from motoko/ios-notifications/dapp-demo/src/www/src/auth.ts rename to archive/motoko/ios-notifications/dapp-demo/src/www/src/auth.ts diff --git a/motoko/ios-notifications/dapp-demo/src/www/src/index.html b/archive/motoko/ios-notifications/dapp-demo/src/www/src/index.html similarity index 100% rename from motoko/ios-notifications/dapp-demo/src/www/src/index.html rename to archive/motoko/ios-notifications/dapp-demo/src/www/src/index.html diff --git a/motoko/ios-notifications/dapp-demo/src/www/src/index.ts b/archive/motoko/ios-notifications/dapp-demo/src/www/src/index.ts similarity index 100% rename from motoko/ios-notifications/dapp-demo/src/www/src/index.ts rename to archive/motoko/ios-notifications/dapp-demo/src/www/src/index.ts diff --git a/motoko/ios-notifications/dapp-demo/src/www/src/pages/about.ts b/archive/motoko/ios-notifications/dapp-demo/src/www/src/pages/about.ts similarity index 100% rename from motoko/ios-notifications/dapp-demo/src/www/src/pages/about.ts rename to archive/motoko/ios-notifications/dapp-demo/src/www/src/pages/about.ts diff --git a/motoko/ios-notifications/dapp-demo/src/www/src/pages/home.ts b/archive/motoko/ios-notifications/dapp-demo/src/www/src/pages/home.ts similarity index 100% rename from motoko/ios-notifications/dapp-demo/src/www/src/pages/home.ts rename to archive/motoko/ios-notifications/dapp-demo/src/www/src/pages/home.ts diff --git a/motoko/ios-notifications/dapp-demo/src/www/src/pages/index.ts b/archive/motoko/ios-notifications/dapp-demo/src/www/src/pages/index.ts similarity index 100% rename from motoko/ios-notifications/dapp-demo/src/www/src/pages/index.ts rename to archive/motoko/ios-notifications/dapp-demo/src/www/src/pages/index.ts diff --git a/motoko/ios-notifications/dapp-demo/src/www/src/pages/login.ts b/archive/motoko/ios-notifications/dapp-demo/src/www/src/pages/login.ts similarity index 100% rename from motoko/ios-notifications/dapp-demo/src/www/src/pages/login.ts rename to archive/motoko/ios-notifications/dapp-demo/src/www/src/pages/login.ts diff --git a/motoko/ios-notifications/dapp-demo/src/www/src/router.ts b/archive/motoko/ios-notifications/dapp-demo/src/www/src/router.ts similarity index 100% rename from motoko/ios-notifications/dapp-demo/src/www/src/router.ts rename to archive/motoko/ios-notifications/dapp-demo/src/www/src/router.ts diff --git a/motoko/ios-notifications/dapp-demo/src/www/src/types.ts b/archive/motoko/ios-notifications/dapp-demo/src/www/src/types.ts similarity index 100% rename from motoko/ios-notifications/dapp-demo/src/www/src/types.ts rename to archive/motoko/ios-notifications/dapp-demo/src/www/src/types.ts diff --git a/motoko/ios-notifications/dapp-demo/test_api.sh b/archive/motoko/ios-notifications/dapp-demo/test_api.sh similarity index 100% rename from motoko/ios-notifications/dapp-demo/test_api.sh rename to archive/motoko/ios-notifications/dapp-demo/test_api.sh diff --git a/motoko/ios-notifications/dapp-demo/tsconfig.json b/archive/motoko/ios-notifications/dapp-demo/tsconfig.json similarity index 100% rename from motoko/ios-notifications/dapp-demo/tsconfig.json rename to archive/motoko/ios-notifications/dapp-demo/tsconfig.json diff --git a/motoko/ios-notifications/dapp-demo/webpack.config.js b/archive/motoko/ios-notifications/dapp-demo/webpack.config.js similarity index 100% rename from motoko/ios-notifications/dapp-demo/webpack.config.js rename to archive/motoko/ios-notifications/dapp-demo/webpack.config.js diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample-Info.plist b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample-Info.plist similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample-Info.plist rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample-Info.plist diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.pbxproj b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.pbxproj similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.pbxproj rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.pbxproj diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample/Assets.xcassets/AccentColor.colorset/Contents.json b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/Assets.xcassets/AccentColor.colorset/Contents.json similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample/Assets.xcassets/AccentColor.colorset/Contents.json rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/Assets.xcassets/AccentColor.colorset/Contents.json diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample/Assets.xcassets/AppIcon.appiconset/Contents.json b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample/Assets.xcassets/AppIcon.appiconset/Contents.json rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample/Assets.xcassets/Contents.json b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/Assets.xcassets/Contents.json similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample/Assets.xcassets/Contents.json rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/Assets.xcassets/Contents.json diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample/ContentView.swift b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/ContentView.swift similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample/ContentView.swift rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/ContentView.swift diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample/DApp.swift b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/DApp.swift similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample/DApp.swift rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/DApp.swift diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample/DAppDelegate.swift b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/DAppDelegate.swift similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample/DAppDelegate.swift rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/DAppDelegate.swift diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample/DAppExample.entitlements b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/DAppExample.entitlements similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample/DAppExample.entitlements rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/DAppExample.entitlements diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample/DAppWebView.swift b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/DAppWebView.swift similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample/DAppWebView.swift rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/DAppWebView.swift diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample/DappConfig.swift b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/DappConfig.swift similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample/DappConfig.swift rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/DappConfig.swift diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample/IdentityKeyPair.swift b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/IdentityKeyPair.swift similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample/IdentityKeyPair.swift rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/IdentityKeyPair.swift diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample/LoadingScreen.swift b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/LoadingScreen.swift similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample/LoadingScreen.swift rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/LoadingScreen.swift diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample/LoginSession.swift b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/LoginSession.swift similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample/LoginSession.swift rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/LoginSession.swift diff --git a/motoko/ios-notifications/ios-dapp-demo/DAppExample/Preview Content/Preview Assets.xcassets/Contents.json b/archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/Preview Content/Preview Assets.xcassets/Contents.json similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/DAppExample/Preview Content/Preview Assets.xcassets/Contents.json rename to archive/motoko/ios-notifications/ios-dapp-demo/DAppExample/Preview Content/Preview Assets.xcassets/Contents.json diff --git a/motoko/ios-notifications/ios-dapp-demo/README.md b/archive/motoko/ios-notifications/ios-dapp-demo/README.md similarity index 100% rename from motoko/ios-notifications/ios-dapp-demo/README.md rename to archive/motoko/ios-notifications/ios-dapp-demo/README.md diff --git a/motoko/ios-notifications/send-notification.sh b/archive/motoko/ios-notifications/send-notification.sh similarity index 100% rename from motoko/ios-notifications/send-notification.sh rename to archive/motoko/ios-notifications/send-notification.sh diff --git a/motoko/persistent-storage/Makefile b/archive/motoko/persistent-storage/Makefile similarity index 100% rename from motoko/persistent-storage/Makefile rename to archive/motoko/persistent-storage/Makefile diff --git a/motoko/persistent-storage/README.md b/archive/motoko/persistent-storage/README.md similarity index 100% rename from motoko/persistent-storage/README.md rename to archive/motoko/persistent-storage/README.md diff --git a/motoko/persistent-storage/README_images/candid_ui.png b/archive/motoko/persistent-storage/README_images/candid_ui.png similarity index 100% rename from motoko/persistent-storage/README_images/candid_ui.png rename to archive/motoko/persistent-storage/README_images/candid_ui.png diff --git a/motoko/persistent-storage/dfx.json b/archive/motoko/persistent-storage/dfx.json similarity index 100% rename from motoko/persistent-storage/dfx.json rename to archive/motoko/persistent-storage/dfx.json diff --git a/motoko/persistent-storage/src/persistent_storage/main.mo b/archive/motoko/persistent-storage/src/persistent_storage/main.mo similarity index 100% rename from motoko/persistent-storage/src/persistent_storage/main.mo rename to archive/motoko/persistent-storage/src/persistent_storage/main.mo diff --git a/motoko/phone-book/Makefile b/archive/motoko/phone-book/Makefile similarity index 100% rename from motoko/phone-book/Makefile rename to archive/motoko/phone-book/Makefile diff --git a/motoko/phone-book/README.md b/archive/motoko/phone-book/README.md similarity index 100% rename from motoko/phone-book/README.md rename to archive/motoko/phone-book/README.md diff --git a/motoko/phone-book/dfx.json b/archive/motoko/phone-book/dfx.json similarity index 100% rename from motoko/phone-book/dfx.json rename to archive/motoko/phone-book/dfx.json diff --git a/motoko/phone-book/package-lock.json b/archive/motoko/phone-book/package-lock.json similarity index 100% rename from motoko/phone-book/package-lock.json rename to archive/motoko/phone-book/package-lock.json diff --git a/motoko/phone-book/package.json b/archive/motoko/phone-book/package.json similarity index 100% rename from motoko/phone-book/package.json rename to archive/motoko/phone-book/package.json diff --git a/motoko/phone-book/src/declarations/phone_book/index.d.ts b/archive/motoko/phone-book/src/declarations/phone_book/index.d.ts similarity index 100% rename from motoko/phone-book/src/declarations/phone_book/index.d.ts rename to archive/motoko/phone-book/src/declarations/phone_book/index.d.ts diff --git a/motoko/phone-book/src/declarations/phone_book/index.js b/archive/motoko/phone-book/src/declarations/phone_book/index.js similarity index 100% rename from motoko/phone-book/src/declarations/phone_book/index.js rename to archive/motoko/phone-book/src/declarations/phone_book/index.js diff --git a/motoko/phone-book/src/declarations/phone_book/phone_book.did b/archive/motoko/phone-book/src/declarations/phone_book/phone_book.did similarity index 100% rename from motoko/phone-book/src/declarations/phone_book/phone_book.did rename to archive/motoko/phone-book/src/declarations/phone_book/phone_book.did diff --git a/motoko/phone-book/src/declarations/phone_book/phone_book.did.d.ts b/archive/motoko/phone-book/src/declarations/phone_book/phone_book.did.d.ts similarity index 100% rename from motoko/phone-book/src/declarations/phone_book/phone_book.did.d.ts rename to archive/motoko/phone-book/src/declarations/phone_book/phone_book.did.d.ts diff --git a/motoko/phone-book/src/declarations/phone_book/phone_book.did.js b/archive/motoko/phone-book/src/declarations/phone_book/phone_book.did.js similarity index 100% rename from motoko/phone-book/src/declarations/phone_book/phone_book.did.js rename to archive/motoko/phone-book/src/declarations/phone_book/phone_book.did.js diff --git a/motoko/phone-book/src/phone-book/Main.mo b/archive/motoko/phone-book/src/phone-book/Main.mo similarity index 100% rename from motoko/phone-book/src/phone-book/Main.mo rename to archive/motoko/phone-book/src/phone-book/Main.mo diff --git a/motoko/phone-book/src/www/assets/sample-asset.txt b/archive/motoko/phone-book/src/www/assets/sample-asset.txt similarity index 100% rename from motoko/phone-book/src/www/assets/sample-asset.txt rename to archive/motoko/phone-book/src/www/assets/sample-asset.txt diff --git a/motoko/phone-book/src/www/src/index.html b/archive/motoko/phone-book/src/www/src/index.html similarity index 100% rename from motoko/phone-book/src/www/src/index.html rename to archive/motoko/phone-book/src/www/src/index.html diff --git a/motoko/phone-book/src/www/src/index.jsx b/archive/motoko/phone-book/src/www/src/index.jsx similarity index 100% rename from motoko/phone-book/src/www/src/index.jsx rename to archive/motoko/phone-book/src/www/src/index.jsx diff --git a/motoko/phone-book/tsconfig.json b/archive/motoko/phone-book/tsconfig.json similarity index 100% rename from motoko/phone-book/tsconfig.json rename to archive/motoko/phone-book/tsconfig.json diff --git a/motoko/phone-book/webpack.config.js b/archive/motoko/phone-book/webpack.config.js similarity index 100% rename from motoko/phone-book/webpack.config.js rename to archive/motoko/phone-book/webpack.config.js diff --git a/motoko/quicksort/Makefile b/archive/motoko/quicksort/Makefile similarity index 100% rename from motoko/quicksort/Makefile rename to archive/motoko/quicksort/Makefile diff --git a/motoko/quicksort/README.md b/archive/motoko/quicksort/README.md similarity index 100% rename from motoko/quicksort/README.md rename to archive/motoko/quicksort/README.md diff --git a/motoko/quicksort/dfx.json b/archive/motoko/quicksort/dfx.json similarity index 100% rename from motoko/quicksort/dfx.json rename to archive/motoko/quicksort/dfx.json diff --git a/motoko/quicksort/src/Main.mo b/archive/motoko/quicksort/src/Main.mo similarity index 100% rename from motoko/quicksort/src/Main.mo rename to archive/motoko/quicksort/src/Main.mo diff --git a/motoko/quicksort/src/Quicksort.mo b/archive/motoko/quicksort/src/Quicksort.mo similarity index 100% rename from motoko/quicksort/src/Quicksort.mo rename to archive/motoko/quicksort/src/Quicksort.mo diff --git a/motoko/simple-to-do/Makefile b/archive/motoko/simple-to-do/Makefile similarity index 100% rename from motoko/simple-to-do/Makefile rename to archive/motoko/simple-to-do/Makefile diff --git a/motoko/simple-to-do/README.md b/archive/motoko/simple-to-do/README.md similarity index 100% rename from motoko/simple-to-do/README.md rename to archive/motoko/simple-to-do/README.md diff --git a/motoko/simple-to-do/dfx.json b/archive/motoko/simple-to-do/dfx.json similarity index 100% rename from motoko/simple-to-do/dfx.json rename to archive/motoko/simple-to-do/dfx.json diff --git a/motoko/simple-to-do/src/Main.mo b/archive/motoko/simple-to-do/src/Main.mo similarity index 100% rename from motoko/simple-to-do/src/Main.mo rename to archive/motoko/simple-to-do/src/Main.mo diff --git a/motoko/defi/src/DIP20 b/motoko/defi/src/DIP20 deleted file mode 160000 index 1d4b92781..000000000 --- a/motoko/defi/src/DIP20 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 1d4b92781e46cee528e52f578c55e384561f380a diff --git a/motoko/defi/src/ledger/ledger.did b/motoko/defi/src/ledger/ledger.did deleted file mode 100644 index 26adbe583..000000000 --- a/motoko/defi/src/ledger/ledger.did +++ /dev/null @@ -1,87 +0,0 @@ -// This is the official Ledger interface that is guaranteed to be backward compatible. - -// Amount of tokens, measured in 10^-8 of a token. -type Tokens = record { - e8s : nat64; -}; - -// Number of nanoseconds from the UNIX epoch in UTC timezone. -type TimeStamp = record { - timestamp_nanos: nat64; -}; - -// AccountIdentifier is a 32-byte array. -// The first 4 bytes is big-endian encoding of a CRC32 checksum of the last 28 bytes. -type AccountIdentifier = blob; - -// Subaccount is an arbitrary 32-byte byte array. -// Ledger uses subaccounts to compute the source address, which enables one -// principal to control multiple ledger accounts. -type SubAccount = blob; - -// Sequence number of a block produced by the ledger. -type BlockIndex = nat64; - -// An arbitrary number associated with a transaction. -// The caller can set it in a `transfer` call as a correlation identifier. -type Memo = nat64; - -// Arguments for the `transfer` call. -type TransferArgs = record { - // Transaction memo. - // See comments for the `Memo` type. - memo: Memo; - // The amount that the caller wants to transfer to the destination address. - amount: Tokens; - // The amount that the caller pays for the transaction. - // Must be 10000 e8s. - fee: Tokens; - // The subaccount from which the caller wants to transfer funds. - // If null, the ledger uses the default (all zeros) subaccount to compute the source address. - // See comments for the `SubAccount` type. - from_subaccount: opt SubAccount; - // The destination account. - // If the transfer is successful, the balance of this address increases by `amount`. - to: AccountIdentifier; - // The point in time when the caller created this request. - // If null, the ledger uses current IC time as the timestamp. - created_at_time: opt TimeStamp; -}; - -type TransferError = variant { - // The fee that the caller specified in the transfer request was not the one that ledger expects. - // The caller can change the transfer fee to the `expected_fee` and retry the request. - BadFee : record { expected_fee : Tokens; }; - // The account specified by the caller doesn't have enough funds. - InsufficientFunds : record { balance: Tokens; }; - // The request is too old. - // The ledger only accepts requests created within 24 hours window. - // This is a non-recoverable error. - TxTooOld : record { allowed_window_nanos: nat64 }; - // The caller specified `created_at_time` that is too far in future. - // The caller can retry the request later. - TxCreatedInFuture : null; - // The ledger has already executed the request. - // `duplicate_of` field is equal to the index of the block containing the original transaction. - TxDuplicate : record { duplicate_of: BlockIndex; } -}; - -type TransferResult = variant { - Ok : BlockIndex; - Err : TransferError; -}; - -// Arguments for the `account_balance` call. -type AccountBalanceArgs = record { - account: AccountIdentifier; -}; - -service : { - // Transfers tokens from a subaccount of the caller to the destination address. - // The source address is computed from the principal of the caller and the specified subaccount. - // When successful, returns the index of the block containing the transaction. - transfer : (TransferArgs) -> (TransferResult); - - // Returns the amount of Tokens on the specified account. - account_balance : (AccountBalanceArgs) -> (Tokens) query; -} From e4d3b6faa1d3901bbd53e78786387b8150c775c7 Mon Sep 17 00:00:00 2001 From: Jessie Mongeon Date: Fri, 20 Sep 2024 15:42:40 -0500 Subject: [PATCH 2/2] Archive examples 2 --- .github/CODEOWNERS | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 636f03085..1acc7bb2d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -9,43 +9,28 @@ /hosting/static-website/ @dfinity/sdk /hosting/unity-webgl-template/ @dfinity/sdk -/motoko/actor_reference/ @dfinity/languages -/motoko/auth_client_demo/ @dfinity/sdk /motoko/basic_bitcoin/ @dfinity/execution /motoko/basic_dao/ @dfinity/languages -/motoko/calc/ @dfinity/languages /motoko/canister_logs/ @dfinity/execution /motoko/cert-var/ @dfinity/trust /motoko/classes/ @dfinity/languages /motoko/composite_query/ @dfinity/languages /motoko/counter/ @dfinity/languages -/motoko/defi/ @dfinity/networking -/motoko/dip721-nft-container/ @dfinity/languages -/motoko/echo/ @dfinity/languages /motoko/encrypted-notes-dapp-vetkd/ @dfinity/crypto-team /motoko/encrypted-notes-dapp/ @dfinity/crypto-team -/motoko/factorial/ @dfinity/languages -/motoko/hello-world/ @dfinity/languages -/motoko/hello/ @dfinity/languages /motoko/hello_cycles/ @dfinity/languages /motoko/http_counter/ @dfinity/networking /motoko/ic-pos/ @dfinity/div-Crypto -/motoko/icp_transfer/ @dfinity/growth /motoko/icrc2-swap/ @dfinity/div-Crypto /motoko/internet_identity_integration/ @dfinity/gix -/motoko/ios-notifications/ @dfinity/trust /motoko/life/ @dfinity/languages /motoko/minimal-counter-dapp/ @dfinity/growth /motoko/parallel_calls/ @dfinity/languages -/motoko/persistent-storage/ @dfinity/growth -/motoko/phone-book/ @dfinity/growth /motoko/pub-sub/ @dfinity/growth /motoko/query_stats/ @dfinity/sdk -/motoko/quicksort/ @dfinity/growth /motoko/random_maze/ @dfinity/languages /motoko/send_http_get/ @dfinity/networking /motoko/send_http_post/ @dfinity/networking -/motoko/simple-to-do/ @dfinity/growth /motoko/superheroes/ @dfinity/growth /motoko/threshold-ecdsa/ @dfinity/crypto-team /motoko/threshold-schnorr/ @dfinity/crypto-team