From 5cb85c84575cfc3740e15e1c1a278474e6b3c387 Mon Sep 17 00:00:00 2001 From: Adibas03 Date: Mon, 17 Dec 2018 09:18:36 +0100 Subject: [PATCH] update contracts, ready for master --- .gitignore | 3 +- contracts/Wallet.sol | 5 ++-- src/App/Components/Beneficiaries.js | 44 +++++++++++++++++++++++++++++ src/App/Components/index.js | 1 + 4 files changed, 50 insertions(+), 3 deletions(-) create mode 100644 src/App/Components/Beneficiaries.js diff --git a/.gitignore b/.gitignore index 246d599..29751e5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ +/build /dist -/node_modules \ No newline at end of file +/node_modules diff --git a/contracts/Wallet.sol b/contracts/Wallet.sol index 87d2000..e4faa0d 100644 --- a/contracts/Wallet.sol +++ b/contracts/Wallet.sol @@ -3,8 +3,9 @@ pragma solidity ^0.4.24; import "../installed_contracts/zeppelin-solidity/contracts/ownership/Ownable.sol"; /** -* Wallet instantiation, is albe to run almost any Interaction: eth, toke, transactions -* It is basically a minimalistic implementation of Proxy contract discussed in EIP 725 and EIP 1167 +* Wallet instantiation, is able to run almost any Interaction: eth, token, transactions +* It is basically a minimalistic implementation of Proxy contract discussed +* The owner of the contract can be set as an Identity contract like EIP 725 and increse the possibilities */ contract Wallet is Ownable { diff --git a/src/App/Components/Beneficiaries.js b/src/App/Components/Beneficiaries.js new file mode 100644 index 0000000..0fb1c2c --- /dev/null +++ b/src/App/Components/Beneficiaries.js @@ -0,0 +1,44 @@ +import React, { Component } from 'react'; +import PropTypes from "prop-types"; +import ErrorBoundary from "./ErrorBoundary"; +import NetworkComponent from "./NetworkComponent"; + +import { web3Scripts } from '../../Scripts'; + +import Card from 'antd/lib/card'; +import Col from 'antd/lib/col'; +import Divider from 'antd/lib/divider'; +import Icon from 'antd/lib/icon'; +import Layout from 'antd/lib/layout'; +import notification from 'antd/lib/notification'; +import Row from 'antd/lib/row'; + +import 'antd/lib/card/style'; +import 'antd/lib/col/style'; +import 'antd/lib/divider/style'; +import 'antd/lib/icon/style'; +import 'antd/lib/layout/style'; +import 'antd/lib/notification/style'; +import 'antd/lib/row/style'; +import { Explorers } from "../../Config"; + +class Beneficiaries extends Component { + + render () { + return ( + + + +

Benefeciaries

+ +
+
+ ) + } + +} + +Beneficiaries.propTypes = { +} + +export default ErrorBoundary(NetworkComponent(Beneficiaries)); \ No newline at end of file diff --git a/src/App/Components/index.js b/src/App/Components/index.js index 9b2fe6c..c1e7b53 100644 --- a/src/App/Components/index.js +++ b/src/App/Components/index.js @@ -1,4 +1,5 @@ export{ default as Accounts } from './Accounts'; +export{ default as Beneficiaries } from './Beneficiaries'; export{ default as Contract } from './Contract'; export{ default as ContractsList } from './ContractsList'; export{ default as Deployer } from './Deployer';