Latest 19 txns

TxHash Age From To Value [TxFee]
0x796c2d251e97ed81597a7c17073e1915b520cd581da3ec4fb8e803a0d4400a4a11 days 12 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.000044873
0x2b1896f479ded9aabac02d975369080d3e0523aff946c3f8c0ea8441ce29a6f411 days 12 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.000397572
0x59e81ca5a32db776e82d528af68a66c19cd790af2889b28337e38094957acd4011 days 12 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.000373544
0x0938e7c26bc2ef7b964ed3729bb8a06f7cdef8530d9d5a6e454600dc2d4ec14111 days 12 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.000079767
0xfa002df99807a60a10aebf921f8b59362f6306e9ad7f246d5e78806ce814df8d11 days 12 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.000044809
0xff3666e2c70ed7e5cb34cc44a2177048186c890595176fcccf603da8f1d5665f11 days 12 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.003
0x38413b9eaaaea7f49a4f95750f09b0b9bef9904aea65e5c35cb79d8ba786049a11 days 12 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.003
0xaa82b56fe6c86df08a7f24922f757486506eb8a704a54469cc851bce700567ae11 days 13 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.000397508
0xdf962ac05ac4eb2e7bad5a69217c4cafca37e4736796bf637178863a84d33b4d11 days 13 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.00035848
0x74ee06a0529cd19ae4501ad0caa5ac5546b33487a0d9df48e4174490a85774ff11 days 13 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.000031307
0xb292e8bb6cb49ea67eeaaaa5db698a907b8be433cd9332803e0f8e091a2c80e611 days 13 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.000031307
0xa6f37661b205ef0c817ed9e5d00c305d1443ba17ddeb66343efa2f9f3d9c95ef11 days 13 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.000035723
0x25ddc0f455ac36bd17b27da3b9b971ed0b35ceb897c27299926e8de0c0574a5311 days 13 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.00391094
0x53199a8d77d1ab1eaed963e6d443dfc210aa9cadb0d2b240a9dce40be124c03311 days 13 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.000031307
0xb31ed663b00d0cfce2f6115751d704efb45256144a5204c3234d9335981ba55e11 days 13 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.000031307
0xb88d993572f7d3a00fcd8a91d0d9ef5c00eb7ea40fad3f010eec348eba9f18eb11 days 13 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.000031307
0xba24307f695dd11d8f8daffc1f1dbb91a645d6ad320bcd74c0d6b43d93e2482211 days 14 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.000031307
0xe08646117833e4d830ddc21877a955d5375d48db5e170b8c7a604216f17b2be211 days 14 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x7ea86846fbb109177ab5c6a9f097662274a6beb50 Ether0.000094767
0xfe52e9981eb77e47962c3508dacd9d02a5b32f7a5d1df766adf8ff35570b25a411 days 14 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN    Contract Creation0 Ether0.02393534
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Contract Source Code Verified (Exact Match)
Contract Name: PaymentOrdersStorage
Compiler Version: v0.4.25+commit.59dbf8f1
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.24;

// File: contracts/PayamentOrdersStorage.sol

contract PaymentOrdersStorage {

  event BeginCreateProject(uint projectId, address owner, uint platform_project_id);

  event EndCreateProject(uint projectId, address owner, uint platform_project_id);

  event BeginCreatePaymentOrder(uint projectId, uint paymentOrderId);

  event EndCreatePaymentOrder(uint projectId, uint paymentOrderId);

  struct PaymentOrder {
      string from_org_inn;
      string from_org_kpp;
      string from_org_name;
      string from_bank_bik;
      string from_bank_name;
      string from_bank_account;
      string from_bank_corr_account;
      string to_org_inn;
      string to_org_kpp;
      string to_org_name;
      string to_bank_bik;
      string to_bank_name;
      string to_bank_account;
      string to_bank_corr_account;
      string amount;
      string execution_time;
  }

  struct Project {
      address owner;
      uint platform_project_id;
      mapping(uint => PaymentOrder) orders;
      uint ordersSize;
      bool created;
  }

  Project[] public projects;

  function beginCreateProject(uint platform_project_id) public {
    Project memory project = Project({owner: msg.sender, ordersSize: 0, platform_project_id: platform_project_id, created: false});
    projects.push(project);
    emit BeginCreateProject(projects.length - 1, project.owner, project.platform_project_id);
  }

  function beginCreatePaymentOrder(
    uint projectId,
    string memory from_org_inn,
    string memory from_org_kpp,
    string memory from_org_name,
    string memory from_bank_bik,
    string memory from_bank_name,
    string memory from_bank_account,
    string memory from_bank_corr_account) public {

    Project storage project = projects[projectId];
    require(!project.created, "Project already created!");
    require(project.owner == msg.sender, "You are not authorized to finish project!");

    PaymentOrder storage order = project.orders[project.ordersSize];

    order.from_org_inn = from_org_inn;
    order.from_org_kpp = from_org_kpp;
    order.from_org_name = from_org_name;
    order.from_bank_bik = from_bank_bik;
    order.from_bank_name = from_bank_name;
    order.from_bank_account = from_bank_account;
    order.from_bank_corr_account = from_bank_corr_account;

    emit BeginCreatePaymentOrder(projectId, project.ordersSize);

    project.ordersSize++;
  }

  function endCreatePaymentOrder(
    uint projectId,
    uint orderId,
    string memory to_org_inn,
    string memory to_org_kpp,
    string memory to_org_name,
    string memory to_bank_bik,
    string memory to_bank_name,
    string memory to_bank_account,
    string memory to_bank_corr_account,
    string memory amount,
    string memory execution_time
  ) public {

    Project storage project = projects[projectId];
    require(!project.created, "Project already created!");
    require(project.owner == msg.sender, "You are not authorized to finish project!");

    PaymentOrder storage order = project.orders[orderId];

    order.to_org_inn = to_org_inn;
    order.to_org_kpp = to_org_kpp;
    order.to_org_name = to_org_name;
    order.to_bank_bik = to_bank_bik;
    order.to_bank_name = to_bank_name;
    order.to_bank_account = to_bank_account;
    order.to_bank_corr_account = to_bank_corr_account;
    order.amount = amount;
    order.execution_time = execution_time;

    emit EndCreatePaymentOrder(projectId, orderId);
  }

  function endCreateProject(uint projectId) public {

    Project storage project = projects[projectId];
    require(!project.created, "Project already created!");
    require(project.owner == msg.sender, "You are not authorized to finish project!");

    project.created = true;

    emit EndCreateProject(projectId, project.owner, project.platform_project_id);
  }

}

    Contract ABI  
[{"constant":false,"inputs":[{"name":"projectId","type":"uint256"}],"name":"endCreateProject","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"projects","outputs":[{"name":"owner","type":"address"},{"name":"platform_project_id","type":"uint256"},{"name":"ordersSize","type":"uint256"},{"name":"created","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"platform_project_id","type":"uint256"}],"name":"beginCreateProject","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"projectId","type":"uint256"},{"name":"from_org_inn","type":"string"},{"name":"from_org_kpp","type":"string"},{"name":"from_org_name","type":"string"},{"name":"from_bank_bik","type":"string"},{"name":"from_bank_name","type":"string"},{"name":"from_bank_account","type":"string"},{"name":"from_bank_corr_account","type":"string"}],"name":"beginCreatePaymentOrder","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"projectId","type":"uint256"},{"name":"orderId","type":"uint256"},{"name":"to_org_inn","type":"string"},{"name":"to_org_kpp","type":"string"},{"name":"to_org_name","type":"string"},{"name":"to_bank_bik","type":"string"},{"name":"to_bank_name","type":"string"},{"name":"to_bank_account","type":"string"},{"name":"to_bank_corr_account","type":"string"},{"name":"amount","type":"string"},{"name":"execution_time","type":"string"}],"name":"endCreatePaymentOrder","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"name":"projectId","type":"uint256"},{"indexed":false,"name":"owner","type":"address"},{"indexed":false,"name":"platform_project_id","type":"uint256"}],"name":"BeginCreateProject","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"projectId","type":"uint256"},{"indexed":false,"name":"owner","type":"address"},{"indexed":false,"name":"platform_project_id","type":"uint256"}],"name":"EndCreateProject","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"projectId","type":"uint256"},{"indexed":false,"name":"paymentOrderId","type":"uint256"}],"name":"BeginCreatePaymentOrder","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"projectId","type":"uint256"},{"indexed":false,"name":"paymentOrderId","type":"uint256"}],"name":"EndCreatePaymentOrder","type":"event"}]

  Contract Creation Code Switch To Opcodes View
608060405234801561001057600080fd5b506110fc806100206000396000f30060806040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630a24523314610072578063107046bd1461009f57806372ce8824146101255780638eb0942714610152578063b6b076e914610369575b600080fd5b34801561007e57600080fd5b5061009d60048036038101908080359060200190929190505050610616565b005b3480156100ab57600080fd5b506100ca60048036038101908080359060200190929190505050610866565b604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018215151515815260200194505050505060405180910390f35b34801561013157600080fd5b50610150600480360381019080803590602001909291905050506108d2565b005b34801561015e57600080fd5b5061036760048036038101908080359060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610a4b565b005b34801561037557600080fd5b506106146004803603810190808035906020019092919080359060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610d0e565b005b6000808281548110151561062657fe5b906000526020600020906005020190508060040160009054906101000a900460ff161515156106bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726f6a65637420616c7265616479206372656174656421000000000000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415156107aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001807f596f7520617265206e6f7420617574686f72697a656420746f2066696e69736881526020017f2070726f6a65637421000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b60018160040160006101000a81548160ff0219169083151502179055507fc8cf8b772db52e57de9a6a768f7606256ea566238383e2ab434cb5146163cb96828260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168360010154604051808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060405180910390a15050565b60008181548110151561087557fe5b90600052602060002090600502016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060030154908060040160009054906101000a900460ff16905084565b6108da610fea565b6080604051908101604052803373ffffffffffffffffffffffffffffffffffffffff168152602001838152602001600081526020016000151581525090506000819080600181540180825580915050906001820390600052602060002090600502016000909192909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816003015560608201518160040160006101000a81548160ff0219169083151502179055505050507fe87d3ba3148ad299e88ab547bee4b994e4f952240a741d1d69fea78950b6a69160016000805490500382600001518360200151604051808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060405180910390a15050565b60008060008a815481101515610a5d57fe5b906000526020600020906005020191508160040160009054906101000a900460ff16151515610af4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726f6a65637420616c7265616479206372656174656421000000000000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515610be1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001807f596f7520617265206e6f7420617574686f72697a656420746f2066696e69736881526020017f2070726f6a65637421000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b81600201600083600301548152602001908152602001600020905088816000019080519060200190610c1492919061102b565b5087816001019080519060200190610c2d92919061102b565b5086816002019080519060200190610c4692919061102b565b5085816003019080519060200190610c5f92919061102b565b5084816004019080519060200190610c7892919061102b565b5083816005019080519060200190610c9192919061102b565b5082816006019080519060200190610caa92919061102b565b507f48dd57b64e99a656587b59991c322fe3ff4270169524b9eb15296bb94e9c9bcd8a8360030154604051808381526020018281526020019250505060405180910390a1816003016000815480929190600101919050555050505050505050505050565b60008060008d815481101515610d2057fe5b906000526020600020906005020191508160040160009054906101000a900460ff16151515610db7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726f6a65637420616c7265616479206372656174656421000000000000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515610ea4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001807f596f7520617265206e6f7420617574686f72697a656420746f2066696e69736881526020017f2070726f6a65637421000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b8160020160008d815260200190815260200160002090508a816007019080519060200190610ed392919061102b565b5089816008019080519060200190610eec92919061102b565b5088816009019080519060200190610f0592919061102b565b508781600a019080519060200190610f1e92919061102b565b508681600b019080519060200190610f3792919061102b565b508581600c019080519060200190610f5092919061102b565b508481600d019080519060200190610f6992919061102b565b508381600e019080519060200190610f8292919061102b565b508281600f019080519060200190610f9b92919061102b565b507f1e97437af007393bb99e82c1d838c79eb60e846751ebaf9e25a405d7268c2aa38d8d604051808381526020018281526020019250505060405180910390a150505050505050505050505050565b608060405190810160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081526020016000151581525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061106c57805160ff191683800117855561109a565b8280016001018555821561109a579182015b8281111561109957825182559160200191906001019061107e565b5b5090506110a791906110ab565b5090565b6110cd91905b808211156110c95760008160009055506001016110b1565b5090565b905600a165627a7a72305820b1fac23443cc15883ab8a345dc94dfa352fed33409d7fd2881287de4eb42cb9f0029

   Swarm Source:
bzzr://b1fac23443cc15883ab8a345dc94dfa352fed33409d7fd2881287de4eb42cb9f

 

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