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
{ | |
"Statement": [ | |
{ | |
"Sid": "AllowPublicRead", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "*" | |
}, | |
"Action": "s3:GetObject", | |
"Resource": "arn:aws:s3:::bucket_name_here/*" |
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.6.0; | |
contract Number1 { | |
mapping (bytes32 => bytes32[]) dataCache; | |
uint8 thisContract = 1; | |
bytes32 isDifferentFromTheOther; | |
function dumpDataCache (bytes32 anything) public returns (string memory, uint256, bytes32[] memory) { | |
return ("Contract 1 returns:", thisContract, dataCache[anything]); |
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
[package] | |
name = "registrations" | |
version = "0.1.0" | |
authors = ["[your_name] <[your_email]>"] | |
edition = "2018" | |
[dependencies] | |
ink_primitives = { version = "3.0.0-rc2", default-features = false } | |
ink_metadata = { version = "3.0.0-rc2", default-features = false, features = ["derive"], optional = true } | |
ink_env = { version = "3.0.0-rc2", default-features = false } |