{"id":23486209,"url":"https://github.com/aurora-is-near/multisig-ops","last_synced_at":"2026-07-02T12:31:52.263Z","repository":{"id":256961310,"uuid":"856912308","full_name":"aurora-is-near/multisig-ops","owner":"aurora-is-near","description":"Suite of scripts and other aux code used to interface with multisigs","archived":false,"fork":false,"pushed_at":"2024-09-13T12:54:15.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-14T08:18:19.636Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aurora-is-near.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-13T12:53:09.000Z","updated_at":"2024-09-13T13:07:28.000Z","dependencies_parsed_at":"2024-09-14T04:58:49.917Z","dependency_job_id":null,"html_url":"https://github.com/aurora-is-near/multisig-ops","commit_stats":null,"previous_names":["aurora-is-near/multisig-ops"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aurora-is-near/multisig-ops","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aurora-is-near%2Fmultisig-ops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aurora-is-near%2Fmultisig-ops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aurora-is-near%2Fmultisig-ops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aurora-is-near%2Fmultisig-ops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aurora-is-near","download_url":"https://codeload.github.com/aurora-is-near/multisig-ops/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aurora-is-near%2Fmultisig-ops/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35048061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-24T22:15:00.231Z","updated_at":"2026-07-02T12:31:52.242Z","avatar_url":"https://github.com/aurora-is-near.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multisig Ops\n\nOperations meant to interface with different protocols at a larger,\ntrust minimized way by not relying on 3rd party web services.\nOnly requires `near-cli-rs` and `base64` for preparing args in FunctionCall proposals.\n\n## 1. Register account\n\n```bash\nACCOUNT=\"aura.sputnik-dao.near\"\nSIGNER=\"aurealis.near\"\n# register account in exchange contract\nnear contract call-function \\\n  as-transaction v2.ref-finance.near storage_deposit \\\n  json-args '{\"account_id\": \"'$ACCOUNT'\", \"registration_only\": false}' \\\n  prepaid-gas '100.0 Tgas' attached-deposit '0.1 NEAR' \\\n  sign-as $SIGNER network-config mainnet sign-with-keychain send\n# register account in farm contract\nnear contract call-function \\\n  as-transaction boostfarm.ref-labs.near storage_deposit \\\n  json-args '{\"account_id\": \"'$ACCOUNT'\", \"registration_only\": false}' \\\n  prepaid-gas '100.0 Tgas' attached-deposit '0.1 NEAR' \\\n  sign-as $SIGNER network-config mainnet sign-with-keychain send\n```\n\n## 2. Transfer tokens\n\n```bash\nMULTISIG=\"warpdrive.sputnik-dao.near\"\nSIGNER=\"aurealis.near\"\nAMOUNT_X=\"4300000000000000000000\"\nCONTRACT=\"v2.ref-finance.near\"\necho '{\"receiver_id\": \"'$CONTRACT'\", \"amount\": \"'$AMOUNT_X'\", \"msg\": \"\"}' | base64\nnear contract call-function \\\n  as-transaction $MULTISIG add_proposal \\\n  file-args ref-1-transfer-x.json \\\n  prepaid-gas '100.0 Tgas' attached-deposit '1 NEAR' \\\n  sign-as $SIGNER network-config mainnet sign-with-keychain send\n\nAMOUNT_Y=\"125000000000000000000000000\"\nCONTRACT=\"v2.ref-finance.near\"\necho '{\"receiver_id\": \"'$CONTRACT'\", \"amount\": \"'$AMOUNT_Y'\", \"msg\": \"\"}' | base64\nnear contract call-function \\\n  as-transaction $MULTISIG add_proposal \\\n  file-args ref-1-transfer-y.json \\\n  prepaid-gas '100.0 Tgas' attached-deposit '1 NEAR' \\\n  sign-as $SIGNER network-config mainnet sign-with-keychain send\n```\n\n## 3. Add liquidity\n\n```bash\nMULTISIG=\"aura.sputnik-dao.near\"\nSIGNER=\"aurealis.near\"\n# first amount is base token, second amount is quote token\nAMOUNT_X=\"1000000000000000000000000\"\nAMOUNT_Y=\"1000000000000000000000000\"\necho '{\"pool_id\": 1395,\"amounts\": [\"'$AMOUNT_X'\",\"'$AMOUNT_Y'\"]' | base64\nnear contract call-function \\\n  as-transaction $MULTISIG add_proposal \\\n  file-args ref-2-add-liquidity.json \\\n  prepaid-gas '100.0 Tgas' attached-deposit '0.1 NEAR' \\\n  sign-as $SIGNER network-config mainnet sign-with-keychain send\n```\n\n## 4. Stake liquidity into farm\n\n```bash\nMULTISIG=\"aura.sputnik-dao.near\"\nSIGNER=\"aurealis.near\"\nCONTRACT=\"boostfarm.ref-labs.near\"\nAMOUNT_LP=\"36345742222015173627\"\n# amount of lp tokens to stake, can be queried with `get_pool_shares`\necho '{\"receiver_id\": \"'$CONTRACT'\",\"token_id\": \":1395\",\"amount\": \"'$AMOUNT_LP'\",\"msg\": \"\\\"Free\\\"\"}' | base64\nnear contract call-function \\\n  as-transaction $MULTISIG add_proposal \\\n  file-args ref-3-stake-liquidity.json \\\n  prepaid-gas '100.0 Tgas' attached-deposit '0.1 NEAR' \\\n  sign-as $SIGNER network-config mainnet sign-with-keychain send\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faurora-is-near%2Fmultisig-ops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faurora-is-near%2Fmultisig-ops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faurora-is-near%2Fmultisig-ops/lists"}