You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- drops stoneage Synthesizer
- extracts IIPToken interface to be reused on Tokenizer and Permissioner
- fixes linearization of dependencies on IPToken
- adds general erc20 metadata fields to shared IPT interface
- wrapping test case
- rollout script and disable fork test
- drops size checks on builds
- add sanity checks for ipt attachment on tokenizer
@@ -59,11 +55,27 @@ contract IPToken is ERC20BurnableUpgradeable, OwnableUpgradeable {
59
55
return _metadata;
60
56
}
61
57
58
+
function balanceOf(addressaccount) publicviewoverride(ERC20Upgradeable, IIPToken) returns (uint256) {
59
+
returnERC20Upgradeable.balanceOf(account);
60
+
}
61
+
62
+
function name() publicviewoverride(ERC20Upgradeable, IIPToken) returns (stringmemory) {
63
+
returnERC20Upgradeable.name();
64
+
}
65
+
66
+
function symbol() publicviewoverride(ERC20Upgradeable, IIPToken) returns (stringmemory) {
67
+
returnERC20Upgradeable.symbol();
68
+
}
69
+
70
+
function decimals() publicviewoverride(ERC20Upgradeable, IIPToken) returns (uint8) {
71
+
returnERC20Upgradeable.decimals();
72
+
}
62
73
/**
63
74
* @notice the supply of IP Tokens is controlled by the tokenizer contract.
64
75
* @param receiver address
65
76
* @param amount uint256
66
77
*/
78
+
67
79
function issue(addressreceiver, uint256amount) external onlyTokenizerOrIPNFTController {
68
80
if (capped) {
69
81
revertTokenCapped();
@@ -109,7 +121,7 @@ contract IPToken is ERC20BurnableUpgradeable, OwnableUpgradeable {
109
121
string.concat(
110
122
'{"name": "IP Tokens of IPNFT #',
111
123
tokenId,
112
-
'","description": "IP Tokens, derived from IP-NFTs, are ERC-20 tokens governing IP pools.","decimals": 18,"external_url": "https://molecule.to","image": "",',
124
+
'","description": "IP Tokens, derived from IP-NFTs, are ERC-20 tokens governing IP pools.","decimals": 18,"external_url": "https://molecule.xyz","image": "",',
0 commit comments