Skip to content

Commit 659b188

Browse files
authored
contract for funding services at most every 24h (#33)
* contract for funding services at most every 24h Signed-off-by: Alexander Diemand <[email protected]> * +factories; +interfaces Signed-off-by: Alexander Diemand <[email protected]> * corr Signed-off-by: Alexander Diemand <[email protected]> * service manager test Signed-off-by: Alexander Diemand <[email protected]> * follow naming convention Signed-off-by: Alexander Diemand <[email protected]> * updated packages Signed-off-by: Alexander Diemand <[email protected]> * address security warnings Signed-off-by: Alexander Diemand <[email protected]> * check constructor arguments Signed-off-by: Alexander Diemand <[email protected]> * new hierachy: ServiceManager - ServiceController - Service - Instance Signed-off-by: Alexander Diemand <[email protected]> * wip - user interface to manage contracts Signed-off-by: Alexander Diemand <[email protected]> * improved UI Signed-off-by: Alexander Diemand <[email protected]> * beautified and roughly tested Signed-off-by: Alexander Diemand <[email protected]> --------- Signed-off-by: Alexander Diemand <[email protected]>
1 parent 4d3d47b commit 659b188

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1984
-1351
lines changed

bca-token-app/src/lib/wallet.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export async function get_wallet_balance(wallet: WalletInformation, ev: any): Pr
5656
// await contract.methods.decimals().call().then(console.log);
5757
// const decimals = await contract.methods.decimals().call();
5858
// const decimals = 10;
59-
console.log("decimals = " + decimals)
59+
// console.log("decimals = " + decimals)
6060
wallet.walletbalance = Number(await window.web3.eth.getBalance(wallet.walletaddr));
6161
if (!!wallet.walletbalance) { wallet.walletbalance = wallet.walletbalance / (10 ** decimals) }
6262
wallet.warning = undefined
@@ -85,8 +85,8 @@ export async function get_wallet_addr(wallet: WalletInformation, ev: any): Promi
8585

8686
wallet.walletaddr = selectedAccount;
8787
wallet.warning = undefined
88-
console.log("address: " + wallet.walletaddr)
89-
console.log("network: " + wallet.walletnetwork)
88+
// console.log("address: " + wallet.walletaddr)
89+
// console.log("network: " + wallet.walletnetwork)
9090

9191
} catch (error) {
9292
wallet.warning = "error while accessing wallet: " + error;

bca-token-market/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ node_modules
2222
package-lock.json
2323
prisma/migrations
2424

25+
src/lib/bca_*-abi.json

bca-token-market/src/lib/bca_service-abi.json

Lines changed: 0 additions & 376 deletions
This file was deleted.

0 commit comments

Comments
 (0)