-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: mainnet preparation * more script updates & arbitrum gas reporter * arbitrum deployment
- Loading branch information
Showing
12 changed files
with
959 additions
and
493 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"network": "arbitrum", | ||
"updatedAt": "2024-04-13T10:52:17.411Z", | ||
"gitSHA": "c9914ab", | ||
"contract": { | ||
"name": "DLCBTC", | ||
"address": "0x050C24dBf1eEc17babE5fc585F06116A259CC77A", | ||
"signerAddress": "0x9506Ea24038609679732855F757041a3C1C06623", | ||
"abi": [ | ||
"constructor()", | ||
"error BlacklistedRecipient()", | ||
"error BlacklistedSender()", | ||
"event Approval(address indexed owner, address indexed spender, uint256 value)", | ||
"event Blacklisted(address account)", | ||
"event EIP712DomainChanged()", | ||
"event Initialized(uint8 version)", | ||
"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 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)" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
{ | ||
"network": "arbitrum", | ||
"updatedAt": "2024-04-13T10:40:21.294Z", | ||
"gitSHA": "c9914ab", | ||
"contract": { | ||
"name": "DLCManager", | ||
"address": "0x20157DBAbb84e3BBFE68C349d0d44E48AE7B5AD2", | ||
"signerAddress": "0x9506Ea24038609679732855F757041a3C1C06623", | ||
"abi": [ | ||
"constructor()", | ||
"error ContractNotWhitelisted()", | ||
"error DLCNotClosing()", | ||
"error DLCNotFound()", | ||
"error DLCNotFunded()", | ||
"error DLCNotReady()", | ||
"error DuplicateSignature()", | ||
"error IncompatibleRoles()", | ||
"error InvalidRange()", | ||
"error InvalidSigner()", | ||
"error NotCreatorContract()", | ||
"error NotDLCAdmin()", | ||
"error NotEnoughSignatures()", | ||
"error SignerNotApproved(address signer)", | ||
"error ThresholdMinimumReached(uint16 _minimumThreshold)", | ||
"error ThresholdTooLow(uint16 _minimumThreshold)", | ||
"error Unauthorized()", | ||
"event CloseDLC(bytes32 uuid, address sender)", | ||
"event CreateDLC(bytes32 uuid, uint256 valueLocked, address protocolContract, address creator, uint256 timestamp)", | ||
"event DefaultAdminDelayChangeCanceled()", | ||
"event DefaultAdminDelayChangeScheduled(uint48 newDelay, uint48 effectSchedule)", | ||
"event DefaultAdminTransferCanceled()", | ||
"event DefaultAdminTransferScheduled(address indexed newAdmin, uint48 acceptSchedule)", | ||
"event Initialized(uint8 version)", | ||
"event Paused(address account)", | ||
"event PostCloseDLC(bytes32 uuid, string btcTxId, address sender)", | ||
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)", | ||
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)", | ||
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)", | ||
"event SetStatusFunded(bytes32 uuid, string btcTxId, address sender)", | ||
"event SetThreshold(uint16 newThreshold)", | ||
"event Unpaused(address account)", | ||
"function APPROVED_SIGNER() view returns (bytes32)", | ||
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)", | ||
"function DLC_ADMIN_ROLE() view returns (bytes32)", | ||
"function WHITELISTED_CONTRACT() view returns (bytes32)", | ||
"function acceptDefaultAdminTransfer()", | ||
"function attestorGroupPubKey() view returns (string)", | ||
"function beginDefaultAdminTransfer(address newAdmin)", | ||
"function cancelDefaultAdminTransfer()", | ||
"function changeDefaultAdminDelay(uint48 newDelay)", | ||
"function closeDLC(bytes32 uuid)", | ||
"function createDLC(uint256 valueLocked, string btcFeeRecipient, uint256 btcMintFeeBasisPoints, uint256 btcRedeemFeeBasisPoints) returns (bytes32)", | ||
"function defaultAdmin() view returns (address)", | ||
"function defaultAdminDelay() view returns (uint48)", | ||
"function defaultAdminDelayIncreaseWait() view returns (uint48)", | ||
"function dlcIDsByUUID(bytes32) view returns (uint256)", | ||
"function dlcs(uint256) view returns (bytes32 uuid, address protocolContract, uint256 timestamp, uint256 valueLocked, address creator, uint8 status, string fundingTxId, string closingTxId, string btcFeeRecipient, uint256 btcMintFeeBasisPoints, uint256 btcRedeemFeeBasisPoints, string taprootPubKey)", | ||
"function getDLC(bytes32 uuid) view returns (tuple(bytes32 uuid, address protocolContract, uint256 timestamp, uint256 valueLocked, address creator, uint8 status, string fundingTxId, string closingTxId, string btcFeeRecipient, uint256 btcMintFeeBasisPoints, uint256 btcRedeemFeeBasisPoints, string taprootPubKey))", | ||
"function getDLCByIndex(uint256 index) view returns (tuple(bytes32 uuid, address protocolContract, uint256 timestamp, uint256 valueLocked, address creator, uint8 status, string fundingTxId, string closingTxId, string btcFeeRecipient, uint256 btcMintFeeBasisPoints, uint256 btcRedeemFeeBasisPoints, string taprootPubKey))", | ||
"function getFundedDLCs(uint256 startIndex, uint256 endIndex) view returns (tuple(bytes32 uuid, address protocolContract, uint256 timestamp, uint256 valueLocked, address creator, uint8 status, string fundingTxId, string closingTxId, string btcFeeRecipient, uint256 btcMintFeeBasisPoints, uint256 btcRedeemFeeBasisPoints, string taprootPubKey)[])", | ||
"function getMinimumThreshold() view returns (uint16)", | ||
"function getRoleAdmin(bytes32 role) view returns (bytes32)", | ||
"function getSignerCount() view returns (uint16)", | ||
"function getThreshold() view returns (uint16)", | ||
"function grantRole(bytes32 role, address account)", | ||
"function hasRole(bytes32 role, address account) view returns (bool)", | ||
"function initialize(address defaultAdmin, address dlcAdminRole, uint16 threshold)", | ||
"function owner() view returns (address)", | ||
"function pauseContract()", | ||
"function paused() view returns (bool)", | ||
"function pendingDefaultAdmin() view returns (address newAdmin, uint48 schedule)", | ||
"function pendingDefaultAdminDelay() view returns (uint48 newDelay, uint48 schedule)", | ||
"function postCloseDLC(bytes32 uuid, string btcTxId, bytes[] signatures)", | ||
"function renounceRole(bytes32 role, address account)", | ||
"function revokeRole(bytes32 role, address account)", | ||
"function rollbackDefaultAdminDelay()", | ||
"function setAttestorGroupPubKey(string pubKey)", | ||
"function setStatusFunded(bytes32 uuid, string btcTxId, bytes[] signatures, string taprootPubKey)", | ||
"function setTSSCommitment(bytes32 commitment)", | ||
"function setThreshold(uint16 newThreshold)", | ||
"function supportsInterface(bytes4 interfaceId) view returns (bool)", | ||
"function tssCommitment() view returns (bytes32)", | ||
"function unpauseContract()" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
{ | ||
"network": "arbitrum", | ||
"updatedAt": "2024-04-13T11:32:56.532Z", | ||
"gitSHA": "c9914ab", | ||
"contract": { | ||
"name": "TokenManager", | ||
"address": "0x2940FcBb3C32901Df405da0E96fd97D1E2a53f34", | ||
"signerAddress": "0x9506Ea24038609679732855F757041a3C1C06623", | ||
"abi": [ | ||
"constructor()", | ||
"error DepositTooLarge(uint256 deposit, uint256 maximumDeposit)", | ||
"error DepositTooSmall(uint256 deposit, uint256 minimumDeposit)", | ||
"error FeeRateOutOfBounds(uint256 feeRate)", | ||
"error InsufficientTokenBalance(uint256 balance, uint256 amount)", | ||
"error NotDLCAdmin()", | ||
"error NotDLCManagerContract()", | ||
"error NotOwner()", | ||
"error NotPauser()", | ||
"error NotWhitelisted()", | ||
"event Burn(address from, uint256 amount)", | ||
"event CloseVault(bytes32 dlcUUID, address owner)", | ||
"event DefaultAdminDelayChangeCanceled()", | ||
"event DefaultAdminDelayChangeScheduled(uint48 newDelay, uint48 effectSchedule)", | ||
"event DefaultAdminTransferCanceled()", | ||
"event DefaultAdminTransferScheduled(address indexed newAdmin, uint48 acceptSchedule)", | ||
"event Initialized(uint8 version)", | ||
"event Mint(address to, uint256 amount)", | ||
"event NewDLCManagerContract(address newDLCManagerAddress)", | ||
"event Paused(address account)", | ||
"event PostCloseDLCHandler(bytes32 dlcUUID, string btcTxId, address owner)", | ||
"event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)", | ||
"event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)", | ||
"event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)", | ||
"event SetBtcFeeRecipient(string btcFeeRecipient)", | ||
"event SetBtcMintFeeRate(uint256 newBtcMintFeeRate)", | ||
"event SetBtcRedeemFeeRate(uint256 newBtcRedeemFeeRate)", | ||
"event SetMaximumDeposit(uint256 newMaximumDeposit)", | ||
"event SetMinimumDeposit(uint256 newMinimumDeposit)", | ||
"event SetStatusFunded(bytes32 dlcUUID, string btcTxId, address owner)", | ||
"event SetWhitelistingEnabled(bool isWhitelistingEnabled)", | ||
"event SetupVault(bytes32 dlcUUID, uint256 btcDeposit, address owner)", | ||
"event TransferTokenContractOwnership(address newOwner)", | ||
"event Unpaused(address account)", | ||
"event UnwhitelistAddress(address addressToUnWhitelist)", | ||
"event WhitelistAddress(address addressToWhitelist)", | ||
"function DEFAULT_ADMIN_ROLE() view returns (bytes32)", | ||
"function DLC_ADMIN_ROLE() view returns (bytes32)", | ||
"function DLC_MANAGER_ROLE() view returns (bytes32)", | ||
"function PAUSER_ROLE() view returns (bytes32)", | ||
"function acceptDefaultAdminTransfer()", | ||
"function beginDefaultAdminTransfer(address newAdmin)", | ||
"function blacklistOnTokenContract(address account)", | ||
"function btcFeeRecipient() view returns (string)", | ||
"function btcMintFeeRate() view returns (uint256)", | ||
"function btcRedeemFeeRate() view returns (uint256)", | ||
"function cancelDefaultAdminTransfer()", | ||
"function changeDefaultAdminDelay(uint48 newDelay)", | ||
"function closeVault(bytes32 uuid)", | ||
"function defaultAdmin() view returns (address)", | ||
"function defaultAdminDelay() view returns (uint48)", | ||
"function defaultAdminDelayIncreaseWait() view returns (uint48)", | ||
"function dlcBTC() view returns (address)", | ||
"function dlcManager() view returns (address)", | ||
"function getAllVaultUUIDsForAddress(address owner) view returns (bytes32[])", | ||
"function getAllVaultsForAddress(address owner) view returns (tuple(bytes32 uuid, address protocolContract, uint256 timestamp, uint256 valueLocked, address creator, uint8 status, string fundingTxId, string closingTxId, string btcFeeRecipient, uint256 btcMintFeeBasisPoints, uint256 btcRedeemFeeBasisPoints, string taprootPubKey)[])", | ||
"function getRoleAdmin(bytes32 role) view returns (bytes32)", | ||
"function getVault(bytes32 uuid) view returns (tuple(bytes32 uuid, address protocolContract, uint256 timestamp, uint256 valueLocked, address creator, uint8 status, string fundingTxId, string closingTxId, string btcFeeRecipient, uint256 btcMintFeeBasisPoints, uint256 btcRedeemFeeBasisPoints, string taprootPubKey))", | ||
"function grantRole(bytes32 role, address account)", | ||
"function hasRole(bytes32 role, address account) view returns (bool)", | ||
"function initialize(address defaultAdmin, address dlcAdminRole, address dlcManagerAddress, address tokenContract, string btcFeeRecipientToSet)", | ||
"function maximumDeposit() view returns (uint256)", | ||
"function minimumDeposit() view returns (uint256)", | ||
"function owner() view returns (address)", | ||
"function pauseContract()", | ||
"function paused() view returns (bool)", | ||
"function pendingDefaultAdmin() view returns (address newAdmin, uint48 schedule)", | ||
"function pendingDefaultAdminDelay() view returns (uint48 newDelay, uint48 schedule)", | ||
"function postCloseDLCHandler(bytes32 uuid, string btcTxId)", | ||
"function renounceRole(bytes32 role, address account)", | ||
"function revokeRole(bytes32 role, address account)", | ||
"function rollbackDefaultAdminDelay()", | ||
"function setBtcFeeRecipient(string btcFeeRecipientToSet)", | ||
"function setBtcMintFeeRate(uint256 newBtcMintFeeRate)", | ||
"function setBtcRedeemFeeRate(uint256 newBtcRedeemFeeRate)", | ||
"function setMaximumDeposit(uint256 newMaximumDeposit)", | ||
"function setMinimumDeposit(uint256 newMinimumDeposit)", | ||
"function setStatusFunded(bytes32 uuid, string btcTxId)", | ||
"function setWhitelistingEnabled(bool isWhitelistingEnabled)", | ||
"function setupVault(uint256 btcDeposit) returns (bytes32)", | ||
"function supportsInterface(bytes4 interfaceId) view returns (bool)", | ||
"function transferTokenContractOwnership(address newOwner)", | ||
"function unblacklistOnTokenContract(address account)", | ||
"function unpauseContract()", | ||
"function unwhitelistAddress(address addressToUnWhitelist)", | ||
"function updateDLCManagerContract(address newDLCManagerAddress)", | ||
"function userVaults(address, uint256) view returns (bytes32)", | ||
"function whitelistAddress(address addressToWhitelist)", | ||
"function whitelistingEnabled() view returns (bool)" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.