Skip to content

Commit

Permalink
Merge pull request #325 from corpus-io/feature/add_sepolia_config_v4.2.1
Browse files Browse the repository at this point in the history
add sepolia definition
  • Loading branch information
malteish authored Mar 13, 2024
2 parents 123a89f + bc31e34 commit 134c5e6
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
build
cache
types
lcov.info
Expand Down
5 changes: 5 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ const config: HardhatUserConfig = {
accounts:
process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
},
sepolia: {
url: process.env.SEPOLIA_RPC_URL || "",
accounts:
process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
},
mainnet: {
url: process.env.MAINNET_RPC_URL || "",
accounts:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module.exports = [
'0x0445d09A1917196E1DC12EdB7334C70c1FfB1623', // _trustedForwarder
'0xA1e28D1f17b7Da62d10fbFaFCA98Fa406D759ce2', // _currencyReceiver
'10000000000000000000', // _minAmountPerBuyer
'50000000000000000000', // _maxAmountPerBuyer
'1000000', // _tokenPrice
'100000000000000000000', // _maxAmountOfTokenToBeSold
'0x07865c6E87B9F70255377e024ace6630C1Eaa37F', // _currency
'0x1672E16ac9CeF8f9Fc31daFB21d637a23415DEf6', // _token
'0x274ca5f21Cdde06B6E4Fe063f5087EB6Cf3eAe55', // _trustedForwarder
'0xccd4c4cecc265c8eb901455b1444d248adfaeaa9', // _currencyReceiver
'004500045000450004', // _minAmountPerBuyer
'444376444444444680000', // _maxAmountPerBuyer
'22222000000', // _tokenPrice
'444376444444444680000', // _maxAmountOfTokenToBeSold
'0x6D2c1a7EaC3783aF1Ff72cF074477581D04fD8EF', // _currency
'0x4418BC0Af0b55384b9d307227d9840a93E6253D7', // _token
];
9 changes: 9 additions & 0 deletions script/hardhatVerifyConstructorArguments/TokenSepolia.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = [
'0x274ca5f21Cdde06B6E4Fe063f5087EB6Cf3eAe55', // _trustedForwarder
'0x47EE5950B9a790A292B731789a35CcCB7381667E', // _feeSettings
'0xa1e28d1f17b7da62d10fbfafca98fa406d759ce2', // _admin
'0x4b9Cd96B7aea5Ef9C334B7454938913B655b9269', // _allowList
'0', // _requirements
'Patrik Token V420', // _name
'TV420', // _symbol
];

0 comments on commit 134c5e6

Please sign in to comment.