-
sp - Substrate Primitives
-
sc - Substrate Client
-
sp-api - Substrate runtime API
-
sp-consensus - Common utilities for building and using consensus engines in Substrate
-
sp-consensus-aura - Primitives for Aura PoA consensus engine
-
sc-consensus-aura - Client primitives for Aura PoA consensus engine
-
sp-core - Shareable Substrate types
-
sp-finality-grandpa - Primitives for GRANDPA integration, suitable for WASM compilation
-
sp-runtime - Runtime Modules shared primitive types
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
* https://habrahabr.ru/post/212323/ | |
* http://eax.me/burnout/ | |
* http://blogerator.ru/page/pochemu-vsjo-taki-ne-stoit-programmirovat-po-nocham-zdorovie-melatonin-rabota-nochju-rak-bolezni-programmista | |
* https://megamozg.ru/post/3692/ | |
* https://megamozg.ru/post/3694/ | |
* https://habrahabr.ru/post/239793/ | |
* https://habrahabr.ru/company/edison/blog/268977/ | |
* https://geektimes.ru/post/262344/ | |
burnout prevention: https://gist.github.com/ypetya/7a9f4ed3621c3c20a762 |
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
set selection-clipboard clipboard | |
set statusbar-h-padding 0 | |
set statusbar-v-padding 0 | |
set smooth-scroll true | |
set statusbar-home-tilde true | |
set page-padding 1 | |
map u scroll half-up | |
map d scroll half-down | |
map D toggle_page_mode |
sequenceDiagram
actor A as Attacker
participant E as Exploit
participant F as FlashLoaner
participant R as TheRewarder
participant rTKN
participant DVT
participant RWT
Note left of E: wait 5 days for the next round
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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.10; | |
contract Bank { | |
mapping(address => uint) public balances; | |
Logger logger; | |
constructor(Logger _logger) { | |
logger = Logger(_logger); | |
} |
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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.10; | |
contract Foo { | |
Bar bar; | |
constructor(address _bar) { | |
bar = Bar(_bar); | |
} |
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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.10; | |
contract Wallet { | |
address public owner; | |
constructor() payable { | |
owner = msg.sender; | |
} |
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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.10; | |
contract Wallet { | |
address public owner; | |
constructor() payable { | |
owner = msg.sender; | |
} |
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
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.4.22 <0.9.0; | |
library TestsAccounts { | |
function getAccount(uint index) pure public returns (address) { | |
address[15] memory accounts; | |
accounts[0] = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4; | |
accounts[1] = 0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2; |
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
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.4.22 <0.9.0; | |
library TestsAccounts { | |
function getAccount(uint index) pure public returns (address) { | |
address[15] memory accounts; | |
accounts[0] = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4; | |
accounts[1] = 0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2; |
NewerOlder