diff --git a/deploymentFiles/mainnet/DLCBTC.json b/deploymentFiles/mainnet/DLCBTC.json new file mode 100644 index 0000000..1e5792e --- /dev/null +++ b/deploymentFiles/mainnet/DLCBTC.json @@ -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)" + ] + } +} diff --git a/hardhat.config.js b/hardhat.config.js index 76c011f..b75fd19 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -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: [ @@ -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: [ { @@ -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: { diff --git a/scripts/helpers/dlc-admin-safes.js b/scripts/helpers/dlc-admin-safes.js index 15545a4..41ad269 100644 --- a/scripts/helpers/dlc-admin-safes.js +++ b/scripts/helpers/dlc-admin-safes.js @@ -15,4 +15,8 @@ module.exports = DLCAdminSafeAddresses = { medium: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266', critical: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266', }, // Hardhat default deployer account + mainnet: { + medium: '0x442691Af617ce33878b0864501Ab74161870856f', + critical: '0x207d1Bb4e1162Fa97E8117552fefB250653Aaee7', + }, };