mirror of
https://github.com/luxfi/erc-3643.git
synced 2026-10-30 16:58:28 +00:00
23 lines
554 B
Solidity
23 lines
554 B
Solidity
pragma solidity ^0.8.17;
|
|
|
|
contract MockContract {
|
|
address _irRegistry;
|
|
uint16 _investorCountry;
|
|
|
|
function identityRegistry() public view returns (address identityRegistry) {
|
|
if (_irRegistry != address(0)) {
|
|
return _irRegistry;
|
|
} else {
|
|
return address(this);
|
|
}
|
|
}
|
|
|
|
function investorCountry(address investor) public view returns (uint16 country) {
|
|
return _investorCountry;
|
|
}
|
|
|
|
function setInvestorCountry(uint16 country) public {
|
|
_investorCountry = country;
|
|
}
|
|
}
|