Skip to content

Commit

Permalink
chore: deploy erc20 transferable receivable v2 (#1126)
Browse files Browse the repository at this point in the history
  • Loading branch information
MantisClone authored Jul 18, 2023
1 parent 9775de8 commit d1c5c93
Show file tree
Hide file tree
Showing 4 changed files with 22,419 additions and 21,222 deletions.
3 changes: 2 additions & 1 deletion packages/smart-contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ You may need some environment variables.
You can create a .env file at the root of this package:

```
DEPLOYMENT_PRIVATE_KEY=... # Mandatory to deploy on live blockchains
DEPLOYMENT_PRIVATE_KEY=... # Mandatory to deploy on live blockchains (legacy)
ADMIN_PRIVATE_KEY=... # Mandatory to deploy on live blockchains (xdeployer)
WEB3_PROVIDER_URL=... # Mandatory to interact with live blockchains
ETHERSCAN_API_KEY=... # Only used to verify smart contracts code on live blockchains, even for other explorers, except:
BSCSCAN_API_KEY=... # ... for BSCScan
Expand Down
20 changes: 10 additions & 10 deletions packages/smart-contracts/scripts-create2/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ import { EvmChains } from '@requestnetwork/currency';
* If you want to skip deploying one or more, then comment them out in the list bellow.
*/
export const create2ContractDeploymentList = [
/* 'ChainlinkConversionPath',
'EthereumProxy',
'EthereumFeeProxy',
'EthConversionProxy',
'ERC20FeeProxy', */
'ERC20SwapToPay',
'ERC20SwapToConversion',
'BatchConversionPayments',
/* 'ERC20EscrowToPay',
'ERC20TransferableReceivable', */
// 'ChainlinkConversionPath',
// 'EthereumProxy',
// 'EthereumFeeProxy',
// 'EthConversionProxy',
// 'ERC20FeeProxy',
// 'ERC20SwapToPay',
// 'ERC20SwapToConversion',
// 'BatchConversionPayments',
// 'ERC20EscrowToPay',
'ERC20TransferableReceivable',
];

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ export const erc20TransferableReceivableArtifact =
address: '0xF426505ac145abE033fE77C666840063757Be9cd',
creationBlockNumber: 0,
},
goerli: {
address: '0x6fb42f5826045e96171664e0E540818134F5431f',
creationBlockNumber: 9333948,
},
matic: {
address: '0xd6C04C5d0e561D94B15622e770045776D4ce3739',
creationBlockNumber: 45005575,
},
},
},
},
Expand Down
Loading

0 comments on commit d1c5c93

Please sign in to comment.