This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.11; | |
contract ERC20Interface { | |
uint256 public totalSupply; | |
function balanceOf(address _owner) public constant returns (uint balance); // Get the account balance of another account with address _owner | |
function transfer(address _to, uint256 _value) public returns (bool success); // Send _value amount of tokens to address _to | |
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); // Send _value amount of tokens from address _from to address _to | |
function approve(address _spender, uint256 _value) public returns (bool success); | |
function allowance(address _owner, address _spender) public constant returns (uint256 remaining); // Returns the amount which _spender is still allowed to withdraw from _owner | |
event Transfer(address indexed _from, address indexed _to, uint256 _value); // Triggered when tokens are transferred. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.11; | |
contract ERC20Interface { | |
uint256 public totalSupply; | |
function balanceOf(address _owner) public constant returns (uint balance); // Get the account balance of another account with address _owner | |
function transfer(address _to, uint256 _value) public returns (bool success); // Send _value amount of tokens to address _to | |
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); // Send _value amount of tokens from address _from to address _to | |
function approve(address _spender, uint256 _value) public returns (bool success); | |
function allowance(address _owner, address _spender) public constant returns (uint256 remaining); // Returns the amount which _spender is still allowed to withdraw from _owner | |
event Transfer(address indexed _from, address indexed _to, uint256 _value); // Triggered when tokens are transferred. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.9; | |
contract ERC20 { | |
uint public totalSupply; | |
function balanceOf(address _owner) public constant returns (uint balance); | |
function transfer(address _to, uint256 _value) public returns (bool success); | |
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); | |
function approve(address _spender, uint256 _value) public returns (bool success); | |
function allowance(address _owner, address _spender) public constant returns (uint256 remaining); | |
event Transfer(address indexed _from, address indexed _to, uint256 _value); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define('EMITTER_HOST', '127.0.0.1'); | |
function post_request($uri, $port = 8088, $data = '') { | |
$ch = curl_init(); | |
$curlConfig = array( | |
CURLOPT_URL => $uri, | |
CURLOPT_POST => true, | |
CURLOPT_CONNECTTIMEOUT_MS => 2000, | |
CURLOPT_TIMEOUT_MS => 5000, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace NaxCrmBundle\Controller\v1\banking; | |
use NaxCrmBundle\Entity\Client; | |
use NaxCrmBundle\Entity\UserLogItem; | |
use Symfony\Component\HttpFoundation\Request; | |
use FOS\RestBundle\Controller\Annotations\Get; | |
use FOS\RestBundle\Controller\Annotations\Post; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"icoWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"teamSupply","outputs":[{"name":"","type":"uint256"}],"payable":fa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"constant":true,"inputs":[],"name":"presaleTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"status","outputs":[{"name":"_status","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"presaleEnd","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"receiver","type":"address"}],"name":"sendAllFunds","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"wireLimit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"icoFinished","outputs":[{"name":"yes","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxWeis","outputs":[{"name":"","type":"uint256"}],"payable":false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.9; | |
contract ERC20 { | |
string public name; | |
string public symbol; | |
uint8 public decimals = 8; | |
uint public totalSupply; | |
function balanceOf(address _owner) public constant returns (uint balance); | |
function transfer(address _to, uint256 _value) public returns (bool success); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.9; | |
contract ERC223 { | |
uint public totalSupply; | |
string public name; | |
string public symbol; | |
uint8 public decimals = 8; | |
function balanceOf(address who) public constant returns (uint); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.9; | |
contract ERC223 { | |
uint public totalSupply; | |
function balanceOf(address who) public constant returns (uint); | |
function name() public constant returns (string _name); | |
function symbol() public constant returns (string _symbol); | |
function decimals() public constant returns (uint8 _decimals); | |
function totalSupply() public constant returns (uint256 _supply); |
NewerOlder