├── .dockerignore ├── .env.template ├── .github └── workflows │ ├── docker-build-and-push.yaml │ └── hardhat-test.yaml ├── .gitignore ├── .husky └── pre-commit ├── .openzeppelin ├── arbitrum-one.json ├── avalanche.json ├── base-sepolia.json ├── base.json ├── bsc.json ├── mainnet.json ├── optimism.json ├── sepolia.json ├── unknown-111.json ├── unknown-195.json └── unknown-421614.json ├── .prettierignore ├── .prettierrc ├── .solcover.js ├── .solhint.json ├── .vscode └── settings.json ├── Dockerfile ├── LICENSE ├── README.md ├── assets ├── iBTC_Token.svg ├── iBTC_Token_240px.png └── timelockArchitecture.svg ├── audits ├── july_2024 │ └── MetaTrust_july24_final.pdf ├── may_2024 │ └── MetaTrust_may24_final.pdf └── nov_2023 │ └── CoinFabrik_final.pdf ├── contracts ├── DLCLinkLibrary.sol ├── DLCManager.sol ├── IBTC.sol ├── IBTC4626.sol ├── TimelockController.sol └── mocks │ ├── MockV3Aggregator.sol │ └── TestERC20.sol ├── deploymentFiles ├── arbitrum │ ├── DLCBTC.json │ ├── DLCManager.2024-11-26T15:19:17.311Z.json │ ├── DLCManager.json │ ├── IBTC.2024-11-26T15:19:03.722Z.json │ ├── IBTC.json │ ├── TimelockController.json │ └── TokenManager.json ├── arbsepolia │ ├── DLCBTC.json │ ├── DLCManager.json │ ├── IBTC.json │ ├── TokenManager.json │ └── WrappedIBTC.json ├── avax │ ├── DLCManager.json │ ├── IBTC.json │ └── TimelockController.json ├── base │ ├── DLCBTC.json │ ├── DLCManager.2024-11-11T19:01:36.661Z.json │ ├── DLCManager.2024-11-26T14:09:14.861Z.json │ ├── DLCManager.json │ ├── IBTC.2024-11-27T09:13:01.325Z.json │ ├── IBTC.json │ └── TimelockController.json ├── basesepolia │ ├── DLCBTC.json │ ├── DLCManager.2024-10-30T14:41:18.621Z.json │ ├── DLCManager.2024-11-19T10:36:19.566Z.json │ ├── DLCManager.json │ ├── IBTC.2024-11-18T10:44:16.939Z.json │ ├── IBTC.json │ └── TimelockController.json ├── bsc │ ├── DLCManager.json │ ├── IBTC.json │ └── TimelockController.json ├── mainnet │ ├── DLCBTC.json │ ├── DLCManager.2024-11-26T15:17:45.048Z.json │ ├── DLCManager.json │ ├── IBTC.2024-11-26T15:15:17.306Z.json │ ├── IBTC.json │ ├── TimelockController.json │ └── WrappedIBTC.json ├── optimism │ ├── DLCBTC.json │ ├── IBTC.2024-11-26T14:02:16.513Z.json │ ├── IBTC.json │ └── TimelockController.json └── sepolia │ ├── DLCBTC.json │ ├── DLCManager.json │ ├── IBTC.json │ └── TokenManager.json ├── docker-compose.yml ├── docker ├── entrypoint.sh ├── hardhat.config.docker.js └── scripts │ ├── check-service.sh │ └── deploy-all.js ├── hardhat.config.js ├── package.json ├── scripts ├── 00-grant-role-on-manager.js ├── 00-revoke-role-on-manager.js ├── 04-pausability-manager.js ├── 07-set-threshold.js ├── 08-set-tss-commitment.js ├── 09-set-attestor-gpk.js ├── 100_migrateToIBTC.js ├── 10_whitelist-account.js ├── 11_unwhitelist-account.js ├── 12_setup-vault.js ├── 13_set-whitelisting.js ├── 14_set-btc-fee-recipient.js ├── 15_set-btc-fee.js ├── 16_set-deposit-limit.js ├── 17_set-minter-or-burner.js ├── 18_withdraw.js ├── 19_set-por-enabled.js ├── 50_contract-admin.js ├── 99_contract-configs.js ├── helpers │ ├── 00-call-dlc-manager-fn.js │ ├── chainlink-por-addresses.js │ ├── deployment-handlers_versioned.js │ ├── devnet-call-all.sh │ ├── dlc-admin-safes.js │ ├── hardhat-accounts.txt │ ├── local-setup.sh │ ├── mainnet-call-all.sh │ ├── new-chain-setup-mainnet.sh │ ├── safe-api-service.js │ └── utils.js └── index.js └── test ├── .gitkeep ├── DLCBTC.test.js ├── DLCManager.test.js ├── IBTC4626.test.js └── utils.js /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.env.template -------------------------------------------------------------------------------- /.github/workflows/docker-build-and-push.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.github/workflows/docker-build-and-push.yaml -------------------------------------------------------------------------------- /.github/workflows/hardhat-test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.github/workflows/hardhat-test.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | npm test 2 | -------------------------------------------------------------------------------- /.openzeppelin/arbitrum-one.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.openzeppelin/arbitrum-one.json -------------------------------------------------------------------------------- /.openzeppelin/avalanche.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.openzeppelin/avalanche.json -------------------------------------------------------------------------------- /.openzeppelin/base-sepolia.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.openzeppelin/base-sepolia.json -------------------------------------------------------------------------------- /.openzeppelin/base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.openzeppelin/base.json -------------------------------------------------------------------------------- /.openzeppelin/bsc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.openzeppelin/bsc.json -------------------------------------------------------------------------------- /.openzeppelin/mainnet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.openzeppelin/mainnet.json -------------------------------------------------------------------------------- /.openzeppelin/optimism.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.openzeppelin/optimism.json -------------------------------------------------------------------------------- /.openzeppelin/sepolia.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.openzeppelin/sepolia.json -------------------------------------------------------------------------------- /.openzeppelin/unknown-111.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.openzeppelin/unknown-111.json -------------------------------------------------------------------------------- /.openzeppelin/unknown-195.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.openzeppelin/unknown-195.json -------------------------------------------------------------------------------- /.openzeppelin/unknown-421614.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.openzeppelin/unknown-421614.json -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.prettierrc -------------------------------------------------------------------------------- /.solcover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.solcover.js -------------------------------------------------------------------------------- /.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.solhint.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/README.md -------------------------------------------------------------------------------- /assets/iBTC_Token.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/assets/iBTC_Token.svg -------------------------------------------------------------------------------- /assets/iBTC_Token_240px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/assets/iBTC_Token_240px.png -------------------------------------------------------------------------------- /assets/timelockArchitecture.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/assets/timelockArchitecture.svg -------------------------------------------------------------------------------- /audits/july_2024/MetaTrust_july24_final.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/audits/july_2024/MetaTrust_july24_final.pdf -------------------------------------------------------------------------------- /audits/may_2024/MetaTrust_may24_final.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/audits/may_2024/MetaTrust_may24_final.pdf -------------------------------------------------------------------------------- /audits/nov_2023/CoinFabrik_final.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/audits/nov_2023/CoinFabrik_final.pdf -------------------------------------------------------------------------------- /contracts/DLCLinkLibrary.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/contracts/DLCLinkLibrary.sol -------------------------------------------------------------------------------- /contracts/DLCManager.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/contracts/DLCManager.sol -------------------------------------------------------------------------------- /contracts/IBTC.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/contracts/IBTC.sol -------------------------------------------------------------------------------- /contracts/IBTC4626.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/contracts/IBTC4626.sol -------------------------------------------------------------------------------- /contracts/TimelockController.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/contracts/TimelockController.sol -------------------------------------------------------------------------------- /contracts/mocks/MockV3Aggregator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/contracts/mocks/MockV3Aggregator.sol -------------------------------------------------------------------------------- /contracts/mocks/TestERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/contracts/mocks/TestERC20.sol -------------------------------------------------------------------------------- /deploymentFiles/arbitrum/DLCBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/arbitrum/DLCBTC.json -------------------------------------------------------------------------------- /deploymentFiles/arbitrum/DLCManager.2024-11-26T15:19:17.311Z.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/arbitrum/DLCManager.2024-11-26T15:19:17.311Z.json -------------------------------------------------------------------------------- /deploymentFiles/arbitrum/DLCManager.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/arbitrum/DLCManager.json -------------------------------------------------------------------------------- /deploymentFiles/arbitrum/IBTC.2024-11-26T15:19:03.722Z.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/arbitrum/IBTC.2024-11-26T15:19:03.722Z.json -------------------------------------------------------------------------------- /deploymentFiles/arbitrum/IBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/arbitrum/IBTC.json -------------------------------------------------------------------------------- /deploymentFiles/arbitrum/TimelockController.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/arbitrum/TimelockController.json -------------------------------------------------------------------------------- /deploymentFiles/arbitrum/TokenManager.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/arbitrum/TokenManager.json -------------------------------------------------------------------------------- /deploymentFiles/arbsepolia/DLCBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/arbsepolia/DLCBTC.json -------------------------------------------------------------------------------- /deploymentFiles/arbsepolia/DLCManager.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/arbsepolia/DLCManager.json -------------------------------------------------------------------------------- /deploymentFiles/arbsepolia/IBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/arbsepolia/IBTC.json -------------------------------------------------------------------------------- /deploymentFiles/arbsepolia/TokenManager.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/arbsepolia/TokenManager.json -------------------------------------------------------------------------------- /deploymentFiles/arbsepolia/WrappedIBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/arbsepolia/WrappedIBTC.json -------------------------------------------------------------------------------- /deploymentFiles/avax/DLCManager.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/avax/DLCManager.json -------------------------------------------------------------------------------- /deploymentFiles/avax/IBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/avax/IBTC.json -------------------------------------------------------------------------------- /deploymentFiles/avax/TimelockController.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/avax/TimelockController.json -------------------------------------------------------------------------------- /deploymentFiles/base/DLCBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/base/DLCBTC.json -------------------------------------------------------------------------------- /deploymentFiles/base/DLCManager.2024-11-11T19:01:36.661Z.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/base/DLCManager.2024-11-11T19:01:36.661Z.json -------------------------------------------------------------------------------- /deploymentFiles/base/DLCManager.2024-11-26T14:09:14.861Z.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/base/DLCManager.2024-11-26T14:09:14.861Z.json -------------------------------------------------------------------------------- /deploymentFiles/base/DLCManager.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/base/DLCManager.json -------------------------------------------------------------------------------- /deploymentFiles/base/IBTC.2024-11-27T09:13:01.325Z.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/base/IBTC.2024-11-27T09:13:01.325Z.json -------------------------------------------------------------------------------- /deploymentFiles/base/IBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/base/IBTC.json -------------------------------------------------------------------------------- /deploymentFiles/base/TimelockController.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/base/TimelockController.json -------------------------------------------------------------------------------- /deploymentFiles/basesepolia/DLCBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/basesepolia/DLCBTC.json -------------------------------------------------------------------------------- /deploymentFiles/basesepolia/DLCManager.2024-10-30T14:41:18.621Z.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/basesepolia/DLCManager.2024-10-30T14:41:18.621Z.json -------------------------------------------------------------------------------- /deploymentFiles/basesepolia/DLCManager.2024-11-19T10:36:19.566Z.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/basesepolia/DLCManager.2024-11-19T10:36:19.566Z.json -------------------------------------------------------------------------------- /deploymentFiles/basesepolia/DLCManager.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/basesepolia/DLCManager.json -------------------------------------------------------------------------------- /deploymentFiles/basesepolia/IBTC.2024-11-18T10:44:16.939Z.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/basesepolia/IBTC.2024-11-18T10:44:16.939Z.json -------------------------------------------------------------------------------- /deploymentFiles/basesepolia/IBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/basesepolia/IBTC.json -------------------------------------------------------------------------------- /deploymentFiles/basesepolia/TimelockController.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/basesepolia/TimelockController.json -------------------------------------------------------------------------------- /deploymentFiles/bsc/DLCManager.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/bsc/DLCManager.json -------------------------------------------------------------------------------- /deploymentFiles/bsc/IBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/bsc/IBTC.json -------------------------------------------------------------------------------- /deploymentFiles/bsc/TimelockController.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/bsc/TimelockController.json -------------------------------------------------------------------------------- /deploymentFiles/mainnet/DLCBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/mainnet/DLCBTC.json -------------------------------------------------------------------------------- /deploymentFiles/mainnet/DLCManager.2024-11-26T15:17:45.048Z.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/mainnet/DLCManager.2024-11-26T15:17:45.048Z.json -------------------------------------------------------------------------------- /deploymentFiles/mainnet/DLCManager.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/mainnet/DLCManager.json -------------------------------------------------------------------------------- /deploymentFiles/mainnet/IBTC.2024-11-26T15:15:17.306Z.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/mainnet/IBTC.2024-11-26T15:15:17.306Z.json -------------------------------------------------------------------------------- /deploymentFiles/mainnet/IBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/mainnet/IBTC.json -------------------------------------------------------------------------------- /deploymentFiles/mainnet/TimelockController.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/mainnet/TimelockController.json -------------------------------------------------------------------------------- /deploymentFiles/mainnet/WrappedIBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/mainnet/WrappedIBTC.json -------------------------------------------------------------------------------- /deploymentFiles/optimism/DLCBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/optimism/DLCBTC.json -------------------------------------------------------------------------------- /deploymentFiles/optimism/IBTC.2024-11-26T14:02:16.513Z.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/optimism/IBTC.2024-11-26T14:02:16.513Z.json -------------------------------------------------------------------------------- /deploymentFiles/optimism/IBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/optimism/IBTC.json -------------------------------------------------------------------------------- /deploymentFiles/optimism/TimelockController.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/optimism/TimelockController.json -------------------------------------------------------------------------------- /deploymentFiles/sepolia/DLCBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/sepolia/DLCBTC.json -------------------------------------------------------------------------------- /deploymentFiles/sepolia/DLCManager.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/sepolia/DLCManager.json -------------------------------------------------------------------------------- /deploymentFiles/sepolia/IBTC.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/sepolia/IBTC.json -------------------------------------------------------------------------------- /deploymentFiles/sepolia/TokenManager.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/deploymentFiles/sepolia/TokenManager.json -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docker/entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/docker/entrypoint.sh -------------------------------------------------------------------------------- /docker/hardhat.config.docker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/docker/hardhat.config.docker.js -------------------------------------------------------------------------------- /docker/scripts/check-service.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/docker/scripts/check-service.sh -------------------------------------------------------------------------------- /docker/scripts/deploy-all.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/docker/scripts/deploy-all.js -------------------------------------------------------------------------------- /hardhat.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/hardhat.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/package.json -------------------------------------------------------------------------------- /scripts/00-grant-role-on-manager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/00-grant-role-on-manager.js -------------------------------------------------------------------------------- /scripts/00-revoke-role-on-manager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/00-revoke-role-on-manager.js -------------------------------------------------------------------------------- /scripts/04-pausability-manager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/04-pausability-manager.js -------------------------------------------------------------------------------- /scripts/07-set-threshold.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/07-set-threshold.js -------------------------------------------------------------------------------- /scripts/08-set-tss-commitment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/08-set-tss-commitment.js -------------------------------------------------------------------------------- /scripts/09-set-attestor-gpk.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/09-set-attestor-gpk.js -------------------------------------------------------------------------------- /scripts/100_migrateToIBTC.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/100_migrateToIBTC.js -------------------------------------------------------------------------------- /scripts/10_whitelist-account.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/10_whitelist-account.js -------------------------------------------------------------------------------- /scripts/11_unwhitelist-account.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/11_unwhitelist-account.js -------------------------------------------------------------------------------- /scripts/12_setup-vault.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/12_setup-vault.js -------------------------------------------------------------------------------- /scripts/13_set-whitelisting.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/13_set-whitelisting.js -------------------------------------------------------------------------------- /scripts/14_set-btc-fee-recipient.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/14_set-btc-fee-recipient.js -------------------------------------------------------------------------------- /scripts/15_set-btc-fee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/15_set-btc-fee.js -------------------------------------------------------------------------------- /scripts/16_set-deposit-limit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/16_set-deposit-limit.js -------------------------------------------------------------------------------- /scripts/17_set-minter-or-burner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/17_set-minter-or-burner.js -------------------------------------------------------------------------------- /scripts/18_withdraw.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/18_withdraw.js -------------------------------------------------------------------------------- /scripts/19_set-por-enabled.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/19_set-por-enabled.js -------------------------------------------------------------------------------- /scripts/50_contract-admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/50_contract-admin.js -------------------------------------------------------------------------------- /scripts/99_contract-configs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/99_contract-configs.js -------------------------------------------------------------------------------- /scripts/helpers/00-call-dlc-manager-fn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/helpers/00-call-dlc-manager-fn.js -------------------------------------------------------------------------------- /scripts/helpers/chainlink-por-addresses.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/helpers/chainlink-por-addresses.js -------------------------------------------------------------------------------- /scripts/helpers/deployment-handlers_versioned.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/helpers/deployment-handlers_versioned.js -------------------------------------------------------------------------------- /scripts/helpers/devnet-call-all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/helpers/devnet-call-all.sh -------------------------------------------------------------------------------- /scripts/helpers/dlc-admin-safes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/helpers/dlc-admin-safes.js -------------------------------------------------------------------------------- /scripts/helpers/hardhat-accounts.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/helpers/hardhat-accounts.txt -------------------------------------------------------------------------------- /scripts/helpers/local-setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/helpers/local-setup.sh -------------------------------------------------------------------------------- /scripts/helpers/mainnet-call-all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/helpers/mainnet-call-all.sh -------------------------------------------------------------------------------- /scripts/helpers/new-chain-setup-mainnet.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/helpers/new-chain-setup-mainnet.sh -------------------------------------------------------------------------------- /scripts/helpers/safe-api-service.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/helpers/safe-api-service.js -------------------------------------------------------------------------------- /scripts/helpers/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/helpers/utils.js -------------------------------------------------------------------------------- /scripts/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/scripts/index.js -------------------------------------------------------------------------------- /test/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/DLCBTC.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/test/DLCBTC.test.js -------------------------------------------------------------------------------- /test/DLCManager.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/test/DLCManager.test.js -------------------------------------------------------------------------------- /test/IBTC4626.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/test/IBTC4626.test.js -------------------------------------------------------------------------------- /test/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLC-link/dlc-solidity/HEAD/test/utils.js --------------------------------------------------------------------------------