Skip to content

Commit a663b1e

Browse files
authored
update ticker symbol -> AMPL (#114)
1 parent 3856010 commit a663b1e

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

contracts/UFragments.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ contract UFragments is ERC20Detailed, Ownable {
170170
public
171171
initializer
172172
{
173-
ERC20Detailed.initialize("UFragments", "UFRG", uint8(DECIMALS));
173+
ERC20Detailed.initialize("UFragments", "AMPL", uint8(DECIMALS));
174174
Ownable.initialize(owner);
175175

176176
rebasePaused = false;

test/simulation/supply_precision.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ async function exec () {
4040
preRebaseSupply = await uFragments.totalSupply.call();
4141
await uFragments.rebase(2 * i, 1, {from: deployer});
4242
postRebaseSupply = await uFragments.totalSupply.call();
43-
console.log('Rebased by 1 UFRG');
44-
console.log('Total supply is now', postRebaseSupply.toString(), 'UFRG');
43+
console.log('Rebased by 1 AMPL');
44+
console.log('Total supply is now', postRebaseSupply.toString(), 'AMPL');
4545

4646
console.log('Testing precision of supply');
4747
expect(postRebaseSupply.minus(preRebaseSupply).toNumber()).to.eq(1);

test/simulation/transfer_precision.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ async function exec () {
7979
i++;
8080

8181
console.log('Rebased iteration', i);
82-
console.log('Rebased by', (rebaseAmt.toString()), 'UFRG');
83-
console.log('Total supply is now', postRebaseSupply.toString(), 'UFRG');
82+
console.log('Rebased by', (rebaseAmt.toString()), 'AMPL');
83+
console.log('Total supply is now', postRebaseSupply.toString(), 'AMPL');
8484

8585
console.log('Testing precision of 1c transfer');
8686
await checkBalancesAfterTransfer([deployer, user], 1);

test/unit/UFragments.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ contract('UFragments:Initialization', function (accounts) {
6464

6565
it('should set detailed ERC20 parameters', async function () {
6666
expect(await uFragments.name.call()).to.eq('UFragments');
67-
expect(await uFragments.symbol.call()).to.eq('UFRG');
67+
expect(await uFragments.symbol.call()).to.eq('AMPL');
6868
(await uFragments.decimals.call()).should.be.bignumber.eq(DECIMALS);
6969
});
7070

@@ -73,9 +73,9 @@ contract('UFragments:Initialization', function (accounts) {
7373
decimals.should.be.bignumber.eq(DECIMALS);
7474
});
7575

76-
it('should have UFRG symbol', async function () {
76+
it('should have AMPL symbol', async function () {
7777
const symbol = await uFragments.symbol.call();
78-
symbol.should.be.eq('UFRG');
78+
symbol.should.be.eq('AMPL');
7979
});
8080
});
8181

0 commit comments

Comments
 (0)