ETH Price: $3,424.81 (-6.22%)

Contract

0xdB5D5646732F7c191574996bD8Fa2B861aAeF1D2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Advanced mode:
Parent Transaction Hash Block
From
To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LegalDocument

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-06-05
*/

pragma solidity ^0.4.23;

// File: contracts/LegalDocument.sol

/**
 * @title LegalDocument
 * @dev Basic version of a legal contract, allowing the owner to save a legal document and associate the governing law
 * contact information.
 */
contract LegalDocument {

    string public documentIPFSHash;
    string public governingLaw;

    /**
      * @dev Constructs a document
      * @param ipfsHash The IPFS hash to the human readable legal contract.
      * @param law The governing law
      */
    constructor(string ipfsHash, string law) public {
        documentIPFSHash = ipfsHash;
        governingLaw = law;
    }

}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"documentIPFSHash","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"governingLaw","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"ipfsHash","type":"string"},{"name":"law","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]

608060405234801561001057600080fd5b506040516103113803806103118339810160405280516020808301519183018051909392909201916100489160009190850190610064565b50805161005c906001906020840190610064565b5050506100ff565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100a557805160ff19168380011785556100d2565b828001600101855582156100d2579182015b828111156100d25782518255916020019190600101906100b7565b506100de9291506100e2565b5090565b6100fc91905b808211156100de57600081556001016100e8565b90565b6102038061010e6000396000f30060806040526004361061004b5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663023376578114610050578063e46871f1146100da575b600080fd5b34801561005c57600080fd5b506100656100ef565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561009f578181015183820152602001610087565b50505050905090810190601f1680156100cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156100e657600080fd5b5061006561017d565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156101755780601f1061014a57610100808354040283529160200191610175565b820191906000526020600020905b81548152906001019060200180831161015857829003601f168201915b505050505081565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156101755780601f1061014a576101008083540402835291602001916101755600a165627a7a723058208199042a6fb7afc10bbaa8cd3e14a4054aa7d800bde21c5c3d21ce09853bd9f80029000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002e516d4e6247575770516b375837534b47524472356e39776674656b6f68675772323234726631614837633557426e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b556e69746564205374617465732c2052686f64652049736c616e640000000000

Deployed Bytecode

0x60806040526004361061004b5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663023376578114610050578063e46871f1146100da575b600080fd5b34801561005c57600080fd5b506100656100ef565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561009f578181015183820152602001610087565b50505050905090810190601f1680156100cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156100e657600080fd5b5061006561017d565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156101755780601f1061014a57610100808354040283529160200191610175565b820191906000526020600020905b81548152906001019060200180831161015857829003601f168201915b505050505081565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156101755780601f1061014a576101008083540402835291602001916101755600a165627a7a723058208199042a6fb7afc10bbaa8cd3e14a4054aa7d800bde21c5c3d21ce09853bd9f80029

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002e516d4e6247575770516b375837534b47524472356e39776674656b6f68675772323234726631614837633557426e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b556e69746564205374617465732c2052686f64652049736c616e640000000000

-----Decoded View---------------
Arg [0] : ipfsHash (string): QmNbGWWpQk7X7SKGRDr5n9wftekohgWr224rf1aH7c5WBn
Arg [1] : law (string): United States, Rhode Island

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [3] : 516d4e6247575770516b375837534b47524472356e39776674656b6f68675772
Arg [4] : 323234726631614837633557426e000000000000000000000000000000000000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000001b
Arg [6] : 556e69746564205374617465732c2052686f64652049736c616e640000000000


Swarm Source

bzzr://8199042a6fb7afc10bbaa8cd3e14a4054aa7d800bde21c5c3d21ce09853bd9f8

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.