This file contains hidden or 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.6; | |
| contract Splitter { | |
| mapping(address => uint) public balances; | |
| function unsafeSplit(address address1, address address2) | |
| public | |
| payable | |
| returns(bool success) |
This file contains hidden or 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
| TaskDefinition: | |
| Type: AWS::ECS::TaskDefinition | |
| Properties: | |
| Cpu: !Ref VCpu | |
| RequiresCompatibilities: | |
| - !Ref RequiresCompatibilities | |
| Family: !Ref ServiceName | |
| NetworkMode: !Ref NetworkMode | |
| ExecutionRoleArn: arn:aws:iam::000:role/EcsTaskExecutionRole | |
| TaskRoleArn: arn:aws:iam::000:role/EcsTaskExecutionRole |
This file contains hidden or 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
| Resources: | |
| Service: | |
| Type: AWS::ECS::Service | |
| DependsOn: ListenerRule | |
| Properties: | |
| Cluster: !Ref Cluster | |
| ServiceName: !Ref ServiceName | |
| LaunchType: !Ref LaunchType | |
| DesiredCount: !Ref DesiredCount | |
| DeploymentConfiguration: |
This file contains hidden or 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
| contract SHA3Test | |
| { | |
| function getSHA3Hash(bytes input) returns (bytes32 hashedOutput) | |
| { | |
| hashedOutput = sha3(input); | |
| } | |
| } | |
| // Ethereum uses KECCAK-256. It should be noted that it does not follow |