Overview
ETH Balance
3.731871591578507002 ETH
Eth Value
$12,536.37 (@ $3,359.27/ETH)Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 42,014 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 13020061 | 1197 days ago | IN | 0.5 ETH | 0.0011439 | ||||
Transfer | 13016067 | 1198 days ago | IN | 1 ETH | 0.00071288 | ||||
Transfer | 12997196 | 1200 days ago | IN | 0.5 ETH | 0.00071609 | ||||
Transfer | 12989583 | 1202 days ago | IN | 0.5 ETH | 0.00071117 | ||||
Transfer | 12981508 | 1203 days ago | IN | 0.5 ETH | 0.00157339 | ||||
Transfer | 12975485 | 1204 days ago | IN | 0.5 ETH | 0.00086244 | ||||
Transfer To Gs C... | 12974682 | 1204 days ago | IN | 0 ETH | 0.00145453 | ||||
Transfer | 12962194 | 1206 days ago | IN | 0.5 ETH | 0.00067066 | ||||
Transfer | 12958808 | 1206 days ago | IN | 0.5 ETH | 0.00096225 | ||||
Transfer | 12950271 | 1208 days ago | IN | 0.5 ETH | 0.0007049 | ||||
Transfer | 12946525 | 1208 days ago | IN | 0.5 ETH | 0.0009354 | ||||
Transfer | 12946523 | 1208 days ago | IN | 0.5 ETH | 0.00091749 | ||||
Transfer | 12939374 | 1209 days ago | IN | 0.5 ETH | 0.00055945 | ||||
Transfer | 12934010 | 1210 days ago | IN | 0.5 ETH | 0.00046993 | ||||
Transfer | 12926650 | 1211 days ago | IN | 0.5 ETH | 0.00058182 | ||||
Transfer | 12920311 | 1213 days ago | IN | 0.5 ETH | 0.00049231 | ||||
Transfer | 12919719 | 1213 days ago | IN | 0.5 ETH | 0.00049231 | ||||
Transfer | 12919710 | 1213 days ago | IN | 0.5 ETH | 0.00051469 | ||||
Transfer | 12917941 | 1213 days ago | IN | 1 ETH | 0.00036923 | ||||
Transfer | 12911981 | 1214 days ago | IN | 1 ETH | 0.00058182 | ||||
Transfer | 12905553 | 1215 days ago | IN | 1 ETH | 0.00041399 | ||||
Transfer | 12905320 | 1215 days ago | IN | 0.5 ETH | 0.00070938 | ||||
Transfer | 12902539 | 1215 days ago | IN | 0.5 ETH | 0.00123526 | ||||
Transfer | 12896302 | 1216 days ago | IN | 0.5 ETH | 0.00062658 | ||||
Transfer | 12888511 | 1218 days ago | IN | 0.5 ETH | 0.00029091 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
12974682 | 1204 days ago | 25.5 ETH | ||||
12850499 | 1223 days ago | 265 ETH | ||||
12706978 | 1246 days ago | 1,000 ETH | ||||
12635565 | 1257 days ago | 4,355 ETH | ||||
12629063 | 1258 days ago | 10 ETH | ||||
12624158 | 1259 days ago | 6,053 ETH | ||||
12617834 | 1260 days ago | 6,762 ETH | ||||
12611711 | 1261 days ago | 6,007 ETH | ||||
12610311 | 1261 days ago | 6,104 ETH | ||||
12605019 | 1262 days ago | 7,000 ETH | ||||
12600757 | 1262 days ago | 6,083 ETH | ||||
12597469 | 1263 days ago | 6,125 ETH | ||||
12593102 | 1264 days ago | 5,836 ETH | ||||
12590942 | 1264 days ago | 5,726 ETH | ||||
12585332 | 1265 days ago | 4,986 ETH | ||||
12578564 | 1266 days ago | 4,504 ETH | ||||
12573629 | 1267 days ago | 4,720 ETH | ||||
12568184 | 1267 days ago | 5,175 ETH | ||||
12559106 | 1269 days ago | 4,400 ETH | ||||
12545167 | 1271 days ago | 2,750 ETH | ||||
12539666 | 1272 days ago | 3,300 ETH | ||||
12539657 | 1272 days ago | 0 ETH | ||||
12495852 | 1279 days ago | 452.5 ETH | ||||
12482364 | 1281 days ago | 600 ETH | ||||
12469112 | 1283 days ago | 660 ETH |
Loading...
Loading
Contract Name:
GSNxPS
Compiler Version
v0.5.7+commit.6da8b019
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-05-04 */ pragma solidity ^0.5.7; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } /** * @dev Adds two numbers, throws on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } contract GSNxPS { using SafeMath for uint; address owner; // This is the current owner of the contract. mapping (address => uint) internal balance; // Events begin. event PsExcute(address from, uint amount); event GdpSentFromAccount(address from, address to, uint amount); event GdpSentFromContract(address from, address to, uint amount); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); // Events end. uint public target=0; uint public blockheight=0; uint public fulfillmentrate=100; constructor () public { // the contract's constructor function. owner = msg.sender; } // Function to get Balance of the contract. function getBalance() public view returns (uint256) { require(msg.sender == owner); // Only the Owner of this contract can run this function. return address(this).balance; } // Function to accept payment and data into the contract. function acceptPs() payable public { require(fulfillmentrate >=90,"fulfillment rate less than 90% , stop ps"); balance[address(this)]+= msg.value; emit PsExcute(msg.sender, msg.value); } // Function to withdraw or send Ether from Contract owner's account to a specified account. function TransferToGsContractFromOwnerAccount(address payable receiver, uint amount) public { require(msg.sender == owner, "You're not owner of the account"); // Only the Owner of this contract can run this function. require(amount < address(this).balance, "Insufficient balance."); receiver.transfer(amount); emit GdpSentFromAccount(msg.sender, receiver, amount); } function transferOwnership(address newOwner) public { require(msg.sender == owner, "You're not owner of the contract"); require(newOwner != address(0)); owner = newOwner; emit OwnershipTransferred(owner, newOwner); } // function to set GSN network's blockheight function SetGsnBlockHeight(uint newTarget, uint newBlockheight) public { require(msg.sender == owner, "You're not owner of the account"); blockheight=newBlockheight; target=newTarget; } // Function to get current blockheight of the gsn network. function getGsnBlockheight() public view returns (uint256) { return blockheight; } // Function to get current block target of the gsn network. function getGsnTarget() public view returns (uint256) { return target; } // Function to reset fulfillment rate if it is less than 90% function resetFulfillmentRate(uint rate) public{ require(rate>0,"invalid rate"); require(rate<=100,"invalid rate"); fulfillmentrate=rate; } function() external payable { emit PsExcute(msg.sender, msg.value); // Fallback function. } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"getBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"rate","type":"uint256"}],"name":"resetFulfillmentRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"receiver","type":"address"},{"name":"amount","type":"uint256"}],"name":"TransferToGsContractFromOwnerAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"acceptPs","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"newTarget","type":"uint256"},{"name":"newBlockheight","type":"uint256"}],"name":"SetGsnBlockHeight","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getGsnBlockheight","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"fulfillmentrate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"target","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getGsnTarget","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"blockheight","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"from","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"PsExcute","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"from","type":"address"},{"indexed":false,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"GdpSentFromAccount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"from","type":"address"},{"indexed":false,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"GdpSentFromContract","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
608060405260006002556000600355606460045534801561001f57600080fd5b50600080546001600160a01b03191633179055610665806100416000396000f3fe60806040526004361061009c5760003560e01c8063cec278e811610064578063cec278e81461019c578063cf02c78c146101b1578063d4b83992146101c6578063f2fde38b146101db578063f4873bc21461020e578063f4fa6c1d146102235761009c565b806312065fe0146100d85780632119febc146100ff5780633d2387ac1461012b578063763dfbed146101645780637b610a4c1461016c575b6040805133815234602082015281517fa943f57a31fd540dd5da39b3fbf9b1c33e517c0adffe9e0bdae59e0242b47fcf929181900390910190a1005b3480156100e457600080fd5b506100ed610238565b60408051918252519081900360200190f35b34801561010b57600080fd5b506101296004803603602081101561012257600080fd5b5035610256565b005b34801561013757600080fd5b506101296004803603604081101561014e57600080fd5b506001600160a01b0381351690602001356102f0565b61012961042d565b34801561017857600080fd5b506101296004803603604081101561018f57600080fd5b50803590602001356104c6565b3480156101a857600080fd5b506100ed610530565b3480156101bd57600080fd5b506100ed610536565b3480156101d257600080fd5b506100ed61053c565b3480156101e757600080fd5b50610129600480360360208110156101fe57600080fd5b50356001600160a01b0316610542565b34801561021a57600080fd5b506100ed610605565b34801561022f57600080fd5b506100ed61060b565b600080546001600160a01b0316331461025057600080fd5b50303190565b600081116102a05760408051600160e51b62461bcd02815260206004820152600c6024820152600160a01b6b696e76616c6964207261746502604482015290519081900360640190fd5b60648111156102eb5760408051600160e51b62461bcd02815260206004820152600c6024820152600160a01b6b696e76616c6964207261746502604482015290519081900360640190fd5b600455565b6000546001600160a01b031633146103525760408051600160e51b62461bcd02815260206004820152601f60248201527f596f75277265206e6f74206f776e6572206f6620746865206163636f756e7400604482015290519081900360640190fd5b303181106103aa5760408051600160e51b62461bcd02815260206004820152601560248201527f496e73756666696369656e742062616c616e63652e0000000000000000000000604482015290519081900360640190fd5b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156103e0573d6000803e3d6000fd5b50604080513381526001600160a01b038416602082015280820183905290517f0286ffa458b3f3d006e41445212100ccecaf1d12b275babdcf6295b1bf561ab89181900360600190a15050565b605a600454101561047257604051600160e51b62461bcd0281526004018080602001828103825260288152602001806106126028913960400191505060405180910390fd5b3060009081526001602090815260409182902080543490810190915582513381529182015281517fa943f57a31fd540dd5da39b3fbf9b1c33e517c0adffe9e0bdae59e0242b47fcf929181900390910190a1565b6000546001600160a01b031633146105285760408051600160e51b62461bcd02815260206004820152601f60248201527f596f75277265206e6f74206f776e6572206f6620746865206163636f756e7400604482015290519081900360640190fd5b600355600255565b60035490565b60045481565b60025481565b6000546001600160a01b031633146105a45760408051600160e51b62461bcd02815260206004820181905260248201527f596f75277265206e6f74206f776e6572206f662074686520636f6e7472616374604482015290519081900360640190fd5b6001600160a01b0381166105b757600080fd5b600080546001600160a01b0319166001600160a01b0383811691821780845560405192939116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b60025490565b6003548156fe66756c66696c6c6d656e742072617465206c657373207468616e20393025202c2073746f70207073a165627a7a72305820014d54887e509927842489dfc9c8eaffa0d06f99de43926c2f8bff0b2f30ad6c0029
Deployed Bytecode
0x60806040526004361061009c5760003560e01c8063cec278e811610064578063cec278e81461019c578063cf02c78c146101b1578063d4b83992146101c6578063f2fde38b146101db578063f4873bc21461020e578063f4fa6c1d146102235761009c565b806312065fe0146100d85780632119febc146100ff5780633d2387ac1461012b578063763dfbed146101645780637b610a4c1461016c575b6040805133815234602082015281517fa943f57a31fd540dd5da39b3fbf9b1c33e517c0adffe9e0bdae59e0242b47fcf929181900390910190a1005b3480156100e457600080fd5b506100ed610238565b60408051918252519081900360200190f35b34801561010b57600080fd5b506101296004803603602081101561012257600080fd5b5035610256565b005b34801561013757600080fd5b506101296004803603604081101561014e57600080fd5b506001600160a01b0381351690602001356102f0565b61012961042d565b34801561017857600080fd5b506101296004803603604081101561018f57600080fd5b50803590602001356104c6565b3480156101a857600080fd5b506100ed610530565b3480156101bd57600080fd5b506100ed610536565b3480156101d257600080fd5b506100ed61053c565b3480156101e757600080fd5b50610129600480360360208110156101fe57600080fd5b50356001600160a01b0316610542565b34801561021a57600080fd5b506100ed610605565b34801561022f57600080fd5b506100ed61060b565b600080546001600160a01b0316331461025057600080fd5b50303190565b600081116102a05760408051600160e51b62461bcd02815260206004820152600c6024820152600160a01b6b696e76616c6964207261746502604482015290519081900360640190fd5b60648111156102eb5760408051600160e51b62461bcd02815260206004820152600c6024820152600160a01b6b696e76616c6964207261746502604482015290519081900360640190fd5b600455565b6000546001600160a01b031633146103525760408051600160e51b62461bcd02815260206004820152601f60248201527f596f75277265206e6f74206f776e6572206f6620746865206163636f756e7400604482015290519081900360640190fd5b303181106103aa5760408051600160e51b62461bcd02815260206004820152601560248201527f496e73756666696369656e742062616c616e63652e0000000000000000000000604482015290519081900360640190fd5b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156103e0573d6000803e3d6000fd5b50604080513381526001600160a01b038416602082015280820183905290517f0286ffa458b3f3d006e41445212100ccecaf1d12b275babdcf6295b1bf561ab89181900360600190a15050565b605a600454101561047257604051600160e51b62461bcd0281526004018080602001828103825260288152602001806106126028913960400191505060405180910390fd5b3060009081526001602090815260409182902080543490810190915582513381529182015281517fa943f57a31fd540dd5da39b3fbf9b1c33e517c0adffe9e0bdae59e0242b47fcf929181900390910190a1565b6000546001600160a01b031633146105285760408051600160e51b62461bcd02815260206004820152601f60248201527f596f75277265206e6f74206f776e6572206f6620746865206163636f756e7400604482015290519081900360640190fd5b600355600255565b60035490565b60045481565b60025481565b6000546001600160a01b031633146105a45760408051600160e51b62461bcd02815260206004820181905260248201527f596f75277265206e6f74206f776e6572206f662074686520636f6e7472616374604482015290519081900360640190fd5b6001600160a01b0381166105b757600080fd5b600080546001600160a01b0319166001600160a01b0383811691821780845560405192939116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b60025490565b6003548156fe66756c66696c6c6d656e742072617465206c657373207468616e20393025202c2073746f70207073a165627a7a72305820014d54887e509927842489dfc9c8eaffa0d06f99de43926c2f8bff0b2f30ad6c0029
Deployed Bytecode Sourcemap
1193:2982:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4089:31;;;4098:10;4089:31;;4110:9;4089:31;;;;;;;;;;;;;;;;;1193:2982;1939:206;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1939:206:0;;;:::i;:::-;;;;;;;;;;;;;;;;3874:166;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3874:166:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3874:166:0;;:::i;:::-;;2533:407;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2533:407:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2533:407:0;;;;;;;;:::i;2212:220::-;;;:::i;3258:226::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3258:226:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3258:226:0;;;;;;;:::i;3553:96::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3553:96:0;;;:::i;1748:31::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1748:31:0;;;:::i;1693:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1693:20:0;;;:::i;2952:251::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2952:251:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2952:251:0;-1:-1:-1;;;;;2952:251:0;;:::i;3716:86::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3716:86:0;;;:::i;1718:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1718:25:0;;;:::i;1939:206::-;1982:7;2034:5;;-1:-1:-1;;;;;2034:5:0;2020:10;:19;2012:28;;;;;;-1:-1:-1;2124:4:0;2116:21;1939:206;:::o;3874:166::-;3944:1;3939:4;:6;3931:30;;;;;-1:-1:-1;;;;;3931:30:0;;;;;;;;;;;;-1:-1:-1;;;;;3931:30:0;;;;;;;;;;;;;;;3985:3;3979:4;:9;;3971:33;;;;;-1:-1:-1;;;;;3971:33:0;;;;;;;;;;;;-1:-1:-1;;;;;3971:33:0;;;;;;;;;;;;;;;4014:15;:20;3874:166::o;2533:407::-;2658:5;;-1:-1:-1;;;;;2658:5:0;2644:10;:19;2636:63;;;;;-1:-1:-1;;;;;2636:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;2793:4;2785:21;2776:30;;2768:64;;;;;-1:-1:-1;;;;;2768:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;2843:25;;-1:-1:-1;;;;;2843:17:0;;;:25;;;;;2861:6;;2843:25;;;;2861:6;2843:17;:25;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;2884:48:0;;;2903:10;2884:48;;-1:-1:-1;;;;;2884:48:0;;;;;;;;;;;;;;;;;;;;;;;2533:407;;:::o;2212:220::-;2284:2;2266:15;;:20;;2258:72;;;;-1:-1:-1;;;;;2258:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2357:4;2341:22;;;;:7;:22;;;;;;;;;:34;;2366:9;2341:34;;;;;;2393:31;;2402:10;2393:31;;;;;;;;;;;;;;;;;;;2212:220::o;3258:226::-;3362:5;;-1:-1:-1;;;;;3362:5:0;3348:10;:19;3340:63;;;;;-1:-1:-1;;;;;3340:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;3414:11;:26;3451:6;:16;3258:226::o;3553:96::-;3630:11;;3553:96;:::o;1748:31::-;;;;:::o;1693:20::-;;;;:::o;2952:251::-;3034:5;;-1:-1:-1;;;;;3034:5:0;3020:10;:19;3012:64;;;;;-1:-1:-1;;;;;3012:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3093:22:0;;3085:31;;;;;;3124:5;:16;;-1:-1:-1;;;;;;3124:16:0;-1:-1:-1;;;;;3124:16:0;;;;;;;;;3153:37;;3124:16;;3174:5;;;3153:37;;3124:5;3153:37;2952:251;:::o;3716:86::-;3788:6;;3716:86;:::o;1718:25::-;;;;:::o
Swarm Source
bzzr://014d54887e509927842489dfc9c8eaffa0d06f99de43926c2f8bff0b2f30ad6c
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
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.