{"id":19303802,"url":"https://github.com/web3w/lp-farm-contracts","last_synced_at":"2026-04-22T05:33:23.547Z","repository":{"id":111890249,"uuid":"343628349","full_name":"web3w/lp-farm-contracts","owner":"web3w","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-02T03:03:19.000Z","size":268,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-05T23:42:18.133Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","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/web3w.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":"2021-03-02T03:03:12.000Z","updated_at":"2021-03-02T03:03:21.000Z","dependencies_parsed_at":"2023-06-26T01:02:57.182Z","dependency_job_id":null,"html_url":"https://github.com/web3w/lp-farm-contracts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3w%2Flp-farm-contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3w%2Flp-farm-contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3w%2Flp-farm-contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3w%2Flp-farm-contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/web3w","download_url":"https://codeload.github.com/web3w/lp-farm-contracts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240404751,"owners_count":19796064,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-11-09T23:27:36.657Z","updated_at":"2026-04-22T05:33:18.527Z","avatar_url":"https://github.com/web3w.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Mint \n\nmint token\n\n```js\noz init\n```\n\nnetworks.js\nhttps://docs.openzeppelin.com/cli/2.8/truffle\n\ncreate2\nhttps://ethfans.org/posts/getting-the-most-out-of-create2\n## Run\n\n### node run\n支持 console.log 的节点节点环境 `npx buidler node`\n```js \n  npx buidler help\n  node scripts/sample-script.js //未通过\n```\n\n### compile\n根据 solidity 版本编译代码\n\u003e 注意 Mint Token 中的 get chainid的操作码无法通过编译需要修改一下。\n\n### test\n```js\n let rolsSha3 = web3.utils.soliditySha3(\"MINTER_ROLE\")\n // 0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6\n```\n\n\n### deploy\nropsten网络\n### 合约地址\n\u003emintToken 0x8936E7208F94b7a8F77fa2dA139513d02c3B7431\nhttps://ropsten.etherscan.io/address/0x8936E7208F94b7a8F77fa2dA139513d02c3B7431#contracts\n \n\u003emintBreeder 0xD99501cEC2D253B918a6af1928Fa1272a9f231fE\n https://ropsten.etherscan.io/address/0xD99501cEC2D253B918a6af1928Fa1272a9f231fE#contracts\n \n### 矿池\n* aDaiToken: \"0xF8dAcF50a51722C7b37F600D924B14Af9382EFC1\"\n* aUSDTToken: \"0x5e5Fbc55b93e77a60BfFA9c50A6524ACDe1496a8\"\n \n### 起始挖矿块高：9052810\n\n### 解锁收益块高: 9052910\n\n\n\n### verfiy code \n必须使用 Truffle 进行发布后才能进行验证。 注需要翻墙使用\n```\ntruffle run verify MintToken --network ropsten\ntruffle run verify MintBreeder --network ropsten\n```\n\n### Remix\n```js\ntruffle-flattener contracts/token/MintToken.sol \u003e flattener/MintToken.sol\ntruffle-flattener contracts/farm/MintBreeder.sol \u003e flattener/MintBreeder.sol\n```\n \n \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3w%2Flp-farm-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb3w%2Flp-farm-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3w%2Flp-farm-contracts/lists"}