Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 1 txn
Misc:
Address Watch: Add To Watch List
Contract Creator: 0x8099c37afe6921956d476a03de0d9fadb90c052aat txn 0x5bb253c2bec036a94855d5552a4f53768c1d8547dc96521ce8470a8c1a004635
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: Blockchainedlove
Compiler Text: v0.4.23+commit.124ca40d
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.23;


// Authorization control functions
contract Ownable {
	
	// The administrator of the contract
	address private owner;
	
	// Set the owner to the original creator of the contract
	constructor() public {
		owner = msg.sender;
	}
	
	// Parameters like status can only be changed by the contract owner
	modifier onlyOwner() {
		require( 
			msg.sender == owner,
			'Only the administrator can change this'
		);
		_;
	}
	
}


// Primary contract
contract Blockchainedlove is Ownable {
	
	// Partner details and other contract parameters
    string public partner_1_name;
    string public partner_2_name;
	string public contract_date;
	string public declaration;
	bool public is_active;
	
	// Main function, executed once upon deployment
	constructor() public {
		// Custom variables
		partner_1_name = 'Avery';
		partner_2_name = 'Jordan';
		contract_date = '11 January 2018';
		// Standard variables
		declaration = 'This smart contract has been prepared and deployed by Blockchained.Love - it is stored permanently on the Ethereum blockchain and cannot be deleted. The status of the smart contract, represented by the value of the is_active variable, an only be changed by Blockchained.Love following explicit consent from both persons mentioned in the document.';
		is_active = true;
	}
	
	// Change the status of the contract
	function updateStatus(bool _status) public onlyOwner {
		is_active = _status;
		emit StatusChanged(is_active);
	}
	
	// Record the status change event
	event StatusChanged(bool NewStatus);
	
}

    Contract ABI  
[{"constant":false,"inputs":[{"name":"_status","type":"bool"}],"name":"updateStatus","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"is_active","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"declaration","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"contract_date","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"partner_1_name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"partner_2_name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"NewStatus","type":"bool"}],"name":"StatusChanged","type":"event"}]

  Contract Creation Code Switch To Opcodes View
608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040805190810160405280600581526020017f41766572790000000000000000000000000000000000000000000000000000008152506001908051906020019061009c929190610188565b506040805190810160405280600681526020017f4a6f7264616e0000000000000000000000000000000000000000000000000000815250600290805190602001906100e8929190610188565b506040805190810160405280600f81526020017f3131204a616e756172792032303138000000000000000000000000000000000081525060039080519060200190610134929190610188565b506101806040519081016040528061015a815260200161095f61015a913960049080519060200190610167929190610188565b506001600560006101000a81548160ff02191690831515021790555061022d565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106101c957805160ff19168380011785556101f7565b828001600101855582156101f7579182015b828111156101f65782518255916020019190600101906101db565b5b5090506102049190610208565b5090565b61022a91905b8082111561022657600081600090555060010161020e565b5090565b90565b6107238061023c6000396000f300608060405260043610610078576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806319e072ef1461007d5780631a8012e4146100ac578063b1a6afd3146100db578063e020b8a31461016b578063f3072020146101fb578063f8efaf2b1461028b575b600080fd5b34801561008957600080fd5b506100aa60048036038101908080351515906020019092919050505061031b565b005b3480156100b857600080fd5b506100c161046c565b604051808215151515815260200191505060405180910390f35b3480156100e757600080fd5b506100f061047f565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610130578082015181840152602081019050610115565b50505050905090810190601f16801561015d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561017757600080fd5b5061018061051d565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101c05780820151818401526020810190506101a5565b50505050905090810190601f1680156101ed5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020757600080fd5b506102106105bb565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610250578082015181840152602081019050610235565b50505050905090810190601f16801561027d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561029757600080fd5b506102a0610659565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102e05780820151818401526020810190506102c5565b50505050905090810190601f16801561030d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001807f4f6e6c79207468652061646d696e6973747261746f722063616e206368616e6781526020017f652074686973000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b80600560006101000a81548160ff0219169083151502179055507f4dcbe1841ee9bd9c888e46c0b35574429b1c0f1071806180028dee2f9a106430600560009054906101000a900460ff16604051808215151515815260200191505060405180910390a150565b600560009054906101000a900460ff1681565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105155780601f106104ea57610100808354040283529160200191610515565b820191906000526020600020905b8154815290600101906020018083116104f857829003601f168201915b505050505081565b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105b35780601f10610588576101008083540402835291602001916105b3565b820191906000526020600020905b81548152906001019060200180831161059657829003601f168201915b505050505081565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106515780601f1061062657610100808354040283529160200191610651565b820191906000526020600020905b81548152906001019060200180831161063457829003601f168201915b505050505081565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106ef5780601f106106c4576101008083540402835291602001916106ef565b820191906000526020600020905b8154815290600101906020018083116106d257829003601f168201915b5050505050815600a165627a7a72305820f42ac944e49942255d3b9d2ce0a488502a7b1d5086f70f92936125638cd05de400295468697320736d61727420636f6e747261637420686173206265656e20707265706172656420616e64206465706c6f79656420627920426c6f636b636861696e65642e4c6f7665202d2069742069732073746f726564207065726d616e656e746c79206f6e2074686520457468657265756d20626c6f636b636861696e20616e642063616e6e6f742062652064656c657465642e2054686520737461747573206f662074686520736d61727420636f6e74726163742c20726570726573656e746564206279207468652076616c7565206f66207468652069735f616374697665207661726961626c652c20616e206f6e6c79206265206368616e67656420627920426c6f636b636861696e65642e4c6f766520666f6c6c6f77696e67206578706c6963697420636f6e73656e742066726f6d20626f746820706572736f6e73206d656e74696f6e656420696e2074686520646f63756d656e742e

   Swarm Source:
bzzr://f42ac944e49942255d3b9d2ce0a488502a7b1d5086f70f92936125638cd05de4

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.