├── .gitignore ├── LICENSE ├── README.md ├── clients ├── Cargo.lock ├── Cargo.toml └── bitcoin │ ├── Cargo.toml │ ├── script │ └── integration_test.sh │ ├── src │ ├── addr.rs │ ├── cli.rs │ ├── error.rs │ └── lib.rs │ └── tests │ └── integration_test.rs ├── cmd └── btcrelay │ ├── .gitignore │ └── main.go ├── contract ├── bridge │ ├── README.md │ ├── contracts │ │ ├── Collateral.sol │ │ ├── ExchangeRateOracle.sol │ │ ├── ExchangeRateOracleV2.sol │ │ ├── IExchangeRateOracle.sol │ │ ├── IRelay.sol │ │ ├── Issue.sol │ │ ├── OneBtc.sol │ │ ├── Redeem.sol │ │ ├── Replace.sol │ │ ├── Request.sol │ │ ├── TransactionUtils.sol │ │ ├── TxValidate.sol │ │ ├── VaultRegistry.sol │ │ ├── VaultReserve.sol │ │ ├── VaultReward.sol │ │ ├── crypto │ │ │ ├── BitcoinKeyDerivation.sol │ │ │ ├── EllipticCurve.sol │ │ │ └── Secp256k1.sol │ │ ├── interface │ │ │ ├── IVaultRegistry.sol │ │ │ ├── IVaultReserve.sol │ │ │ └── IVaultReward.sol │ │ ├── lib │ │ │ └── VaultRegistryLib.sol │ │ ├── mock │ │ │ ├── BitcoinKeyDerivationMock.sol │ │ │ ├── RelayMock.sol │ │ │ ├── TransactionUtilsMock.sol │ │ │ └── TxValidateMock.sol │ │ └── test │ │ │ ├── CollateralTestWrapper.sol │ │ │ ├── ExchangeRateOracleWrapper.sol │ │ │ └── VaultRegistryTestWrapper.sol │ ├── hardhat.config.js │ ├── migrations │ │ ├── 1_deploy_mockrelay.js │ │ ├── 2_deploy_mockoracle.js │ │ ├── 3_deploy_onebtc.js │ │ ├── 4_deploy_vaultreserve.js │ │ └── 5_deploy_vaultreward.js │ ├── package-lock.json │ ├── package.json │ ├── scripts │ │ ├── deploy_onebtc.js │ │ ├── deploy_onebtc_proxy.js │ │ ├── deploy_onebtc_proxy_upgrade.js │ │ ├── deploy_oracle.js │ │ ├── deploy_set_vault_reward_proxy.js │ │ ├── deploy_vaultreserve_proxy.js │ │ ├── oracle_interact.js │ │ └── oracle_upgrade.js │ ├── test │ │ ├── Collateral.js │ │ ├── ExchangeRateOracle.test.js │ │ ├── Issue.test.js │ │ ├── KeyDerivation.test.js │ │ ├── OneBTC.test.js │ │ ├── Redeem.test.js │ │ ├── Replace.js │ │ ├── TxValidate.test.js │ │ ├── VaultRegistry.js │ │ ├── VaultReward.js │ │ └── mock │ │ │ └── btcTxMock.js │ ├── truffle-config.js │ └── yarn.lock └── relay │ ├── LICENSE │ ├── README.md │ ├── buidler.config.ts │ ├── hardhat.config.js │ ├── package.json │ ├── scripts │ ├── builder.ts │ ├── contracts.ts │ ├── deploy.ts │ ├── fetch.sh │ ├── ganache.ts │ ├── hmy_config.ts │ ├── latest.sh │ ├── latest.ts │ ├── metrics.ts │ ├── parser_test.js │ ├── proof.sh │ ├── regtest.sh │ ├── setup.sh │ ├── setup_hmy.sh │ └── testdata.py │ ├── src │ ├── IRelay.sol │ ├── Parser.sol │ ├── ParserDelegate.sol │ ├── Relay.sol │ ├── Script.sol │ ├── ScriptDelegate.sol │ └── TestRelay.sol │ ├── test │ ├── build.test.ts │ ├── fork.test.ts │ ├── gas.test.ts │ ├── parser.test.ts │ ├── proof.test.ts │ ├── relay.test.ts │ ├── retarget.test.ts │ ├── scripts.test.ts │ └── util.ts │ └── tsconfig.json ├── go.mod ├── go.sum ├── specs ├── CHANGELOG.md ├── LICENSE ├── README.md ├── autobuild.sh ├── btcrelay-spec │ ├── .gitignore │ ├── README.md │ ├── autobuild.sh │ └── docs │ │ ├── Makefile │ │ └── source │ │ ├── conf.py │ │ ├── figures │ │ ├── ONEBTC-Architecture.svg │ │ ├── architecture.svg │ │ ├── chainReorg.png │ │ ├── computeMerkle.png │ │ ├── data-model.png │ │ ├── interlay-medium.png │ │ ├── logo-large.png │ │ ├── overview.png │ │ ├── polkaBTC-btcrelay.png │ │ ├── storeBlockHeader-sequence.png │ │ ├── storeForkBlockHeader-sequence.png │ │ ├── storeMainChainBlockHeader-sequence.png │ │ ├── verifyBlockHeader-sequence.png │ │ └── verifyTransaction-sequence.png │ │ ├── index.rst │ │ ├── intro │ │ ├── accepted-format.rst │ │ ├── architecture.rst │ │ ├── at-a-glance.rst │ │ └── bitcoin.rst │ │ ├── other │ │ ├── interlay.rst │ │ └── license.rst │ │ ├── security_performance │ │ ├── performance.rst │ │ └── security.rst │ │ └── spec │ │ ├── data-model.rst │ │ ├── errors.rst │ │ ├── events.rst │ │ ├── functions.rst │ │ ├── helpers.rst │ │ └── parser.rst ├── latexbuild.sh ├── onebtc-spec │ ├── .gitignore │ ├── README.md │ ├── autobuild.sh │ └── docs │ │ ├── Makefile │ │ └── source │ │ ├── conf.py │ │ ├── economics │ │ ├── SLA.rst │ │ ├── fees.rst │ │ └── incentives.rst │ │ ├── figures │ │ ├── ONEBTC-Architecture.svg │ │ ├── ONEBTC-detailed-architecture.svg │ │ ├── Overview-Components.svg │ │ ├── Overview-Func.svg │ │ ├── VaultRegistry-Issue.png │ │ ├── VaultRegistry-Redeem.png │ │ ├── VaultRegistry-Replace.png │ │ ├── failureModes.svg │ │ ├── fee-payment-flows.svg │ │ ├── harmony-logo.png │ │ ├── interlay-medium.png │ │ ├── logo-large.png │ │ ├── overview.svg │ │ ├── taxable-actions.svg │ │ └── xclaim-process.png │ │ ├── index.rst │ │ ├── intro │ │ ├── CbA.rst │ │ ├── architecture.rst │ │ ├── at-a-glance.rst │ │ └── harmony.rst │ │ ├── other │ │ ├── interlay.rst │ │ └── license.rst │ │ ├── security_performance │ │ ├── liquidations.rst │ │ └── security-analysis.rst │ │ └── spec │ │ ├── btc-relay.rst │ │ ├── collateral.rst │ │ ├── fee.rst │ │ ├── issue.rst │ │ ├── nomination.rst │ │ ├── oracle.rst │ │ ├── redeem.rst │ │ ├── refund.rst │ │ ├── replace.rst │ │ ├── security.rst │ │ ├── sla.rst │ │ ├── staked-relayers.rst │ │ ├── treasury.rst │ │ └── vault-registry.rst ├── public │ └── .gitkeep └── requirements.txt └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/README.md -------------------------------------------------------------------------------- /clients/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/clients/Cargo.lock -------------------------------------------------------------------------------- /clients/Cargo.toml: -------------------------------------------------------------------------------- 1 | [workspace] 2 | members = [ 3 | "bitcoin" 4 | ] 5 | -------------------------------------------------------------------------------- /clients/bitcoin/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/clients/bitcoin/Cargo.toml -------------------------------------------------------------------------------- /clients/bitcoin/script/integration_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/clients/bitcoin/script/integration_test.sh -------------------------------------------------------------------------------- /clients/bitcoin/src/addr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/clients/bitcoin/src/addr.rs -------------------------------------------------------------------------------- /clients/bitcoin/src/cli.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/clients/bitcoin/src/cli.rs -------------------------------------------------------------------------------- /clients/bitcoin/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/clients/bitcoin/src/error.rs -------------------------------------------------------------------------------- /clients/bitcoin/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/clients/bitcoin/src/lib.rs -------------------------------------------------------------------------------- /clients/bitcoin/tests/integration_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/clients/bitcoin/tests/integration_test.rs -------------------------------------------------------------------------------- /cmd/btcrelay/.gitignore: -------------------------------------------------------------------------------- 1 | # binary 2 | 3 | btcrelay 4 | -------------------------------------------------------------------------------- /cmd/btcrelay/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/cmd/btcrelay/main.go -------------------------------------------------------------------------------- /contract/bridge/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/README.md -------------------------------------------------------------------------------- /contract/bridge/contracts/Collateral.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/Collateral.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/ExchangeRateOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/ExchangeRateOracle.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/ExchangeRateOracleV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/ExchangeRateOracleV2.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/IExchangeRateOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/IExchangeRateOracle.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/IRelay.sol: -------------------------------------------------------------------------------- 1 | ../../relay/src/IRelay.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/Issue.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/Issue.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/OneBtc.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/OneBtc.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/Redeem.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/Redeem.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/Replace.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/Replace.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/Request.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/Request.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/TransactionUtils.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/TransactionUtils.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/TxValidate.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/TxValidate.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/VaultRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/VaultRegistry.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/VaultReserve.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/VaultReserve.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/VaultReward.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/VaultReward.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/crypto/BitcoinKeyDerivation.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/crypto/BitcoinKeyDerivation.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/crypto/EllipticCurve.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/crypto/EllipticCurve.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/crypto/Secp256k1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/crypto/Secp256k1.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/interface/IVaultRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/interface/IVaultRegistry.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/interface/IVaultReserve.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/interface/IVaultReserve.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/interface/IVaultReward.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/interface/IVaultReward.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/lib/VaultRegistryLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/lib/VaultRegistryLib.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/mock/BitcoinKeyDerivationMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/mock/BitcoinKeyDerivationMock.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/mock/RelayMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/mock/RelayMock.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/mock/TransactionUtilsMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/mock/TransactionUtilsMock.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/mock/TxValidateMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/mock/TxValidateMock.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/test/CollateralTestWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/test/CollateralTestWrapper.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/test/ExchangeRateOracleWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/test/ExchangeRateOracleWrapper.sol -------------------------------------------------------------------------------- /contract/bridge/contracts/test/VaultRegistryTestWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/contracts/test/VaultRegistryTestWrapper.sol -------------------------------------------------------------------------------- /contract/bridge/hardhat.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/hardhat.config.js -------------------------------------------------------------------------------- /contract/bridge/migrations/1_deploy_mockrelay.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/migrations/1_deploy_mockrelay.js -------------------------------------------------------------------------------- /contract/bridge/migrations/2_deploy_mockoracle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/migrations/2_deploy_mockoracle.js -------------------------------------------------------------------------------- /contract/bridge/migrations/3_deploy_onebtc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/migrations/3_deploy_onebtc.js -------------------------------------------------------------------------------- /contract/bridge/migrations/4_deploy_vaultreserve.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/migrations/4_deploy_vaultreserve.js -------------------------------------------------------------------------------- /contract/bridge/migrations/5_deploy_vaultreward.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/migrations/5_deploy_vaultreward.js -------------------------------------------------------------------------------- /contract/bridge/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/package-lock.json -------------------------------------------------------------------------------- /contract/bridge/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/package.json -------------------------------------------------------------------------------- /contract/bridge/scripts/deploy_onebtc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/scripts/deploy_onebtc.js -------------------------------------------------------------------------------- /contract/bridge/scripts/deploy_onebtc_proxy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/scripts/deploy_onebtc_proxy.js -------------------------------------------------------------------------------- /contract/bridge/scripts/deploy_onebtc_proxy_upgrade.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/scripts/deploy_onebtc_proxy_upgrade.js -------------------------------------------------------------------------------- /contract/bridge/scripts/deploy_oracle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/scripts/deploy_oracle.js -------------------------------------------------------------------------------- /contract/bridge/scripts/deploy_set_vault_reward_proxy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/scripts/deploy_set_vault_reward_proxy.js -------------------------------------------------------------------------------- /contract/bridge/scripts/deploy_vaultreserve_proxy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/scripts/deploy_vaultreserve_proxy.js -------------------------------------------------------------------------------- /contract/bridge/scripts/oracle_interact.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/scripts/oracle_interact.js -------------------------------------------------------------------------------- /contract/bridge/scripts/oracle_upgrade.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/scripts/oracle_upgrade.js -------------------------------------------------------------------------------- /contract/bridge/test/Collateral.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/test/Collateral.js -------------------------------------------------------------------------------- /contract/bridge/test/ExchangeRateOracle.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/test/ExchangeRateOracle.test.js -------------------------------------------------------------------------------- /contract/bridge/test/Issue.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/test/Issue.test.js -------------------------------------------------------------------------------- /contract/bridge/test/KeyDerivation.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/test/KeyDerivation.test.js -------------------------------------------------------------------------------- /contract/bridge/test/OneBTC.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/test/OneBTC.test.js -------------------------------------------------------------------------------- /contract/bridge/test/Redeem.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/test/Redeem.test.js -------------------------------------------------------------------------------- /contract/bridge/test/Replace.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/test/Replace.js -------------------------------------------------------------------------------- /contract/bridge/test/TxValidate.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/test/TxValidate.test.js -------------------------------------------------------------------------------- /contract/bridge/test/VaultRegistry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/test/VaultRegistry.js -------------------------------------------------------------------------------- /contract/bridge/test/VaultReward.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/test/VaultReward.js -------------------------------------------------------------------------------- /contract/bridge/test/mock/btcTxMock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/test/mock/btcTxMock.js -------------------------------------------------------------------------------- /contract/bridge/truffle-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/truffle-config.js -------------------------------------------------------------------------------- /contract/bridge/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/bridge/yarn.lock -------------------------------------------------------------------------------- /contract/relay/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/LICENSE -------------------------------------------------------------------------------- /contract/relay/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/README.md -------------------------------------------------------------------------------- /contract/relay/buidler.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/buidler.config.ts -------------------------------------------------------------------------------- /contract/relay/hardhat.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/hardhat.config.js -------------------------------------------------------------------------------- /contract/relay/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/package.json -------------------------------------------------------------------------------- /contract/relay/scripts/builder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/scripts/builder.ts -------------------------------------------------------------------------------- /contract/relay/scripts/contracts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/scripts/contracts.ts -------------------------------------------------------------------------------- /contract/relay/scripts/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/scripts/deploy.ts -------------------------------------------------------------------------------- /contract/relay/scripts/fetch.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/scripts/fetch.sh -------------------------------------------------------------------------------- /contract/relay/scripts/ganache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/scripts/ganache.ts -------------------------------------------------------------------------------- /contract/relay/scripts/hmy_config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/scripts/hmy_config.ts -------------------------------------------------------------------------------- /contract/relay/scripts/latest.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/scripts/latest.sh -------------------------------------------------------------------------------- /contract/relay/scripts/latest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/scripts/latest.ts -------------------------------------------------------------------------------- /contract/relay/scripts/metrics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/scripts/metrics.ts -------------------------------------------------------------------------------- /contract/relay/scripts/parser_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/scripts/parser_test.js -------------------------------------------------------------------------------- /contract/relay/scripts/proof.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/scripts/proof.sh -------------------------------------------------------------------------------- /contract/relay/scripts/regtest.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/scripts/regtest.sh -------------------------------------------------------------------------------- /contract/relay/scripts/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/scripts/setup.sh -------------------------------------------------------------------------------- /contract/relay/scripts/setup_hmy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/scripts/setup_hmy.sh -------------------------------------------------------------------------------- /contract/relay/scripts/testdata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/scripts/testdata.py -------------------------------------------------------------------------------- /contract/relay/src/IRelay.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/src/IRelay.sol -------------------------------------------------------------------------------- /contract/relay/src/Parser.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/src/Parser.sol -------------------------------------------------------------------------------- /contract/relay/src/ParserDelegate.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/src/ParserDelegate.sol -------------------------------------------------------------------------------- /contract/relay/src/Relay.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/src/Relay.sol -------------------------------------------------------------------------------- /contract/relay/src/Script.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/src/Script.sol -------------------------------------------------------------------------------- /contract/relay/src/ScriptDelegate.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/src/ScriptDelegate.sol -------------------------------------------------------------------------------- /contract/relay/src/TestRelay.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/src/TestRelay.sol -------------------------------------------------------------------------------- /contract/relay/test/build.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/test/build.test.ts -------------------------------------------------------------------------------- /contract/relay/test/fork.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/test/fork.test.ts -------------------------------------------------------------------------------- /contract/relay/test/gas.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/test/gas.test.ts -------------------------------------------------------------------------------- /contract/relay/test/parser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/test/parser.test.ts -------------------------------------------------------------------------------- /contract/relay/test/proof.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/test/proof.test.ts -------------------------------------------------------------------------------- /contract/relay/test/relay.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/test/relay.test.ts -------------------------------------------------------------------------------- /contract/relay/test/retarget.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/test/retarget.test.ts -------------------------------------------------------------------------------- /contract/relay/test/scripts.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/test/scripts.test.ts -------------------------------------------------------------------------------- /contract/relay/test/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/test/util.ts -------------------------------------------------------------------------------- /contract/relay/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/contract/relay/tsconfig.json -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/go.sum -------------------------------------------------------------------------------- /specs/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | -------------------------------------------------------------------------------- /specs/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/LICENSE -------------------------------------------------------------------------------- /specs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/README.md -------------------------------------------------------------------------------- /specs/autobuild.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/autobuild.sh -------------------------------------------------------------------------------- /specs/btcrelay-spec/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/.gitignore -------------------------------------------------------------------------------- /specs/btcrelay-spec/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/README.md -------------------------------------------------------------------------------- /specs/btcrelay-spec/autobuild.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/autobuild.sh -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/Makefile -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/conf.py -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/figures/ONEBTC-Architecture.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/figures/ONEBTC-Architecture.svg -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/figures/architecture.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/figures/architecture.svg -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/figures/chainReorg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/figures/chainReorg.png -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/figures/computeMerkle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/figures/computeMerkle.png -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/figures/data-model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/figures/data-model.png -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/figures/interlay-medium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/figures/interlay-medium.png -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/figures/logo-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/figures/logo-large.png -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/figures/overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/figures/overview.png -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/figures/polkaBTC-btcrelay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/figures/polkaBTC-btcrelay.png -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/figures/storeBlockHeader-sequence.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/figures/storeBlockHeader-sequence.png -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/figures/storeForkBlockHeader-sequence.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/figures/storeForkBlockHeader-sequence.png -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/figures/storeMainChainBlockHeader-sequence.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/figures/storeMainChainBlockHeader-sequence.png -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/figures/verifyBlockHeader-sequence.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/figures/verifyBlockHeader-sequence.png -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/figures/verifyTransaction-sequence.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/figures/verifyTransaction-sequence.png -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/index.rst -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/intro/accepted-format.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/intro/accepted-format.rst -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/intro/architecture.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/intro/architecture.rst -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/intro/at-a-glance.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/intro/at-a-glance.rst -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/intro/bitcoin.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/intro/bitcoin.rst -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/other/interlay.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/other/interlay.rst -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/other/license.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/other/license.rst -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/security_performance/performance.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/security_performance/performance.rst -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/security_performance/security.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/security_performance/security.rst -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/spec/data-model.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/spec/data-model.rst -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/spec/errors.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/spec/errors.rst -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/spec/events.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/spec/events.rst -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/spec/functions.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/spec/functions.rst -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/spec/helpers.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/spec/helpers.rst -------------------------------------------------------------------------------- /specs/btcrelay-spec/docs/source/spec/parser.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/btcrelay-spec/docs/source/spec/parser.rst -------------------------------------------------------------------------------- /specs/latexbuild.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/latexbuild.sh -------------------------------------------------------------------------------- /specs/onebtc-spec/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/.gitignore -------------------------------------------------------------------------------- /specs/onebtc-spec/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/README.md -------------------------------------------------------------------------------- /specs/onebtc-spec/autobuild.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/autobuild.sh -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/Makefile -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/conf.py -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/economics/SLA.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/economics/SLA.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/economics/fees.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/economics/fees.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/economics/incentives.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/economics/incentives.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/figures/ONEBTC-Architecture.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/figures/ONEBTC-Architecture.svg -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/figures/ONEBTC-detailed-architecture.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/figures/ONEBTC-detailed-architecture.svg -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/figures/Overview-Components.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/figures/Overview-Components.svg -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/figures/Overview-Func.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/figures/Overview-Func.svg -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/figures/VaultRegistry-Issue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/figures/VaultRegistry-Issue.png -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/figures/VaultRegistry-Redeem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/figures/VaultRegistry-Redeem.png -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/figures/VaultRegistry-Replace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/figures/VaultRegistry-Replace.png -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/figures/failureModes.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/figures/failureModes.svg -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/figures/fee-payment-flows.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/figures/fee-payment-flows.svg -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/figures/harmony-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/figures/harmony-logo.png -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/figures/interlay-medium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/figures/interlay-medium.png -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/figures/logo-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/figures/logo-large.png -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/figures/overview.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/figures/overview.svg -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/figures/taxable-actions.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/figures/taxable-actions.svg -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/figures/xclaim-process.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/figures/xclaim-process.png -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/index.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/intro/CbA.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/intro/CbA.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/intro/architecture.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/intro/architecture.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/intro/at-a-glance.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/intro/at-a-glance.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/intro/harmony.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/intro/harmony.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/other/interlay.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/other/interlay.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/other/license.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/other/license.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/security_performance/liquidations.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/security_performance/liquidations.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/security_performance/security-analysis.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/security_performance/security-analysis.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/spec/btc-relay.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/spec/btc-relay.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/spec/collateral.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/spec/collateral.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/spec/fee.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/spec/fee.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/spec/issue.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/spec/issue.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/spec/nomination.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/spec/nomination.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/spec/oracle.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/spec/oracle.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/spec/redeem.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/spec/redeem.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/spec/refund.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/spec/refund.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/spec/replace.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/spec/replace.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/spec/security.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/spec/security.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/spec/sla.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/spec/sla.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/spec/staked-relayers.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/spec/staked-relayers.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/spec/treasury.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/spec/treasury.rst -------------------------------------------------------------------------------- /specs/onebtc-spec/docs/source/spec/vault-registry.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/onebtc-spec/docs/source/spec/vault-registry.rst -------------------------------------------------------------------------------- /specs/public/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /specs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/specs/requirements.txt -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harmony-one/onebtc/HEAD/yarn.lock --------------------------------------------------------------------------------