Skip to content

Commit d1a0600

Browse files
authored
Merge pull request #98 from ten-protocol/will/timestamp-units
Timestamp units
2 parents 8449bf2 + d598df3 commit d1a0600

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/3-smart-contract-features/4-transaction-timestamp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar_position: 4
55
# Precise transaction timestamp
66

77
Real-time games require users to make quick decisions, and the outcomes depend on the precise moment in time when the action was made.
8-
This doesn't work well on-chain because latencies are not low enough.
8+
This doesn't work well on-chain because latencies are not low enough. **The timestamp is provided in milliseconds**.
99

1010
### Option 1 - External Timestamp oracle
1111

@@ -42,7 +42,7 @@ interface ITimestamp {
4242

4343
```solidity
4444
45-
// TEN provides a system contract that returns the precise timestamp of the calling transaction
45+
// TEN provides a system contract that returns the precise timestamp in milliseconds of the calling transaction
4646
interface ITimestamp {
4747
function getTransactionTimestamp() external returns (uint256);
4848
}

0 commit comments

Comments
 (0)