Transaction Hash:
Block:
5609020 at May-13-2018 11:00:33 PM +UTC
Transaction Fee:
0.000204351 ETH
$0.41
Gas Used:
29,193 Gas / 7 Gwei
Account State Difference:
| Address | Before | After | State Difference | ||
|---|---|---|---|---|---|
| 0x17dB86B8...67622013F | |||||
| 0x2E20AFF9...61a236d7d |
0.282246786476881712 Eth
Nonce: 4621
|
0.282042435476881712 Eth
Nonce: 4622
| 0.000204351 | ||
|
0x5A0b54D5...D3E029c4c
Miner
| (Spark Pool) | 3,177.390688126684246788 Eth | 3,177.390892477684246788 Eth | 0.000204351 |
Execution Trace
Rate.setRate( _rate=73539 )
-
RBInformationStore.CALL( )
setRate[Rate (ln:89)]
File 1 of 2: Rate
File 2 of 2: RBInformationStore
pragma solidity ^0.4.13;
contract Ownable {
address public owner;
function Ownable() {
owner = msg.sender;
}
modifier onlyOwner() {
if (msg.sender != owner) {
revert();
}
_;
}
}
contract RBInformationStore is Ownable {
address public profitContainerAddress;
address public companyWalletAddress;
uint public etherRatioForOwner;
address public multiSigAddress;
address public accountAddressForSponsee;
bool public isPayableEnabledForAll = true;
modifier onlyMultiSig() {
require(multiSigAddress == msg.sender);
_;
}
function RBInformationStore
(
address _profitContainerAddress,
address _companyWalletAddress,
uint _etherRatioForOwner,
address _multiSigAddress,
address _accountAddressForSponsee
) {
profitContainerAddress = _profitContainerAddress;
companyWalletAddress = _companyWalletAddress;
etherRatioForOwner = _etherRatioForOwner;
multiSigAddress = _multiSigAddress;
accountAddressForSponsee = _accountAddressForSponsee;
}
function changeProfitContainerAddress(address _address) onlyMultiSig {
profitContainerAddress = _address;
}
function changeCompanyWalletAddress(address _address) onlyMultiSig {
companyWalletAddress = _address;
}
function changeEtherRatioForOwner(uint _value) onlyMultiSig {
etherRatioForOwner = _value;
}
function changeMultiSigAddress(address _address) onlyMultiSig {
multiSigAddress = _address;
}
function changeOwner(address _address) onlyMultiSig {
owner = _address;
}
function changeAccountAddressForSponsee(address _address) onlyMultiSig {
accountAddressForSponsee = _address;
}
function changeIsPayableEnabledForAll() onlyMultiSig {
isPayableEnabledForAll = !isPayableEnabledForAll;
}
}
contract Rate {
uint public ETH_USD_rate;
RBInformationStore public rbInformationStore;
modifier onlyOwner() {
require(msg.sender == rbInformationStore.owner());
_;
}
function Rate(uint _rate, address _address) {
ETH_USD_rate = _rate;
rbInformationStore = RBInformationStore(_address);
}
function setRate(uint _rate) onlyOwner {
ETH_USD_rate = _rate;
}
}File 2 of 2: RBInformationStore
pragma solidity ^0.4.13;
contract Ownable {
address public owner;
function Ownable() {
owner = msg.sender;
}
modifier onlyOwner() {
if (msg.sender != owner) {
revert();
}
_;
}
}
contract RBInformationStore is Ownable {
address public profitContainerAddress;
address public companyWalletAddress;
uint public etherRatioForOwner;
address public multiSigAddress;
address public accountAddressForSponsee;
bool public isPayableEnabledForAll = true;
modifier onlyMultiSig() {
require(multiSigAddress == msg.sender);
_;
}
function RBInformationStore
(
address _profitContainerAddress,
address _companyWalletAddress,
uint _etherRatioForOwner,
address _multiSigAddress,
address _accountAddressForSponsee
) {
profitContainerAddress = _profitContainerAddress;
companyWalletAddress = _companyWalletAddress;
etherRatioForOwner = _etherRatioForOwner;
multiSigAddress = _multiSigAddress;
accountAddressForSponsee = _accountAddressForSponsee;
}
function changeProfitContainerAddress(address _address) onlyMultiSig {
profitContainerAddress = _address;
}
function changeCompanyWalletAddress(address _address) onlyMultiSig {
companyWalletAddress = _address;
}
function changeEtherRatioForOwner(uint _value) onlyMultiSig {
etherRatioForOwner = _value;
}
function changeMultiSigAddress(address _address) onlyMultiSig {
multiSigAddress = _address;
}
function changeOwner(address _address) onlyMultiSig {
owner = _address;
}
function changeAccountAddressForSponsee(address _address) onlyMultiSig {
accountAddressForSponsee = _address;
}
function changeIsPayableEnabledForAll() onlyMultiSig {
isPayableEnabledForAll = !isPayableEnabledForAll;
}
}