I'm surprised there wasnt already a bass tab for this, but here we go....
Verse
Sliding between 2 and 4,if it looks a bit confusing
G|------------------|
D|------------------|
A|2/4-44/2-22/4-44/2|
E|------------------|
Pre-Chorus
G|----------------|
D|----------------|
A|2444422225555222|
E|----------------|
Chorus
Timing is a bit dodgy on this, but is easy once you get it
G|-----------------------|
D|-----------------------|
A|------55-5-5-5-22-2-5--|
E|5-5-5-----------------2|
Bridge
G|------------11----9----|
D|11----12---------------|
A|-----------------------|
E|-----------------------|