Latest 19 txns

TxHash Age From To Value [TxFee]
0x256c49d0cc85d487df6014533fe14fae7f1bf76d96f8ed1eccfecc943496bd1610 days 6 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.000044793
0xeb51bf56b413b22c88865315edd698fd9c15919ab65c2d132fc0551482a1d09810 days 6 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.000396021
0x32411500c59f32c19d85ea176d9f1f80fce21f44d4918efcceed2b41df64040d10 days 6 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.000370752
0xd3dd9bb33062433a79c51daadde133f60790474fb587b8da1504aacdfd4877cd10 days 6 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.000079581
0x7656eeec86e68f442fd3565f40e17426b30ecf3255ce8edd2e7a3fff37b81dfb10 days 8 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.000044793
0x9c4afb76d8200c4c48725c8c65fe0e1421961a5f02c23b5d85f4db62feb7d3f410 days 8 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.000397301
0x569777ffe48de5b036c6481ab2408e188a33798df75d435e26be756ed398875510 days 8 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.000373312
0xeaf049e8d9dfb2d5358fb3060d5007cd9ecc202240f366b3fc56fa0b1d04b5d310 days 8 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.000079581
0x8f3f99b156603165b58c229c2818c3ab2c71f63b8d2eaefb7fc2abf5da6e4eef11 days 7 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.000079581
0xeaf8cef74d2ab0ab78e207c64a73f74132c42675fdc95fe86231dad90cbc1fbd11 days 9 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.000044793
0x529635a2b85b789708b0cc66d1b337bab7d7059ca37d50ec85b335942115430d11 days 9 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.000396021
0x9f2b65318ab8c630c7a01dade95af2fe0bd60216fe4720e9aa3ca7b9108e8bdb11 days 9 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.000394988
0xbb1a6525e626e22c07912c0bf59533b638823d50b53f53fad51965dc2959fb7711 days 9 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.000079581
0x037c3548ac9dd9b764cfcbb80d191b702b9288a6e53127f1a424bbaf2328559f11 days 10 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.000044729
0xc05f5a82590ff552fd5b978bf709b1d8813f3a5cf4572af49e12248ad5f5c69911 days 10 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.000395957
0x9b5e10dbfb6eac379707c370b3dad5b96b91b285628c65190608714f25873e7811 days 10 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.000393644
0xe03f69b9b37db182ac6ef54f9a03829ce668a6c0365f89e2dbef2e9dd2471ce311 days 11 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.000094581
0xa61a108e061365fea83e3a8f8451a1406a51a25f5c5b7145b4db72a25970170111 days 11 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN   0x5a8c1007374f06521dbff5da73a4b44ca3edac5b0 Ether0.003
0x0e8055cdecfd8e3247508cd4995c2972035b239559e8b73b3d52868fec6045ae11 days 12 hrs ago0x21ac8dc25554a3be683990e0737845926eef3fa9  IN    Contract Creation0 Ether0.01910814
[ 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: Yes
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
608060405234801561001057600080fd5b50610d45806100206000396000f30060806040526004361061006c5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630a2452338114610071578063107046bd1461008b57806372ce8824146100d55780638eb09427146100ed578063b6b076e9146102bf575b600080fd5b34801561007d57600080fd5b5061008960043561050f565b005b34801561009757600080fd5b506100a360043561067b565b60408051600160a060020a03909516855260208501939093528383019190915215156060830152519081900360800190f35b3480156100e157600080fd5b506100896004356106c0565b3480156100f957600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261008995833595369560449491939091019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375094975061081c9650505050505050565b3480156102cb57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261008994823594602480359536959460649492019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a999881019791965091820194509250829150840183828082843750949750610a2a9650505050505050565b6000808281548110151561051f57fe5b60009182526020909120600590910201600481015490915060ff161561058f576040805160e560020a62461bcd02815260206004820152601860248201527f50726f6a65637420616c72656164792063726561746564210000000000000000604482015290519081900360640190fd5b8054600160a060020a03163314610616576040805160e560020a62461bcd02815260206004820152602960248201527f596f7520617265206e6f7420617574686f72697a656420746f2066696e69736860448201527f2070726f6a656374210000000000000000000000000000000000000000000000606482015290519081900360840190fd5b60048101805460ff1916600190811790915581549082015460408051858152600160a060020a03909316602084015282810191909152517fc8cf8b772db52e57de9a6a768f7606256ea566238383e2ab434cb5146163cb969181900360600190a15050565b600080548290811061068957fe5b60009182526020909120600590910201805460018201546003830154600490930154600160a060020a039092169350919060ff1684565b6106c8610c57565b5060408051608081018252338152602080820184815260008385018181526060808601838152835460018101855584805287517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5636005909202918201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216918217905595517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e564820181905593517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56682015590517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e567909101805460ff1916911515919091179055915486516000199190910181529384019290925282850191909152925191927fe87d3ba3148ad299e88ab547bee4b994e4f952240a741d1d69fea78950b6a69192918290030190a15050565b60008060008a81548110151561082e57fe5b60009182526020909120600590910201600481015490925060ff161561089e576040805160e560020a62461bcd02815260206004820152601860248201527f50726f6a65637420616c72656164792063726561746564210000000000000000604482015290519081900360640190fd5b8154600160a060020a03163314610925576040805160e560020a62461bcd02815260206004820152602960248201527f596f7520617265206e6f7420617574686f72697a656420746f2066696e69736860448201527f2070726f6a656374210000000000000000000000000000000000000000000000606482015290519081900360840190fd5b50600381015460009081526002820160209081526040909120895190916109509183918c0190610c7e565b50875161096690600183019060208b0190610c7e565b50865161097c90600283019060208a0190610c7e565b5085516109929060038301906020890190610c7e565b5084516109a89060048301906020880190610c7e565b5083516109be9060058301906020870190610c7e565b5082516109d49060068301906020860190610c7e565b506003820154604080518c8152602081019290925280517f48dd57b64e99a656587b59991c322fe3ff4270169524b9eb15296bb94e9c9bcd9281900390910190a150600301805460010190555050505050505050565b60008060008d815481101515610a3c57fe5b60009182526020909120600590910201600481015490925060ff1615610aac576040805160e560020a62461bcd02815260206004820152601860248201527f50726f6a65637420616c72656164792063726561746564210000000000000000604482015290519081900360640190fd5b8154600160a060020a03163314610b33576040805160e560020a62461bcd02815260206004820152602960248201527f596f7520617265206e6f7420617574686f72697a656420746f2066696e69736860448201527f2070726f6a656374210000000000000000000000000000000000000000000000606482015290519081900360840190fd5b5060008b815260028201602090815260409091208b519091610b5c9160078401918e0190610c7e565b508951610b7290600883019060208d0190610c7e565b508851610b8890600983019060208c0190610c7e565b508751610b9e90600a83019060208b0190610c7e565b508651610bb490600b83019060208a0190610c7e565b508551610bca90600c8301906020890190610c7e565b508451610be090600d8301906020880190610c7e565b508351610bf690600e8301906020870190610c7e565b508251610c0c90600f8301906020860190610c7e565b50604080518e8152602081018e905281517f1e97437af007393bb99e82c1d838c79eb60e846751ebaf9e25a405d7268c2aa3929181900390910190a150505050505050505050505050565b60408051608081018252600080825260208201819052918101829052606081019190915290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610cbf57805160ff1916838001178555610cec565b82800160010185558215610cec579182015b82811115610cec578251825591602001919060010190610cd1565b50610cf8929150610cfc565b5090565b610d1691905b80821115610cf85760008155600101610d02565b905600a165627a7a72305820738b93b36ae576053cac57dd21df7e342b7769c57a8a7aa2d7d33b1d1ad6147c0029

   Swarm Source:
bzzr://738b93b36ae576053cac57dd21df7e342b7769c57a8a7aa2d7d33b1d1ad6147c

 

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