File tree Expand file tree Collapse file tree 5 files changed +11
-0
lines changed
Expand file tree Collapse file tree 5 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ var GenericFactory = artifacts.require('@iexec/solidity/GenericFactory');
77var ERC1538Proxy = artifacts . require ( '@iexec/solidity/ERC1538Proxy' ) ;
88var ERC1538Update = artifacts . require ( '@iexec/solidity/ERC1538UpdateDelegate' ) ;
99
10+ // TODO replace `web3` by `ethers`.
11+
1012/*****************************************************************************
1113 * Configuration *
1214 *****************************************************************************/
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ var GenericFactory = artifacts.require('@iexec/solidity/GenericFactory');
77var ERC1538Proxy = artifacts . require ( '@iexec/solidity/ERC1538Proxy' ) ;
88var ERC1538Update = artifacts . require ( '@iexec/solidity/ERC1538UpdateDelegate' ) ;
99
10+ // TODO replace `web3` by `ethers`.
11+
1012/*****************************************************************************
1113 * Configuration *
1214 *****************************************************************************/
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ var GenericFactory = artifacts.require('@iexec/solidity/GenericFactory');
77var ERC1538Proxy = artifacts . require ( '@iexec/solidity/ERC1538Proxy' ) ;
88var ERC1538Update = artifacts . require ( '@iexec/solidity/ERC1538UpdateDelegate' ) ;
99
10+ // TODO replace `web3` by `ethers`.
11+
1012const { ethers } = require ( 'ethers' ) ;
1113
1214/*****************************************************************************
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ var PublicResolver = artifacts.require(
66 '@ensdomains/ens-contracts/contracts/resolvers/PublicResolver' ,
77) ;
88
9+ // TODO remove.
10+
911module . exports = {
1012 labelhash : function ( label ) {
1113 return web3 . utils . keccak256 ( label . toLowerCase ( ) ) ;
Original file line number Diff line number Diff line change 44const constants = require ( './constants' ) ;
55const ethers = require ( 'ethers' ) ;
66
7+ // TODO remove except `signStruct` and `hashStruct`
8+ // both used in createOrders.ts.
9+
710const TYPES = {
811 EIP712Domain : [
912 { type : 'string' , name : 'name' } ,
You can’t perform that action at this time.
0 commit comments