← Contracts

Contract

EVM ✓ verified sample
Solace Vesting 0xf47f65e0d570eae12ac5c42b1b08c33f573cc563
Balance
6529.7563
PYRX
Functions
4
Events
1

Compiler & verification

Compiler
v0.8.24+commit.e11b9ed9
Language
Solidity
Optimization
enabled · 200 runs
EVM version
cancun
Code size
2,910 bytes
Verified
18d ago

ABI (5 entries)

function name
view
function symbol
view
function balanceOf
view
function transfer
nonpayable
event Transfer

Source code

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

/// @title Sample verified contract (illustrative — network offline)
contract PyraxSample {
    string public name = "Pyrax Sample";
    string public symbol = "PXS";
    mapping(address => uint256) public balanceOf;
    event Transfer(address indexed from, address indexed to, uint256 value);

    function transfer(address to, uint256 amount) external returns (bool) {
        balanceOf[msg.sender] -= amount;
        balanceOf[to] += amount;
        emit Transfer(msg.sender, to, amount);
        return true;
    }
}