Skip to content

Commit fc5df67

Browse files
authored
Merge pull request #254 from Augmint/sb_script
sb script: transfer eth from reserve
2 parents 24f1b07 + c705286 commit fc5df67

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
pragma solidity 0.4.24;
2+
3+
import "../../StabilityBoardProxy.sol";
4+
import "../../AugmintReserves.sol";
5+
6+
contract Main0031_reserve_transfer {
7+
8+
StabilityBoardProxy public constant STABILITY_BOARD_PROXY = StabilityBoardProxy(0xde36a8773531406dCBefFdfd3C7b89fCed7A9F84);
9+
AugmintReserves public constant AUGMINT_RESERVES = AugmintReserves(0x65F30f8DD20c707C1938CcAd7416c7381E6eB9C8);
10+
address public constant TARGET_ADDRESS = 0x6F67E0A5588564c0EcBd8161Fc7306B5e133291A;
11+
12+
function execute(Main0031_reserve_transfer /* self, not used */) external {
13+
// called via StabilityBoardProxy
14+
require(address(this) == address(STABILITY_BOARD_PROXY), "only execute via StabilityBoardProxy");
15+
16+
AUGMINT_RESERVES.migrate(TARGET_ADDRESS, 17487307795593659456);
17+
}
18+
}
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const Main0031_reserve_transfer = artifacts.require("./Main0031_reserve_transfer.sol");
2+
3+
module.exports = function(deployer) {
4+
deployer.then(async () => {
5+
await deployer.deploy(Main0031_reserve_transfer);
6+
});
7+
};

0 commit comments

Comments
 (0)