EIP-3198: BASEFEE Opcode
EIP-1559 added a base fee to blocks. EIP-3198 added the BASEFEE opcode (block.basefee in Solidity) so contracts can read the current block's base fee. Used by fee-aware contracts and on-chain MEV mitigation logic.
Neo Equivalent
The PolicyContract native is the equivalent: contracts read fee parameters via Policy.GetFeePerByte() and Policy.GetExecFeeFactor(). The fee model is deterministic per-block but doesn't auto-adjust; values change only when committee nodes vote a change.
Live on Neo TestNet
Both implementations are deployed on Neo N3 TestNet (network magic 894710606).
| Implementation | Contract Hash | Deploy Tx |
|---|---|---|
Solidity (neo-solc) | 0x8ed358aea7789a0d2c60a42c692c469bf1da60a0 | (reused — see 0x8ed358aea7789a0d2c60a42c692c469bf1da60a0) |
Neo C# (nccs) | 0x32b98cb268f39b8ced382e7fe6d160833ab4f630 | (reused — see 0x32b98cb268f39b8ced382e7fe6d160833ab4f630) |
Cross-implementation invocations match on getLastSeenFee. Source pairs under docs/standards-mirror/deployments/eip-3198/.
