Questions tagged [access]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
304 views

VM error: revert.The called function should be payable if you send value and the value you send should be less than your current balance

There is already a similar question, but it doesn't help me. So I ask this question again and expect something useful information. Two contracts named AccessControl.sol and Judge.sol. I've removed ...
0
votes
1answer
85 views

Need a guide to access my ropsten test network contracts through my command line and not remix

I have written and published a contract on the ropsten test network using remix. Now I want to access the functions of the smart contract from my command line (My PC) and not the remix IDE. Is there a ...
2
votes
1answer
541 views

VM error: revert. revert The transaction has been reverted to the initial state. Note: The called function should be payable if

Hi Guys 👋 I have two contacts first one is SubToken and second one is MainContract. First I deploy MainContract after that I use createNewContract function and I create new SubToken. and then I ...
3
votes
1answer
580 views

TypeError: Indexed expression has to be a type, mapping or array (is function (address) view external returns (string memory,string memory…)

I have 2 contracts first one is sub second one is main . First i deploy main and create a new subtoken. Then I want to access my maincontract in subToken contract but I cant :( When I compile this ...
0
votes
0answers
15 views

How to verify access of child contracts?

I am using a factory A to produce child contracts. Now I want to guarantee that only these child contracts have access to a different contract B. Using the factory as a proxy is somehow a detour as I ...
2
votes
1answer
57 views

Is there any way that smart contract can access xacml policies?

I am trying to implement role based access control model using blockchain. How do i store these policies? Later my smartcontract should be able to allow or deny the rquest of user based on policie. ...
1
vote
2answers
162 views

Decentralized Access Control in permissioned Blockchain

For a business use case I am conceptualizing for my master's thesis, which is based on a Blockchain system, I need to understand impacts on decentralization/trustlessness. Many people argue that ...
2
votes
2answers
82 views

Make Smart Contract Only Accessible from a Web App

I have got a Solidity smart contract which only interacts with a React front-end using web3. I want to restrict access to the smart contract so that only the React front-end can access the smart ...
0
votes
0answers
54 views

Controlling access to functions with VIEW visibility with signed transactions?

Controlling access to functions that require ETH is straight forward because you get an address you can trust because it has been signed and verified, and therefore upi can use for access control ...
2
votes
3answers
907 views

Accessing not public variables

Is it possible as the creater of the smart contract to access a not public variable? E.g.: contract MyContract { uint256 someLevel; function changeLevel(uint _newLevel) public { ...
0
votes
1answer
493 views

Move ERC20 tokens from Ethereum Wallet Contract to Account

In my Ethereum wallet i am trying to access my wallet conract. If I sync in light mode and import the wallet contract address it just stays there displayed, greyed out and nothing happens, no matter ...
0
votes
1answer
219 views

Allow access to private ethereum network from certain IP only

I have a question regarding restriction access to private etehreum network. I created my Private Etehreum network using Geth(for now just only with one node) on the Ubuntu 16.04 virtual machine. And ...
0
votes
1answer
68 views

Fast access of any given transaction in the blockchain

That is a conceptual question that I am asking here. We are trying to developp an application to securely store the hashes of some files in the blockchain. Everything is automated (taking a file as ...
1
vote
1answer
452 views

Smart Contract Execution Rights - Can everyone who knows the public address of a smart contract call the smart contract?

Say I have a contract with the address and method below. myContract.at("0x9f8cedf1f93e46fac74cb9415db8bbec85f239b4").greet(); Can everyone who knows this address call this smart contract method? Any ...
1
vote
1answer
20 views

Accessibility and security of the contract within a contract as a variable

Say I have one contract: contract Token { uint totalSupply; function Token() public { totalSupply = 0; } function mint() public{ //Do minting } } And then an ...
1
vote
1answer
22 views

Address Not Getting Stored Correctly in State Variable?

I am trying to write a contract where the originator of the contract will offer a reward that can only be claimed by a different address that she or he specifies. To do that, I am trying to create ...
0
votes
1answer
229 views

Off-chain database and access control management by smart contracts

I am thinking about an application which consists of two main components; off-chain database and ethereum blockchain for managing the accesses to the off-chain database. Is there any similar sample? ...
2
votes
1answer
237 views

Smart Contract to access to website

We want to create a simple smart contract: After the click of a "pay"-button, you have to pay automatically 0,01 ETH to our wallet and you can visit after the confirmend transaction a website/link/...
2
votes
1answer
2k views

Where is ethereum and etc stored on my desktop when using Jaxx wallet?

There was an error when opening my jaxx wallet for windows 10 desptop (containing eth and etc), and my computer suggested to reinstall the application. Without thinking, I deleted the jaxx files (but ...
1
vote
1answer
337 views

Presale wallet gives zero funds

I have already asked this question but I post once again as helpdesk people at ethereum are asking to post here: After several years of waiting, I have decided to check how much ether I do have in my ...
2
votes
1answer
728 views

What is the best way to write into a byte variable at a predefined position?

According to the Solidity documentation one can access the byte at position k in for example a Bytes16 variable source with the following code: pragma solidity ^0.4.8; contract example { Bytes16 ...
1
vote
2answers
151 views

What is the best practice between setting a variable public or using getters in Solidity?

From the solidity.readthedocs, a variable declared as public does not need a getter since an automatic accessor function is generated e.g: pragma solidity ^0.4.2; contract C { uint public data; }...