Skip to content

Commit

Permalink
Mainnet token deployment (#62)
Browse files Browse the repository at this point in the history
* feat: mainnet token deployment

* feat: add mainnet multisig addies
  • Loading branch information
scolear authored Jun 4, 2024
1 parent 272a216 commit 1d47526
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 0 deletions.
51 changes: 51 additions & 0 deletions deploymentFiles/mainnet/DLCBTC.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"network": "mainnet",
"updatedAt": "2024-05-20T09:43:37.727Z",
"gitSHA": "5afd44f",
"contract": {
"name": "DLCBTC",
"address": "0x20157DBAbb84e3BBFE68C349d0d44E48AE7B5AD2",
"signerAddress": "0x9506Ea24038609679732855F757041a3C1C06623",
"abi": [
"constructor()",
"error BlacklistedRecipient()",
"error BlacklistedSender()",
"error NotAuthorized()",
"event Approval(address indexed owner, address indexed spender, uint256 value)",
"event Blacklisted(address account)",
"event BurnerSet(address burner)",
"event EIP712DomainChanged()",
"event Initialized(uint8 version)",
"event MinterSet(address minter)",
"event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)",
"event Transfer(address indexed from, address indexed to, uint256 value)",
"event Unblacklisted(address account)",
"function DOMAIN_SEPARATOR() view returns (bytes32)",
"function allowance(address owner, address spender) view returns (uint256)",
"function approve(address spender, uint256 amount) returns (bool)",
"function balanceOf(address account) view returns (uint256)",
"function blacklist(address account)",
"function blacklisted(address) view returns (bool)",
"function burn(address from, uint256 amount)",
"function decimals() view returns (uint8)",
"function decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)",
"function eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)",
"function increaseAllowance(address spender, uint256 addedValue) returns (bool)",
"function initialize()",
"function mint(address to, uint256 amount)",
"function name() view returns (string)",
"function nonces(address owner) view returns (uint256)",
"function owner() view returns (address)",
"function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)",
"function renounceOwnership()",
"function setBurner(address burner)",
"function setMinter(address minter)",
"function symbol() view returns (string)",
"function totalSupply() view returns (uint256)",
"function transfer(address to, uint256 amount) returns (bool)",
"function transferFrom(address from, address to, uint256 amount) returns (bool)",
"function transferOwnership(address newOwner)",
"function unblacklist(address account)"
]
}
}
18 changes: 18 additions & 0 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ module.exports = {
gas: 0xfffffffffff,
gasPrice: 0x01,
},
mainnet: {
url: `https://mainnet.infura.io/v3/${process.env.INFURA_PROJECT_ID}`,
accounts: [
arbDeployerKey,
process.env['KEY2'],
process.env['KEY3'],
keyForSafe,
],
},
sepolia: {
url: `https://sepolia.infura.io/v3/${process.env.INFURA_PROJECT_ID}`,
accounts: [
Expand Down Expand Up @@ -66,6 +75,7 @@ module.exports = {
apiKey: {
arbitrum: process.env['ARBISCAN_API_KEY'],
arbsepolia: process.env['ARBISCAN_API_KEY'],
mainnet: process.env['ETHERSCAN_API_KEY'],
},
customChains: [
{
Expand All @@ -84,6 +94,14 @@ module.exports = {
browserURL: 'https://arbiscan.io',
},
},
{
network: 'mainnet',
chainId: 1,
urls: {
apiURL: `https://api.etherscan.io/api?apikey=${process.env.ETHERSCAN_API_KEY}`,
browserURL: 'https://etherscan.io',
},
},
],
},
gasReporter: {
Expand Down
4 changes: 4 additions & 0 deletions scripts/helpers/dlc-admin-safes.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ module.exports = DLCAdminSafeAddresses = {
medium: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',
critical: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',
}, // Hardhat default deployer account
mainnet: {
medium: '0x442691Af617ce33878b0864501Ab74161870856f',
critical: '0x207d1Bb4e1162Fa97E8117552fefB250653Aaee7',
},
};

0 comments on commit 1d47526

Please sign in to comment.