编译dev分支的最新代码.
git clone https://github.com/fsn-dev/dcrm-walletService.git
cd dcrm-walletService
git checkout dev
make
| # @version 0.2.4 | |
| # (c) Curve.Fi, 2020 | |
| # Pool for DAI/USDC/USDT | |
| from vyper.interfaces import ERC20 | |
| import CurveToken as CurveToken | |
| # Events |
| #!/bin/bash | |
| # specify the sender | |
| SENDER_OPT="--sender 0x1111111111111111111111111111111111111111 --keystore ./keystore/UTC--0x1111111111111111111111111111111111111111.json --password ./password.txt" | |
| printUsage() { | |
| echo "Usage: $0 <chainName> <gateway> <rewardToken> <batchInterval> <input-files ...> [--sendtx]" | |
| echo "" | |
| echo "input files line format: address,value" | |
| echo "value is of unit wei" |
| // | |
| // 20200426 v0.10 增加共管账户lockout审批功能 | |
| // 20200424 v0.9 增加创建共管账户和审批功能 | |
| // 20200421 v0.8 增加建组gid和获取enode签名功能 | |
| // 20200409 v0.5 更新reqDcrmAddr接口,mode参数放到data中 | |
| // 20200401 v0.4 增加lockout测试功能 | |
| // 20200327 v0.3 增加测试结果统计功能,打印出失败的交易KeyID | |
| // 20200325 v0.2 支持循环测试 | |
| // 20200324 v0.1 支持发送个人模式申请DCRM地址 | |
| // |
| Efsn pos mining guide for linux | |
| 1. Build the efsn from source code. | |
| Make sure golang installed first. | |
| $ git clone https://github.com/zhaojun-sh/efsn.git | |
| $ cd ./efsn/ |
| pragma solidity ^0.4.24; | |
| contract Token { | |
| /// @return total amount of tokens | |
| function totalSupply() constant returns (uint256 supply) {} | |
| /// @param _owner The address from which the balance will be retrieved | |
| /// @return The balance | |
| function balanceOf(address _owner) constant returns (uint256 balance) {} |
| /// http://remix.ethereum.org/#optimize=false&version=soljson-v0.4.24+commit.e67f0147.js | |
| pragma solidity ^0.4.24; | |
| contract Token { | |
| /// @return total amount of tokens | |
| function totalSupply() constant returns (uint256 supply) {} | |
| /// @param _owner The address from which the balance will be retrieved |