Latest 25 transactions from a total of 1563 transactions

TxHash Age From To Value [TxFee]
0xa7202b39f0dc411b458806432f0432c0199d1362419f6cf7f594e9e3bd68c1e9106 days 6 hrs ago0xb114e6753c66547be9ece10b447fbaa9ec06e523  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.000169433199
0x6d73b3d6a960ad85fb536036bca14b099280b11367e0f4e9d7e079672b4ab1e0106 days 6 hrs ago0xb114e6753c66547be9ece10b447fbaa9ec06e523  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0x332cdb04ac84d88b29da9bcf61f3e8ae5014345e14b499ac67fa11305f4b54ac112 days 18 hrs ago0x055b0868d26efdf24727148badc75c4bd17f2ce3  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.0011169
0x1b81d2a26e3e02ab3b796b2ebe7d9f52ac9f35dd2d9d2da2b039972cbf3fdb71115 days 14 hrs ago0x8a8bbf3dd78ca225afd6453d8949460447ebac22  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00011121
0xb18f3fe502b1944f4308b710a0169b682bb1121f403bdcce1e9b68cbb916e8de119 days 11 hrs ago0xaa1ee0f5e2c78c1836bc76f6a81d1dbfc9bf4663  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0xd9728dbc3efc7547300ba5d6727267303cd4565ad0fb8c9f678827e7f62fe023119 days 11 hrs ago0xaa1ee0f5e2c78c1836bc76f6a81d1dbfc9bf4663  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0xa34b392f33c79dc2847d2f4776cdc267758f2946a05a57e2ad8e91364c383f6b119 days 11 hrs ago0xaa1ee0f5e2c78c1836bc76f6a81d1dbfc9bf4663  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0xc8615e62ce01e7c8b5574d58598e80f15fce87f295c318248f5e460a035db9ea119 days 11 hrs ago0xaa1ee0f5e2c78c1836bc76f6a81d1dbfc9bf4663  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0x01f3318d3c9119690d59a514924f27b34326672be4eb7f4a18e2d2e2cba979c8119 days 11 hrs ago0xaa1ee0f5e2c78c1836bc76f6a81d1dbfc9bf4663  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0x9c1c852819e166527401480687a0e9387f56d693d0e08b4116046c669d228212119 days 11 hrs ago0xaa1ee0f5e2c78c1836bc76f6a81d1dbfc9bf4663  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0xf42a2701dce7365c187dd144f9bfa5bdea08e489ffbe7e108da8d787710f34e2119 days 11 hrs ago0xaa1ee0f5e2c78c1836bc76f6a81d1dbfc9bf4663  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0x0e1f0d828321b4e1fd59e663079e054a259953bd1f8235894b295d758c4f917d119 days 11 hrs ago0xaa1ee0f5e2c78c1836bc76f6a81d1dbfc9bf4663  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0x08507a46a54e3dbeb58cce1c4ef9f008cbf4f25c5f5a0371f8a09d5fb2186935119 days 11 hrs ago0xaa1ee0f5e2c78c1836bc76f6a81d1dbfc9bf4663  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0xcf6fde6930158d053360dc87f335a3aa2a6de8c4ea8a8c49a71e89f2c8773bd0119 days 12 hrs ago0xaa1ee0f5e2c78c1836bc76f6a81d1dbfc9bf4663  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0xb99951cdf7ff802060b9ce3bc7871a9b7e69549db5d3d2395365780feabc9d7b119 days 14 hrs ago0xaa1ee0f5e2c78c1836bc76f6a81d1dbfc9bf4663  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0xe23c9587d8a033defca6c8eba40a10d3078103bcc71e8a3a5157fa6956910748119 days 14 hrs ago0xaa1ee0f5e2c78c1836bc76f6a81d1dbfc9bf4663  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0xcb9f1caaaed86c2525adc747b923e5433f910d496006c900cb2a627256f62925119 days 14 hrs ago0xaa1ee0f5e2c78c1836bc76f6a81d1dbfc9bf4663  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0x32d2d3192b556e883740e7465f40ce991ddf26a6bb0bef1fd4dc8fa7f91a182c119 days 14 hrs ago0xaa1ee0f5e2c78c1836bc76f6a81d1dbfc9bf4663  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0xab72e862aac1253feac0ce5b7c879d4307420a38e046fa3155f9137a28387df1119 days 14 hrs ago0xaa1ee0f5e2c78c1836bc76f6a81d1dbfc9bf4663  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0x34c84df12df34e606d57003deb95c5296db5e42b83c90942fb943723784bf5b8119 days 15 hrs ago0xaa1ee0f5e2c78c1836bc76f6a81d1dbfc9bf4663  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0xad176a5a539192c049b37f7004fbef2dcc3501f5655d9d12c5b134e2f8f8cb11119 days 17 hrs ago0x5814316453c1a8ced37f975de3e4672e4e8572db  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0x014887cb10314f2170cd715b8f1641175e425d06c763326a5a50da8717b5d1be119 days 17 hrs ago0x5814316453c1a8ced37f975de3e4672e4e8572db  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0x133738a4c4a7ce344c5bf8a0231ddb7df44645c7693fb08e3a4c9a59bd65223f120 days 8 hrs ago0x5814316453c1a8ced37f975de3e4672e4e8572db  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0x0f942d9d9574f16190805c98fe8fd03e84e345d75e91c55a219de798ef58e017120 days 8 hrs ago0x5317ea332b08e669cbefe53a3d387787230edf4b  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00003977375
0x4cb1da3356ab9ed50e25f05ce9a17511e490af0c6128c53f0d85e3532c50668f121 days 7 hrs ago0xa8fbc05c5bd2acea1a984ccf614bf6fb58dde1f3  IN   0xb040e69bd4b1025ef6da958cac7464730933db710 Ether0.00011169
[ 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
0x332cdb04ac84d88b29da9bcf61f3e8ae5014345e14b499ac67fa11305f4b54ac4123100112 days 18 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x332cdb04ac84d88b29da9bcf61f3e8ae5014345e14b499ac67fa11305f4b54ac4123100112 days 18 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x332cdb04ac84d88b29da9bcf61f3e8ae5014345e14b499ac67fa11305f4b54ac4123100112 days 18 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x332cdb04ac84d88b29da9bcf61f3e8ae5014345e14b499ac67fa11305f4b54ac4123100112 days 18 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x1b81d2a26e3e02ab3b796b2ebe7d9f52ac9f35dd2d9d2da2b039972cbf3fdb714104247115 days 14 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x1b81d2a26e3e02ab3b796b2ebe7d9f52ac9f35dd2d9d2da2b039972cbf3fdb714104247115 days 14 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x1b81d2a26e3e02ab3b796b2ebe7d9f52ac9f35dd2d9d2da2b039972cbf3fdb714104247115 days 14 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x1b81d2a26e3e02ab3b796b2ebe7d9f52ac9f35dd2d9d2da2b039972cbf3fdb714104247115 days 14 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x4cb1da3356ab9ed50e25f05ce9a17511e490af0c6128c53f0d85e3532c50668f4066195121 days 7 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x4cb1da3356ab9ed50e25f05ce9a17511e490af0c6128c53f0d85e3532c50668f4066195121 days 7 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x4cb1da3356ab9ed50e25f05ce9a17511e490af0c6128c53f0d85e3532c50668f4066195121 days 7 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x4cb1da3356ab9ed50e25f05ce9a17511e490af0c6128c53f0d85e3532c50668f4066195121 days 7 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x725208a3ad44816a0b8e2f94e883e5f1999a72386f466fc6a537629793b966494057795122 days 12 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x725208a3ad44816a0b8e2f94e883e5f1999a72386f466fc6a537629793b966494057795122 days 12 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x725208a3ad44816a0b8e2f94e883e5f1999a72386f466fc6a537629793b966494057795122 days 12 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x725208a3ad44816a0b8e2f94e883e5f1999a72386f466fc6a537629793b966494057795122 days 12 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0xd1fad9dabcef5096129f563e2cd4c13b6d6dde91c26743e8a630f9aeb2d453814032667126 days 8 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0xd1fad9dabcef5096129f563e2cd4c13b6d6dde91c26743e8a630f9aeb2d453814032667126 days 8 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0xd1fad9dabcef5096129f563e2cd4c13b6d6dde91c26743e8a630f9aeb2d453814032667126 days 8 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0xd1fad9dabcef5096129f563e2cd4c13b6d6dde91c26743e8a630f9aeb2d453814032667126 days 8 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x94b5d66c03224ea348dbf8b5917216fe0f8e682b25edb11edefb05203edc51fd4032261126 days 10 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x94b5d66c03224ea348dbf8b5917216fe0f8e682b25edb11edefb05203edc51fd4032261126 days 10 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x94b5d66c03224ea348dbf8b5917216fe0f8e682b25edb11edefb05203edc51fd4032261126 days 10 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x94b5d66c03224ea348dbf8b5917216fe0f8e682b25edb11edefb05203edc51fd4032261126 days 10 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
0x86030684472a9375b903b24d75ab77a5efff6f27ee241c7a4ee2b17f43f0c7874032035126 days 11 hrs ago0xb040e69bd4b1025ef6da958cac7464730933db710xab949343e6c369c6b17c7ae302c1debd4b7b61c30 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: AppCoinsIAB
Compiler Text: v0.4.19+commit.c4cbbb05
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.19;

contract AppCoins2 {
    mapping (address => mapping (address => uint256)) public allowance;
    function balanceOf (address _owner) public constant returns (uint256);
    function transferFrom(address _from, address _to, uint256 _value) public returns (uint);
}

contract AppCoinsIABInterface {
    function division(uint numerator, uint denominator) public constant returns (uint);
    function buy(uint _amount, string _sku, address _addr_appc, address _dev, address _appstore, address _oem) public constant returns (bool);
    event Buy(uint _amount, string _sku, address _from, address _dev, address _appstore, address _oem);
}

contract AppCoinsIAB is AppCoinsIABInterface {
    uint public dev_share = 85;
    uint public appstore_share = 10;
    uint public oem_share = 5;

    function division(uint numerator, uint denominator) public constant returns (uint) {
        uint _quotient = numerator / denominator;
        return _quotient;
    }

    function buy(uint256 _amount, string _sku, address _addr_appc, address _dev, address _appstore, address _oem) public constant returns (bool) {
        require(_addr_appc != 0x0);
        require(_dev != 0x0);
        require(_appstore != 0x0);
        require(_oem != 0x0);

        AppCoins2 appc2 = AppCoins2(_addr_appc);
        uint256 aux = appc2.allowance(msg.sender, address(this));
        require(aux >= _amount);

        uint[] memory amounts = new uint[](3);
        amounts[0] = division(_amount * dev_share, 100);
        amounts[1] = division(_amount * appstore_share, 100);
        amounts[2] = division(_amount * oem_share, 100);

        appc2.transferFrom(msg.sender, _dev, amounts[0]);
        appc2.transferFrom(msg.sender, _appstore, amounts[1]);
        appc2.transferFrom(msg.sender, _oem, amounts[2]);

        Buy(_amount, _sku, msg.sender, _dev, _appstore, _oem);

        return true;
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"dev_share","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_amount","type":"uint256"},{"name":"_sku","type":"string"},{"name":"_addr_appc","type":"address"},{"name":"_dev","type":"address"},{"name":"_appstore","type":"address"},{"name":"_oem","type":"address"}],"name":"buy","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"numerator","type":"uint256"},{"name":"denominator","type":"uint256"}],"name":"division","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"oem_share","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"appstore_share","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_sku","type":"string"},{"indexed":false,"name":"_from","type":"address"},{"indexed":false,"name":"_dev","type":"address"},{"indexed":false,"name":"_appstore","type":"address"},{"indexed":false,"name":"_oem","type":"address"}],"name":"Buy","type":"event"}]

  Contract Creation Code Switch To Opcodes View
60606040526055600055600a6001556005600255341561001e57600080fd5b6109a38061002d6000396000f30060606040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063739f920214610072578063dc9564d51461009b578063e006805214610195578063f02f3a89146101d5578063f101b269146101fe575b600080fd5b341561007d57600080fd5b610085610227565b6040518082815260200191505060405180910390f35b34156100a657600080fd5b61017b600480803590602001909190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061022d565b604051808215151515815260200191505060405180910390f35b34156101a057600080fd5b6101bf600480803590602001909190803590602001909190505061093c565b6040518082815260200191505060405180910390f35b34156101e057600080fd5b6101e8610957565b6040518082815260200191505060405180910390f35b341561020957600080fd5b61021161095d565b6040518082815260200191505060405180910390f35b60005481565b600080600061023a610963565b60008873ffffffffffffffffffffffffffffffffffffffff161415151561026057600080fd5b60008773ffffffffffffffffffffffffffffffffffffffff161415151561028657600080fd5b60008673ffffffffffffffffffffffffffffffffffffffff16141515156102ac57600080fd5b60008573ffffffffffffffffffffffffffffffffffffffff16141515156102d257600080fd5b8792508273ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b15156103ac57600080fd5b6102c65a03f115156103bd57600080fd5b5050506040518051905091508982101515156103d857600080fd5b60036040518059106103e75750595b908082528060200260200182016040525090506104096000548b02606461093c565b81600081518110151561041857fe5b90602001906020020181815250506104356001548b02606461093c565b81600181518110151561044457fe5b90602001906020020181815250506104616002548b02606461093c565b81600281518110151561047057fe5b90602001906020020181815250508273ffffffffffffffffffffffffffffffffffffffff166323b872dd33898460008151811015156104ab57fe5b906020019060200201516000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b151561057557600080fd5b6102c65a03f1151561058657600080fd5b50505060405180519050508273ffffffffffffffffffffffffffffffffffffffff166323b872dd33888460018151811015156105be57fe5b906020019060200201516000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b151561068857600080fd5b6102c65a03f1151561069957600080fd5b50505060405180519050508273ffffffffffffffffffffffffffffffffffffffff166323b872dd33878460028151811015156106d157fe5b906020019060200201516000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b151561079b57600080fd5b6102c65a03f115156107ac57600080fd5b50505060405180519050507f080f195a0057430852ae6739a461d6288b1b19ad002389e5c4f137f5efab1f2e8a8a338a8a8a60405180878152602001806020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825287818151815260200191508051906020019080838360005b838110156108ec5780820151818401526020810190506108d1565b50505050905090810190601f1680156109195780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390a1600193505050509695505050505050565b600080828481151561094a57fe5b0490508091505092915050565b60025481565b60015481565b6020604051908101604052806000815250905600a165627a7a72305820985224500a4f2d3e155dd39b963266c836b4116ac519f25af309ec770883e6cb0029

   Swarm Source:
bzzr://985224500a4f2d3e155dd39b963266c836b4116ac519f25af309ec770883e6cb

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward