Contract Overview |  GodsUnchained_CappedVault
Balance: 6,130.860970999999999 Ether
Ether Value: $712,099.50 (@ $116.15/ETH)
Transactions: 15 txns
 Latest 15 txns

TxHash Age From To Value [TxFee]
0x0315a0779410ec3113e8f9ba3d609710e85aa07f76f55ddb79912ae1fcc6aaf349 days 20 hrs ago0x95b697e13f227d55ef4336f7aa762fe243eef590  IN   GodsUnchained_CappedVault0 Ether0.00107373
0x15bae0477b8a63fe68a8b977b5362529a777db24c999e3a0c71f61a67b73b16749 days 20 hrs ago0xcb3562dd15807e2bcf35092b1e873971af0a51da  IN   GodsUnchained_CappedVault0 Ether0.0002685
0x2657d676fac4e47e3039e6eb505a334ada09ea8a2d3c1d9e2ab5d80a076f6dc679 days 4 hrs ago0x95b697e13f227d55ef4336f7aa762fe243eef590  IN   GodsUnchained_CappedVault0 Ether0.00071582
0x5761808a59692340771d77fab058627669e8920d8506418ea72ea70f9ba8f66896 days 23 hrs ago0x95b697e13f227d55ef4336f7aa762fe243eef590  IN   GodsUnchained_CappedVault0 Ether0.00071582
0x5c9b5127a5b24126837b6640d5e49543fa474b1159e33133a3a61e301392b69396 days 23 hrs ago0xcb3562dd15807e2bcf35092b1e873971af0a51da  IN   GodsUnchained_CappedVault0 Ether0.00031325
0xbde12d0df326b9b25cfab78b8d691b05ad22a8a3e7d3f0c64ec803780df54c67124 days 2 hrs ago0x95b697e13f227d55ef4336f7aa762fe243eef590  IN   GodsUnchained_CappedVault0 Ether0.00071582
0x5d53dd5ffc7812676bae26d8a9d765c6bd60c6ae68aca5f404f9d3838dfc6b33124 days 2 hrs ago0xcb3562dd15807e2bcf35092b1e873971af0a51da  IN   GodsUnchained_CappedVault0 Ether0.000335625
0x3b74da3453e02f8f1b61cb85200fc61fef1baa0b1e7a40f52fe1d524959d721e143 days 23 hrs ago0x95b697e13f227d55ef4336f7aa762fe243eef590  IN   GodsUnchained_CappedVault0 Ether0.00071582
0x896c018bbc1cd5912fdfd7c3c8052f9814a359659f77119f6dd3544a03902219143 days 23 hrs ago0x95b697e13f227d55ef4336f7aa762fe243eef590  IN   GodsUnchained_CappedVault0 Ether0.000532065
0x3b879a5d33b3c6ae8b86d8313d3a479a8f68bd407b548861caa60b865a6e9b4b155 days 4 hrs ago0x95b697e13f227d55ef4336f7aa762fe243eef590  IN   GodsUnchained_CappedVault0 Ether0.000894775
0xa89a22ce487644a4481e8487429390a45d4f1d303304156ab675a100707ff5c4155 days 5 hrs ago0xcb3562dd15807e2bcf35092b1e873971af0a51da  IN   GodsUnchained_CappedVault0 Ether0.00022375
0x4001d6adc06e380727156e90461ade87f2235f9dd503ef36338b2203383dcbe8197 days 14 hrs ago0x95b697e13f227d55ef4336f7aa762fe243eef590  IN   GodsUnchained_CappedVault0 Ether0.00203556
0x5c3bf6408d77fb2c0b473670bebcbf495c47e0b6152bedc81f9aa441acd206b7197 days 14 hrs ago0xcb3562dd15807e2bcf35092b1e873971af0a51da  IN   GodsUnchained_CappedVault0 Ether0.000587655
0x4fa979830708c382ad6f02aa0c3b0f34a8bef8b8fef53fbc47b9520d34a1009f197 days 15 hrs ago0x32001fcccc7e1b3193818bb88b5eb1bd827e2bc6  IN   GodsUnchained_CappedVault0 Ether0.00056884
0xc4bd02f66d17e72e4b37c810ee6f7fc31150f49b862080a07c6a58d8e8fb65ff197 days 17 hrs ago0x32001fcccc7e1b3193818bb88b5eb1bd827e2bc6  IN    Contract Creation0 Ether0.00835842
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click here To View More View All
ParentTxHash Block Age From To Value
0x0d222e9eb85ea826f3b9e7b2c0f5d43637423695a5671e3f44a56211389364eb7117702 21 secs ago0x6cb4ad504816bd3021ae48286f018ac725239b890x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.012 Ether
0x0d222e9eb85ea826f3b9e7b2c0f5d43637423695a5671e3f44a56211389364eb7117702 21 secs ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.012 Ether
0xda2402c27b85541811d820a81be68c0b4fda1fb076088a533a108889ee784b65711763517 mins ago0x6cb4ad504816bd3021ae48286f018ac725239b890x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.036 Ether
0xda2402c27b85541811d820a81be68c0b4fda1fb076088a533a108889ee784b65711763517 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.036 Ether
0x61bcc639b6405d4f181ec946c9fbc815e04696bff3e04d1a57bae8334a788212711762719 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.1944 Ether
0xadf2390c48b371528c190460df56516f9e02230e2ce83aa7e762154f5b89b771711761622 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.0108 Ether
0x3356b607fbce96a5da39ec2c12cc64cff7d23afd0c9978e3e4cb2148c4890682711760224 mins ago0x6cb4ad504816bd3021ae48286f018ac725239b890x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.012 Ether
0x3356b607fbce96a5da39ec2c12cc64cff7d23afd0c9978e3e4cb2148c4890682711760224 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.012 Ether
0x27e9261d254008309f5f8725bfaff33928f68c613481aacd8f37f4b194ecee2c711760025 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.0108 Ether
0x4d381178b6e6495f0fc93cdb2d258a42aca8749a0c357a0d616a2fd9048a26d2711758130 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.012 Ether
0xb14adfc171db0121f70c81257cedb975c7a4b42b6793651aceb9aad99800f0cb711757531 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.0648 Ether
0x48a692f91c9c4707816cf85aea9fc152039272ae283a24cfa472a5efd90f4b16711754439 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.072 Ether
0x47cd38ede62f90b38db90c055311125ffc52e34d306c960592bf8b4c8602d679711752546 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.072 Ether
0x5bb6918f63500cecc0830679aed04ceea873323e695701328f7fdada3b8fa0f6711751449 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.012 Ether
0x9517898824c7e85dd0f88dc032fda7624de133ce7df818a3bc0ca2c4ceabbc6b711749953 mins ago0x6cb4ad504816bd3021ae48286f018ac725239b890x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.012 Ether
0x9517898824c7e85dd0f88dc032fda7624de133ce7df818a3bc0ca2c4ceabbc6b711749953 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.012 Ether
0xbebc28330165f0a4205c46890269d474af2ba45940b6509615fbc7e814e65777711749753 mins ago0x6cb4ad504816bd3021ae48286f018ac725239b890x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.012 Ether
0xbebc28330165f0a4205c46890269d474af2ba45940b6509615fbc7e814e65777711749753 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.012 Ether
0x72d51f103da318163e57503db1f472f0f4599dca2235fb6bb806cd4981150c48711749354 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.012 Ether
0x443866cd93418e7f16e72f373da82cd7cceffabfbd851c18ae1a1f79d71fd01f71174721 hr 2 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.0648 Ether
0xac015adb30c5440741a368be0be96a823e1cfb48ad69d821efc78d2456bc80f771174651 hr 3 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.0648 Ether
0xd5222f870bc8c626e12bf90d4d3736d0c05c7d2c1732cd78d43e70b054e57bd971174601 hr 4 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.54 Ether
0xd351bb6f2099b23ac4373709a569dcc510edd103386e32f868784fb70237535471174211 hr 13 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.1944 Ether
0x350c81f9fee0e28faed5b094af84a48828df38e37990c5e277a68fdf1c70b80471173101 hr 41 mins ago0x6cb4ad504816bd3021ae48286f018ac725239b890x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.06 Ether
0x350c81f9fee0e28faed5b094af84a48828df38e37990c5e277a68fdf1c70b80471173101 hr 41 mins ago0x0777f76d195795268388789343068e4fcd2869190x91b9d2835ad914bc1dcfe09bd1816febd04fd6890.06 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Similar Match)
Note: Displaying Similar Match Verified Source Code At Contract 0xc60646b196167b839cdc4e2f4f1cdbea2448a3d6(Excluding Constructor Arguments if any)
Contract Name: CappedVault
Compiler Text: v0.4.24+commit.e67f0147
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity 0.4.24;

contract Ownable {

   address public owner;

   constructor() public {
       owner = msg.sender;
   }

   function setOwner(address _owner) public onlyOwner {
       owner = _owner;
   }

   modifier onlyOwner {
       require(msg.sender == owner);
       _;
   }

}

contract Vault is Ownable {

   function () public payable {

   }

   function getBalance() public view returns (uint) {
       return address(this).balance;
   }

   function withdraw(uint amount) public onlyOwner {
       require(address(this).balance >= amount);
       owner.transfer(amount);
   }

   function withdrawAll() public onlyOwner {
       withdraw(address(this).balance);
   }
}

contract CappedVault is Vault { 

    uint public limit;
    uint withdrawn = 0;

    constructor() public {
        limit = 33333 ether;
    }

    function () public payable {
        require(total() + msg.value <= limit);
    }

    function total() public view returns(uint) {
        return getBalance() + withdrawn;
    }

    function withdraw(uint amount) public onlyOwner {
        require(address(this).balance >= amount);
        owner.transfer(amount);
        withdrawn += amount;
    }

}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"getBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"total","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdrawAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"limit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

  Contract Creation Code Switch To Opcodes View
6080604052600060025534801561001557600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555069070efc4d0e326fb4000060018190555061049e806100766000396000f300608060405260043610610083576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806312065fe01461009f57806313af4035146100ca5780632ddbd13a1461010d5780632e1a7d4d14610138578063853828b6146101655780638da5cb5b1461017c578063a4d66daf146101d3575b6001543461008f6101fe565b011115151561009d57600080fd5b005b3480156100ab57600080fd5b506100b4610211565b6040518082815260200191505060405180910390f35b3480156100d657600080fd5b5061010b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610230565b005b34801561011957600080fd5b506101226101fe565b6040518082815260200191505060405180910390f35b34801561014457600080fd5b50610163600480360381019080803590602001909291905050506102ce565b005b34801561017157600080fd5b5061017a6103ca565b005b34801561018857600080fd5b50610191610447565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101df57600080fd5b506101e861046c565b6040518082815260200191505060405180910390f35b600060025461020b610211565b01905090565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561028b57600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561032957600080fd5b803073ffffffffffffffffffffffffffffffffffffffff16311015151561034f57600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156103b6573d6000803e3d6000fd5b508060026000828254019250508190555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561042557600080fd5b6104453073ffffffffffffffffffffffffffffffffffffffff16316102ce565b565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600154815600a165627a7a7230582002b900a4b62617d2a27d1f109b721731f1b74830bb6e672cd41b19c1a84450be0029

   Swarm Source:
bzzr://02b900a4b62617d2a27d1f109b721731f1b74830bb6e672cd41b19c1a84450be

 

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.