Profiles

Contracts

Addresses

DFK Chain

Name
Mainnet
Testnet

Profiles

0xC4cD8C09D1A90b21Be417be91A81603B03993E81

0x8BCa36AA967b7ab0158D1eE1453A9de47Af71D78

Stylist

0xf697D08Fba8db26EA8B9868aB3214f9E072F8f1c

0xCdeCB1A8B17de0b3C8D1D1a3AB50232d0c39275E

IdentityTokenRouter

0xD598F17d4Bcdf30E6fBE6f7dCF7A45c3ee662850

0xD598F17d4Bcdf30E6fBE6f7dCF7A45c3ee662850

Kaia

Name
Mainnet
Testnet

Profiles

0xe1b8C354BE50357c2ab90A962254526d08aF0D2D

0x8Bb052D91895868a13fde5698814Bbbbc497497F

Stylist

0x2dB164A65BB10BBbde7Aa441EAfDAED67AbE08EE

0x5Ee8F510c1C7E82c48b22915016f3F70fEbff3C0

IdentityTokenRouter

0x15D9833EfcEce2E7877aca20f4140AE71c9e2394

0xDD1EC3228e854D6B159a3438F9D65c6c42Cf4cc7

Metis

Name
Mainnet
Testnet

Profiles

0x5477D7f1539aDC67787AEA54306700196B81E7c4

0xa06E6c2c4Ac7163e9c5beC56aF79ae483177d1bC

IdentityTokenRouter

0xDB850023dDc7E086D6f09c77C546cd867E872ecB

0x091cfc85d2e20b110Cd754c6c410A67c925C55ED

Interfaces

interface IProfiles {

    event ProfileCreated(address owner, string name, uint64 created, uint256 nftId, uint256 collectionId);
    event ProfileUpdated(address owner, string name, uint256 nftId, uint256 collectionId);
    
    function addressToProfile(address) view returns (address owner, string name, uint64 created, uint256 nftId, uint256 collectionId, string picUri);
    function changeName(address _profileAddress, string _name);
    function changePic(address _profileAddress, uint256 _nftId, uint256 _collectionId);
    function createProfile(string _name, uint256 _nftId, uint256 _collectionId);
    function getNames(address[] _addresses) view returns (string[]);
    function getProfile(address _profileAddress) view returns (tuple(address owner, string name, uint64 created, uint256 nftId, uint256 collectionId, string picUri));
    function getProfileByAddress(address _profileAddress) view returns (uint256 _id, address _owner, string _name, uint64 _created, uint8 _picId, uint256 _heroId, uint256 _points);
    function getProfileByName(string _name) view returns (tuple(address owner, string name, uint64 created, uint256 nftId, uint256 collectionId, string picUri));
    function getTokenUrisHeldByAddress(address _profileAddress, uint256 _collectionId) view returns (string[]);
    function heroesNftContract() view returns (address);
    function identityTokenRouter() view returns (address);
    function maxChar() view returns (uint8);
    function maxPic() view returns (uint8);
    function minChar() view returns (uint8);
    function nameToAddress(string) view returns (address);
    function picUris(uint256) view returns (string);

}

ABIs

17KB
Open
11KB
Open

Historical Contracts

The ProfilesV2 contract on Harmony was introduced on 2/15/2022.

Addresses

Harmony

Name
Mainnet
Testnet

Profiles (V2)

0x6391F796D56201D279a42fD3141aDa7e26A3B4A5

0x729Fcb5f7C17Def718BC2D96b779742e1818fd06

Profiles (V1)

0xabD4741948374b1f5DD5Dd7599AC1f85A34cAcDD

0xC9e3D669E51b9a77e214F94156DAB9B33Faadd08

Stylist

0x8f1CeD3ABa6893E65DE59452C466B2CBb7Cd690b

0x703cadA8b820A0C7e22B424DAd7B2937A7afFD68

IdentityTokenRouter

0x51887a8271D50Ff1bc90C3c6befd47c65aeAa6C6

0xC9e3D669E51b9a77e214F94156DAB9B33Faadd08

Interfaces

ABIs

9KB
Open

Last updated