Skip to content

Solidity API

SpanningERC20Pausable

_SpanningERC20 token with pausable token transfers, minting and burning.

Useful for scenarios such as preventing trades until the end of an evaluation period, or having an emergency switch for freezing all token transfers in the event of a large bug._

_beforeTokenTransfer

function _beforeTokenTransfer(bytes32 senderAddress, bytes32 receiverAddress, uint256 amount) internal virtual

_See {SpanningERC20-_beforeTokenTransfer}.

Requirements:

  • the contract must not be paused._