没有合适的资源?快使用搜索试试~ 我知道了~
orion-exchange:Orion协议的交换合同
共64个文件
js:33个
sol:25个
json:2个
需积分: 9 0 下载量 101 浏览量
2021-05-13
05:29:46
上传
评论
收藏 72KB ZIP 举报
温馨提示
猎户座交换 Orion协议的交换合同 编译中 编译依赖于Truffle。 松露可通过以下方式安装 npm install -g truffle 合同编制 git clone https://github.com/orionprotocol/orion-exchange cd orion-exchange npm install truffle compile 测验 调整truffle-config.js :更新测试网络节点的IP和端口(建议使用ganache)。 请注意,订单测试现在暗示第二个和第三个帐户具有私钥0xc09ae3abc13c501fb9ff1c3c8ad3256678416f73a41433411f1714ae7b547fe3和ecbcd49667c96bcf8b30ccb35234a0b217ea039a8e097d3a70de9d28624ba520对应。 可以使
资源推荐
资源详情
资源评论
收起资源包目录
orion-exchange-master.zip (64个子文件)
orion-exchange-master
package.json 2KB
test
2_balances.test.js 7KB
8_margin.test.js 33KB
7_marginalSettings.test.js 3KB
5_staking.test.js 9KB
10_partialLiabilities.js 6KB
9_multiLiability.js 7KB
6_oracle.test.js 10KB
1_token.test.js 2KB
3_orders.test.js 14KB
helpers
GanacheSignatures.js 750B
Orders.js 3KB
ChainManipulation.js 2KB
PrivateKeys.js 464B
EIP712.js 1KB
Verification.md 2KB
migrations
2_deploy_tokens.js 871B
6_upgradeExchange.js 930B
3_deploy_libs.js 2KB
1_initial_migration.js 125B
7_upgradeExchange.js 1KB
4_deploy_contracts.js 3KB
5_update_priceOracle.js 769B
contracts
PriceOracleDataTypes.sol 174B
ExchangeStorage.sol 1KB
OrionVaultInterface.sol 703B
PriceOracleInterface.sol 340B
Exponential.sol 13KB
PriceOracle.sol 7KB
CarefulMath.sol 2KB
OrionVault.sol 3KB
Migrations.sol 505B
tokens
Orion.sol 327B
AggregatorV3InterfaceStub.sol 957B
USDT.sol 269B
Mintable.sol 824B
WETH.sol 307B
WBTC.sol 335B
WXRP.sol 276B
utils
Ownable.sol 2KB
Initializable.sol 2KB
Context.sol 1KB
ReentrancyGuard.sol 941B
Exchange.sol 17KB
libs
EIP712Interface.sol 779B
LibUnitConverter.sol 1KB
MarginalFunctionality.sol 13KB
LibValidator.sol 5KB
.gitignore 50B
README.md 687B
scripts
completeFlow.js 9KB
client.js 5KB
mintWXRP.js 689B
abiV3.js 2KB
matcher.js 6KB
mintWBTC.js 704B
matcher2.js 6KB
public
index.js 4KB
index.html 2KB
long.js 0B
abi.js 15KB
validateV3.js 3KB
truffle-config.js 2KB
.vscode
settings.json 34B
共 64 条
- 1
资源评论
刘怒威
- 粉丝: 26
- 资源: 4651
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功