This repository uses submodules to manage dependencies on other repositories.
-
Command to clone this repository:
git clone --recurse-submodules [email protected]:Bedrock-Technology/uniBTC.git
. -
If you have already cloned, from the
uniBTC/
directory, rungit submodule update --init --recursive
.
After all submodules are updated as required, you can build contracts with this Brownie command: brownie compile
.
Please check this file for more information.
Contract | Berachain Testnet |
---|---|
ProxyAdmin | 0xC0c9E78BfC3996E8b68D872b29340816495D7e89 |
uniBTC | 0x16221CaD160b441db008eF6DA2d3d89a32A05859 |
Vault | 0x97e16DB82E089D0C9c37bc07F23FcE98cfF04823 |
mockedWBTC | 0xcBf3e6Ad1eeD0f3F81fCc2Ae76A0dB16C4e747B0 |
WBTC | 0x286F1C3f0323dB9c91D1E8f45c8DF2d065AB5fae |
- SYS001: INVALID_ADDRESS
- SYS002: TOKEN_PAUSED
- SYS003: INVALID_TOKEN_ADDRESS
- SYS004: INCORRECT_DECIMALS
- SYS005: MINIMUM_VALUE_SHOULD_BE_A_POSITIVE_MULTIPLE_OF_100000
- SYS006: INVALID_INPUT_ARRAY_LENGTHS
- SYS007: CHAIN_ID_CANNOT_BE_ZERO
- SYS008: INVALID_PEER_ADDRESS
- SYS009: IRREDEEMABLE_STATUS
- SYS010: INCONSISTENT_DECIMALS
- SYS011: OUT_OF_SERVICE
- SYS012: NATIVE_BTC_NOT_SUPPORTED
- USR001: UNIBTC: LEAST_ONE_RECIPIENT_ADDRESS
- USR002: UNIBTC: NUMBER_OF_RECIPIENT_ADDRESSES_DOES_NOT_MATCH_THE_NUMBER_OF_TOKENS
- USR003: INSUFFICIENT_QUOTA
- USR004: INVALID_CHAINID
- USR005: DESTINATION_PEER_DOES_NOT_EXIST
- USR006: INVALID_AMOUNT_TO_TRANSFER
- USR007: TRANSFER_TO_THE_ZERO_ADDRESS
- USR008: INCORRECT_FEE
- USR009: ILLEGAL_REMOTE_CALLER
- USR010: INSUFFICIENT_AMOUNT
- USR011: INVALID_SLIPPAGE
- USR012: SET_DELAY_REDEEM_BLOCK_TOO_LARGE
- USR013: SET_DAY_CAP_TOO_LARGE
- USR014: AMOUNT_TOO_LESS
- USR015: AMOUNT_TOO_MORE
- USR016: CAN_ONLY_TRANSFER_TO_DEDICATED_RECIPIENT
- USR017: TOKEN_CAP_ERROR
- USR018: NO_POOLS_FOR_LEADING_TOKEN
- USR019: PRINCIPAL_REDEEM_TIME_MISMATCH