2.1.2 • Published 5 years ago

@blockimmo/contracts v2.1.2

Weekly downloads
720
License
-
Repository
-
Last release
5 years ago

NPM Package

blockimmo-contracts

The smart contracts powering blockimmo

Built on the Ethereum blockchain, Solidity, and OpenZeppelin:

NOTE: New to smart contract development? Check OpenZeppelin's introductory guide.

Getting Started

blockimmo integrates with Truffle.

Installing blockimmo-contracts

After installing Truffle, to install the blockimmo platform smart contracts, run the following in your Solidity project root directory:

cd blockimmo-contracts
npm i
sh scripts/test.sh

Smart contracts

ContractVersionDescription
LandRegistryv1.0.0A minimal, simple database mapping properties to their on-chain representation (TokenizedProperty).
LandRegistryProxyv1.0.0Points to LandRegistry, enabling it to be upgraded if absolutely necessary.
Whitelistv1.0.0A minimal, simple database mapping public addresses (ie users) to their permissions.
WhitelistProxyv1.0.0Points to Whitelist, enabling it to be upgraded if absolutely necessary.
TokenizedPropertyv1.0.0An asset-backed token (a property as identified by its E-GRID (a UUID) in the (Swiss) land registry).
DividendDistributingTokenv1.0.0An ERC20-compliant token that distributes any Ether it receives to its token holders proportionate to their share.
ShareholderDAOv1.0.0A simple DAO attached to a TokenizedProperty (ownership of the property is transferred to this).
TokenSalev1.0.0Distribute tokens to investors in exchange for Ether.

Tests

Unit test are critical to the blockimmo platform. They help ensure code quality and mitigate against security vulnerabilities. The directory structure within the /tests directory corresponds to the /contracts directory. blockimmo uses Mocha’s JavaScript testing framework and Chai’s assertion library. To learn more about how to tests are structured, please reference OpenZeppelin’s Testing Guide.

Testing notes

Some of our contracts rely on the addresses of the deployed LandRegistryProxy, Medianizer, and WhitelistProxy smart contracts. These addresses differ between testing, Ropsten, and Main net. Comments in our smart contracts indicate which addresses must be used for each kind of deployment.

Security

blockimmo is meant to provide a secure, tested, and audited platform for real-estate.

We follow the core development principles and strategies that OpenZeppelin is based on including: security in depth, simple and modular code, clarity-driven naming conventions, comprehensive unit testing, pre-and-post-condition sanity checks, code consistency, and regular audits.

If you find a security issue, please make an issue at our HackerOne page.

Other docs

License

Copyright (c) 2018 blockimmo AG license@blockimmo.ch

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

2.0.0-rc16

5 years ago

2.0.0-rc15

5 years ago

2.0.0-rc14

5 years ago

2.0.0-rc13

5 years ago

2.0.0-rc12

5 years ago

2.0.0-rc11

5 years ago

2.0.0-rc10

5 years ago

2.0.0-rc9

5 years ago

2.0.0-rc8

5 years ago

2.0.0-rc7

5 years ago

2.0.0-rc6

5 years ago

2.0.0-rc5

5 years ago

2.0.0-rc4

5 years ago

2.0.0-rc3

5 years ago

2.0.0-rc2

5 years ago

2.0.0-rc1

5 years ago

1.1.0

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

0.1.31

6 years ago

0.1.30

6 years ago

0.1.29

6 years ago

0.1.28

6 years ago

1.0.0

6 years ago

0.1.27

6 years ago

0.1.26

6 years ago

0.1.25

6 years ago

0.1.24

6 years ago

0.1.23

6 years ago

0.1.22

6 years ago

0.1.21

6 years ago

0.1.20

6 years ago

0.1.19

6 years ago

0.1.18

6 years ago

0.1.17

6 years ago

0.1.16

6 years ago

0.1.15

6 years ago

0.1.14

6 years ago

0.1.13

6 years ago

0.1.12

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.99-rc17

6 years ago

0.0.99-rc16

6 years ago

0.0.99-rc15

6 years ago

0.0.99-rc14

6 years ago

0.0.99-rc13

6 years ago

0.0.99-rc12

6 years ago

0.0.99-rc11

6 years ago

0.0.99-rc10

6 years ago

0.0.99-rc9

6 years ago

0.0.99-rc8

6 years ago

0.0.99-rc7

6 years ago

0.0.99-rc6

6 years ago

0.0.99-rc5

6 years ago

0.0.99-rc4

6 years ago

0.0.99-rc3

6 years ago

0.0.99-rc2

6 years ago

0.0.99-rc1

6 years ago

0.0.99

6 years ago

0.0.98

6 years ago

0.0.97

6 years ago

0.0.96

6 years ago

0.0.95

6 years ago

0.0.94

6 years ago

0.0.93

6 years ago

0.0.92

6 years ago

0.0.91

6 years ago

0.0.90

6 years ago

0.0.89

6 years ago

0.0.87

6 years ago

0.0.86

6 years ago

0.0.85

6 years ago

0.0.83

6 years ago

0.0.82

6 years ago

0.0.81

6 years ago

0.0.80

6 years ago

0.0.79

6 years ago

0.0.78

6 years ago

0.0.77

6 years ago

0.0.76

6 years ago

0.0.75

6 years ago

0.0.74

6 years ago

0.0.73

6 years ago

0.0.72

6 years ago

0.0.71

6 years ago

0.0.70

6 years ago

0.0.69

6 years ago

0.0.68

6 years ago

0.0.67

6 years ago

0.0.66

6 years ago

0.0.65

6 years ago

0.0.64

6 years ago

0.0.63

6 years ago

0.0.62

6 years ago

0.0.61

6 years ago

0.0.60

6 years ago

0.0.59

6 years ago

0.0.58

6 years ago

0.0.57

6 years ago

0.0.56

6 years ago

0.0.55

6 years ago

0.0.54

6 years ago

0.0.53

6 years ago

0.0.52

6 years ago

0.0.51

6 years ago

0.0.50

6 years ago

0.0.49

6 years ago

0.0.48

6 years ago

0.0.47

6 years ago

0.0.45

6 years ago

0.0.44

6 years ago

0.0.43

6 years ago

0.0.42

6 years ago

0.0.41

6 years ago

0.0.40

6 years ago

0.0.39

6 years ago

0.0.38

6 years ago

0.0.37

6 years ago

0.0.36

6 years ago

0.0.35

6 years ago

0.0.34

6 years ago

0.0.33

6 years ago

0.0.32

6 years ago

0.0.31

6 years ago

0.0.30

6 years ago

0.0.29

6 years ago

0.0.27

6 years ago

0.0.26

6 years ago

0.0.25

6 years ago

0.0.24

6 years ago

0.0.23

6 years ago

0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago