├── .gitattributes ├── .gitignore ├── .solcover.js ├── .soliumignore ├── .soliumrc.json ├── .travis.yml ├── LICENSE ├── README.md ├── contracts ├── Migrations.sol ├── escrow │ ├── Escrow.sol │ ├── EscrowProxy.sol │ ├── EscrowSpec.md │ └── IEscrow.sol ├── powerUps │ ├── PowerUps.sol │ └── PowerUpsSpec.md ├── registry │ ├── ContractManager.sol │ └── ContractManagerSpec.md ├── rewards │ ├── OBRewards.sol │ └── RewardsSpec.md ├── test │ └── TestToken.sol └── token │ ├── ITokenContract.sol │ └── OBToken.sol ├── migrations ├── 1_initial_migration.js ├── escrow │ ├── 2_Escrow_migration.js │ └── 7_EscrowProxy_migration.js ├── powerUps │ └── 6_Powered_Ups_migration.js ├── registry │ └── 3_contract_manager_migration.js ├── rewards │ └── 5_Rewards_Migration.js └── token │ └── 4_OB_Token_migration.js ├── package.json ├── scripts ├── coverage.sh ├── signing.js ├── test.sh └── usage.txt ├── test ├── escrow │ └── 1_Escrow_test.js ├── helper.js ├── powerUps │ └── 3_PowerUps_tests.js ├── registry │ └── 2_contract_manager_test.js └── rewards │ └── 6_OB_Rewards_Test.js └── truffle.js /.gitattributes: -------------------------------------------------------------------------------- 1 | *.sol linguist-language=Solidity 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/.gitignore -------------------------------------------------------------------------------- /.solcover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/.solcover.js -------------------------------------------------------------------------------- /.soliumignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | contracts/test 3 | Migration.sol 4 | -------------------------------------------------------------------------------- /.soliumrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/.soliumrc.json -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/README.md -------------------------------------------------------------------------------- /contracts/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/contracts/Migrations.sol -------------------------------------------------------------------------------- /contracts/escrow/Escrow.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/contracts/escrow/Escrow.sol -------------------------------------------------------------------------------- /contracts/escrow/EscrowProxy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/contracts/escrow/EscrowProxy.sol -------------------------------------------------------------------------------- /contracts/escrow/EscrowSpec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/contracts/escrow/EscrowSpec.md -------------------------------------------------------------------------------- /contracts/escrow/IEscrow.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/contracts/escrow/IEscrow.sol -------------------------------------------------------------------------------- /contracts/powerUps/PowerUps.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/contracts/powerUps/PowerUps.sol -------------------------------------------------------------------------------- /contracts/powerUps/PowerUpsSpec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/contracts/powerUps/PowerUpsSpec.md -------------------------------------------------------------------------------- /contracts/registry/ContractManager.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/contracts/registry/ContractManager.sol -------------------------------------------------------------------------------- /contracts/registry/ContractManagerSpec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/contracts/registry/ContractManagerSpec.md -------------------------------------------------------------------------------- /contracts/rewards/OBRewards.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/contracts/rewards/OBRewards.sol -------------------------------------------------------------------------------- /contracts/rewards/RewardsSpec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/contracts/rewards/RewardsSpec.md -------------------------------------------------------------------------------- /contracts/test/TestToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/contracts/test/TestToken.sol -------------------------------------------------------------------------------- /contracts/token/ITokenContract.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/contracts/token/ITokenContract.sol -------------------------------------------------------------------------------- /contracts/token/OBToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/contracts/token/OBToken.sol -------------------------------------------------------------------------------- /migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /migrations/escrow/2_Escrow_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/migrations/escrow/2_Escrow_migration.js -------------------------------------------------------------------------------- /migrations/escrow/7_EscrowProxy_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/migrations/escrow/7_EscrowProxy_migration.js -------------------------------------------------------------------------------- /migrations/powerUps/6_Powered_Ups_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/migrations/powerUps/6_Powered_Ups_migration.js -------------------------------------------------------------------------------- /migrations/registry/3_contract_manager_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/migrations/registry/3_contract_manager_migration.js -------------------------------------------------------------------------------- /migrations/rewards/5_Rewards_Migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/migrations/rewards/5_Rewards_Migration.js -------------------------------------------------------------------------------- /migrations/token/4_OB_Token_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/migrations/token/4_OB_Token_migration.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/package.json -------------------------------------------------------------------------------- /scripts/coverage.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | SOLIDITY_COVERAGE=true scripts/test.sh -------------------------------------------------------------------------------- /scripts/signing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/scripts/signing.js -------------------------------------------------------------------------------- /scripts/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/scripts/test.sh -------------------------------------------------------------------------------- /scripts/usage.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/scripts/usage.txt -------------------------------------------------------------------------------- /test/escrow/1_Escrow_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/test/escrow/1_Escrow_test.js -------------------------------------------------------------------------------- /test/helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/test/helper.js -------------------------------------------------------------------------------- /test/powerUps/3_PowerUps_tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/test/powerUps/3_PowerUps_tests.js -------------------------------------------------------------------------------- /test/registry/2_contract_manager_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/test/registry/2_contract_manager_test.js -------------------------------------------------------------------------------- /test/rewards/6_OB_Rewards_Test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/test/rewards/6_OB_Rewards_Test.js -------------------------------------------------------------------------------- /truffle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBazaar/smart-contracts/HEAD/truffle.js --------------------------------------------------------------------------------