From 105f85be1ccfb8b33d419dc15c4344f1ca49839d Mon Sep 17 00:00:00 2001 From: William Luke Date: Mon, 13 Jun 2022 14:15:50 +0300 Subject: [PATCH] feat: bump chainlib --- .gitignore | 1 + CHANGELOG | 10 ++- .../index/Smart-contract-interfaces.html | 78 +++++++++++++++---- python/requirements.txt | 2 +- python/setup.cfg | 2 +- 5 files changed, 71 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index 7a70e94..7bc7879 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ gmon.out dist build *.egg-info +.venv \ No newline at end of file diff --git a/CHANGELOG b/CHANGELOG index 25eeb8f..143be30 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,7 +1,9 @@ +- 0.2.0 + - Bump chainlib-eth>=0.3.0,<0.4.0 - 0.0.3 - * Update contracts to cic-base state 0.1.2-beta.5 - * Add interface digest generator script + - Update contracts to cic-base state 0.1.2-beta.5 + - Add interface digest generator script - 0.0.2 - * Add token endorser contract + - Add token endorser contract - 0.0.1 - * Consolidate all existing contract interfaces + - Consolidate all existing contract interfaces diff --git a/doc/texinfo/index/Smart-contract-interfaces.html b/doc/texinfo/index/Smart-contract-interfaces.html index e2763d3..8f5b02a 100644 --- a/doc/texinfo/index/Smart-contract-interfaces.html +++ b/doc/texinfo/index/Smart-contract-interfaces.html @@ -1,6 +1,6 @@ - + Smart contract interfaces (Untitled Document) @@ -10,14 +10,16 @@ + + @@ -34,45 +37,77 @@ ul.no-bullet {list-style: none} -

1 Smart contract interfaces

+
+

1 Smart contract interfaces

-

1.1 Smart Contracts in the CIC Network

+ +
+

1.1 Smart Contracts in the CIC Network

-

1.1.1 Technology

+ +
+

1.1.1 Technology

The long-term aim of the CIC network is to be agnostic of consensus engines. However, since we have to start somewhere, the current state of development only deals with Smart Contracts on the (Ethereum Virtual Machine (EVM).

-

1.1.2 The registry contract

+
+
+

1.1.2 The registry contract

The CICRegistry contract defines the entry-point to the entire CIC network. All other CIC network resources can be discovered through this contract.

Its implementation is contained in the cic-registry repository. Details about it are documented further in that section.

-

1.1.3 Auxiliary contracts

+
+
+

1.1.3 Auxiliary contracts

All other Smart Contracts in the network other than CICRegistry are essentially optional, and each applies at least one the interfaces defined in the cic-contracts repository.

-

1.1.4 Contract interfaces

+
+
+

1.1.4 Contract interfaces

All contracts interfaces also implement the EIP165 Standard Interface Detection.

-

1.1.4.1 Registry

+ +
+

1.1.4.1 Registry

A key-value store, which resolves arbitrary 32-byte pointers to Ethereum addresses. Typically, this is used to resolve an address from a well-known identifier, either as a UTF-8 value or a 256-bit hash.

It also provides numerical index access to all registered values in order of insertion.

-

1.1.4.2 Registry Client

+
+
+

1.1.4.2 Registry Client

A subset of the Registry interface, which defines only the non-transactional methods of the contract. The Registry Client interface is implemented by the CICRegistry contract.

-

1.1.4.3 Faucet

+
+
+

1.1.4.3 Faucet

Enables disbursement of a set amount of tokens to a requesting address.

@@ -81,7 +116,9 @@ ul.no-bullet {list-style: none}

Can be implemented as a periodic or a one-time service per account.

-

1.1.4.4 Transfer approval

+
+
+

1.1.4.4 Transfer approval

Enables a third-party approval to spend an ERC20 token allowance.

@@ -90,7 +127,9 @@ ul.no-bullet {list-style: none}

The contract allows the third-party address to either allow or reject the transfer.

-

1.1.4.5 Declarator

+
+
+

1.1.4.5 Declarator

Stores one or more 32-byte entries as a description of an Ethereum address, signed by another Ethereum address.

@@ -101,15 +140,22 @@ ul.no-bullet {list-style: none}

Entries typically are text strings or content hashes.

-

1.1.4.6 Address Index

+
+
+

1.1.4.6 Address Index

A simple append-only list of addresses. Used to check whether an address is part of a particular group.

-

1.1.4.7 DEX Index

+
+
+

1.1.4.7 DEX Index

Methods required to convert between tokens. -


+


+
+
+
diff --git a/python/requirements.txt b/python/requirements.txt index 9524fb0..3ce98fb 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -1 +1 @@ -chainlib-eth>=0.1.0b1,<0.2.0 +chainlib-eth>=0.3.0,<0.4.0 diff --git a/python/setup.cfg b/python/setup.cfg index aade670..a6b900d 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = cic-contracts -version = 0.1.0 +version = 0.2.0 description = CIC network smart contract interfaces author = Louis Holbrook author_email = dev@holbrook.no