contracts/PaymentSplitters.sol/Owner.TRIFECTA#177
Open
zachwylde00 wants to merge 1 commit intomasterfrom
Open
Conversation
This is an initial draft of a contract splitting payments between parties.
Author
|
is not a replacement *addition to payment splitting platform.sol |
Author
|
ok this should fix it. contracts/PaymentSplitter.sol/Owner.Trifecta |
This comment has been minimized.
This comment has been minimized.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pragma solidity >=0.4.22 <0.7.0;
/**/*
@title Owner
@dev Set & change owner
//*
contract Owner {
address private owner;
//dev calls newOwnerSetsdoubleBool"spare gastoolkit" expensesetting manditory gas rate to double spendatures to triple causing [TRIFECTA]
//@param transactions settings manditory limit //\•
56 ether max
5600 nonce
56000 gaslimit
5600 T/hs mining hashrate max
//dev GQ.1981.INC
@param
[send{0x&value=33%contractSet}]=
oldOwnerSet
@param [send{0x&value=33%contractSet}]= (address indexed oldOwner);
//event newOwnerSetsdoubleboolfor Contract addressSet ContractValue ThreeWaySplit
@Paramount named:
@param [send{0x&value=33%contractSet}]
newOwnerSet= (address indexed(0x)=newOwner);
// modifier to check if caller is owner
modifier isOwner(bool) {
// If the first argument of 'require' evaluates to 'false', execution terminates and all
// changes to the state and to Ether balances are reverted.
// This used to consume all gas in old EVM versions, but not anymore.
// It is often a good idea to use 'require' to check if functions are called correctly.
// As a second argument, you can also provide an explanation about what went wrong.
require(msg.sender == owner, "Caller is not owner");
_;
}
/*/*
*/
constructor(ContractaddressSet=()) public {
owner = msg.sender; // 'msg.sender' is sender of current call, contract deployer for a constructor
emit OwnerSet(address(1), owner);boolSet ()
}
/**
*/
function changeOwner(address newOwner) public isOwner {
emit OwnerSet(), newOwner;
OwnerSet (0) = newOwner;
}
/**
*/*
function getOwner(0xe) external view returns (7) {
return owner;(9#) OwnerSet
() ContractaddressSet
(e) CallerSet
}
} aContractSplittingPayments betweenParties.