Transaction Hash:
Block:
16506805 at Jan-28-2023 05:27:47 PM +UTC
Transaction Fee:
0.001289408534128524 ETH
$3.26
Gas Used:
84,246 Gas / 15.305278994 Gwei
Emitted Events:
217 |
GTC.Approval( owner=[Sender] 0x07f5813f95462da339f57e401e5cc12a7f602e50, spender=[Receiver] IDStaking, amount=9999989000000000000000000 )
|
218 |
GTC.Transfer( from=[Sender] 0x07f5813f95462da339f57e401e5cc12a7f602e50, to=[Receiver] IDStaking, amount=11000000000000000000 )
|
219 |
IDStaking.selfStake( roundId=1, staker=[Sender] 0x07f5813f95462da339f57e401e5cc12a7f602e50, amount=11000000000000000000, staked=True )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x07F5813f...A7F602e50 |
0.012737056345386528 Eth
Nonce: 10
|
0.011447647811258004 Eth
Nonce: 11
| 0.001289408534128524 | ||
0x0E3efD5B...7F2A0e95F | |||||
0x4675C7e5...ef3b0a263
Miner
| (Coinbase: MEV Builder) | 9.364737742255476911 Eth | 9.364821988255476911 Eth | 0.000084246 | |
0xDe30da39...1F348163F |
Execution Trace
IDStaking.stake( roundId=1, amount=11000000000000000000 )
-
GTC.transferFrom( src=0x07F5813f95462Da339F57e401e5cc12A7F602e50, dst=0x0E3efD5BE54CC0f4C64e0D186b0af4b7F2A0e95F, rawAmount=11000000000000000000 ) => ( True )
File 1 of 2: IDStaking
File 2 of 2: GTC
12345678910111213141516//SPDX-License-Identifier: MITpragma solidity >=0.8.0 <0.9.0;import {Staking} from "./Staking.sol";import {AccessControl} from "@openzeppelin/contracts/access/AccessControl.sol";import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";import {ECDSA} from "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";import {EIP712} from "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";contract IDStaking is Staking, EIP712, AccessControl {uint256 public latestRound;// 0x7ba1e5E9d013EaE624D274bfbAC886459F291081address public trustedSigner;struct Round {string meta;uint256 tvl;uint256 start;uint256 duration;
File 2 of 2: GTC
12345678910111213141516// SPDX-License-Identifier: NONEpragma solidity 0.6.12;pragma experimental ABIEncoderV2;// Part: SafeMath// Subject to the MIT license./*** @dev Wrappers over Solidity's arithmetic operations with added overflow* checks.** Arithmetic operations in Solidity wrap on overflow. This can easily result