Your Cart
Loading

smart contract written in Solidity, the programming language used for Ethereum:

On Sale
$500.00
$390.00
Seller is unable to receive payments since their PayPal or Stripe account has not yet been connected.

This contract defines an owner variable and a value variable. The constructor is called when the contract is created and sets owner to be the address of whoever created the contract, ie msg.sender. The initial value of value is 0. The setValue function can be called by anyone and sets the new value for value. However, this function includes a require check that verifies that the person calling the function is the owner. If it is not, then the function will be rejected and value will not be changed.

You will get a TXT (905B) file